From ff2c05f7451e2b5e07fb9442e7ed013990de4f7e Mon Sep 17 00:00:00 2001 From: Agrawal Ashish Date: Fri, 4 Nov 2016 12:26:31 +0530 Subject: 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 --- CORE/MAC/src/pe/sch/schBeaconProcess.c | 5 +++-- 1 file 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"), -- cgit v1.2.3