STRUCTS
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 |
ENUMS
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 |
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 strict
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 |
|
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 |
|
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 |
|
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 |
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 |
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 |
---|---|---|
MacAddr |
array [MAC_ADDR_LEN ] |
|
Ssid |
vector [MAX_SSID_BYTE_LEN ] |