summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAgrawal Ashish <ashishka@codeaurora.org>2016-11-04 12:26:31 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2016-12-13 06:50:08 -0800
commitff2c05f7451e2b5e07fb9442e7ed013990de4f7e (patch)
tree48046311ac59a1c2076fea9db84fff47c7e4805f
parentf7e122fd0848dce7bc88d780544803d75d338cda (diff)
qcacld-2.0: Add check for NSS while parsing VHT Opmode update IE
qcacld-3.0 to qcacld-2.0 propagation VHT Opmode update IE in beacon is not getting processed, because __schBeaconProcessForSession only checks for difference in channel width from current channel width. Add check for NSS as well while parsing VHT Op Mode update IE in __schBeaconProcessForSession. Change-Id: Ideffe72332cf0a78ac80d5179eab6ba524335f93 CRs-Fixed: 1085109
-rw-r--r--CORE/MAC/src/pe/sch/schBeaconProcess.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/CORE/MAC/src/pe/sch/schBeaconProcess.c b/CORE/MAC/src/pe/sch/schBeaconProcess.c
index 580673086432..2b103449bbc5 100644
--- a/CORE/MAC/src/pe/sch/schBeaconProcess.c
+++ b/CORE/MAC/src/pe/sch/schBeaconProcess.c
@@ -528,8 +528,9 @@ static void __schBeaconProcessForSession( tpAniSirGlobal pMac,
skip_opmode_update = true;
if (!skip_opmode_update &&
- (operMode != pBeacon->OperatingMode.chanWidth))
- {
+ ((operMode != pBeacon->OperatingMode.chanWidth) ||
+ (pStaDs->vhtSupportedRxNss !=
+ (pBeacon->OperatingMode.rxNSS + 1)))) {
uint32_t fw_vht_ch_wd = wma_get_vht_ch_width();
PELOG1(schLog(pMac, LOG1,
FL(" received OpMode Chanwidth %d, staIdx = %d"),