浏览代码

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
Naveen Rawat 8 年之前
父节点
当前提交
da92fae379
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3 1
      core/mac/src/pe/sch/sch_beacon_process.c

+ 3 - 1
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);)