diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c index fea3d8b3c..145463d04 100644 --- a/src/ap/hostapd.c +++ b/src/ap/hostapd.c @@ -4103,13 +4103,17 @@ hostapd_switch_channel_fallback(struct hostapd_iface *iface, bw = CONF_OPER_CHWIDTH_USE_HT; break; case 80: - if (freq_params->center_freq2) + if (freq_params->center_freq2) { bw = CONF_OPER_CHWIDTH_80P80MHZ; - else + iface->conf->vht_capab |= + VHT_CAP_SUPP_CHAN_WIDTH_160_80PLUS80MHZ; + } else { bw = CONF_OPER_CHWIDTH_80MHZ; + } break; case 160: bw = CONF_OPER_CHWIDTH_160MHZ; + iface->conf->vht_capab |= VHT_CAP_SUPP_CHAN_WIDTH_160MHZ; break; case 320: bw = CONF_OPER_CHWIDTH_320MHZ;