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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
---
 src/common/ieee802_11_defs.h | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/src/common/ieee802_11_defs.h b/src/common/ieee802_11_defs.h
index 4d3037eee7e1..296b06c3bb5b 100644
--- a/src/common/ieee802_11_defs.h
+++ b/src/common/ieee802_11_defs.h
@@ -2340,4 +2340,39 @@ enum edmg_bw_config {
 /* DPP Public Action frame identifiers - OUI_WFA */
 #define DPP_OUI_TYPE 0x1A
 
+/**
+ * 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_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


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux