mac80211: handle width changes from opmode notification IE in beacon

An AP can send an operating channel width change in a beacon
opmode notification IE as long as there's a change in the nss as
well (See 802.11ac-2013 section 10.41).
So don't limit updating to nss only from an opmode notification IE.

Signed-off-by: Eyal Shapira <eyalx.shapira@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
这个提交包含在:
Eyal Shapira
2015-12-08 16:04:36 +02:00
提交者 Johannes Berg
父节点 a87da0cbc4
当前提交 cf1e05c636
修改 5 个文件,包含 8 行新增14 行删除

查看文件

@@ -1169,8 +1169,7 @@ static int sta_apply_parameters(struct ieee80211_local *local,
* rc isn't initialized here yet, so ignore it
*/
__ieee80211_vht_handle_opmode(sdata, sta,
params->opmode_notif,
band, false);
params->opmode_notif, band);
}
if (ieee80211_vif_is_mesh(&sdata->vif))