fuchsia.wlan.ieee80211

Added: 7

STRUCTS

CSsid

Defined in fuchsia.wlan.ieee80211/fields.fidl

FieldTypeDescriptionDefault
len uint8 No default
data array<uint8, 32> No default

HtCapabilities

Defined in fuchsia.wlan.ieee80211/fields.fidl

FieldTypeDescriptionDefault
bytes array<uint8, 26> No default

HtOperation

Defined in fuchsia.wlan.ieee80211/fields.fidl

FieldTypeDescriptionDefault
bytes array<uint8, 22> No default

VhtCapabilities

Defined in fuchsia.wlan.ieee80211/fields.fidl

FieldTypeDescriptionDefault
bytes array<uint8, 12> No default

VhtOperation

Defined in fuchsia.wlan.ieee80211/fields.fidl

FieldTypeDescriptionDefault
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

NameValueDescription
0
1
2
3
4
5
6
7
8
9
10
11
12
13
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

NameValueDescription
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

15 is named "4WAY_HANDSHAKE_TIMEOUT" in 802.11-2016.

16
17
18
19
20
21
22
23

23 is named "802_1_X_AUTH_FAILED" in 802.11-2016.

24
25
26
27
28
29
30
31
32
33
34
35
36
37

37 is assigned to multiple names "END_TS", "END_BA", and "END_DLS" in 802.11-2016.

38

38 is assigned to multiple names "UNKNOWN_TS" and "UNKNOWN_BA" in 802.11-2016.

39
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
129

Driver detected a stalled Rx path in FW.

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

NameValueDescription
0
1
2
3
5

4 reserved.

6
7
10

8-9 reserved.

11
12
13
14
15
16
17
18
19
22

20-21 reserved.

23
24
25
27

26 reserved.

28
29
30
31
32
33
34
35
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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.

57
58
59
60
61
62
63
64
65
67

66 reserved.

68
72

69-71 reserved.

73
74
75
76
77
78
79
80

See assignment for 56.

81
82
83
84
85
86
87
88
89
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
256

Reserved values we will use for our own purposes.

Failure when joining the BSS.

257

Authenticate or associate fails due to spurious deauth or diassoc.

258

Connect attempt is canceled

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

Added: 13

NameValueDescription
1
2
3
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.

Added: NEXT

NameValueDescription
0
1

CONSTANTS

NameValueTypeDescription
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

NameValueDescription
MacAddr array[MAC_ADDR_LEN]
Ssid vector[MAX_SSID_BYTE_LEN]