diff options
| author | Naveen Rawat <naveenrawat@codeaurora.org> | 2016-11-02 11:38:07 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2016-11-07 11:30:25 -0800 |
| commit | 62d46224394ac36d5f44657a184d140eff956cff (patch) | |
| tree | 97ba5381d556e3dbde52cf9161a1a4c5ee5da519 /core/mac/src | |
| parent | c10df9a3903ba5857c4e79cb85e69e580b71cabd (diff) | |
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
Diffstat (limited to 'core/mac/src')
| -rw-r--r-- | core/mac/src/pe/sch/sch_beacon_process.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/mac/src/pe/sch/sch_beacon_process.c b/core/mac/src/pe/sch/sch_beacon_process.c index 4c7e85d89cab..dee95530d8db 100644 --- a/core/mac/src/pe/sch/sch_beacon_process.c +++ b/core/mac/src/pe/sch/sch_beacon_process.c @@ -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);) |
