summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-15 04:26:44 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-15 04:26:44 +0200
commitafe35301120266675b157ce0ded2f42595d6a736 (patch)
treea0dc9d0cec0404a11a0440d6054da75c734424be
parentcosmetic fix (diff)
accesspoints: test band steering using dawn
-rw-r--r--inventory/group_vars/accesspoints/vars.yml30
-rw-r--r--inventory/group_vars/chaos-at-home-ap/vars.yml3
2 files changed, 33 insertions, 0 deletions
diff --git a/inventory/group_vars/accesspoints/vars.yml b/inventory/group_vars/accesspoints/vars.yml
index 64792c40..af4a111e 100644
--- a/inventory/group_vars/accesspoints/vars.yml
+++ b/inventory/group_vars/accesspoints/vars.yml
@@ -109,6 +109,15 @@ accesspoint_wireless_ifaces_yaml: |
ft_over_ds: '1'
ft_psk_generate_local: '1'
{% endif %}
+ {% if accesspoint_band_steering is defined %}
+ bss_transition: '1'
+ wnm_sleep_mode: '1'
+ time_advertisement: '2'
+ time_zone: 'CET-1CEST,M3.5.0,M10.5.0/3'
+ ieee80211k: '1'
+ rrm_neighbor_report: '1'
+ rrm_beacon_report: '1'
+ {% endif %}
{% endfor %}
{% endfor %}
@@ -151,6 +160,14 @@ openwrt_packages_add:
- libiwinfo-lua
- libubus-lua
+_accesspoint_band_steering_packages_extra_:
+ none: []
+ dawn:
+ - dawn
+
+openwrt_packages_extra: "{{ _accesspoint_band_steering_packages_extra_[accesspoint_band_steering.kind | default('none')] }}"
+
+
openwrt_mixin:
/etc/sysctl.conf:
content: |
@@ -336,3 +353,16 @@ openwrt_uci:
network: "{{ accesspoint_network_base + accesspoint_network_zones }}"
wireless: "{{ accesspoint_wireless_devices + accesspoint_wireless_ifaces }}"
+
+## TODO: band_steering
+# umdns:
+# - name: umds
+# options:
+# jail: '1'
+# network:
+# - mgmt
+#
+# dawn:
+# - name: network
+# options:
+# broadcast_ip: '{{ network_mgmt_zone.prefix | ansible.utils.ipaddr('broadcast') }}"
diff --git a/inventory/group_vars/chaos-at-home-ap/vars.yml b/inventory/group_vars/chaos-at-home-ap/vars.yml
index ad02ff07..b9d83e90 100644
--- a/inventory/group_vars/chaos-at-home-ap/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ap/vars.yml
@@ -15,6 +15,9 @@ accesspoint_80211r:
2g: 0xc240
5g: 0xc500
+accesspoint_band_steering:
+ kind: dawn
+
accesspoint_zones:
lan: "{{ network_zones.lan.wifi }}"