qcacld-3.0: Add check for NSS while parsing VHT Opmode update IE

VHT Opmode update IE in beacon is not getting processed, because
sch_bcn_process_sta_ibss 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 sch_bcn_process_sta_ibss.

Change-Id: Ideffe72332cf0a78ac80d5179eab6ba524335f93
CRs-Fixed: 1085109
This commit is contained in:
Naveen Rawat 2016-11-02 11:38:07 -07:00 • committed by Prakash Dhavali
commit da92fae379

View file

@ -558,7 +558,9 @@ sch_bcn_process_sta_ibss(tpAniSirGlobal mac_ctx,
skip_opmode_update = true;
if (!skip_opmode_update &&
(operMode != bcn->OperatingMode.chanWidth)) {
((operMode != bcn->OperatingMode.chanWidth) ||
(pStaDs->vhtSupportedRxNss !=
(bcn->OperatingMode.rxNSS + 1)))) {
PELOGE(sch_log(mac_ctx, LOGE,
FL("received OpMode Chanwidth %d, staIdx = %d"),
bcn->OperatingMode.chanWidth, pStaDs->staIndex);)