blob: f86bd563bb8b95f1e5b8065d4adbd6252926cf42 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GARNET_LIB_WLAN_COMMON_INCLUDE_WLAN_COMMON_ELEMENT_ID_H_
#define GARNET_LIB_WLAN_COMMON_INCLUDE_WLAN_COMMON_ELEMENT_ID_H_
// IEEE Std 802.11-2016, 9.4.2.1 Table 9-77
#include <cstdint>
namespace wlan {
namespace element_id {
enum ElementId : uint8_t {
kSsid = 0,
kSuppRates = 1,
// 2 Reserved
kDsssParamSet = 3,
kCfParamSet = 4,
kTim = 5,
kIbssParamSet = 6,
kCountry = 7,
// 8-9 Reserved
kRequest = 10,
kBssLoad = 11,
kEdcaParamSet = 12,
kTspec = 13,
kTclas = 14,
kSchedule = 15,
kChallengeText = 16,
// 17-31 Reserved
kPowerConstraint = 32,
kPowerCapability = 33,
kTpcRequest = 34,
kTpcReport = 35,
kSupportedChannels = 36,
kChannelSwitchAnn = 37,
kMeasurementRequest = 38,
kMeasurementReport = 39,
kQuiet = 40,
kIbssDfs = 41,
kErp = 42,
kTsDelay = 43,
kTclasProcessing = 44,
kHtCapabilities = 45,
kQosCapability = 46,
// 47 Reserved
kRsn = 48,
// 49 Reserved
kExtSuppRates = 50,
kApChannelReport = 51,
kNeighborReport = 52,
kRcpi = 53,
kMobilityDomain = 54,
kFastBssTransition = 55,
kTimeoutInterval = 56,
kRicData = 57,
kDseRegisteredLocation = 58,
kSuppOperatingClasses = 59,
kExtChannelSwitchAnn = 60,
kHtOperation = 61,
kSecondaryChannelOffset = 62,
kBssAvgAccessDelay = 63,
kAntenna = 64,
kRsni = 65,
kMeasurementPilotTrans = 66,
kBssAvailAdmissionCapacity = 67,
kBssAcAccessDelay = 68,
kTimeAdvertisement = 69,
kRmEnabledCapabilities = 70,
kMultipleBssid = 71,
k2040BssCoex = 72,
k2040BssIntolerantChanReport = 73,
kOverlappingBssScanParams = 74,
kRicDescriptor = 75,
kManagementMic = 76,
// 77 not defined
kEventRequest = 78,
kEventReport = 79,
kDiagnosticRequest = 80,
kDiagnosticReport = 81,
kLocationParams = 82,
kNontransmittedBssidCapability = 83,
kSsidList = 84,
kMultipleBssidIndex = 85,
kFmsDescriptor = 86,
kFmsRequest = 87,
kFmsResponse = 88,
kQosTrafficCapability = 89,
kBssMaxIdlePeriod = 90,
kTfsRequest = 91,
kTfsResponse = 92,
kWnmSleepMode = 93,
kTimBroadcastRequest = 94,
kTimBroadcastResponse = 95,
kCollocatedInterferenceReport = 96,
kChannelUsage = 97,
kTimeZone = 98,
kDmsRequest = 99,
kDmsResponse = 100,
kLinkIdentifier = 101,
kWakeupSchedule = 102,
// 103 not defined
kChannelSwitchTiming = 104,
kPtiControl = 105,
kTpuBufferStatus = 106,
kInterworking = 107,
kAdvertisementProtocol = 108,
kExpeditedBandwidthRequest = 109,
kQosMap = 110,
kRoamingConsortium = 111,
kEmergencyAlertId = 112,
kMeshConfiguration = 113,
kMeshId = 114,
kMeshLinkMetricReport = 115,
kCongestionNotification = 116,
kMeshPeeringManagement = 117,
kMeshChannelSwitchParams = 118,
kMeshAwakeWindow = 119,
kBeaconTiming = 120,
kMccaopSetupRequest = 121,
kMccaopSetupReply = 122,
kMccaopAdvertisement = 123,
kMccaopTeardown = 124,
kGann = 125,
kRann = 126,
kExtCapabilities = 127,
// 128-129 Reserved
kPreq = 130,
kPrep = 131,
kPerr = 132,
// 133-136 Reserved
kPxu = 137,
kPxuc = 138,
kAuthenticatedMeshPeeringExchg = 139,
kMic = 140,
kDestinationUri = 141,
kUapsdCoex = 142,
kDmgWakeupSchedule = 143,
kExtSchedule = 144,
kStaAvailability = 145,
kDmgTspec = 146,
kNextDmgAti = 147,
kDmgCapabilities = 148,
// 149-150 Reserved
kDmgOperation = 151,
kDmgBssParamChange = 152,
kDmgBeamRefinement = 153,
kChannelMeasurementFeedback = 154,
// 155-156 Reserved
kAwakeWindow = 157,
kMultiband = 158,
kAddbaExtension = 159,
kNextPcpList = 160,
kPcpHandover = 161,
kDmgLinkMargin = 162,
kSwitchingStream = 163,
kSessionTransition = 164,
kDynamicTonePairingReport = 165,
kClusterReport = 166,
kRelayCapabilities = 167,
kRelayTransferParamSet = 168,
kBeamLinkMaintenance = 169,
kMultipleMacSublayers = 170,
kUpid = 171,
kDmgLinkAdaptationAck = 172,
// 173 Reserved
kMccaopAdvertisementOverview = 174,
kQuietPeriodRequest = 175,
// 176 Reserved
kQuietPeriodResponse = 177,
// 178-180 Reserved
kQmfPolicy = 181,
kEcapcPolicy = 182,
kClusterTimeOffset = 183,
kIntraAccessCategoryPriority = 184,
kScsDescriptor = 185,
kQloadReport = 186,
kHccaTxopUpdateCount = 187,
kHigherLayerStreamId = 188,
kGcrGroupAddress = 189,
kAntennaSectorIdPattern = 190,
kVhtCapabilities = 191,
kVhtOperation = 192,
kExtBssLoad = 193,
kWideBandwidthChannelSwitch = 194,
kTransmitPowerEnvelope = 195,
kChannelSwitchWrapper = 196,
kAid = 197,
kQuietChannel = 198,
kOperatingModeNotification = 199,
kUpsim = 200,
kReducedNeighborReport = 201,
kTvhtOperation = 202,
// 203 Reserved
kDeviceLocation = 204,
kWhiteSpaceMap = 205,
kFineTimingMeasurementParams = 206,
// 207-220 Reserved
kVendorSpecific = 221,
// 222-254 Reserved
kElementWithExtension = 255,
};
} // namespace element_id
enum ElementIdExtension : uint8_t {
// 0-8 Reserved
kFtmSynchronizationInformation = 9,
kExtRequest = 10,
kEstimatedServiceParams = 11,
// 12-13 not defined
kFutureChannelGuidance = 14,
// 15-255 Reserved
};
} // namespace wlan
#endif // GARNET_LIB_WLAN_COMMON_INCLUDE_WLAN_COMMON_ELEMENT_ID_H_