A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::ExtendedCapabilities Class Reference

The Extended Capabilities Information Element. More...

#include "extended-capabilities.h"

+ Inheritance diagram for ns3::ExtendedCapabilities:
+ Collaboration diagram for ns3::ExtendedCapabilities:

Public Member Functions

uint16_t DeserializeInformationField (Buffer::Iterator start, uint16_t length) override
 Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)
 
WifiInformationElementId ElementId () const override
 Get the wifi information element ID.
 
uint16_t GetInformationFieldSize () const override
 Length of serialized information (i.e., the length of the body of the IE, not including the Element ID and length octets.
 
void Print (std::ostream &os) const override
 Generate human-readable form of IE.
 
void SerializeInformationField (Buffer::Iterator start) const override
 Serialize information (i.e., the body of the IE, not including the Element ID and length octets)
 
- Public Member Functions inherited from ns3::WifiInformationElement
virtual ~WifiInformationElement ()
 
Buffer::Iterator Deserialize (Buffer::Iterator i)
 Deserialize entire IE (which may possibly be fragmented into multiple elements), which must be present.
 
Buffer::Iterator DeserializeIfPresent (Buffer::Iterator i)
 Deserialize entire IE (which may possibly be fragmented into multiple elements) if it is present.
 
virtual WifiInformationElementId ElementIdExt () const
 Get the wifi information element ID extension.
 
uint16_t GetSerializedSize () const
 Get the size of the serialized IE including Element ID and length fields (for every element this IE is possibly fragmented into).
 
virtual bool operator== (const WifiInformationElement &a) const
 Compare two IEs for equality by ID & Length, and then through memcmp of serialised version.
 
Buffer::Iterator Serialize (Buffer::Iterator i) const
 Serialize entire IE including Element ID and length fields.
 
- Public Member Functions inherited from ns3::SimpleRefCount< WifiInformationElement >
 SimpleRefCount ()
 Default constructor.
 
 SimpleRefCount (const SimpleRefCount &o)
 Copy constructor.
 
uint32_t GetReferenceCount () const
 Get the reference count of the object.
 
SimpleRefCountoperator= (const SimpleRefCount &o)
 Assignment operator.
 
void Ref () const
 Increment the reference count.
 
void Unref () const
 Decrement the reference count.
 

Public Attributes

uint8_t m_20_40_bssCoexistenceManagementSupport: 1 { 0}
 20/40 BSS Coexistence Management Support
 
uint8_t m_acStationCount: 1 {0}
 AC Station Count.
 
uint8_t m_advancedGcr: 1 {0}
 Advanced GCR.
 
uint8_t m_alternateEdca: 1 {0}
 Alternate EDCA.
 
uint8_t m_bssTransition: 1 {0}
 BSS Transition.
 
uint8_t m_channelUsage: 1 {0}
 Channel Usage.
 
uint8_t m_civicLocation: 1 {0}
 Civic Location.
 
uint8_t m_collocatedInterferenceReporting: 1 {0}
 Collocated Interference Reporting.
 
uint8_t m_diagnostics: 1 {0}
 Diagnostics.
 
uint8_t m_dms: 1 {0}
 DMS.
 
uint8_t m_ebr: 1 {0}
 EBR.
 
uint8_t m_event: 1 {0}
 Event.
 
uint8_t m_extendedChannelSwitching: 1 {0}
 Extended Channel Switching.
 
uint8_t m_fms: 1 {0}
 FMS.
 
uint8_t m_geospatialLocation: 1 {0}
 Geospatial Location.
 
uint8_t m_identifierLocation: 1 {0}
 Identifier Location.
 
uint8_t m_interworking: 1 {0}
 Interworking.
 
uint8_t m_locationTracking: 1 {0}
 Location Tracking.
 
uint8_t m_maxNumberOfMsdusInAmsdu: 2 {0}
 Max Number Of MSDUs In A-MSDU.
 
uint8_t m_meshGcr: 1 {0}
 Mesh GCR.
 
uint8_t m_msgcfCapability: 1 {0}
 MSGCF Capability.
 
uint8_t m_multicastDiagnostics: 1 {0}
 Multicast Diagnostics.
 
uint8_t m_multipleBssid: 1 {0}
 Multiple BSSID.
 
uint8_t m_operatingModeNotification: 1 {0}
 Operating Mode Notification.
 
uint8_t m_protectedQloadReport: 1 {0}
 Protected QLoad Report.
 
uint8_t m_protectedTxopNegotiation: 1 {0}
 Protected TXOP Negotiation.
 
uint8_t m_proxyArpService: 1 {0}
 Proxy ARP Service.
 
uint8_t m_psmpCapability: 1 {0}
 PSMP Capability.
 
uint8_t m_qabCapability: 1 {0}
 QAB Capability.
 
uint8_t m_qloadReport: 1 {0}
 QLoad Report.
 
uint8_t m_qmfActivated: 1 {0}
 QMFActivated.
 
uint8_t m_qmfReconfigurationActivated: 1 {0}
 QMFReconfigurationActivated.
 
uint8_t m_qosMap: 1 {0}
 QoS Map.
 
uint8_t m_qosTrafficCapability: 1 {0}
 QoS Traffic Capability.
 
uint8_t m_rejectUnadmittedFrame: 1 {0}
 Reject Unadmitted Frame.
 
uint8_t m_robustAvStreaming: 1 {0}
 Robust AV Streaming.
 
uint8_t m_scs: 1 {0}
 SCS.
 
uint8_t m_serviceIntervalGranularity: 3 {0}
 Service Interval Granularity.
 
uint8_t m_spsmpSupport: 1 {0}
 S-PSMP Support.
 
uint8_t m_ssidList: 1 {0}
 SSID List.
 
uint8_t m_sspnInterface: 1 {0}
 SSPN Interface.
 
uint8_t m_tdlsChannelSwitching: 1 {0}
 TDLS Channel Switching.
 
uint8_t m_tdlsChannelSwitchingProhibited: 1 {0}
 TDLS Channel Switching Prohibited.
 
uint8_t m_tdlsPeerPsmSupport: 1 {0}
 TDLS Peer PSM Support.
 
uint8_t m_tdlsProhibited: 1 {0}
 TDLS Prohibited.
 
uint8_t m_tdlsSupport: 1 {0}
 TDLS Support.
 
uint8_t m_tdlsWiderBandwidth: 1 {0}
 TDLS Wider Bandwidth.
 
uint8_t m_tfs: 1 {0}
 TFS.
 
uint8_t m_timBroadcast: 1 {0}
 TIM Broadcast.
 
uint8_t m_timingMeasurement: 1 {0}
 Timing Measurement.
 
uint8_t m_tpuBufferStaSupport: 1 {0}
 TPU Buffer STA Support.
 
uint8_t m_uapsdCoexistence: 1 {0}
 U-APSD Coexistence.
 
uint8_t m_unprotectedTxopNegotiation: 1 {0}
 Unprotected TXOP Negotiation.
 
uint8_t m_utcTsfOffset: 1 {0}
 UTC TSF Offset.
 
uint8_t m_utf8Ssid: 1 {0}
 UTF-8 SSID.
 
uint8_t m_wnmNotification: 1 {0}
 WNM Notification.
 
uint8_t m_wnmSleepMode: 1 {0}
 WNM Sleep Mode.
 

Detailed Description

The Extended Capabilities Information Element.

This class knows how to serialise and deserialise the Extended Capabilities Information Element

Definition at line 23 of file extended-capabilities.h.

Member Function Documentation

◆ DeserializeInformationField()

uint16_t ns3::ExtendedCapabilities::DeserializeInformationField ( Buffer::Iterator start,
uint16_t length )
overridevirtual

Deserialize information (i.e., the body of the IE, not including the Element ID and length octets)

Parameters
startan iterator which points to where the information should be written.
lengththe expected number of bytes to read
Returns
the number of bytes read

Implements ns3::WifiInformationElement.

Definition at line 119 of file extended-capabilities.cc.

References m_20_40_bssCoexistenceManagementSupport, m_acStationCount, m_advancedGcr, m_alternateEdca, m_bssTransition, m_channelUsage, m_civicLocation, m_collocatedInterferenceReporting, m_diagnostics, m_dms, m_ebr, m_event, m_extendedChannelSwitching, m_fms, m_geospatialLocation, m_identifierLocation, m_interworking, m_locationTracking, m_maxNumberOfMsdusInAmsdu, m_meshGcr, m_msgcfCapability, m_multicastDiagnostics, m_multipleBssid, m_operatingModeNotification, m_protectedQloadReport, m_protectedTxopNegotiation, m_proxyArpService, m_psmpCapability, m_qabCapability, m_qloadReport, m_qmfActivated, m_qmfReconfigurationActivated, m_qosMap, m_qosTrafficCapability, m_rejectUnadmittedFrame, m_robustAvStreaming, m_scs, m_serviceIntervalGranularity, m_spsmpSupport, m_ssidList, m_sspnInterface, m_tdlsChannelSwitching, m_tdlsChannelSwitchingProhibited, m_tdlsPeerPsmSupport, m_tdlsProhibited, m_tdlsSupport, m_tdlsWiderBandwidth, m_tfs, m_timBroadcast, m_timingMeasurement, m_tpuBufferStaSupport, m_uapsdCoexistence, m_unprotectedTxopNegotiation, m_utcTsfOffset, m_utf8Ssid, m_wnmNotification, m_wnmSleepMode, and ns3::Buffer::Iterator::ReadU8().

+ Here is the call graph for this function:

◆ ElementId()

WifiInformationElementId ns3::ExtendedCapabilities::ElementId ( ) const
overridevirtual

Get the wifi information element ID.

Returns
the wifi information element ID

Implements ns3::WifiInformationElement.

Definition at line 15 of file extended-capabilities.cc.

References IE_EXTENDED_CAPABILITIES.

◆ GetInformationFieldSize()

uint16_t ns3::ExtendedCapabilities::GetInformationFieldSize ( ) const
overridevirtual

Length of serialized information (i.e., the length of the body of the IE, not including the Element ID and length octets.

This is the value that will appear in the second octet of the entire IE - the length field - if the IE is not fragmented)

Returns
the length of serialized information

Implements ns3::WifiInformationElement.

Definition at line 28 of file extended-capabilities.cc.

◆ Print()

void ns3::ExtendedCapabilities::Print ( std::ostream & os) const
overridevirtual

Generate human-readable form of IE.

Parameters
osoutput stream

Reimplemented from ns3::WifiInformationElement.

Definition at line 21 of file extended-capabilities.cc.

◆ SerializeInformationField()

void ns3::ExtendedCapabilities::SerializeInformationField ( Buffer::Iterator start) const
overridevirtual

Member Data Documentation

◆ m_20_40_bssCoexistenceManagementSupport

uint8_t ns3::ExtendedCapabilities::m_20_40_bssCoexistenceManagementSupport

20/40 BSS Coexistence Management Support

Definition at line 32 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_acStationCount

uint8_t ns3::ExtendedCapabilities::m_acStationCount

AC Station Count.

Definition at line 51 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_advancedGcr

uint8_t ns3::ExtendedCapabilities::m_advancedGcr

Advanced GCR.

Definition at line 79 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_alternateEdca

uint8_t ns3::ExtendedCapabilities::m_alternateEdca

Alternate EDCA.

Definition at line 83 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_bssTransition

uint8_t ns3::ExtendedCapabilities::m_bssTransition

BSS Transition.

Definition at line 49 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_channelUsage

uint8_t ns3::ExtendedCapabilities::m_channelUsage

Channel Usage.

Definition at line 54 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_civicLocation

uint8_t ns3::ExtendedCapabilities::m_civicLocation

Civic Location.

Definition at line 44 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_collocatedInterferenceReporting

uint8_t ns3::ExtendedCapabilities::m_collocatedInterferenceReporting

Collocated Interference Reporting.

Definition at line 43 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_diagnostics

uint8_t ns3::ExtendedCapabilities::m_diagnostics

Diagnostics.

Definition at line 38 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_dms

uint8_t ns3::ExtendedCapabilities::m_dms

DMS.

Definition at line 56 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_ebr

uint8_t ns3::ExtendedCapabilities::m_ebr

EBR.

Definition at line 63 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_event

uint8_t ns3::ExtendedCapabilities::m_event

◆ m_extendedChannelSwitching

uint8_t ns3::ExtendedCapabilities::m_extendedChannelSwitching

Extended Channel Switching.

Definition at line 34 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_fms

uint8_t ns3::ExtendedCapabilities::m_fms

FMS.

Definition at line 41 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_geospatialLocation

uint8_t ns3::ExtendedCapabilities::m_geospatialLocation

Geospatial Location.

Definition at line 45 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_identifierLocation

uint8_t ns3::ExtendedCapabilities::m_identifierLocation

Identifier Location.

Definition at line 71 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_interworking

uint8_t ns3::ExtendedCapabilities::m_interworking

Interworking.

Definition at line 61 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_locationTracking

uint8_t ns3::ExtendedCapabilities::m_locationTracking

Location Tracking.

Definition at line 40 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_maxNumberOfMsdusInAmsdu

uint8_t ns3::ExtendedCapabilities::m_maxNumberOfMsdusInAmsdu

Max Number Of MSDUs In A-MSDU.

Definition at line 89 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_meshGcr

uint8_t ns3::ExtendedCapabilities::m_meshGcr

Mesh GCR.

Definition at line 80 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_msgcfCapability

uint8_t ns3::ExtendedCapabilities::m_msgcfCapability

MSGCF Capability.

Definition at line 65 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_multicastDiagnostics

uint8_t ns3::ExtendedCapabilities::m_multicastDiagnostics

Multicast Diagnostics.

Definition at line 39 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_multipleBssid

uint8_t ns3::ExtendedCapabilities::m_multipleBssid

Multiple BSSID.

Definition at line 52 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_operatingModeNotification

uint8_t ns3::ExtendedCapabilities::m_operatingModeNotification

Operating Mode Notification.

Definition at line 88 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_protectedQloadReport

uint8_t ns3::ExtendedCapabilities::m_protectedQloadReport

Protected QLoad Report.

Definition at line 86 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_protectedTxopNegotiation

uint8_t ns3::ExtendedCapabilities::m_protectedTxopNegotiation

Protected TXOP Negotiation.

Definition at line 85 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_proxyArpService

uint8_t ns3::ExtendedCapabilities::m_proxyArpService

Proxy ARP Service.

Definition at line 42 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_psmpCapability

uint8_t ns3::ExtendedCapabilities::m_psmpCapability

PSMP Capability.

Definition at line 35 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qabCapability

uint8_t ns3::ExtendedCapabilities::m_qabCapability

QAB Capability.

Definition at line 74 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qloadReport

uint8_t ns3::ExtendedCapabilities::m_qloadReport

QLoad Report.

Definition at line 82 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qmfActivated

uint8_t ns3::ExtendedCapabilities::m_qmfActivated

QMFActivated.

Definition at line 76 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qmfReconfigurationActivated

uint8_t ns3::ExtendedCapabilities::m_qmfReconfigurationActivated

QMFReconfigurationActivated.

Definition at line 77 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qosMap

uint8_t ns3::ExtendedCapabilities::m_qosMap

QoS Map.

Definition at line 62 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_qosTrafficCapability

uint8_t ns3::ExtendedCapabilities::m_qosTrafficCapability

QoS Traffic Capability.

Definition at line 50 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_rejectUnadmittedFrame

uint8_t ns3::ExtendedCapabilities::m_rejectUnadmittedFrame

Reject Unadmitted Frame.

Definition at line 69 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_robustAvStreaming

uint8_t ns3::ExtendedCapabilities::m_robustAvStreaming

Robust AV Streaming.

Definition at line 78 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_scs

uint8_t ns3::ExtendedCapabilities::m_scs

SCS.

Definition at line 81 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_serviceIntervalGranularity

uint8_t ns3::ExtendedCapabilities::m_serviceIntervalGranularity

Service Interval Granularity.

Definition at line 70 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_spsmpSupport

uint8_t ns3::ExtendedCapabilities::m_spsmpSupport

S-PSMP Support.

Definition at line 36 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_ssidList

uint8_t ns3::ExtendedCapabilities::m_ssidList

SSID List.

Definition at line 55 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_sspnInterface

uint8_t ns3::ExtendedCapabilities::m_sspnInterface

SSPN Interface.

Definition at line 64 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsChannelSwitching

uint8_t ns3::ExtendedCapabilities::m_tdlsChannelSwitching

TDLS Channel Switching.

Definition at line 60 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsChannelSwitchingProhibited

uint8_t ns3::ExtendedCapabilities::m_tdlsChannelSwitchingProhibited

TDLS Channel Switching Prohibited.

Definition at line 68 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsPeerPsmSupport

uint8_t ns3::ExtendedCapabilities::m_tdlsPeerPsmSupport

TDLS Peer PSM Support.

Definition at line 59 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsProhibited

uint8_t ns3::ExtendedCapabilities::m_tdlsProhibited

TDLS Prohibited.

Definition at line 67 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsSupport

uint8_t ns3::ExtendedCapabilities::m_tdlsSupport

TDLS Support.

Definition at line 66 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tdlsWiderBandwidth

uint8_t ns3::ExtendedCapabilities::m_tdlsWiderBandwidth

TDLS Wider Bandwidth.

Definition at line 87 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tfs

uint8_t ns3::ExtendedCapabilities::m_tfs

TFS.

Definition at line 46 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_timBroadcast

uint8_t ns3::ExtendedCapabilities::m_timBroadcast

TIM Broadcast.

Definition at line 48 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_timingMeasurement

uint8_t ns3::ExtendedCapabilities::m_timingMeasurement

Timing Measurement.

Definition at line 53 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_tpuBufferStaSupport

uint8_t ns3::ExtendedCapabilities::m_tpuBufferStaSupport

TPU Buffer STA Support.

Definition at line 58 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_uapsdCoexistence

uint8_t ns3::ExtendedCapabilities::m_uapsdCoexistence

U-APSD Coexistence.

Definition at line 72 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_unprotectedTxopNegotiation

uint8_t ns3::ExtendedCapabilities::m_unprotectedTxopNegotiation

Unprotected TXOP Negotiation.

Definition at line 84 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_utcTsfOffset

uint8_t ns3::ExtendedCapabilities::m_utcTsfOffset

UTC TSF Offset.

Definition at line 57 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_utf8Ssid

uint8_t ns3::ExtendedCapabilities::m_utf8Ssid

UTF-8 SSID.

Definition at line 75 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_wnmNotification

uint8_t ns3::ExtendedCapabilities::m_wnmNotification

WNM Notification.

Definition at line 73 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().

◆ m_wnmSleepMode

uint8_t ns3::ExtendedCapabilities::m_wnmSleepMode

WNM Sleep Mode.

Definition at line 47 of file extended-capabilities.h.

Referenced by DeserializeInformationField(), and SerializeInformationField().


The documentation for this class was generated from the following files: