FILS: 320 MHz support in FD frame

Indicate 320 MHz channel width in FILS discovery frame if applicable.

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
This commit is contained in:
Aloka Dixit 2023-03-13 02:11:27 -07:00 committed by Jouni Malinen
parent 903e3a1e62
commit 591256a8c6
2 changed files with 4 additions and 0 deletions

View file

@ -1357,6 +1357,9 @@ static u16 hostapd_fils_discovery_cap(struct hostapd_data *hapd)
phy_index = FD_CAP_PHY_INDEX_HE;
switch (hapd->iconf->op_class) {
case 137:
chwidth = FD_CAP_BSS_CHWIDTH_320;
break;
case 135:
mcs_nss_size += 4;
/* fallthrough */

View file

@ -2786,6 +2786,7 @@ enum mscs_description_subelem {
#define FD_CAP_BSS_CHWIDTH_40 1
#define FD_CAP_BSS_CHWIDTH_80 2
#define FD_CAP_BSS_CHWIDTH_160_80_80 3
#define FD_CAP_BSS_CHWIDTH_320 4
#define FD_CAP_BSS_CHWIDTH_SHIFT 2
#define FD_CAP_NSS_1 0