Skip to content

Commit

Permalink
Option to disable roaming (802.11r/k/v) for additional wireless networks
Browse files Browse the repository at this point in the history
  • Loading branch information
danielvijge committed Dec 28, 2023
1 parent 0567f3c commit c49fdc2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions config/wireless
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,18 @@ config wifi-iface 'wifi{{ loop.index }}_radio0'
option key '{{ wireless_network.passphrase }}'
option encryption '{{ wireless_network.encryption | default('psk2') }}'
option ssid '{{ wireless_network.SSID }}'
option time_zone 'Europe/Amsterdam'
{% if wireless_network.roaming | default(true) %}
option ft_over_ds '1'
option ft_psk_generate_local '1'
option ieee80211r '1'
option bss_transition '1'
option wnm_sleep_mode '1'
option time_advertisement '2'
option time_zone 'Europe/Amsterdam'
option ieee80211k '1'
option rrm_neighbor_report '1'
option rrm_beacon_report '1'
{% endif %}
option macfilter 'deny'
{% if wireless_network.client_isolation is defined and wireless_network.client_isolation %}
option isolate '1'
Expand All @@ -102,16 +104,18 @@ config wifi-iface 'wifi{{ loop.index }}_radio1'
option key '{{ wireless_network.passphrase }}'
option encryption '{{ wireless_network.encryption | default('psk2') }}'
option ssid '{{ wireless_network.SSID }}'
option time_zone 'Europe/Amsterdam'
{% if wireless_network.roaming | default(true) %}
option ft_over_ds '1'
option ft_psk_generate_local '1'
option ieee80211r '1'
option bss_transition '1'
option wnm_sleep_mode '1'
option time_advertisement '2'
option time_zone 'Europe/Amsterdam'
option ieee80211k '1'
option rrm_neighbor_report '1'
option rrm_beacon_report '1'
{% endif %}
option macfilter 'deny'
{% if wireless_network.client_isolation is defined and wireless_network.client_isolation %}
option isolate '1'
Expand Down
2 changes: 2 additions & 0 deletions inventory-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ openwrt:
client_isolation: true
# Optionally set encryption, defaults to psk2 (WPA2)
encryption: psk2
# Optionally disable advanced roaming featured (802.11r/k/v) (default is true to enable)
roaming: false
# Physical address of the wireless radios. Move lower if using different model, with different settings
# per model
radio2_path: platform/ahb/18100000.wmac
Expand Down

0 comments on commit c49fdc2

Please sign in to comment.