STRUCTS
BssDescription
Defined in fuchsia.wlan.ieee80211/fields.fidl
Type corresponding to a BSSDescription defined by IEEE Std 802.11-2020 6.3.3.3.2
This type only includes explicit fields for information frequently required from a BSSDescription. All other fields are left in a raw buffer of IEs as received in an advertisement from the AP, e.g., from a Beacon or Probe Response frame.
The inclusion of a raw buffer of IEs ensures this type always includes all the information an AP advertises, no matter the version of Fuchsia the advertisement was received in.
| Field | Type | Description | Default |
|---|---|---|---|
bssid |
MacAddr
|
No default | |
bss_type |
BssType
|
No default | |
beacon_period |
uint16
|
No default | |
capability_info |
CapabilityInfo
|
No default | |
ies |
vector<uint8>
|
Buffer of IEs as received in an advertisement. E.g., from a Beacon or Probe Response frame. |
No default |
channel |
WlanChannel
|
Channel information for this BSS. |
No default |
rssi_dbm |
int8
|
The running average of received signal strength indicator in units of dBm. |
No default |
snr_db |
int8
|
The running average of snr in units of dB. |
No default |
CSsid
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Field | Type | Description | Default |
|---|---|---|---|
len |
uint8
|
No default | |
data |
array<uint8, 32>
|
No default |
HtCapabilities
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Field | Type | Description | Default |
|---|---|---|---|
bytes |
array<uint8, 26>
|
No default |
HtOperation
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Field | Type | Description | Default |
|---|---|---|---|
bytes |
array<uint8, 22>
|
No default |
VhtCapabilities
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Field | Type | Description | Default |
|---|---|---|---|
bytes |
array<uint8, 12>
|
No default |
VhtOperation
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Field | Type | Description | Default |
|---|---|---|---|
bytes |
array<uint8, 5>
|
No default |
WlanChannel
Defined in fuchsia.wlan.ieee80211/channel.fidl
Channel information derived from the DSSS parameter set, HT operation, and VHT operation IEs, as well as the primary channel on which a frame is received.
IEEE Std 802.11-2016, 9.4.2.4 - DSSS Parameter Set element IEEE Std 802.11-2016, 9.4.2.57 - HT Operation element IEEE Std 802.11-2016, 9.4.2.159 - VHT Operation element
| Field | Type | Description | Default |
|---|---|---|---|
primary |
uint8
|
No default | |
cbw |
ChannelBandwidth
|
No default | |
secondary80 |
uint8
|
No default |
ENUMS
BssType flexible
Type: uint32
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Name | Value | Description |
|---|---|---|
UNKNOWN |
0 |
|
INFRASTRUCTURE |
1 |
|
INDEPENDENT |
2 |
|
MESH |
3 |
|
PERSONAL |
4 |
ChannelBandwidth flexible
Type: uint32
Defined in fuchsia.wlan.ieee80211/channel.fidl
Channel width is derived from the HT operation and VHT operation IEs, or defaults to 20 MHz if not specified explicitly
IEEE Std 802.11-2016, Table 9-153 - HT/VHT Operation Information subfields
| Name | Value | Description |
|---|---|---|
CBW20 |
1 |
|
CBW40 |
2 |
|
CBW40BELOW |
3 |
|
CBW80 |
4 |
|
CBW160 |
5 |
|
CBW80P80 |
6 |
CipherSuiteType flexible
Type: uint32
Defined in fuchsia.wlan.ieee80211/rsn.fidl
IEEE Std 802.11-2016, 9.4.2.25.2
| Name | Value | Description |
|---|---|---|
USE_GROUP |
0 |
|
WEP_40 |
1 |
|
TKIP |
2 |
|
RESERVED_3 |
3 |
|
CCMP_128 |
4 |
|
WEP_104 |
5 |
|
BIP_CMAC_128 |
6 |
|
GROUP_ADDRESSED_NOT_ALLOWED |
7 |
|
GCMP_128 |
8 |
|
GCMP_256 |
9 |
|
CCMP_256 |
10 |
|
BIP_GMAC_128 |
11 |
|
BIP_GMAC_256 |
12 |
|
BIP_CMAC_256 |
13 |
|
RESERVED_14_TO_255 |
14 |
GuardInterval strict
Type: uint8
Defined in fuchsia.wlan.ieee80211/fields.fidl
HT and VHT guard interval. See IEEE 802.11-2016 Table 19-1 and Table 21-1.
| Name | Value | Description |
|---|---|---|
LONG_GI |
1 |
|
SHORT_GI |
2 |
KeyType flexible
Type: uint8
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Name | Value | Description |
|---|---|---|
PAIRWISE |
1 |
|
GROUP |
2 |
|
IGTK |
3 |
|
PEER |
4 |
ReasonCode flexible
Type: uint16
Defined in fuchsia.wlan.ieee80211/reason_code.fidl
802.11 reason codes. These values are common throughout the standard. IEEE Std 802.11-2016, 9.4.1.7, Table 9-45
| Name | Value | Description |
|---|---|---|
UNSPECIFIED_REASON |
1 |
|
INVALID_AUTHENTICATION |
2 |
|
LEAVING_NETWORK_DEAUTH |
3 |
|
REASON_INACTIVITY |
4 |
|
NO_MORE_STAS |
5 |
|
INVALID_CLASS2_FRAME |
6 |
|
INVALID_CLASS3_FRAME |
7 |
|
LEAVING_NETWORK_DISASSOC |
8 |
|
NOT_AUTHENTICATED |
9 |
|
UNACCEPTABLE_POWER_CAPABILITY |
10 |
|
UNACCEPTABLE_SUPPORTED_CHANNELS |
11 |
|
BSS_TRANSITION_DISASSOC |
12 |
|
REASON_INVALID_ELEMENT |
13 |
|
MIC_FAILURE |
14 |
|
FOURWAY_HANDSHAKE_TIMEOUT |
15 |
15 is named "4WAY_HANDSHAKE_TIMEOUT" in 802.11-2016. |
GK_HANDSHAKE_TIMEOUT |
16 |
|
HANDSHAKE_ELEMENT_MISMATCH |
17 |
|
REASON_INVALID_GROUP_CIPHER |
18 |
|
REASON_INVALID_PAIRWISE_CIPHER |
19 |
|
REASON_INVALID_AKMP |
20 |
|
UNSUPPORTED_RSNE_VERSION |
21 |
|
INVALID_RSNE_CAPABILITIES |
22 |
|
IEEE802_1_X_AUTH_FAILED |
23 |
23 is named "802_1_X_AUTH_FAILED" in 802.11-2016. |
REASON_CIPHER_OUT_OF_POLICY |
24 |
|
TDLS_PEER_UNREACHABLE |
25 |
|
TDLS_UNSPECIFIED_REASON |
26 |
|
SSP_REQUESTED_DISASSOC |
27 |
|
NO_SSP_ROAMING_AGREEMENT |
28 |
|
BAD_CIPHER_OR_AKM |
29 |
|
NOT_AUTHORIZED_THIS_LOCATION |
30 |
|
SERVICE_CHANGE_PRECLUDES_TS |
31 |
|
UNSPECIFIED_QOS_REASON |
32 |
|
NOT_ENOUGH_BANDWIDTH |
33 |
|
MISSING_ACKS |
34 |
|
EXCEEDED_TXOP |
35 |
|
STA_LEAVING |
36 |
|
END_TS_BA_DLS |
37 |
37 is assigned to multiple names "END_TS", "END_BA", and "END_DLS" in 802.11-2016. |
UNKNOWN_TS_BA |
38 |
38 is assigned to multiple names "UNKNOWN_TS" and "UNKNOWN_BA" in 802.11-2016. |
TIMEOUT |
39 |
|
PEERKEY_MISMATCH |
45 |
|
PEER_INITIATED |
46 |
|
AP_INITIATED |
47 |
|
REASON_INVALID_FT_ACTION_FRAME_COUNT |
48 |
|
REASON_INVALID_PMKID |
49 |
|
REASON_INVALID_MDE |
50 |
|
REASON_INVALID_FTE |
51 |
|
MESH_PEERING_CANCELED |
52 |
|
MESH_MAX_PEERS |
53 |
|
MESH_CONFIGURATION_POLICY_VIOLATION |
54 |
|
MESH_CLOSE_RCVD |
55 |
|
MESH_MAX_RETRIES |
56 |
|
MESH_CONFIRM_TIMEOUT |
57 |
|
MESH_INVALID_GTK |
58 |
|
MESH_INCONSISTENT_PARAMETERS |
59 |
|
MESH_INVALID_SECURITY_CAPABILITY |
60 |
|
MESH_PATH_ERROR_NO_PROXY_INFORMATION |
61 |
|
MESH_PATH_ERROR_NO_FORWARDING_INFORMATION |
62 |
|
MESH_PATH_ERROR_DESTINATION_UNREACHABLE |
63 |
|
MAC_ADDRESS_ALREADY_EXISTS_IN_MBSS |
64 |
|
MESH_CHANNEL_SWITCH_REGULATORY_REQUIREMENTS |
65 |
|
MESH_CHANNEL_SWITCH_UNSPECIFIED |
66 |
|
MLME_LINK_FAILED |
128 |
Values 67 to 127 are reserved by the IEEE protocol, and values 128 to 65535 are reserved for platform use.MLME lost the link, usually caused by loss of signal with the AP. |
FW_RX_STALLED |
129 |
Driver detected a stalled Rx path in FW. |
FW_HIGH_WME_RX_ERR_RATE |
130 |
Driver detected high wme rx error rate in FW. Added: 16
|
StatusCode flexible
Type: uint16
Defined in fuchsia.wlan.ieee80211/status_code.fidl
802.11 status codes. These values are common throughout the standard. IEEE Std 802.11-2016, 9.4.1.9, Table 9-46
| Name | Value | Description |
|---|---|---|
SUCCESS |
0 |
|
REFUSED_REASON_UNSPECIFIED |
1 |
|
TDLS_REJECTED_ALTERNATIVE_PROVIDED |
2 |
|
TDLS_REJECTED |
3 |
|
SECURITY_DISABLED |
5 |
4 reserved. |
UNACCEPTABLE_LIFETIME |
6 |
|
NOT_IN_SAME_BSS |
7 |
|
REFUSED_CAPABILITIES_MISMATCH |
10 |
8-9 reserved. |
DENIED_NO_ASSOCIATION_EXISTS |
11 |
|
DENIED_OTHER_REASON |
12 |
|
UNSUPPORTED_AUTH_ALGORITHM |
13 |
|
TRANSACTION_SEQUENCE_ERROR |
14 |
|
CHALLENGE_FAILURE |
15 |
|
REJECTED_SEQUENCE_TIMEOUT |
16 |
|
DENIED_NO_MORE_STAS |
17 |
|
REFUSED_BASIC_RATES_MISMATCH |
18 |
|
DENIED_NO_SHORT_PREAMBLE_SUPPORT |
19 |
|
REJECTED_SPECTRUM_MANAGEMENT_REQUIRED |
22 |
20-21 reserved. |
REJECTED_BAD_POWER_CAPABILITY |
23 |
|
REJECTED_BAD_SUPPORTED_CHANNELS |
24 |
|
DENIED_NO_SHORT_SLOT_TIME_SUPPORT |
25 |
|
DENIED_NO_HT_SUPPORT |
27 |
26 reserved. |
R0KH_UNREACHABLE |
28 |
|
DENIED_PCO_TIME_NOT_SUPPORTED |
29 |
|
REFUSED_TEMPORARILY |
30 |
|
ROBUST_MANAGEMENT_POLICY_VIOLATION |
31 |
|
UNSPECIFIED_QOS_FAILURE |
32 |
|
DENIED_INSUFFICIENT_BANDWIDTH |
33 |
|
DENIED_POOR_CHANNEL_CONDITIONS |
34 |
|
DENIED_QOS_NOT_SUPPORTED |
35 |
|
REQUEST_DECLINED |
37 |
36 reserved. |
INVALID_PARAMETERS |
38 |
|
REJECTED_WITH_SUGGESTED_CHANGES |
39 |
|
STATUS_INVALID_ELEMENT |
40 |
|
STATUS_INVALID_GROUP_CIPHER |
41 |
|
STATUS_INVALID_PAIRWISE_CIPHER |
42 |
|
STATUS_INVALID_AKMP |
43 |
|
UNSUPPORTED_RSNE_VERSION |
44 |
|
INVALID_RSNE_CAPABILITIES |
45 |
|
STATUS_CIPHER_OUT_OF_POLICY |
46 |
|
REJECTED_FOR_DELAY_PERIOD |
47 |
|
DLS_NOT_ALLOWED |
48 |
|
NOT_PRESENT |
49 |
|
NOT_QOS_STA |
50 |
|
DENIED_LISTEN_INTERVAL_TOO_LARGE |
51 |
|
STATUS_INVALID_FT_ACTION_FRAME_COUNT |
52 |
|
STATUS_INVALID_PMKID |
53 |
|
STATUS_INVALID_MDE |
54 |
|
STATUS_INVALID_FTE |
55 |
|
REQUESTED_TCLAS_NOT_SUPPORTED_BY_AP |
56 |
56 is assigned to "REQUESTED_TCLAS_NOT_SUPPORTED_BY_AP" in 802.11-2016, duplicate with 80. Name below is as listed in the 802.11 Assigned Numbers Authority database. |
INSUFFICIENT_TCLAS_PROCESSING_RESOURCES |
57 |
|
TRY_ANOTHER_BSS |
58 |
|
GAS_ADVERTISEMENT_PROTOCOL_NOT_SUPPORTED |
59 |
|
NO_OUTSTANDING_GAS_REQUEST |
60 |
|
GAS_RESPONSE_NOT_RECEIVED_FROM_SERVER |
61 |
|
GAS_QUERY_TIMEOUT |
62 |
|
GAS_QUERY_RESPONSE_TOO_LARGE |
63 |
|
REJECTED_HOME_WITH_SUGGESTED_CHANGES |
64 |
|
SERVER_UNREACHABLE |
65 |
|
REJECTED_FOR_SSP_PERMISSIONS |
67 |
66 reserved. |
REFUSED_UNAUTHENTICATED_ACCESS_NOT_SUPPORTED |
68 |
|
INVALID_RSNE |
72 |
69-71 reserved. |
U_APSD_COEXISTANCE_NOT_SUPPORTED |
73 |
|
U_APSD_COEX_MODE_NOT_SUPPORTED |
74 |
|
BAD_INTERVAL_WITH_U_APSD_COEX |
75 |
|
ANTI_CLOGGING_TOKEN_REQUIRED |
76 |
|
UNSUPPORTED_FINITE_CYCLIC_GROUP |
77 |
|
CANNOT_FIND_ALTERNATIVE_TBTT |
78 |
|
TRANSMISSION_FAILURE |
79 |
|
REQUESTED_TCLAS_NOT_SUPPORTED |
80 |
See assignment for 56. |
TCLAS_RESOURCES_EXHAUSTED |
81 |
|
REJECTED_WITH_SUGGESTED_BSS_TRANSITION |
82 |
|
REJECT_WITH_SCHEDULE |
83 |
|
REJECT_NO_WAKEUP_SPECIFIED |
84 |
|
SUCCESS_POWER_SAVE_MODE |
85 |
|
PENDING_ADMITTING_FST_SESSION |
86 |
|
PERFORMING_FST_NOW |
87 |
|
PENDING_GAP_IN_BA_WINDOW |
88 |
|
REJECT_U_PID_SETTING |
89 |
|
REFUSED_EXTERNAL_REASON |
92 |
90-91 reserved. |
REFUSED_AP_OUT_OF_MEMORY |
93 |
|
REJECTED_EMERGENCY_SERVICES_NOT_SUPPORTED |
94 |
|
QUERY_RESPONSE_OUTSTANDING |
95 |
|
REJECT_DSE_BAND |
96 |
|
TCLAS_PROCESSING_TERMINATED |
97 |
|
TS_SCHEDULE_CONFLICT |
98 |
|
DENIED_WITH_SUGGESTED_BAND_AND_CHANNEL |
99 |
|
MCCAOP_RESERVATION_CONFLICT |
100 |
|
MAF_LIMIT_EXCEEDED |
101 |
|
MCCA_TRACK_LIMIT_EXCEEDED |
102 |
|
DENIED_DUE_TO_SPECTRUM_MANAGEMENT |
103 |
|
DENIED_VHT_NOT_SUPPORTED |
104 |
|
ENABLEMENT_DENIED |
105 |
|
RESTRICTION_FROM_AUTHORIZED_GDB |
106 |
|
AUTHORIZATION_DEENABLED |
107 |
|
ENERGY_LIMITED_OPERATION_NOT_SUPPORTED |
108 |
Added: 29
|
REJECTED_NDP_BLOCK_ACK_SUGGESTED |
109 |
Added: 29
|
REJECTED_MAX_AWAY_DURATION_UNACCEPTABLE |
110 |
Added: 29
|
FLOW_CONTROL_OPERATION_SUPPORTED |
111 |
Added: 29
|
FILS_AUTHENTICATION_FAILURE |
112 |
Added: 29
|
UNKNOWN_AUTHENTICATION_SERVER |
113 |
Added: 29
|
DENIED_NOTIFICATION_PERIOD_ALLOCATION |
116 |
114-115 reserved. Added: 29
|
DENIED_CHANNEL_SPLITTING |
117 |
Added: 29
|
DENIED_ALLOCATION |
118 |
Added: 29
|
CMMG_FEATURES_NOT_SUPPORTED |
119 |
Added: 29
|
GAS_FRAGMENT_NOT_AVAILABLE |
120 |
Added: 29
|
SUCCESS_CAG_VERSIONS_MATCH |
121 |
Added: 29
|
GLK_NOT_AUTHORIZED |
122 |
Added: 29
|
UNKNOWN_PASSWORD_IDENTIFIER |
123 |
Added: 29
|
DENIED_LOCAL_MAC_ADDRESS_POLICY_VIOLATION |
125 |
124 reserved. Added: 29
|
SAE_HASH_TO_ELEMENT |
126 |
Added: 29
|
TCLAS_PROCESSING_TERMINATED_INSUFFICIENT_QOS |
128 |
127 reserved. Added: 29
|
TCLAS_PROCESSING_TERMINATED_POLICY_CONFLICT |
129 |
Added: 29
|
JOIN_FAILURE |
256 |
Reserved values we will use for our own purposes.Failure when joining the BSS. |
SPURIOUS_DEAUTH_OR_DISASSOC |
257 |
Authenticate or associate fails due to spurious deauth or diassoc. |
CANCELED |
258 |
Connect attempt is canceled |
ESTABLISH_RSNA_FAILURE |
259 |
Failure establishing security association |
OWE_HANDSHAKE_FAILURE |
260 |
Failure initiating OWE handshake or receiving public key from peer Added: 31
|
WlanAccessCategory strict
Type: uint32
Defined in fuchsia.wlan.ieee80211/fields.fidl
IEEE Std 802.11-2020 9.4.2.173
| Name | Value | Description |
|---|---|---|
BACKGROUND |
1 |
|
BEST_EFFORT |
2 |
|
VIDEO |
3 |
|
VOICE |
4 |
WlanBand flexible
Type: uint8
Defined in fuchsia.wlan.ieee80211/fields.fidl
Identifies a frequency band in metadata of various operations.
Examples of this enum in use are labeling scan results or reporting a driver capabilities from various frequency bands.
NOTE: This enum is similar to the Band ID field defined in IEEE Std 802.11-2016 9.4.1.46, but its values are not the same.
TODO(https://fxbug.dev/376442944): Create a spec-compliant Band ID type and migrate the platform to use it.
| Name | Value | Description |
|---|---|---|
TWO_GHZ |
0 |
|
FIVE_GHZ |
1 |
WlanPhyType flexible
Type: uint32
Defined in fuchsia.wlan.ieee80211/fields.fidl
| Name | Value | Description |
|---|---|---|
DSSS |
1 |
IEEE 802.11-2016 Clause 15: Direct Sequence Spread Spectrum Supports 1, 2 Mbps. |
HR |
2 |
IEEE 802.11-2016 Clause 16: High Rate DSSS Supports 5.5, 11 Mbps. Also referred to as ERP-CCK |
OFDM |
3 |
IEEE 802.11a/g or IEEE 802.11-2016 Clause 17: Orthogonal Frequency Division Multiplexing Supports 6, 9, 12, 18, 24, 36, 48, and 54 Mbps. |
ERP |
4 |
IEEE 802.11g or IEEE 802.11-2016 Clause 18: Extended Rate PHY Supports 1, 2, 5.5, 11, 12, 24 Mbps + optionally 6, 54 Mbps. Encompasses DSSS/HR/OFDM rates and modulation. |
HT |
5 |
IEEE 802.11n or IEEE 802.11-2016 Clause 19: High Throughput PHY Supports rates up to 495 Mbps. |
DMG |
6 |
802.11ad or IEEE 802.11-2016 Clause 20: Directional Multi-Gigabit PHY |
VHT |
7 |
IEEE 802.11ac or IEEE 802.11-2016 Clause 21: Very High Throughput PHY Supports rates up to 6.9 Gbps. |
TVHT |
8 |
IEEE 802.11af or IEEE 802.11-2016 Clause 22: Television Very High Throughput PHY Supports rates of up to 568.9 Mbps in TV spectrum |
S1G |
9 |
IEEE 802.11ah or IEEE 802.11-2020 Clause 23: Sub 1-GHz PHY |
CDMG |
10 |
IEEE 802.11aj or IEEE 802.11-2020 Clause 24: China Directional Multi-Gigabit PHY |
CMMG |
11 |
IEEE 802.11aj or IEEE 802.11-2020 Clause 25: China Millimeter-wave Multi-Gigabit PHY |
HE |
12 |
IEEE 802.11ax: High Efficiency PHY Supports rates of up to 9.6 Gbps (whew!) |
TABLES
SetKeyDescriptor
Defined in fuchsia.wlan.ieee80211/fields.fidl
IEEE Std 802.11-2020 6.3.19.1.2
| Ordinal | Field | Type | Description |
|---|---|---|---|
1 |
key |
vector<uint8>:32
|
The key value as bytes. 802.11 specifies a bit string for this field, but we represent it as a byte array for convenience. Required. |
2 |
key_id |
uint16
|
Index for rotating keys, e.g. group keys. This value is always 0 for key types which aren't rotating, e.g. pairwise keys. Required. |
3 |
key_type |
KeyType
|
Whether this key is a pairwise, group or peer key. Required. |
4 |
peer_addr |
MacAddr
|
The peer MAC address for pairwise and peer keys. For group keys this value is always the broadcast address. Required. |
5 |
rsc |
uint64
|
Receive Sequence Counter for group keys only. In all other cases the RSC will be 0. Optional. |
6 |
cipher_oui |
array<uint8, 3>
|
IEEE Cipher suite selector. See IEEE Std 802.11-2016, 9.4.2.25.2, Table 9-131 Required. |
7 |
cipher_type |
CipherSuiteType
|
The cipher type. Required. |
CONSTANTS
| Name | Value | Type | Description |
|---|---|---|---|
| CCMP_128_MIC_LEN |
8
|
uint32 |
|
| CCMP_256_MIC_LEN |
16
|
uint32 |
|
| CCMP_HDR_LEN |
8
|
uint32 |
IEEE Std 802.11-2016 12.5.3.2 |
| CCMP_PN_LEN |
6
|
uint32 |
|
| HT_CAP_LEN |
26
|
uint8 |
|
| HT_OP_LEN |
22
|
uint8 |
|
| MAC_ADDR_LEN |
6
|
uint8 |
|
| MAX_KEY_LEN |
32
|
uint8 |
Added: 15
|
| MAX_MESH_ID_BYTE_LEN |
32
|
uint8 |
IEEE Std 802.11-2016, 9.4.2.99 |
| MAX_MGMT_FRAME_MAC_HEADER_BYTE_LEN |
28
|
uint8 |
IEEE Std 802.11-2016, 9.3.3.2 |
| MAX_MMPDU_BYTE_LEN |
2304
|
uint16 |
IEEE Std 802.11-2016, 9.2.4.7 |
| MAX_SSID_BYTE_LEN |
32
|
uint8 |
IEEE Std 802.11-2016, 9.4.2.2 The maximum length of an SSID is 32 bytes, even when the SSID should be interpreted using UTF-8 encoding (see Table 9-135). While every length in the 802.11 standard is byte oriented, the word BYTE is included in the name of this constant to emphasize the importance that it not be applied to the length of a UTF-8 encoded string. |
| MAX_SUPPORTED_BASIC_RATES |
12
|
uint8 |
Added: 13
|
| MAX_UNIQUE_CHANNEL_NUMBERS |
256
|
uint16 |
The limit on the number of channels in a list of unique channel numbers is 256 since a channel number in IEEE 802.11-2016 cannot exceed one octet. See IEEE 802.11-2016 9.4.2.18 Supported Channels element for an example element that assumes a channel number does not exceed one octet. |
| MAX_VHT_MPDU_BYTE_LEN_0 |
3895
|
uint16 |
|
| MAX_VHT_MPDU_BYTE_LEN_1 |
7991
|
uint16 |
|
| MAX_VHT_MPDU_BYTE_LEN_2 |
11454
|
uint16 |
|
| OUI_LEN |
3
|
uint8 |
Added: 15
|
| SSID_LIST_MAX |
84
|
uint8 |
The limit on the number of SSIDs is 84 because an SSID List IE can contain no more than 84 one byte SSIDs. (Specifying a zero byte SSID in an SSID List with more than one SSID is valid but unnecessary since it is the wildcard SSID.) |
| TIDS_MAX |
16
|
uint32 |
IEEE Std 802.11-2016, 9.2.4.5 |
| VHT_CAP_LEN |
12
|
uint8 |
|
| VHT_OP_LEN |
5
|
uint8 |
|
| WLAN_IE_BODY_MAX_LEN |
255
|
uint32 |
|
| WLAN_IE_MAX_LEN |
257
|
uint32 |
IEEE Std 802.11-2016, 9.4.2.25.1 IEEE mentions that an element body maximum length is 255 octets in the RSN element section, but not in a dedicated section. Since the IE header is two octets, the whole IE max length is 257 octets. |
| WLAN_MSDU_MAX_LEN |
2304
|
uint32 |
IEEE Std 802.11-2016, Table 9-19 |
ALIASES
| Name | Value | Description |
|---|---|---|
| CapabilityInfo |
uint16 |
Corresponds to the Capability Information field defined by IEEE Std 802.11-2020, 9.4.1.4. This contains subfields that indicate support for requested or optional capabilities. TODO(https://fxbug.dev/367315525) Consider making this a bitfield. Added: HEAD
|
| MacAddr |
array[MAC_ADDR_LEN] |
|
| Ssid |
vector[MAX_SSID_BYTE_LEN] |