mac80211: propagate information about STA WME support down
Add a memeber to the ieee80211_sta structure to indicate whether the STA supports WME. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
f01dce9474
commit
39df600aa6
@ -674,8 +674,11 @@ static void sta_apply_parameters(struct ieee80211_local *local,
|
||||
|
||||
if (mask & BIT(NL80211_STA_FLAG_WME)) {
|
||||
sta->flags &= ~WLAN_STA_WME;
|
||||
if (set & BIT(NL80211_STA_FLAG_WME))
|
||||
sta->sta.wme = false;
|
||||
if (set & BIT(NL80211_STA_FLAG_WME)) {
|
||||
sta->flags |= WLAN_STA_WME;
|
||||
sta->sta.wme = true;
|
||||
}
|
||||
}
|
||||
|
||||
if (mask & BIT(NL80211_STA_FLAG_MFP)) {
|
||||
|
Reference in New Issue
Block a user