IEEE802_11 Constant Enumerations

This module contains all constant enumerations of IEEE802_11 implementations, each from IEEE Std 802.11-2020, Table 9-1, Valid type and subtype combinations. Available enumerations include:

IEEE802_11_Type

Frame Types

IEEE802_11_ManagementSubtype

Management Frame Subtypes

IEEE802_11_ControlSubtype

Control Frame Subtypes

IEEE802_11_DataSubtype

Data Frame Subtypes

IEEE802_11_ExtensionSubtype

Extension Frame Subtypes

Frame Types

This module contains the constant enumeration for IEEE 802.11 Frame Types, which is automatically generated from pcapkit.vendor.ieee802_11.type.Type.

class pcapkit.const.ieee802_11.type.Type(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[Type] IEEE 802.11 Frame Types [IEEE Std 802.11-2020, Table 9-1]

Management = 0

Management

Control = 1

Control

Data = 2

Data

Extension = 3

Extension

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

Type

Management Frame Subtypes

This module contains the constant enumeration for IEEE 802.11 Management Frame Subtypes, which is automatically generated from pcapkit.vendor.ieee802_11.management_subtype.ManagementSubtype.

class pcapkit.const.ieee802_11.management_subtype.ManagementSubtype(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ManagementSubtype] IEEE 802.11 Management Frame Subtypes [IEEE Std 802.11-2020, Table 9-1]

Association_Request = 0

Association Request

Association_Response = 1

Association Response

Reassociation_Request = 2

Reassociation Request

Reassociation_Response = 3

Reassociation Response

Probe_Request = 4

Probe Request

Probe_Response = 5

Probe Response

Timing_Advertisement = 6

Timing Advertisement

Reserved_7 = 7

Reserved

Beacon = 8

Beacon

ATIM = 9

ATIM

Disassociation = 10

Disassociation

Authentication = 11

Authentication

Deauthentication = 12

Deauthentication

Action = 13

Action

Action_No_Ack = 14

Action No Ack (NACK)

Reserved_15 = 15

Reserved

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ManagementSubtype

Control Frame Subtypes

This module contains the constant enumeration for IEEE 802.11 Control Frame Subtypes, which is automatically generated from pcapkit.vendor.ieee802_11.control_subtype.ControlSubtype.

class pcapkit.const.ieee802_11.control_subtype.ControlSubtype(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ControlSubtype] IEEE 802.11 Control Frame Subtypes [IEEE Std 802.11-2020, Table 9-1]

Trigger = 2

Trigger

TACK = 3

TACK

Beamforming_Report_Poll = 4

Beamforming Report Poll

VHT_HE_NDP_Announcement = 5

VHT/HE NDP Announcement

Control_Frame_Extension = 6

Control Frame Extension

Control_Wrapper = 7

Control Wrapper

Block_Ack_Request = 8

Block Ack Request (BAR)

Block_Ack = 9

Block Ack (BA)

PS_Poll = 10

PS-Poll

RTS = 11

RTS

CTS = 12

CTS

ACK = 13

ACK

CF_End = 14

CF-End

CF_End_CF_ACK = 15

CF-End + CF-ACK

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ControlSubtype

Data Frame Subtypes

This module contains the constant enumeration for IEEE 802.11 Data Frame Subtypes, which is automatically generated from pcapkit.vendor.ieee802_11.data_subtype.DataSubtype.

class pcapkit.const.ieee802_11.data_subtype.DataSubtype(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[DataSubtype] IEEE 802.11 Data Frame Subtypes [IEEE Std 802.11-2020, Table 9-1]

Data = 0

Data

Null = 4

Null (no data)

QoS_Data = 8

QoS Data

QoS_Data_CF_ACK = 9

QoS Data + CF-ACK

QoS_Data_CF_Poll = 10

QoS Data + CF-Poll

QoS_Data_CF_ACK_CF_Poll = 11

QoS Data + CF-ACK + CF-Poll

QoS_Null = 12

QoS Null (no data)

Reserved_13 = 13

Reserved

QoS_CF_Poll = 14

QoS CF-Poll (no data)

QoS_CF_ACK_CF_Poll = 15

QoS CF-ACK + CF-Poll (no data)

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

DataSubtype

Extension Frame Subtypes

This module contains the constant enumeration for IEEE 802.11 Extension Frame Subtypes, which is automatically generated from pcapkit.vendor.ieee802_11.extension_subtype.ExtensionSubtype.

class pcapkit.const.ieee802_11.extension_subtype.ExtensionSubtype(*values)[source]

Bases: EnumRegistry, aenum.IntEnum

[ExtensionSubtype] IEEE 802.11 Extension Frame Subtypes [IEEE Std 802.11-2020, Table 9-1]

DMG_Beacon = 0

DMG Beacon

S1G_Beacon = 1

S1G Beacon

classmethod _validate_value(value)[source]

Reject value unless it passes the range check _missing_() makes.

Overrides _validate_value() with that check and the message it raises, so register() refuses exactly the values get() refuses, in the same words (#1816).

Parameters:

value (Any) – Value about to be looked up or minted.

Raises:

EnumValueError – If value fails that check. A ValueError, so an except ValueError caller is unaffected.

classmethod _missing_(value)[source]

Lookup function used when value is not found.

Parameters:

value (int) – Value to get enum item.

Return type:

ExtensionSubtype