diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2021-12-21 18:41:33 +0100 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2021-12-21 22:21:38 +0000 |
commit | 0210f37534b451a895a5fd647fd5a4dc551b3cf7 (patch) | |
tree | ea8fb72369eab24553021c10b0b3bb01463eb459 /package | |
parent | 3684b494ddd540b811de44497f0d11309bfd1911 (diff) | |
download | upstream-0210f37534b451a895a5fd647fd5a4dc551b3cf7.tar.gz upstream-0210f37534b451a895a5fd647fd5a4dc551b3cf7.tar.bz2 upstream-0210f37534b451a895a5fd647fd5a4dc551b3cf7.zip |
hostapd: keep HE capability after channel switch in AP+STA/Mesh
The auto-ht option already kept HT and VHT support, but wasn't updated
to support HE (11ax).
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'package')
-rw-r--r-- | package/network/services/hostapd/patches/370-ap_sta_support.patch | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/network/services/hostapd/patches/370-ap_sta_support.patch b/package/network/services/hostapd/patches/370-ap_sta_support.patch index c5cad3bb8d..535164d802 100644 --- a/package/network/services/hostapd/patches/370-ap_sta_support.patch +++ b/package/network/services/hostapd/patches/370-ap_sta_support.patch @@ -235,13 +235,14 @@ --- a/hostapd/ctrl_iface.c +++ b/hostapd/ctrl_iface.c -@@ -2883,6 +2883,11 @@ static int hostapd_ctrl_iface_chan_switc +@@ -2883,6 +2883,12 @@ static int hostapd_ctrl_iface_chan_switc return 0; } + if (os_strstr(pos, " auto-ht")) { + settings.freq_params.ht_enabled = iface->conf->ieee80211n; + settings.freq_params.vht_enabled = iface->conf->ieee80211ac; ++ settings.freq_params.he_enabled = iface->conf->ieee80211ax; + } + for (i = 0; i < iface->num_bss; i++) { |