qcacld-3.0: Start NDI in AUTO mode to allow max supported mode
Currently, NDI is started in 11AC mode through the API hdd_ndi_start_bss(). Max supported mode(e.g. 11AX) is picked by csr_roam_get_phy_mode_band_for_bss() if either of the "ini param gDot11Mode" or "input profile mode" is set to AUTO. But if the ini param gDot11Mode is configured as 12(11AX) explicitly, csr_roam_get_phy_mode_band_for_bss() picks the mode sent by hdd_ndi_start_bss() which is 11AC(or the min out of these two). So, start the NDI in AUTO mode to let the mode be decided based on the ini param gDot11Mode and firmware support. Change-Id: I404ea7a4e042262032c17e5c736501146910d084 CRs-Fixed: 2931071
This commit is contained in:

committed by
Madan Koyyalamudi

parent
822d48fed9
commit
7bbf704c08
@@ -253,7 +253,7 @@ static int hdd_ndi_start_bss(struct hdd_adapter *adapter,
|
||||
roam_profile->SSIDs.numOfSSIDs = 1;
|
||||
roam_profile->SSIDs.SSIDList->SSID.length = 0;
|
||||
|
||||
roam_profile->phyMode = eCSR_DOT11_MODE_11ac;
|
||||
roam_profile->phyMode = eCSR_DOT11_MODE_AUTO;
|
||||
roam_profile->BSSType = eCSR_BSS_TYPE_NDI;
|
||||
roam_profile->BSSIDs.numOfBSSIDs = 1;
|
||||
qdf_mem_copy((void *)(roam_profile->BSSIDs.bssid),
|
||||
|
Reference in New Issue
Block a user