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
This commit is contained in:
Martin Kennedy 2022-08-09 20:32:21 -04:00
parent 50ba10ad0e
commit 2ea51c7833

View File

@ -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