aboutsummaryrefslogtreecommitdiffstats
path: root/hostapd
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-09 14:27:15 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-09 14:27:15 (GMT)
commitd3b4286967697113ad9bc5e8e84effd16a978baf (patch)
treea3a5679a008b74f1ff00eddc78f2361818e379b6 /hostapd
parent5a5009dc925b19101aad099b9748ee8713375b76 (diff)
downloadhostap-d3b4286967697113ad9bc5e8e84effd16a978baf.zip
hostap-d3b4286967697113ad9bc5e8e84effd16a978baf.tar.gz
hostap-d3b4286967697113ad9bc5e8e84effd16a978baf.tar.bz2
Allow client isolation to be configured (ap_isolate=1)
Client isolation can be used to prevent low-level bridging of frames between associated stations in the BSS. By default, this bridging is allowed.
Diffstat (limited to 'hostapd')
-rw-r--r--hostapd/config_file.c2
-rw-r--r--hostapd/hostapd.conf4
2 files changed, 6 insertions, 0 deletions
diff --git a/hostapd/config_file.c b/hostapd/config_file.c
index c2083f6..36b75e5 100644
--- a/hostapd/config_file.c
+++ b/hostapd/config_file.c
@@ -1282,6 +1282,8 @@ struct hostapd_config * hostapd_config_read(const char *fname)
}
} else if (os_strcmp(buf, "wds_sta") == 0) {
bss->wds_sta = atoi(pos);
+ } else if (os_strcmp(buf, "ap_isolate") == 0) {
+ bss->isolate = atoi(pos);
} else if (os_strcmp(buf, "ap_max_inactivity") == 0) {
bss->ap_max_inactivity = atoi(pos);
} else if (os_strcmp(buf, "country_code") == 0) {
diff --git a/hostapd/hostapd.conf b/hostapd/hostapd.conf
index afeb206..fe97ea8 100644
--- a/hostapd/hostapd.conf
+++ b/hostapd/hostapd.conf
@@ -357,6 +357,10 @@ wmm_ac_vo_acm=0
# use a separate bridge.
#wds_bridge=wds-br0
+# Client isolation can be used to prevent low-level bridging of frames between
+# associated stations in the BSS. By default, this bridging is allowed.
+#ap_isolate=1
+
##### IEEE 802.11n related configuration ######################################
# ieee80211n: Whether IEEE 802.11n (HT) is enabled