ACS: Send EHT enabled info to driver
The driver can consider EHT specific parameters such as the puncture pattern for ACS when this flag attribute is indicated by userspace. Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
This commit is contained in:
parent
82066bd367
commit
27e828d728
3 changed files with 11 additions and 3 deletions
|
@ -967,13 +967,15 @@ int hostapd_drv_do_acs(struct hostapd_data *hapd)
|
|||
params.ht40_enabled = !!(hapd->iface->conf->ht_capab &
|
||||
HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET);
|
||||
params.vht_enabled = !!(hapd->iface->conf->ieee80211ac);
|
||||
params.eht_enabled = !!(hapd->iface->conf->ieee80211be);
|
||||
params.ch_width = 20;
|
||||
if (hapd->iface->conf->ieee80211n && params.ht40_enabled)
|
||||
params.ch_width = 40;
|
||||
|
||||
/* Note: VHT20 is defined by combination of ht_capab & oper_chwidth
|
||||
*/
|
||||
if ((hapd->iface->conf->ieee80211ax ||
|
||||
if ((hapd->iface->conf->ieee80211be ||
|
||||
hapd->iface->conf->ieee80211ax ||
|
||||
hapd->iface->conf->ieee80211ac) &&
|
||||
params.ht40_enabled) {
|
||||
u8 oper_chwidth = hostapd_get_oper_chwidth(hapd->iface->conf);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue