From 2ea51c7833dc6d0dca5c3478743d91dc9308520d Mon Sep 17 00:00:00 2001 From: Martin Kennedy Date: Tue, 9 Aug 2022 20:32:21 -0400 Subject: [PATCH] fix: ap: Globalize skip_inactivity_poll for all ap VIFs There appears to be a bug in hostapd where this[1]: ```hostapd.conf interface=vgo5 : skip_inactivity_poll=1 : interface=labb5 : skip_inactivity_poll=0 : ``` ... still results in inactivity polling on the vgo5 interface: Tue Aug 9 04:54:20 2022 daemon.info hostapd: vgo5: STA 3a:0e:52:a1:43:ea IEEE 802.11: disassociated due to inactivity Tue Aug 9 04:54:21 2022 daemon.info hostapd: vgo5: STA 3a:0e:52:a1:43:ea IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Tue Aug 9 05:18:05 2022 daemon.info hostapd: vgo5: STA 3a:0e:52:a1:43:ea IEEE 802.11: disassociated due to inactivity Tue Aug 9 05:18:06 2022 daemon.info hostapd: vgo5: STA 3a:0e:52:a1:43:ea IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE) Not sure what's going on there. I will have to verify this fix works in production. [1]: https://paste.c-net.org/MulanMaybe --- roles/netconfig/vars/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/netconfig/vars/main.yml b/roles/netconfig/vars/main.yml index 3f2a1dc..9baa05a 100644 --- a/roles/netconfig/vars/main.yml +++ b/roles/netconfig/vars/main.yml @@ -5,11 +5,11 @@ wifi_iface: mode: 'ap' encryption: 'psk2' key: 'password' + skip_inactivity_poll: '1' vgo: &vgo_wifi_iface <<: *default_wifi_iface network: 'vgolan' - skip_inactivity_poll: '1' disassoc_low_ack: '0' key: !vault | $ANSIBLE_VAULT;1.1;AES256