summaryrefslogtreecommitdiff
path: root/data/templates/wifi
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-09-24 19:55:54 +0200
committerChristian Poessinger <christian@poessinger.com>2020-09-24 19:55:54 +0200
commit806f35b5856c3f8dae634718a6a9e82cc90bb63a (patch)
treed8b69373fb15a720a405b5b479244952e90e6970 /data/templates/wifi
parent58ead7415a3fe8d786bdb6fd2a99d0a57770dbd7 (diff)
downloadvyos-1x-806f35b5856c3f8dae634718a6a9e82cc90bb63a.tar.gz
vyos-1x-806f35b5856c3f8dae634718a6a9e82cc90bb63a.zip
wireless: T2241: add "wds" CLI option
Diffstat (limited to 'data/templates/wifi')
-rw-r--r--data/templates/wifi/hostapd.conf.tmpl8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/wifi/hostapd.conf.tmpl b/data/templates/wifi/hostapd.conf.tmpl
index 3980fb896..c5e4240d1 100644
--- a/data/templates/wifi/hostapd.conf.tmpl
+++ b/data/templates/wifi/hostapd.conf.tmpl
@@ -448,6 +448,14 @@ macaddr_acl=0
max_num_sta={{ max_stations }}
{% endif %}
+{% if wds is defined %}
+# WDS (4-address frame) mode with per-station virtual interfaces
+# (only supported with driver=nl80211)
+# This mode allows associated stations to use 4-address frames to allow layer 2
+# bridging to be used.
+wds_sta=1
+{% endif %}
+
{% if isolate_stations is defined %}
# Client isolation can be used to prevent low-level bridging of frames between
# associated stations in the BSS. By default, this bridging is allowed.