hostapd: keep HE capability after channel switch in AP+STA/Mesh
[openwrt/staging/mkresin.git] / package / network / services / hostapd / patches / 370-ap_sta_support.patch
index c5cad3bb8da5537934c6cc3e075f9d1013fbc163..535164d80260038a2d9846fdfac40cad1c7cbc63 100644 (file)
  
 --- 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++) {