[PATCH v3 1/3] 6G: Define FILS discovery frame elements

Aloka Dixit alokad at codeaurora.org
Mon Dec 14 21:04:26 EST 2020


This patch defines IEEE Std 802.11ai-2016 9.6.8.36 FILS discovery
frame elements (Figures 9-687b, 9-687c).
Changes include 6GHz specific changes defined in IEEE P802.11ax/D6.0
Table 9-386—PHY Index subfield and 26.17.2.3.2, AP behavior for fast
passive scanning.

Signed-off-by: Aloka Dixit <alokad at codeaurora.org>
---
 src/common/ieee802_11_defs.h | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 9518a7afe909..d72ab39a2fb9 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -2367,4 +2367,40 @@ enum mscs_description_subelem {
 	MCSC_SUBELEM_STATUS = 1,
 };
 
+/**
+ * IEEE Std 802.11ai-2016 9.6.8.36 FILS Discovery frame format,
+ * Figure 9-687b - FILS Discovery Frame Control subfield format
+ */
+#define FILS_DISCOVERY_FRM_CNTL_CAP_PRESENT               ((u16)BIT(5))
+#define FILS_DISCOVERY_FRM_CNTL_SHORT_SSID_PRESENT        ((u16)BIT(6))
+#define FILS_DISCOVERY_FRM_CNTL_AP_CSN_PRESENT            ((u16)BIT(7))
+#define FILS_DISCOVERY_FRM_CNTL_ANO_PRESENT               ((u16)BIT(8))
+#define FILS_DISCOVERY_FRM_CNTL_FREQ_SEG1_PRESENT         ((u16)BIT(9))
+#define FILS_DISCOVERY_FRM_CNTL_PRI_CHAN_PRESENT          ((u16)BIT(10))
+#define FILS_DISCOVERY_FRM_CNTL_RSN_INFO_PRESENT          ((u16)BIT(11))
+#define FILS_DISCOVERY_FRM_CNTL_LENGTH_PRESENT            ((u16)BIT(12))
+#define FILS_DISCOVERY_FRM_CNTL_MOBILITY_DOMAIN_PRESENT   ((u16)BIT(13))
+
+/**
+ * IEEE Std 802.11ai-2016 9.6.8.36 FILS Discovery frame format,
+ * Figure 9-687c - FD Capability subfield format
+ */
+#define FILS_DISCOVERY_CAP_ESS                            BIT(0)
+#define FILS_DISCOVERY_CAP_PRIVACY                        BIT(1)
+#define FILS_DISCOVERY_CAP_MULTIPLE_BSSID_PRESENT         BIT(9)
+#define FILS_DISCOVERY_CAP_BSS_CHWIDTH_20                 0
+#define FILS_DISCOVERY_CAP_BSS_CHWIDTH_40                 1
+#define FILS_DISCOVERY_CAP_BSS_CHWIDTH_80                 2
+#define FILS_DISCOVERY_CAP_BSS_CHWIDTH_160_8080           3
+#define FILS_DISCOVERY_CAP_BSS_CHWIDTH_SHIFT              2
+#define FILS_DISCOVERY_CAP_NSS_SHIFT                      5
+#define FILS_DISCOVERY_CAP_PHY_INDEX_SHIFT                10
+#define FILS_DISCOVERY_CAP_PHY_INDEX_HT                   2
+#define FILS_DISCOVERY_CAP_PHY_INDEX_VHT                  3
+
+/**
+ * IEEE P802.11ax/D6.0 26.17.2.3.2, AP behavior for fast passive scanning
+ */
+#define FILS_DISCOVERY_CAP_PHY_INDEX_HE                   4
+#define FILS_DISCOVERY_MAX_INTERVAL_6GHZ                  20
 #endif /* IEEE802_11_DEFS_H */
-- 
2.25.0




More information about the Hostap mailing list