mac80211: 802.11w - STA flag for MFP
Add flags for setting STA entries and struct ieee80211_if_sta to indicate whether management frame protection (MFP) is used. Signed-off-by: Jouni Malinen <j@w1.fi> Acked-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
这个提交包含在:
@@ -630,6 +630,10 @@ static void sta_apply_parameters(struct ieee80211_local *local,
|
||||
sta->flags &= ~WLAN_STA_WME;
|
||||
if (params->station_flags & STATION_FLAG_WME)
|
||||
sta->flags |= WLAN_STA_WME;
|
||||
|
||||
sta->flags &= ~WLAN_STA_MFP;
|
||||
if (params->station_flags & STATION_FLAG_MFP)
|
||||
sta->flags |= WLAN_STA_MFP;
|
||||
spin_unlock_bh(&sta->lock);
|
||||
}
|
||||
|
||||
|
在新工单中引用
屏蔽一个用户