From: Aloka Dixit Date: Mon, 13 Mar 2023 09:11:27 +0000 (-0700) Subject: FILS: 320 MHz support in FD frame X-Git-Tag: hostap_2_11~1237 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=591256a8c684dd65ca6c6c0892d8094e8ef414e2;p=thirdparty%2Fhostap.git FILS: 320 MHz support in FD frame Indicate 320 MHz channel width in FILS discovery frame if applicable. Signed-off-by: Aloka Dixit --- diff --git a/src/ap/beacon.c b/src/ap/beacon.c index e9218dd9b..48bc5a1dd 100644 --- a/src/ap/beacon.c +++ b/src/ap/beacon.c @@ -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 */ diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h index 6306ef9a0..202bfc9d1 100644 --- a/src/common/ieee802_11_defs.h +++ b/src/common/ieee802_11_defs.h @@ -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