Namespaces

Enumerations

enum FrameType
Name Value
kManagement 0x00
kControl 0x01
kData 0x02
kExtension 0x03

Frame types and subtypes

IEEE Std 802.11-2016, 9.2.4.1.3

Defined at line 51 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

enum ManagementSubtype
Name Value
kAssociationRequest 0x00
kAssociationResponse 0x01
kReassociationRequest 0x02
kReassociationResponse 0x03
kProbeRequest 0x04
kProbeResponse 0x05
kTimingAdvertisement 0x06
kBeacon 0x08
kAtim 0x09
kDisassociation 0x0a
kAuthentication 0x0b
kDeauthentication 0x0c
kAction 0x0d
kActionNoAck 0x0e

Defined at line 58 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

enum ControlSubtype
Name Value
kBeamformingReportPoll 0x04
kVhtNdpAnnouncement 0x05
kControlFrameExtension 0x06
kControlWrapper 0x07
kBlockAckRequest 0x08
kBlockAck 0x09
kPsPoll 0x0a
kRts 0x0b
kCts 0x0c
kAck 0x0d
kCfEnd 0x0e
kCfEndCfAck 0x0f

Defined at line 75 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

enum DataSubtypeBitmask
Name Value
kBitmaskCfAck (1 << 0)
kBitmaskCfPoll (1 << 1)
kBitmaskNull (1 << 2)
kBitmaskQos (1 << 3)

IEEE Std 802.11-2016, 9.2.4.1.3, Table 9-1

Defined at line 91 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

enum TsDirection
Name Value
kUplink 0
kDownlink 1
kDirectLink 2
kBidirectionalLink 3

IEEE Std 802.11-2016, 9.4.2.30, Table 9-139

Defined at line 95 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/element.h

enum DataSubtype
Name Value
kDataSubtype 0x00
kDataCfack 0x01
kDataCfpoll 0x02
kDataCfackCfpoll 0x03
kNull 0x04
kCfack 0x05
kCfpoll 0x06
kCfackCfpoll 0x07
kQosdata 0x08
kQosdataCfack 0x09
kQosdataCfpoll 0x0a
kQosdataCfackCfpoll 0x0b
kQosnull 0x0c
kQosCfpoll 0x0e
kQosCfackCfpoll 0x0f

IEEE Std 802.11-2016, 9.2.4.1.3, Table 9-1

Defined at line 100 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

enum TsAccessPolicy
Name Value
kEdca 1
kHccaSpca 2
kMixedMode 3

IEEE Std 802.11-2016, 9.4.2.30, Table 9-140

Defined at line 103 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/element.h

enum TsScheduleSetting
Name Value
kNoSchedule 0
kUnschedledApsd 1
kScheduledPsmp_GcrSp 2
kScheduledApsd 3

IEEE Std 802.11-2016, 9.4.2.30, Table 9-142

Only used if TsInfo's access policy uses EDCA.

Schedule Setting depends on TsInfo's ASPD and schedule fields.

Defined at line 123 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/element.h

enum ElementIdExtension
Name Value
kFtmSynchronizationInformation 9
kExtRequest 10
kEstimatedServiceParams 11
kFutureChannelGuidance 14

Defined at line 206 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/element_id.h

enum AuthAlgorithm
Name Value
kOpenSystem 0
kSharedKey 1
kFastBssTransitionAuth 2
kSae 3
kVendorSpecificAuth 65535

IEEE Std 802.11-2016, 9.4.1.1

Defined at line 304 of file ../../src/connectivity/wlan/lib/common/cpp/include/wlan/common/mac_frame.h

Records

Functions

  • std::string RoleToString (wlan_common::WlanMacRole role)

    Defined at line 79 of file ../../src/connectivity/wlan/testing/wlantap-driver/utils.cc

  • void ConvertTapPhyConfig (wlan_softmac::WlanSoftmacQueryResponse * resp, const wlan_tap::WlantapPhyConfig & tap_phy_config, fidl::AnyArena & arena)

    Defined at line 22 of file ../../src/connectivity/wlan/testing/wlantap-driver/utils.cc

  • CapabilityInfo IntersectCapInfo (const CapabilityInfo & lhsconst CapabilityInfo & rhs)

    Defined at line 10 of file ../../src/connectivity/wlan/lib/common/cpp/mac_frame.cc