summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMahesh A Saptasagar <c_msapta@qti.qualcomm.com>2015-06-17 11:40:54 +0530
committerAnjaneedevi Kapparapu <akappa@codeaurora.org>2016-07-04 14:31:20 +0530
commit299018dbb45a5d1bc89ad7a22a13751281f2ae11 (patch)
treee69d605ceade3ebb5b52a40acd9a665d213b0807
parentc9e50bffc9e1809fdfea86f111e5397a7b82f2fc (diff)
qcacld-2.0: Fix for PNO scan for 802.11A configured AP
prima to qcacld-2.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
-rw-r--r--CORE/SME/src/csr/csrApiScan.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/CORE/SME/src/csr/csrApiScan.c b/CORE/SME/src/csr/csrApiScan.c
index 86bc234458c2..01f2300ded05 100644
--- a/CORE/SME/src/csr/csrApiScan.c
+++ b/CORE/SME/src/csr/csrApiScan.c
@@ -8591,7 +8591,18 @@ eHalStatus csrScanSavePreferredNetworkFound(tpAniSirGlobal pMac,
}
else
{
- pBssDescr->channelId = pParsedFrame->channelNumber;
+ /*
+ * 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))