Lines Matching +full:4 +full:ghz +full:- +full:coexistence
3 * Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi>
4 * Copyright (c) 2007-2008 Intel Corporation
35 #define WLAN_FC_GET_STYPE(fc) (((fc) & 0x00f0) >> 4)
41 (((seq) & (~(BIT(3) | BIT(2) | BIT(1) | BIT(0)))) >> 4)
53 #define WLAN_FC_STYPE_PROBE_REQ 4
76 #define WLAN_FC_STYPE_NULLFUNC 4
97 #define WLAN_AUTH_FILS_SK 4
109 #define WLAN_CAPABILITY_PRIVACY BIT(4)
122 /* Status codes (IEEE Std 802.11-2020, 9.4.1.9, Table 9-50) */
237 /* Reason codes (IEEE Std 802.11-2020, 9.4.1.7, Table 9-90) */
241 #define WLAN_REASON_DISASSOC_DUE_TO_INACTIVITY 4
301 /* Element IDs (IEEE Std 802.11-2020, 9.4.2.1, Table 9-92) */
305 #define WLAN_EID_CF_PARAMS 4
489 #define WLAN_EID_EXT_FILS_SESSION 4
533 #define WLAN_EXT_CAPAB_PSMP 4
534 /* 5 - Reserved */
564 /* 35 - Reserved */
570 /* 41-43 - Service Interval Granularity */
586 /* 59 - Reserved */
590 /* 63-64 - Max Number of MSDUs In A-MSDU */
602 /* 76-79 - Reserved */
611 /* bits 0-3: Field length (n-1) */
612 #define WLAN_RSNX_CAPAB_PROTECTED_TWT 4
624 /* Action frame categories (IEEE Std 802.11-2020, 9.4.1.11, Table 9-51) */
629 #define WLAN_ACTION_PUBLIC 4
663 /* Note: 128-255 used to report errors by setting category | 0x80 */
665 /* Public action codes (IEEE Std 802.11-2020, 9.6.7.1, Table 9-364) */
670 #define WLAN_PA_EXT_CHANNEL_SWITCH_ANNOUNCE 4
703 /* HT Action field values (IEEE P802.11-REVme/D4.0, 9.6.11.1, Table 9-491) */
706 #define WLAN_HT_ACTION_CSI 4
711 /* VHT Action field values (IEEE P802.11-REVme/D4.0, 9.6.22.1, Table 9-579) */
716 /* Protected Dual of Public Action frames (IEEE Std 802.11-2020, 9.6.10,
717 * Table 9-404) */
720 #define WLAN_PROT_EXT_CSA 4
745 /* SA Query Action frame (IEEE Std 802.11-2020, 9.6.9) */
756 #define WLAN_TDLS_PEER_TRAFFIC_INDICATION 4
769 #define WLAN_RRM_NEIGHBOR_REPORT_REQUEST 4
778 * IEEE Std 802.11-2020, 9.4.2.44, Table 9-179 */
782 #define WLAN_RRM_CAPS_BEACON_REPORT_PASSIVE BIT(4)
786 #define WLAN_RRM_CAPS_LCI_MEASUREMENT BIT(4)
791 * IEEE Std 802.11-2020, 9.4.2.20.19 (Fine Timing Measurement Range
792 * request) - Minimum AP Count
801 /* Interworking element (IEEE Std 802.11-2020, 9.4.2.91) -
813 #define INTERWORKING_ANT_PERSONAL_DEVICE 4
818 /* Advertisement Protocol ID definitions (IEEE Std 802.11-2020, Table 9-237) */
824 REGISTERED_LOCATION_QUERY_PROTO = 4,
828 /* ANQP-element definitions (IEEE Std 802.11-2020, Table 9-331) */
858 /* NAI Realm list - EAP Method subfield - Authentication Parameter ID */
863 NAI_REALM_EAP_AUTH_EXPANDED_INNER_EAP_METHOD = 4,
873 NAI_REALM_INNER_NON_EAP_MSCHAPV2 = 4
880 NAI_REALM_CRED_TYPE_HARDWARE_TOKEN = 4,
894 #define S1G_ACT_EDCA_PARAM_SET 4
903 * IEEE Std 802.11-2020, Table 9-98 - Measurement type definitions for
911 MEASURE_TYPE_NOISE_HIST = 4,
927 /* IEEE Std 802.11-2020, Table 9-110 - Location Subject field definition */
935 * IEEE Std 802.11-2020, Table 9-111 - Optional subelement IDs for LCI request
941 LCI_REQ_SUBELEM_MAX_AGE = 4,
974 u8 timestamp[4];
979 * 'u8 compressed_ssid[4];' if the Compressed SSID Present field in
987 #define IEEE80211_FC(type, stype) host_to_le16((type << 2) | (stype << 4))
1107 /* Vendor-specific content */
1177 u8 a_mpdu_params; /* Maximum A-MPDU Length Exponent B0..B1
1227 u8 selected_pairwise_suite[4];
1234 * (MGTK[variable] || Key RSC[8] || GTKExpirationTime[4])
1254 #define HT_CAP_INFO_GREEN_FIELD ((u16) BIT(4))
1265 /* B13 - Reserved (was PSMP support during P802.11n development) */
1273 /* B3..B7 - Reserved */
1278 /* B12..B15 - Reserved */
1285 #define TX_BF_CAP_TX_NDP_CAP ((u32) BIT(4))
1303 /* B29..B31 - Reserved */
1310 #define ASEL_CAP_ANT_INDICES_FEEDBACK_CAP ((u8) BIT(4))
1313 /* B7 - Reserved */
1321 /* B4..B7 - Reserved */
1332 /* BIT(3), i.e., B11 in HT Operation Information field - Reserved */
1333 #define HT_OPER_OP_MODE_OBSS_NON_HT_STAS_PRESENT ((u16) BIT(4)) /* B12 */
1334 /* BIT(5)..BIT(15), i.e., B13..B23 - Reserved */
1337 /* B24..B29 - Reserved */
1344 /* B36..B39 - Reserved */
1362 #define VHT_CAP_RXLDPC ((u32) BIT(4))
1403 #define VHT_OPMODE_CHANNEL_RxNSS_MASK ((u8) BIT(4) | BIT(5) | \
1405 #define VHT_OPMODE_NOTIF_RX_NSS_SHIFT 4
1413 /* VHT operation information - channel widths */
1421 #define OUI_MICROSOFT 0x0050f2 /* Microsoft (also used in Wi-Fi specs)
1456 #define MULTI_AP_TEAR_DOWN BIT(4)
1477 /* 2 - Reserved */
1479 /* 4-255 - Reserved */
1484 /* 2 - Reserved */
1517 #define WMM_AC_ECWMAX_SHIFT 4
1521 u8 cw; /* ECWmin, ECWmax (CW = 2^ECW - 1) */
1538 struct wmm_ac_parameter ac[4]; /* AC_BE, AC_BK, AC_VI, AC_VO */
1576 WMM_AC_NUM = 4
1587 #define HS20_STYPE_WAN_METRICS 4
1604 /* WNM-Notification WFA vendors specific subtypes */
1609 #define HS20_WNM_T_C_ACCEPTANCE 4
1615 /* Table 4-5: MBO Attributes */
1616 /* OCE v0.0.10, Table 4-3: OCE Attributes */
1621 MBO_ATTR_ID_ASSOC_DISALLOW = 4,
1633 /* Table 4-7: MBO AP Capability Indication Field Values */
1636 /* MBO v0.0_r19, 4.2.2: Non-preferred Channel Report Attribute */
1637 /* Table 4-10: Reason Code Field Values */
1646 /* Table 4-13: Cellular Data Connectivity Field */
1653 /* MBO v0.0_r19, 4.2.4: Association Disallowed Attribute */
1654 /* Table 4-15: Reason Code Field Values */
1659 MBO_ASSOC_DISALLOW_REASON_AUTH_SERVER_OVERLOAD = 4,
1664 /* Table 4-17: Cellular Preference Field Values */
1672 /* Table 4-19: Transition Reason Code Field Values */
1678 MBO_TRANSITION_REASON_LOAD_BALANCE = 4,
1687 /* Table 4-21: Transition Rejection Reason Code Field Values */
1693 MBO_TRANSITION_REJECT_REASON_RSSI = 4,
1698 /* MBO v0.0_r27, 4.3: MBO ANQP-elements */
1708 #define OCE_IS_NON_OCE_AP_PRESENT BIT(4)
1710 /* Wi-Fi Direct (P2P) */
1719 P2P_ATTR_GROUP_OWNER_INTENT = 4,
1748 /* P2P Capability - Device Capability bitmap */
1753 #define P2P_DEV_CAPAB_DEVICE_LIMIT BIT(4)
1757 /* P2P Capability - Group Capability bitmap */
1762 #define P2P_GROUP_CAPAB_CROSS_CONN BIT(4)
1789 P2P_SC_FAIL_INVALID_PARAMS = 4,
1806 #define P2P_WILDCARD_SSID "DIRECT-"
1823 P2P_INVITATION_RESP = 4,
1835 P2P_SERV_WIFI_DISPLAY = 4,
1853 WFD_SUBELEM_3D_VIDEO_FORMATS = 4,
1870 /* IEEE 802.11s - Mesh Capability */
1875 #define MESH_CAP_MBCA_ENABLED BIT(4)
1890 #define VENDOR_HT_CAPAB_OUI_TYPE 0x33 /* 00-90-4c:0x33 */
1893 /* IEEE 802.11v - WNM Action field values */
1899 WNM_LOCATION_CFG_REQ = 4,
1925 /* IEEE 802.11v - BSS Transition Management Request - Request Mode */
1930 #define WNM_BSS_TM_REQ_ESS_DISASSOC_IMMINENT BIT(4)
1933 /* IEEE Std 802.11-2020, Table 9-428 (BTM status code definitions) */
1939 WNM_BSS_TM_REJECT_UNDESIRED = 4,
1947 * IEEE Std 802.11-2020, Table 9-198 (Transition and Transition Query reasons)
1954 WNM_TRANSITION_REASON_FIRST_ESS_ASSOC = 4,
1974 * IEEE Std 802.11-2020, Table 9-173 - Optional subelement IDs for
1980 #define WNM_NEIGHBOR_BSS_TERMINATION_DURATION 4
1999 QOS_QOS_MAP_CONFIG = 4,
2002 /* IEEE Std 802.11-2020, 9.4.2.59 (20/40 BSS Coexistence element) */
2007 #define WLAN_20_40_BSS_COEX_OBSS_EXEMPT_GRNT BIT(4)
2022 /* IEEE 802.11v - WNM-Sleep Mode element */
2039 WNM_STATUS_DENIED_KEY = 4,
2043 /* WNM-Sleep Mode subelement IDs */
2050 /* WNM notification type (IEEE Std 802.11-2020, Table 9-431) */
2081 WNM_STATUS_FREQUENT_TRANSITION = 4,
2089 WNM_EVENT_TYPE_BSS_COLOR_COLLISION = 4,
2105 * IEEE Std 802.11ax-2021, Table 9-275a - Maximum Transmit Power
2116 * IEEE Std 802.11ax-2021, Table E-13 - Maximum Transmit Power
2126 /* IEEE Std 802.11-2020, 9.6.6.4 - Link Measurement Request frame format */
2134 /* IEEE Std 802.11-2020, 9.6.6.5 - Link Measurement Report frame format */
2145 /* IEEE Std 802.11-2020, 9.4.2.20 - Measurement Request element */
2155 /* IEEE Std 802.11-2020, Figure 9-180 - Measurement Request Mode field format */
2160 #define MEASUREMENT_REQUEST_MODE_DURATION_MANDATORY BIT(4)
2162 /* IEEE Std 802.11-2020, 9.4.2.20.7 - Beacon request */
2174 * IEEE Std 802.11-2020, Table 9-103 - Measurement Mode definitions for Beacon
2183 /* IEEE Std 802.11-2020, Table 9-104 - Optional subelement IDs for
2195 /* IEEE Std 802.11-2020, Table 9-106 - Reporting Detail values */
2197 /* No fixed-length fields or elements */
2199 /* All fixed-length fields and any requested elements in the Request
2202 /* All fixed-length fields and elements (default, used when Reporting
2207 /* IEEE Std 802.11-2020, 9.4.2.21 - Measurement Report element */
2217 /* IEEE Std 802.11-2020, Figure 9-223 - Measurement Report Mode field */
2223 /* IEEE Std 802.11-2020, 9.4.2.21.7 - Beacon report */
2239 /* IEEE Std 802.11-2020, Table 9-130 - Optional subelement IDs for
2247 /* IEEE Std 802.11-2020, Table 9-232 - Data field format (of the
2249 #define REPORTED_FRAME_BODY_SUBELEM_LEN 4
2252 /* IEEE Std 802.11-2020, 9.4.2.21.7 - Beacon report */
2255 /* IEEE Std 802.11-2020, 9.4.2.138 - Multi-band element */
2281 MB_STA_ROLE_NON_PCP_NON_AP = 4
2287 #define MB_CTRL_PAIRWISE_CIPHER_SUITE_PRESENT ((u8) (BIT(4)))
2290 MB_BAND_ID_WIFI_2_4GHZ = 2, /* 2.4 GHz */
2291 MB_BAND_ID_WIFI_5GHZ = 4, /* 4.9 and 5 GHz */
2292 MB_BAND_ID_WIFI_60GHZ = 5, /* 60 GHz */
2299 #define MB_CONNECTION_CAPABILITY_IBSS ((u8) (BIT(4)))
2301 /* IEEE Std 802.11-2020, Table 9-479 - FST Action field values */
2307 FST_ACTION_ACK_RESPONSE = 4,
2311 /* IEEE Std 802.11-2020, Annex C - dot11PHYType */
2315 PHY_TYPE_OFDM = 4,
2327 /* IEEE Std 802.11-2020, 9.4.2.36 - Neighbor Report element */
2334 #define NEI_REP_BSSID_INFO_SPECTRUM_MGMT BIT(4)
2348 * IEEE Std 802.11-2020, Table 9-175 - HT/VHT Operation Information
2357 NR_CHAN_WIDTH_80P80 = 4,
2363 /* Followed by 4, 8, or 12 octets of Supported HE-MCS And NSS Set field
2374 * Max Co-Hosted BSSID Indicator subfield (1 octet), and/or 6 GHz
2378 /* IEEE Std 802.11ax-2021, Figure 9-788k - 6 GHz Operation Information field */
2387 /* IEEE Std 802.11ax-2021, Figure 9-788l - Control field format */
2390 #define HE_6GHZ_OPER_INFO_CTRL_REG_INFO_MASK (BIT(3) | BIT(4) | BIT(5))
2393 /* IEEE Std 802.11ax-2021, 9.4.2.263 HE 6 GHz Band Capabilities element */
2396 * Maximum A-MPDU Length Exponent B3..B5
2407 #define HE_6GHZ_BAND_CAP_MAX_AMPDU_LEN_EXP_32K BIT(4)
2408 #define HE_6GHZ_BAND_CAP_MAX_AMPDU_LEN_EXP_64K (BIT(3) | BIT(4))
2411 #define HE_6GHZ_BAND_CAP_MAX_AMPDU_LEN_EXP_512K (BIT(4) | BIT(5))
2412 #define HE_6GHZ_BAND_CAP_MAX_AMPDU_LEN_EXP_1024K (BIT(3) | BIT(4) | BIT(5))
2413 #define HE_6GHZ_BAND_CAP_MAX_AMPDU_LEN_EXP_MASK (BIT(3) | BIT(4) | BIT(5))
2428 * IEEE Std 802.11ax-2021, 9.4.2.252 Spatial Reuse Parameter Set element
2433 * Non-SRG OBSS PD Max Offset[0 or 1]
2448 BIT(3) | BIT(4)))
2452 #define HE_PHYCAP_CHANNEL_WIDTH_SET_80PLUS80MHZ_IN_5G ((u8) BIT(4))
2456 #define HE_PHYCAP_SU_BEAMFORMEE_CAPAB_IDX 4
2458 #define HE_PHYCAP_MU_BEAMFORMER_CAPAB_IDX 4
2475 #define HE_OPERATION_RTS_THRESHOLD_MASK ((u32) (BIT(4) | BIT(5) | \
2480 #define HE_OPERATION_RTS_THRESHOLD_OFFSET 4
2494 * enum he_reg_info_6ghz_ap_type - Allowed Access Point types for 6 GHz Band
2496 * IEEE P802.11-REVme/D4.0, Table E-12 (Regulatory Info subfield encoding)
2503 HE_REG_INFO_6GHZ_AP_TYPE_INDOOR_SP = 4,
2524 #define SPATIAL_REUSE_HESIGA_SR_VAL15_ALLOWED BIT(4)
2538 #define HE_MU_AC_PARAM_ACM ((u8) BIT(4))
2545 #define HE_MU_AC_PARAM_ECWMAX ((u8) (BIT(4) | BIT(5) | BIT(6) | BIT(7)))
2553 #define HE_QOS_INFO_Q_ACK ((u8) (BIT(4)))
2556 /* B7: Reserved if sent by an AP; More Data Ack if sent by a non-AP STA */
2560 * IEEE Std 802.11-2020 and IEEE Std 802.11ax-2021
2564 #define RNR_TBTT_HEADER_LEN 4
2568 #define RNR_TBTT_INFO_COUNT(x) (((x) & 0xf) << 4)
2570 #define RNR_TBTT_INFO_COUNT_VAL(x) (((x) & 0xf0) >> 4)
2574 /* Figure 9-632a - BSS Parameters subfield format */
2579 #define RNR_BSS_PARAM_MEMBER_CO_LOCATED_ESS BIT(4)
2582 /* Maximum transmit power in Y/2 dBm (-127..126); 127 indicates no maximum
2586 /* IEEE P802.11be/D5.0, Figure 9-704c - MLD Parameters subfield format */
2595 /* IEEE P802.11be/D2.3, 9.4.2.311 - EHT Operation element */
2597 /* Figure 9-1002b: EHT Operation Parameters field subfields */
2602 #define EHT_OPER_GROUP_ADDR_BU_INDICATION_EXPONENT (BIT(4) | BIT(5))
2605 /* Control subfield: Channel Width subfield; see Table 9-401b */
2610 #define EHT_OPER_CHANNEL_WIDTH_320MHZ 4
2612 /* Figure 9-1002c: EHT Operation Information field format */
2620 /* Figure 9-1002a: EHT Operation element format */
2623 u8 basic_eht_mcs_nss_set[4];
2627 /* IEEE P802.11be/D1.5, 9.4.2.313 - EHT Capabilities element */
2629 /* Figure 9-1002af: EHT MAC Capabilities Information field */
2634 #define EHT_MACCAP_RESTRICTED_TWT BIT(4)
2642 /* Figure 9-1002ag: EHT PHY Capabilities Information field format
2658 #define EHT_PHYCAP_MU_BEAMFORMER_80MHZ ((u8) BIT(4))
2665 /* Figure 9-1002ah: Supported EHT-MCS and NSS Set field format */
2666 #define EHT_PHYCAP_MCS_NSS_LEN_20MHZ_ONLY 4
2671 * Figure 9-1002ak: EHT PPE Thresholds field format
2673 * NSS: 4 bits (maximum NSS: 16), RU index: 5 bits, each pair: 6 bits
2674 * 4 + 5 + 5 * 16 * 6 = 489 bits, Padding: 7 bits
2682 #define EHT_PPE_THRES_RU_INDEX_SHIFT 4
2683 #define EHT_PPE_THRES_RU_INDEX_MASK ((u16) (BIT(4) | BIT(5) | \
2689 /* Figure 9-1002ae: EHT Capabilities element format */
2695 /* Supported EHT-MCS And NSS Set and EHT PPE thresholds (Optional) */
2701 /* IEEE P802.11be/D2.1, 9.4.2.312 - Multi-Link element */
2703 /* Figure 9-1002f: Multi-Link Control field */
2707 /* Table 9-401c: Mult-Link element Type subfield encoding */
2712 #define MULTI_LINK_CONTROL_TYPE_PRIOR_ACCESS 4
2715 * IEEE P802.11be/D2.2, Table 9-401c: Optional subelement IDs for Link Info
2716 * field of the Multi-Link element
2722 /* IEEE P802.11be/D2.2, 9.4.2.312.2 - Basic Multi-Link element */
2724 /* Figure 9-1002g: Presence Bitmap subfield of the Basic Multi-Link element */
2733 * STA Control field definitions of Per-STA Profile subelement in Basic
2734 * Multi-Link element as described in Figure 9-1002n: STA Control field format.
2749 /* IEEE P802.11be/D2.2, 9.4.2.312.2.3 - Common Info field of the Basic
2750 * Multi-Link element */
2800 /* IEEE P802.11be/D4.1, Figure 9-1001x - STA Control field format for the
2801 * Reconfiguration Multi-Link element */
2811 /* IEEE P802.11be/D2.0, 9.4.2.312.2.4 - Per-STA Profile subelement format */
2819 /* IEEE P802.11be/D4.0, 9.4.2.312.3 - Probe Request Multi-Link element
2820 * Presence Bitmap field is B4..B15 of the Multi-Link Control field, i.e.,
2837 /* IEEE P802.11be/D4.0, 9.4.2.312.4 - Reconfiguration Multi-Link element */
2849 /* IEEE P802.11be/D2.0, 9.4.2.312.1 - Multi-Link element / General */
2858 /* Table 9-401c - Optional subelement IDs for Link Info field of the
2859 * Multi-Link element */
2866 /* IEEE P802.11ay/D4.0, 9.4.2.251 - EDMG Operation element */
2870 /* IEEE P802.11ay/D4.0, 29.3.4 - Channelization */
2882 #define EDMG_CHANNEL_11_SUBCHANNELS (BIT(2) | BIT(3)) /* channels 3 and 4 */
2883 #define EDMG_CHANNEL_12_SUBCHANNELS (BIT(3) | BIT(4)) /* channels 4 and 5 */
2884 #define EDMG_CHANNEL_13_SUBCHANNELS (BIT(4) | BIT(5)) /* channels 5 and 6 */
2887 * enum edmg_bw_config - Allowed channel bandwidth configurations
2888 * @EDMG_BW_CONFIG_4: 2.16 GHz
2889 * @EDMG_BW_CONFIG_5: 2.16 GHz and 4.32 GHz
2895 EDMG_BW_CONFIG_4 = 4,
2899 /* DPP Public Action frame identifiers - OUI_WFA */
2908 ROBUST_AV_MSCS_REQ = 4,
2920 * Table 9-404s (Direction subfield encoding)
2930 * Figure 9-1001av (Control Info field format)
2946 #define SCS_QOS_BIT_DELAYED_BOUNDED_BURST_SIZE ((u16) BIT(4))
2957 * IEEE Std 802.11-2020, 9.6.7.36 FILS Discovery frame format,
2958 * Figure 9-900 - FILS Discovery Frame Control subfield format
2971 * IEEE Std 802.11-2020, 9.6.7.36 FILS Discovery frame format,
2972 * Figure 9-901 - FD Capability subfield format
2982 #define FD_CAP_BSS_CHWIDTH_320 4
2989 #define FD_CAP_NSS_5_8 4
2996 #define FD_CAP_PHY_INDEX_HE 4 /* P802.11ax */
3001 * IEEE Std 802.11ax-2021, 26.17.2.3.2, AP behavior for fast passive scanning
3005 /* IEEE Std 802.11ax-2021, 26.17.3.5.1: AP needs to wait and see the collision
3011 /* Protected Vendor-specific QoS Management Action frame identifiers - WFA */
3025 QM_ATTR_DOMAIN_NAME = 4,
3028 /* DSCP Policy attribute - Request Type */
3038 /* Wi-Fi Alliance Capabilities element - Capabilities field */