mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacld-3.0: Fix for PNO scan for 802.11A configured AP
qcacld-2.0 to qcacld-3.0 propagation If Probe Responce received in PNO indication does not contain DSParam IE or HT Info IE then add dummy channel to the received BSS info so that Scan result received as a part of PNO is updated to the supplicant. Change-Id: I25ac973cc90fc9f5258ff8f012c90dd9e9394eb0 CRs-Fixed: 629288
This commit is contained in:
parent
ccfd918e7b
commit
a3cd10b925
1 changed files with 14 additions and 3 deletions
|
|
@ -7005,9 +7005,20 @@ QDF_STATUS csr_scan_save_preferred_network_found(tpAniSirGlobal pMac,
|
|||
pBssDescr->channelId = parsed_frm->channelNumber;
|
||||
else if (parsed_frm->HTInfo.present)
|
||||
pBssDescr->channelId = parsed_frm->HTInfo.primaryChannel;
|
||||
else
|
||||
pBssDescr->channelId = parsed_frm->channelNumber;
|
||||
|
||||
else {
|
||||
/*
|
||||
* If Probe Responce received in PNO indication does not
|
||||
* contain DSParam IE or HT Info IE then add dummy channel
|
||||
* to the received BSS info so that Scan result received as
|
||||
* a part of PNO is updated to the supplicant. Specially
|
||||
* applicable in case of AP configured in 11A only mode.
|
||||
*/
|
||||
if ((pMac->roam.configParam.bandCapability == eCSR_BAND_ALL) ||
|
||||
(pMac->roam.configParam.bandCapability == eCSR_BAND_24))
|
||||
pBssDescr->channelId = 1;
|
||||
else if (pMac->roam.configParam.bandCapability == eCSR_BAND_5G)
|
||||
pBssDescr->channelId = 36;
|
||||
}
|
||||
if ((pBssDescr->channelId > 0) && (pBssDescr->channelId < 15)) {
|
||||
int i;
|
||||
/* 11b or 11g packet */
|
||||
|
|
|
|||
Loading…
Reference in a new issue