aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/hostapd.c
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2008-06-17 08:21:11 (GMT)
committerJouni Malinen <j@w1.fi>2008-06-17 08:21:11 (GMT)
commitf3f7540edc24679ea5fac56480ba6017e4db5b0c (patch)
tree4b03b555d7280a0ede2016a88f55d87e4f91a768 /hostapd/hostapd.c
parent94e5af794850745e0cf5d94c603c50cfb83023aa (diff)
downloadhostap-06-f3f7540edc24679ea5fac56480ba6017e4db5b0c.zip
hostap-06-f3f7540edc24679ea5fac56480ba6017e4db5b0c.tar.gz
hostap-06-f3f7540edc24679ea5fac56480ba6017e4db5b0c.tar.bz2
Added WLAN_STA_MFP flag for driver wrappers so that they can configure the
driver to enable MFP (IEEE 802.11w) processing for the STA.
Diffstat (limited to 'hostapd/hostapd.c')
-rw-r--r--hostapd/hostapd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/hostapd/hostapd.c b/hostapd/hostapd.c
index e8d8460..6316054 100644
--- a/hostapd/hostapd.c
+++ b/hostapd/hostapd.c
@@ -398,7 +398,7 @@ static void hostapd_dump_state(struct hostapd_data *hapd)
fprintf(f, "\nSTA=" MACSTR "\n", MAC2STR(sta->addr));
fprintf(f,
- " AID=%d flags=0x%x %s%s%s%s%s%s%s%s%s%s\n"
+ " AID=%d flags=0x%x %s%s%s%s%s%s%s%s%s%s%s%s\n"
" capability=0x%x listen_interval=%d\n",
sta->aid,
sta->flags,
@@ -414,6 +414,8 @@ static void hostapd_dump_state(struct hostapd_data *hapd)
(sta->flags & WLAN_STA_SHORT_PREAMBLE ?
"[SHORT_PREAMBLE]" : ""),
(sta->flags & WLAN_STA_PREAUTH ? "[PREAUTH]" : ""),
+ (sta->flags & WLAN_STA_WME ? "[WME]" : ""),
+ (sta->flags & WLAN_STA_MFP ? "[MFP]" : ""),
(sta->flags & WLAN_STA_NONERP ? "[NonERP]" : ""),
sta->capability,
sta->listen_interval);