aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd/dump_state.c
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-12-24 09:46:22 (GMT)
committerJouni Malinen <j@w1.fi>2009-12-24 09:46:22 (GMT)
commitfbbfcbac29c0b3d2c6702e2e1123e93087747386 (patch)
tree6f3ebcf3426a194203a78e72695d4cadc716e30b /hostapd/dump_state.c
parent09eac1ac56257e8c0251d1164e28fac7fd7c404f (diff)
downloadhostap-fbbfcbac29c0b3d2c6702e2e1123e93087747386.zip
hostap-fbbfcbac29c0b3d2c6702e2e1123e93087747386.tar.gz
hostap-fbbfcbac29c0b3d2c6702e2e1123e93087747386.tar.bz2
hostapd: Add WDS (4-address frame) mode with per-station interfaces
This mode allows associated stations to use 4-address frames to allow layer 2 bridging to be used. At least for the time being, this is only supported with driver=nl80211.
Diffstat (limited to 'hostapd/dump_state.c')
-rw-r--r--hostapd/dump_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hostapd/dump_state.c b/hostapd/dump_state.c
index 408ef1e..0a191dc 100644
--- a/hostapd/dump_state.c
+++ b/hostapd/dump_state.c
@@ -106,7 +106,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%s%s%s%s\n"
+ " AID=%d flags=0x%x %s%s%s%s%s%s%s%s%s%s%s%s%s%s%s\n"
" capability=0x%x listen_interval=%d\n",
sta->aid,
sta->flags,
@@ -126,6 +126,7 @@ static void hostapd_dump_state(struct hostapd_data *hapd)
(sta->flags & WLAN_STA_MFP ? "[MFP]" : ""),
(sta->flags & WLAN_STA_WPS ? "[WPS]" : ""),
(sta->flags & WLAN_STA_MAYBE_WPS ? "[MAYBE_WPS]" : ""),
+ (sta->flags & WLAN_STA_WDS ? "[WDS]" : ""),
(sta->flags & WLAN_STA_NONERP ? "[NonERP]" : ""),
sta->capability,
sta->listen_interval);