HeFrameExchangeManager handles the frame exchange sequences for HE stations. More...
#include "he-frame-exchange-manager.h"
Public Member Functions | |
HeFrameExchangeManager () | |
~HeFrameExchangeManager () override | |
void | CalculateAcknowledgmentTime (WifiAcknowledgment *acknowledgment) const override |
Calculate the time required to acknowledge a frame according to the given acknowledgment method. | |
void | CalculateProtectionTime (WifiProtection *protection) const override |
Calculate the time required to protect a frame according to the given protection method. | |
std::optional< Mac48Address > | FindTxopHolder (const WifiMacHeader &hdr, const WifiTxVector &txVector) override |
Determine the holder of the TXOP, if possible, based on the received frame. | |
virtual std::optional< dBm_u > | GetMostRecentRssi (const Mac48Address &address) const |
Get the RSSI of the most recent packet received from the station having the given address. | |
bool | IsIntraBssPpdu (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) const |
Return whether the received frame is classified as intra-BSS. | |
void | SetMultiUserScheduler (const Ptr< MultiUserScheduler > muScheduler) |
Set the Multi-user Scheduler associated with this Frame Exchange Manager. | |
virtual void | SetTargetRssi (CtrlTriggerHeader &trigger) const |
Set the UL Target RSSI subfield of every User Info fields of the given Trigger Frame to the most recent RSSI observed from the corresponding station. | |
void | SetWifiMac (const Ptr< WifiMac > mac) override |
Set the MAC layer to use. | |
bool | StartFrameExchange (Ptr< QosTxop > edca, Time availableTime, bool initialFrame) override |
Start a frame exchange (including protection frames and acknowledgment frames as needed) that fits within the given availableTime (if different than Time::Min()). | |
bool | UlMuCsMediumIdle (const CtrlTriggerHeader &trigger) const |
This method is intended to be called a SIFS after the reception of a Trigger Frame to determine whether the station is allowed to respond. | |
bool | VirtualCsMediumIdle () const override |
Public Member Functions inherited from ns3::VhtFrameExchangeManager | |
VhtFrameExchangeManager () | |
~VhtFrameExchangeManager () override | |
Public Member Functions inherited from ns3::HtFrameExchangeManager | |
HtFrameExchangeManager () | |
~HtFrameExchangeManager () override | |
void | CalculateAcknowledgmentTime (WifiAcknowledgment *acknowledgment) const override |
Calculate the time required to acknowledge a frame according to the given acknowledgment method. | |
Ptr< WifiMpdu > | GetBar (AcIndex ac, std::optional< uint8_t > optTid=std::nullopt, std::optional< Mac48Address > optAddress=std::nullopt) |
Get the next BlockAckRequest or MU-BAR Trigger Frame to send, if any. | |
Ptr< MpduAggregator > | GetMpduAggregator () const |
Returns the aggregator used to construct A-MPDU subframes. | |
Ptr< MsduAggregator > | GetMsduAggregator () const |
Returns the aggregator used to construct A-MSDU subframes. | |
virtual bool | IsWithinAmpduSizeLimit (uint32_t ampduSize, Mac48Address receiver, uint8_t tid, WifiModulationClass modulation) const |
Check whether an A-MPDU of the given size meets the constraint on the maximum size for A-MPDUs sent to the given receiver, belonging to the given TID and transmitted using the given modulation class. | |
bool | IsWithinLimitsIfAddMpdu (Ptr< const WifiMpdu > mpdu, const WifiTxParameters &txParams, Time ppduDurationLimit) const override |
Check if the PSDU obtained by aggregating the given MPDU to the PSDU specified by the given TX parameters meets the constraints on the maximum A-MPDU size and its transmission time does not exceed the given PPDU duration limit (if different than Time::Min()). | |
virtual bool | IsWithinLimitsIfAggregateMsdu (Ptr< const WifiMpdu > msdu, const WifiTxParameters &txParams, Time ppduDurationLimit) const |
Check if the PSDU obtained by aggregating the given MSDU to the PSDU specified by the given TX parameters meets the constraints on the maximum A-MSDU size and its transmission time does not exceed the given PPDU duration limit (if different than Time::Min()). | |
void | SendAddBaResponse (const MgtAddBaRequestHeader &reqHdr, Mac48Address originator) |
This method can be called to accept a received ADDBA Request. | |
void | SendDelbaFrame (Mac48Address addr, uint8_t tid, bool byOriginator) |
Sends DELBA frame to cancel a block ack agreement with STA addressed by addr for TID tid. | |
void | SetWifiMac (const Ptr< WifiMac > mac) override |
Set the MAC layer to use. | |
bool | StartFrameExchange (Ptr< QosTxop > edca, Time availableTime, bool initialFrame) override |
Start a frame exchange (including protection frames and acknowledgment frames as needed) that fits within the given availableTime (if different than Time::Min()). | |
virtual bool | TryAggregateMsdu (Ptr< const WifiMpdu > msdu, WifiTxParameters &txParams, Time availableTime) const |
Check if aggregating an MSDU to the current MPDU (as specified by the given TX parameters) does not violate the size and time constraints, while taking into account the possibly updated protection and acknowledgment methods. | |
Public Member Functions inherited from ns3::QosFrameExchangeManager | |
QosFrameExchangeManager () | |
~QosFrameExchangeManager () override | |
virtual Ptr< WifiMpdu > | CreateAliasIfNeeded (Ptr< WifiMpdu > mpdu) const |
Create an alias of the given MPDU for transmission by this Frame Exchange Manager. | |
virtual bool | IsWithinSizeAndTimeLimits (uint32_t ppduPayloadSize, Mac48Address receiver, const WifiTxParameters &txParams, Time ppduDurationLimit) const |
Check whether the transmission time of the frame being built (as described by the given TX parameters) does not exceed the given PPDU duration limit if the size of the PSDU addressed to the given receiver becomes ppduPayloadSize. | |
bool | StartTransmission (Ptr< Txop > edca, MHz_u allowedWidth) override |
Request the FrameExchangeManager to start a frame exchange sequence. | |
bool | TryAddMpdu (Ptr< const WifiMpdu > mpdu, WifiTxParameters &txParams, Time availableTime) const |
Recompute the protection and acknowledgment methods to use if the given MPDU is added to the frame being built (as described by the given TX parameters) and check whether the duration of the frame exchange sequence (including protection and acknowledgment) does not exceed the given available time. | |
Public Member Functions inherited from ns3::FrameExchangeManager | |
FrameExchangeManager () | |
~FrameExchangeManager () override | |
Ptr< WifiAckManager > | GetAckManager () const |
Get the Acknowledgment Manager used by this node. | |
Mac48Address | GetAddress () const |
Get the MAC address. | |
MHz_u | GetAllowedWidth () const |
Mac48Address | GetBssid () const |
Get the Basic Service Set Identification. | |
std::optional< std::reference_wrapper< const OngoingRxInfo > > | GetOngoingRxInfo () const |
const std::set< Mac48Address > & | GetProtectedStas () const |
Ptr< WifiProtectionManager > | GetProtectionManager () const |
Get the Protection Manager used by this node. | |
std::optional< std::reference_wrapper< const WifiMacHeader > > | GetReceivedMacHdr () const |
const WifiTxTimer & | GetWifiTxTimer () const |
Get a const reference to the WifiTxTimer object. | |
bool | IsPromisc () const |
Check if the device is operating in promiscuous mode. | |
virtual void | NotifyInternalCollision (Ptr< Txop > txop) |
Notify that an internal collision has occurred for the given Txop. | |
void | NotifyOffNow () |
This method is typically invoked by the PhyListener to notify the MAC layer that the device has been put into off mode. | |
void | NotifySleepNow () |
This method is typically invoked by the PhyListener to notify the MAC layer that the device has been put into sleep mode. | |
virtual void | NotifySwitchingStartNow (Time duration) |
void | Receive (Ptr< const WifiPsdu > psdu, RxSignalInfo rxSignalInfo, WifiTxVector txVector, std::vector< bool > perMpduStatus) |
This method is intended to be called by the PHY layer every time an MPDU is received and also when the reception of an A-MPDU is completed. | |
virtual void | ResetPhy () |
Remove WifiPhy associated with this FrameExchangeManager. | |
void | SetAckedMpduCallback (AckedMpdu callback) |
Set the callback to invoke when an MPDU is successfully acked. | |
virtual void | SetAckManager (Ptr< WifiAckManager > ackManager) |
Set the Acknowledgment Manager to use. | |
virtual void | SetAddress (Mac48Address address) |
Set the MAC address. | |
virtual void | SetBssid (Mac48Address bssid) |
Set the Basic Service Set Identification. | |
virtual void | SetChannelAccessManager (const Ptr< ChannelAccessManager > channelAccessManager) |
Set the channel access manager to use. | |
virtual void | SetDroppedMpduCallback (DroppedMpdu callback) |
Set the callback to invoke when an MPDU is dropped. | |
virtual void | SetLinkId (uint8_t linkId) |
Set the ID of the link this Frame Exchange Manager is associated with. | |
virtual void | SetMacRxMiddle (const Ptr< MacRxMiddle > rxMiddle) |
Set the MAC RX Middle to use. | |
virtual void | SetMacTxMiddle (const Ptr< MacTxMiddle > txMiddle) |
Set the MAC TX Middle to use. | |
void | SetPromisc () |
Enable promiscuous mode. | |
virtual void | SetProtectionManager (Ptr< WifiProtectionManager > protectionManager) |
Set the Protection Manager to use. | |
virtual void | SetWifiPhy (const Ptr< WifiPhy > phy) |
Set the PHY layer to use. | |
Public Member Functions inherited from ns3::Object | |
Object () | |
Constructor. | |
~Object () override | |
Destructor. | |
void | AggregateObject (Ptr< Object > other) |
Aggregate two Objects together. | |
void | Dispose () |
Dispose of this Object. | |
AggregateIterator | GetAggregateIterator () const |
Get an iterator to the Objects aggregated to this one. | |
TypeId | GetInstanceTypeId () const override |
Get the most derived TypeId for this Object. | |
template<typename T > | |
Ptr< T > | GetObject () const |
Get a pointer to the requested aggregated Object. | |
template<> | |
Ptr< Object > | GetObject () const |
Specialization of () for objects of type ns3::Object. | |
template<typename T > | |
Ptr< T > | GetObject (TypeId tid) const |
Get a pointer to the requested aggregated Object by TypeId. | |
template<> | |
Ptr< Object > | GetObject (TypeId tid) const |
Specialization of (TypeId tid) for objects of type ns3::Object. | |
void | Initialize () |
Invoke DoInitialize on all Objects aggregated to this one. | |
bool | IsInitialized () const |
Check if the object has been initialized. | |
void | UnidirectionalAggregateObject (Ptr< Object > other) |
Aggregate an Object to another Object. | |
Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter > | |
SimpleRefCount () | |
Default constructor. | |
SimpleRefCount (const SimpleRefCount &o) | |
Copy constructor. | |
uint32_t | GetReferenceCount () const |
Get the reference count of the object. | |
SimpleRefCount & | operator= (const SimpleRefCount &o) |
Assignment operator. | |
void | Ref () const |
Increment the reference count. | |
void | Unref () const |
Decrement the reference count. | |
Public Member Functions inherited from ns3::ObjectBase | |
virtual | ~ObjectBase () |
Virtual destructor. | |
void | GetAttribute (std::string name, AttributeValue &value, bool permissive=false) const |
Get the value of an attribute, raising fatal errors if unsuccessful. | |
bool | GetAttributeFailSafe (std::string name, AttributeValue &value) const |
Get the value of an attribute without raising errors. | |
void | SetAttribute (std::string name, const AttributeValue &value) |
Set a single attribute, raising fatal errors if unsuccessful. | |
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
Set a single attribute without raising errors. | |
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
Connect a TraceSource to a Callback with a context. | |
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
Connect a TraceSource to a Callback without a context. | |
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected with a context. | |
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
Disconnect from a TraceSource a Callback previously connected without a context. | |
Static Public Member Functions | |
static Ptr< WifiPsdu > | GetPsduTo (Mac48Address to, const WifiPsduMap &psduMap) |
Get the PSDU in the given PSDU map that is addressed to the given MAC address, if any, or a null pointer, otherwise. | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::VhtFrameExchangeManager | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::HtFrameExchangeManager | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::QosFrameExchangeManager | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::FrameExchangeManager | |
static TypeId | GetTypeId () |
Get the type ID. | |
Static Public Member Functions inherited from ns3::Object | |
static TypeId | GetTypeId () |
Register this type. | |
Static Public Member Functions inherited from ns3::ObjectBase | |
static TypeId | GetTypeId () |
Get the type ID. | |
Protected Member Functions | |
virtual void | BlockAckAfterTbPpduTimeout (Ptr< WifiPsdu > psdu, const WifiTxVector &txVector) |
Take the necessary actions after that a Block Ack is missing after a TB PPDU solicited through a Trigger Frame. | |
virtual void | BlockAcksInTbPpduTimeout (WifiPsduMap *psduMap, std::size_t nSolicitedStations) |
Take the necessary actions after that some BlockAck frames are missing in response to a DL MU PPDU. | |
void | BlockAckTimeout (Ptr< WifiPsdu > psdu, const WifiTxVector &txVector) override |
Called when the BlockAck timeout expires. | |
void | ClearTxopHolderIfNeeded () override |
Clear the TXOP holder if the intra-BSS NAV counted down to zero (includes the case of intra-BSS NAV reset). | |
virtual void | CtsAfterMuRtsTimeout (Ptr< WifiMpdu > muRts, const WifiTxVector &txVector) |
Called when no CTS frame is received after an MU-RTS. | |
void | CtsTimeout (Ptr< WifiMpdu > rts, const WifiTxVector &txVector) override |
Called when the CTS timeout expires. | |
void | DoCtsAfterMuRtsTimeout (Ptr< WifiMpdu > muRts, const WifiTxVector &txVector, bool updateFailedCw) |
Called when no CTS frame is received after an MU-RTS. | |
void | DoDispose () override |
Destructor implementation. | |
void | EndReceiveAmpdu (Ptr< const WifiPsdu > psdu, const RxSignalInfo &rxSignalInfo, const WifiTxVector &txVector, const std::vector< bool > &perMpduStatus) override |
This method is called when the reception of an A-MPDU including multiple MPDUs is completed. | |
virtual void | ForwardPsduMapDown (WifiConstPsduMap psduMap, WifiTxVector &txVector) |
Forward a map of PSDUs down to the PHY layer. | |
WifiMode | GetCtsModeAfterMuRts () const |
WifiTxVector | GetCtsTxVectorAfterMuRts (const CtrlTriggerHeader &trigger, uint16_t staId) const |
Get the TXVECTOR that the station having the given station ID has to use to send a CTS frame after receiving an MU-RTS Trigger Frame from the AP it is associated with. | |
WifiTxVector | GetHeTbTxVector (CtrlTriggerHeader trigger, Mac48Address triggerSender) const |
Return a TXVECTOR for the UL frame that the station will send in response to the given Trigger frame, configured with the BSS color and transmit power level to use for the consequent HE TB PPDU. | |
virtual Time | GetMuRtsDurationId (uint32_t muRtsSize, const WifiTxVector &muRtsTxVector, Time txDuration, Time response) const |
Compute how to set the Duration/ID field of an MU-RTS Trigger Frame to send to protect a frame transmitted with the given TX vector. | |
WifiTxVector | GetTrigVector (const CtrlTriggerHeader &trigger) const |
Get the TRIGVECTOR that the MAC has to pass to the PHY when transmitting the given Trigger Frame. | |
Time | GetTxDuration (uint32_t ppduPayloadSize, Mac48Address receiver, const WifiTxParameters &txParams) const override |
Get the updated TX duration of the frame associated with the given TX parameters if the size of the PSDU addressed to the given receiver becomes ppduPayloadSize. | |
virtual void | IntraBssNavResetTimeout () |
Reset the intra-BSS NAV upon expiration of the intra-BSS NAV reset timer. | |
void | NavResetTimeout () override |
Reset the NAV upon expiration of the NAV reset timer. | |
void | NormalAckTimeout (Ptr< WifiMpdu > mpdu, const WifiTxVector &txVector) override |
Called when the Ack timeout expires. | |
void | PostProcessFrame (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) override |
Perform actions that are possibly needed after receiving any frame, independently of whether the frame is addressed to this station (e.g., setting the NAV or the TXOP holder). | |
Ptr< WifiMpdu > | PrepareMuBar (const WifiTxVector &responseTxVector, std::map< uint16_t, CtrlBAckRequestHeader > recipients) const |
Build a MU-BAR Trigger Frame starting from the TXVECTOR used to respond to the MU-BAR (in case of multiple responders, their TXVECTORs need to be "merged" into a single TXVECTOR) and from the BlockAckReq headers for every recipient. | |
void | ProtectionCompleted () override |
Transmit prepared frame upon successful protection mechanism. | |
void | ReceiveMpdu (Ptr< const WifiMpdu > mpdu, RxSignalInfo rxSignalInfo, const WifiTxVector &txVector, bool inAmpdu) override |
This method handles the reception of an MPDU (possibly included in an A-MPDU) | |
void | RecordSentMuRtsTo (const WifiTxParameters &txParams) |
Record the stations being solicited by an MU-RTS TF. | |
void | Reset () override |
Reset this frame exchange manager. | |
void | RxStartIndication (WifiTxVector txVector, Time psduDuration) override |
virtual void | SendCtsAfterMuRts (const WifiMacHeader &muRtsHdr, const CtrlTriggerHeader &trigger, double muRtsSnr) |
Send CTS after receiving an MU-RTS. | |
void | SendMultiStaBlockAck (const WifiTxParameters &txParams, Time durationId) |
Send a Multi-STA Block Ack frame after the reception of some TB PPDUs. | |
virtual void | SendMuRts (const WifiTxParameters &txParams) |
Send an MU-RTS to begin an MU-RTS/CTS frame exchange protecting an MU PPDU. | |
void | SendPsduMapWithProtection (WifiPsduMap psduMap, WifiTxParameters &txParams) |
Send a map of PSDUs as a DL MU PPDU. | |
void | SendQosNullFramesInTbPpdu (const CtrlTriggerHeader &trigger, const WifiMacHeader &hdr) |
Send QoS Null frames in response to a Basic or BSRP Trigger Frame. | |
void | StartProtection (const WifiTxParameters &txParams) override |
Start the protection mechanism indicated by the given TX parameters. | |
virtual void | TbPpduTimeout (WifiPsduMap *psduMap, std::size_t nSolicitedStations) |
Take the necessary actions after that some TB PPDUs are missing in response to Trigger Frame. | |
void | TransmissionSucceeded () override |
Take necessary actions upon a transmission success. | |
void | UpdateNav (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) override |
Update the NAV, if needed, based on the Duration/ID of the given psdu. | |
Protected Member Functions inherited from ns3::VhtFrameExchangeManager | |
uint32_t | GetPsduSize (Ptr< const WifiMpdu > mpdu, const WifiTxVector &txVector) const override |
Get the size in bytes of the given MPDU, which is to be transmitted with the given TXVECTOR. | |
Ptr< WifiPsdu > | GetWifiPsdu (Ptr< WifiMpdu > mpdu, const WifiTxVector &txVector) const override |
Get a PSDU containing the given MPDU. | |
Protected Member Functions inherited from ns3::HtFrameExchangeManager | |
void | CtsTimeout (Ptr< WifiMpdu > rts, const WifiTxVector &txVector) override |
Called when the CTS timeout expires. | |
void | DequeuePsdu (Ptr< const WifiPsdu > psdu) |
Dequeue the MPDUs of the given PSDU from the queue in which they are stored. | |
void | DoDispose () override |
Destructor implementation. | |
void | EndReceiveAmpdu (Ptr< const WifiPsdu > psdu, const RxSignalInfo &rxSignalInfo, const WifiTxVector &txVector, const std::vector< bool > &perMpduStatus) override |
This method is called when the reception of an A-MPDU including multiple MPDUs is completed. | |
void | FinalizeMacHeader (Ptr< const WifiPsdu > psdu) override |
Finalize the MAC header of the MPDUs in the given PSDU before transmission. | |
void | ForwardMpduDown (Ptr< WifiMpdu > mpdu, WifiTxVector &txVector) override |
Forward an MPDU down to the PHY layer. | |
virtual void | ForwardPsduDown (Ptr< const WifiPsdu > psdu, WifiTxVector &txVector) |
Forward a PSDU down to the PHY layer. | |
Ptr< BlockAckManager > | GetBaManager (uint8_t tid) const |
Get the Block Ack Manager handling the given TID. | |
virtual Time | GetPsduDurationId (Time txDuration, const WifiTxParameters &txParams) const |
Compute how to set the Duration/ID field of PSDUs that do not include fragments. | |
virtual void | MissedBlockAck (Ptr< WifiPsdu > psdu, const WifiTxVector &txVector, bool &resetCw) |
Take necessary actions when a BlockAck is missed, such as scheduling a BlockAckReq frame or the retransmission of the unacknowledged frames. | |
virtual bool | NeedSetupBlockAck (Mac48Address recipient, uint8_t tid) |
A Block Ack agreement needs to be established with the given recipient for the given TID if it does not already exist (or exists and is in state RESET) and: | |
void | NotifyPacketDiscarded (Ptr< const WifiMpdu > mpdu) override |
Pass the given MPDU, discarded because of the max retry limit was reached, to the MPDU dropped callback. | |
void | NotifyReceivedNormalAck (Ptr< WifiMpdu > mpdu) override |
Notify other components that an MPDU was acknowledged. | |
virtual void | NotifyTxToEdca (Ptr< const WifiPsdu > psdu) const |
Notify the transmission of the given PSDU to the EDCAF associated with the AC the PSDU belongs to. | |
void | ProtectionCompleted () override |
Transmit prepared frame upon successful protection mechanism. | |
void | ReceiveMgtAction (Ptr< const WifiMpdu > mpdu, const WifiTxVector &txVector) |
Process a received management action frame that relates to Block Ack agreement. | |
void | ReceiveMpdu (Ptr< const WifiMpdu > mpdu, RxSignalInfo rxSignalInfo, const WifiTxVector &txVector, bool inAmpdu) override |
This method handles the reception of an MPDU (possibly included in an A-MPDU) | |
void | ReleaseSequenceNumbers (Ptr< const WifiPsdu > psdu) const override |
Make the sequence numbers of MPDUs included in the given PSDU available again if the MPDUs have never been transmitted. | |
void | RetransmitMpduAfterMissedAck (Ptr< WifiMpdu > mpdu) const override |
Retransmit an MPDU that was not acknowledged. | |
bool | SendAddBaRequest (Mac48Address recipient, uint8_t tid, uint16_t startingSeq, uint16_t timeout, bool immediateBAck, Time availableTime) |
Sends an ADDBA Request to establish a block ack agreement with STA addressed by recipient for TID tid. | |
void | SendBlockAck (const RecipientBlockAckAgreement &agreement, Time durationId, WifiTxVector &blockAckTxVector, double rxSnr) |
Create a BlockAck frame with header equal to blockAck and start its transmission. | |
virtual bool | SendDataFrame (Ptr< WifiMpdu > peekedItem, Time availableTime, bool initialFrame) |
Given a non-broadcast QoS data frame, prepare the PSDU to transmit by attempting A-MSDU and A-MPDU aggregation (if enabled), while making sure that the frame exchange (possibly including protection and acknowledgment) is completed within the given available time. | |
virtual bool | SendMpduFromBaManager (Ptr< WifiMpdu > mpdu, Time availableTime, bool initialFrame) |
If the given MPDU contains a BlockAckReq frame (the duration of which plus the response fits within the given available time, if the latter is not Time::Min() and this is not the initial frame of a TXOP), transmit the frame and return true. | |
void | SendPsduWithProtection (Ptr< WifiPsdu > psdu, WifiTxParameters &txParams) |
Send a PSDU (A-MPDU or BlockAckReq frame) requesting a BlockAck frame or a BlockAckReq frame followed by a BlockAck frame for the acknowledgment. | |
void | TransmissionSucceeded () override |
Take necessary actions upon a transmission success. | |
Protected Member Functions inherited from ns3::QosFrameExchangeManager | |
void | DoDispose () override |
Destructor implementation. | |
void | ForwardMpduDown (Ptr< WifiMpdu > mpdu, WifiTxVector &txVector) override |
Forward an MPDU down to the PHY layer. | |
Time | GetCtsToSelfDurationId (const WifiTxVector &ctsTxVector, Time txDuration, Time response) const override |
Compute how to set the Duration/ID field of a CTS-to-self frame to send to protect a frame transmitted with the given TX vector. | |
Time | GetFrameDurationId (const WifiMacHeader &header, uint32_t size, const WifiTxParameters &txParams, Ptr< Packet > fragmentedPacket) const override |
Compute how to set the Duration/ID field of a frame being transmitted with the given TX parameters. | |
Time | GetRtsDurationId (const WifiTxVector &rtsTxVector, Time txDuration, Time response) const override |
Compute how to set the Duration/ID field of an RTS frame to send to protect a frame transmitted with the given TX vector. | |
void | NavResetTimeout () override |
Reset the NAV upon expiration of the NAV reset timer. | |
void | PifsRecovery () |
Perform a PIFS recovery as a response to transmission failure within a TXOP. | |
void | PostProcessFrame (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) override |
Perform actions that are possibly needed after receiving any frame, independently of whether the frame is addressed to this station (e.g., setting the NAV or the TXOP holder). | |
void | PreProcessFrame (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) override |
Perform actions that are possibly needed when receiving any frame, independently of whether the frame is addressed to this station (e.g., storing buffer status reports). | |
void | ReceiveMpdu (Ptr< const WifiMpdu > mpdu, RxSignalInfo rxSignalInfo, const WifiTxVector &txVector, bool inAmpdu) override |
This method handles the reception of an MPDU (possibly included in an A-MPDU) | |
virtual bool | SendCfEndIfNeeded () |
Send a CF-End frame to indicate the completion of the TXOP, provided that the remaining duration is long enough to transmit this frame. | |
virtual bool | StartTransmission (Ptr< QosTxop > edca, Time txopDuration) |
Request the FrameExchangeManager to start a frame exchange sequence. | |
void | TransmissionFailed () override |
Take necessary actions upon a transmission failure. | |
void | TransmissionSucceeded () override |
Take necessary actions upon a transmission success. | |
void | UpdateNav (Ptr< const WifiPsdu > psdu, const WifiTxVector &txVector) override |
Update the NAV, if needed, based on the Duration/ID of the given psdu. | |
Protected Member Functions inherited from ns3::FrameExchangeManager | |
virtual void | DequeueMpdu (Ptr< const WifiMpdu > mpdu) |
Dequeue the given MPDU from the queue in which it is stored. | |
void | DoCtsTimeout (Ptr< WifiPsdu > psdu) |
Take required actions when the CTS timer fired after sending an RTS to protect the given PSDU expires. | |
void | DoSendCtsAfterRts (const WifiMacHeader &rtsHdr, WifiTxVector &ctsTxVector, double rtsSnr) |
Send CTS after receiving RTS. | |
Ptr< WifiMpdu > | GetFirstFragmentIfNeeded (Ptr< WifiMpdu > mpdu) |
Fragment the given MPDU if needed. | |
Ptr< WifiMpdu > | GetNextFragment () |
Get the next fragment of the current MSDU. | |
Ptr< WifiRemoteStationManager > | GetWifiRemoteStationManager () const |
virtual void | NotifyChannelReleased (Ptr< Txop > txop) |
Notify the given Txop that channel has been released. | |
virtual void | PsduRxError (Ptr< const WifiPsdu > psdu) |
This method is called when the reception of a PSDU fails. | |
virtual void | ReceivedMacHdr (const WifiMacHeader &macHdr, const WifiTxVector &txVector, Time psduDuration) |
Store information about the MAC header of the MPDU being received. | |
virtual void | ReceivedNormalAck (Ptr< WifiMpdu > mpdu, const WifiTxVector &txVector, const WifiTxVector &ackTxVector, const RxSignalInfo &rxInfo, double snr) |
Perform the actions needed when a Normal Ack is received. | |
virtual void | SendCtsAfterRts (const WifiMacHeader &rtsHdr, WifiMode rtsTxMode, double rtsSnr) |
Send CTS after receiving RTS. | |
void | SendCtsToSelf (const WifiTxParameters &txParams) |
Send CTS for a CTS-to-self mechanism. | |
void | SendMpduWithProtection (Ptr< WifiMpdu > mpdu, WifiTxParameters &txParams) |
Send an MPDU with the given TX parameters (with the specified protection). | |
void | SendNormalAck (const WifiMacHeader &hdr, const WifiTxVector &dataTxVector, double dataSnr) |
Send Normal Ack. | |
void | SendRts (const WifiTxParameters &txParams) |
Send RTS to begin RTS-CTS-Data-Ack transaction. | |
void | UpdateTxDuration (Mac48Address receiver, WifiTxParameters &txParams) const |
Update the TX duration field of the given TX parameters after that the PSDU addressed to the given receiver has changed. | |
Protected Member Functions inherited from ns3::Object | |
Object (const Object &o) | |
Copy an Object. | |
virtual void | DoInitialize () |
Initialize() implementation. | |
virtual void | NotifyNewAggregate () |
Notify all Objects aggregated to this one of a new Object being aggregated. | |
Protected Member Functions inherited from ns3::ObjectBase | |
void | ConstructSelf (const AttributeConstructionList &attributes) |
Complete construction of ObjectBase; invoked by derived classes. | |
virtual void | NotifyConstructionCompleted () |
Notifier called once the ObjectBase is fully constructed. | |
Protected Attributes | |
Ptr< ApWifiMac > | m_apMac |
MAC pointer (null if not an AP) | |
Time | m_intraBssNavEnd |
intra-BSS NAV expiration time | |
EventId | m_intraBssNavResetEvent |
the event to reset the intra-BSS NAV after an RTS | |
Ptr< StaWifiMac > | m_staMac |
MAC pointer (null if not a STA) | |
WifiTxVector | m_trigVector |
the TRIGVECTOR | |
Protected Attributes inherited from ns3::HtFrameExchangeManager | |
Ptr< MpduAggregator > | m_mpduAggregator |
A-MPDU aggregator. | |
Ptr< MsduAggregator > | m_msduAggregator |
A-MSDU aggregator. | |
std::map< AgreementKey, Ptr< WifiMpdu > > | m_pendingAddBaResp |
pending ADDBA_RESPONSE frames indexed by agreement key | |
Protected Attributes inherited from ns3::QosFrameExchangeManager | |
Ptr< QosTxop > | m_edca |
the EDCAF that gained channel access | |
bool | m_setQosQueueSize |
whether to set the Queue Size subfield of the QoS Control field of QoS data frames | |
std::optional< Mac48Address > | m_txopHolder |
MAC address of the TXOP holder. | |
Protected Attributes inherited from ns3::FrameExchangeManager | |
AckedMpdu | m_ackedMpduCallback |
the acknowledged MPDU callback | |
MHz_u | m_allowedWidth |
the allowed width for the current transmission | |
Mac48Address | m_bssid |
BSSID address (Mac48Address) | |
Ptr< ChannelAccessManager > | m_channelAccessManager |
the channel access manager | |
Ptr< Txop > | m_dcf |
the DCF/EDCAF that gained channel access | |
DroppedMpdu | m_droppedMpduCallback |
the dropped MPDU callback | |
uint8_t | m_linkId |
the ID of the link this object is associated with | |
Ptr< WifiMac > | m_mac |
the MAC layer on this station | |
Time | m_navEnd |
NAV expiration time. | |
EventId | m_navResetEvent |
the event to reset the NAV after an RTS | |
Ptr< WifiPhy > | m_phy |
the PHY layer on this station | |
bool | m_promisc |
Flag if the device is operating in promiscuous mode. | |
std::set< Mac48Address > | m_protectedStas |
STAs that have replied to an RTS in this TXOP. | |
Ptr< MacRxMiddle > | m_rxMiddle |
the MAC RX Middle on this station | |
Mac48Address | m_self |
the MAC address of this device | |
std::set< Mac48Address > | m_sentRtsTo |
the STA(s) which we sent an RTS to (waiting for CTS) | |
Ptr< MacTxMiddle > | m_txMiddle |
the MAC TX Middle on this station | |
WifiTxTimer | m_txTimer |
the timer set upon frame transmission | |
Private Member Functions | |
void | ReceiveBasicTrigger (const CtrlTriggerHeader &trigger, const WifiMacHeader &hdr) |
Take the necessary actions when receiving a Basic Trigger Frame. | |
void | ReceiveMuBarTrigger (const CtrlTriggerHeader &trigger, uint8_t tid, Time durationId, double snr) |
Respond to a MU-BAR Trigger Frame (if permitted by UL MU CS mechanism). | |
void | SendPsduMap () |
Send the current PSDU map as a DL MU PPDU. | |
Private Attributes | |
EventId | m_multiStaBaEvent |
Sending a Multi-STA BlockAck event. | |
Ptr< MultiUserScheduler > | m_muScheduler |
Multi-user Scheduler (HE APs only) | |
MuSnrTag | m_muSnrTag |
Tag to attach to Multi-STA BlockAck frames. | |
WifiPsduMap | m_psduMap |
the A-MPDU being transmitted | |
Ptr< WifiMpdu > | m_triggerFrame |
Trigger Frame being sent. | |
bool | m_triggerFrameInAmpdu |
True if the received A-MPDU contains an MU-BAR. | |
WifiTxParameters | m_txParams |
the TX parameters for the current PPDU | |
Additional Inherited Members | |
Public Types inherited from ns3::FrameExchangeManager | |
typedef Callback< void, Ptr< const WifiMpdu > > | AckedMpdu |
typedef for a callback to invoke when an MPDU is successfully acknowledged. | |
typedef Callback< void, WifiMacDropReason, Ptr< const WifiMpdu > > | DroppedMpdu |
typedef for a callback to invoke when an MPDU is dropped. | |
Protected Types inherited from ns3::HtFrameExchangeManager | |
typedef std::pair< Mac48Address, uint8_t > | AgreementKey |
agreement key typedef (MAC address and TID) | |
Related Symbols inherited from ns3::ObjectBase | |
static TypeId | GetObjectIid () |
Ensure the TypeId for ObjectBase gets fully configured to anchor the inheritance tree properly. | |
HeFrameExchangeManager handles the frame exchange sequences for HE stations.
Definition at line 56 of file he-frame-exchange-manager.h.
ns3::HeFrameExchangeManager::HeFrameExchangeManager | ( | ) |
Definition at line 64 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION.
|
override |
Definition at line 71 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION_NOARGS.
|
protectedvirtual |
Take the necessary actions after that a Block Ack is missing after a TB PPDU solicited through a Trigger Frame.
psdu | the PSDU in the TB PPDU |
txVector | the TXVECTOR used to transmit the TB PPDU |
Definition at line 1359 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION.
|
protectedvirtual |
Take the necessary actions after that some BlockAck frames are missing in response to a DL MU PPDU.
This method must not be called if all the expected BlockAck frames were received.
psduMap | a pointer to PSDU map transmitted in a DL MU PPDU |
nSolicitedStations | the number of stations solicited to send a TB PPDU |
Definition at line 1287 of file he-frame-exchange-manager.cc.
References NS_ASSERT, and NS_LOG_FUNCTION.
Referenced by SendPsduMap().
|
overrideprotectedvirtual |
Called when the BlockAck timeout expires.
psdu | the PSDU (BlockAckReq or A-MPDU) that solicited a BlockAck response |
txVector | the TXVECTOR used to send the PSDU that solicited a BlockAck response |
Reimplemented from ns3::HtFrameExchangeManager.
Definition at line 1403 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION, and ns3::PeekPointer().
|
overridevirtual |
Calculate the time required to acknowledge a frame according to the given acknowledgment method.
The acknowledgment time is stored in the acknowledgment object itself.
acknowledgment | the acknowledgment method |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 1016 of file he-frame-exchange-manager.cc.
References ns3::WifiAcknowledgment::acknowledgmentTime, ns3::GetAckSize(), ns3::GetBlockAckRequestSize(), ns3::GetBlockAckSize(), ns3::GetMuBarSize(), ns3::WifiAcknowledgment::method, NS_ABORT_IF, NS_ASSERT, NS_LOG_FUNCTION, ns3::Seconds(), and ns3::WIFI_MOD_CLASS_VHT.
Referenced by SendPsduMapWithProtection().
|
overridevirtual |
Calculate the time required to protect a frame according to the given protection method.
The protection time is stored in the protection object itself.
protection | the protection method |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 985 of file he-frame-exchange-manager.cc.
References ns3::GetCtsSize(), ns3::WifiMacHeader::GetSize(), ns3::WifiProtection::method, NS_ASSERT, NS_LOG_FUNCTION, and ns3::WIFI_MAC_CTL_TRIGGER.
|
overrideprotectedvirtual |
Clear the TXOP holder if the intra-BSS NAV counted down to zero (includes the case of intra-BSS NAV reset).
Reimplemented from ns3::QosFrameExchangeManager.
Definition at line 2074 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION.
|
protectedvirtual |
Called when no CTS frame is received after an MU-RTS.
muRts | the MU-RTS that solicited CTS responses |
txVector | the TXVECTOR used to transmit the MU-RTS frame |
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 388 of file he-frame-exchange-manager.cc.
References DoCtsAfterMuRtsTimeout(), and NS_LOG_FUNCTION.
Referenced by SendMuRts().
|
overrideprotectedvirtual |
Called when the CTS timeout expires.
rts | the RTS that solicited a CTS response |
txVector | the TXVECTOR used to transmit the RTS frame |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 479 of file he-frame-exchange-manager.cc.
References ns3::FrameExchangeManager::CtsTimeout(), ns3::FrameExchangeManager::DoCtsTimeout(), m_psduMap, NS_ABORT_MSG_IF, and NS_LOG_FUNCTION.
|
protected |
Called when no CTS frame is received after an MU-RTS.
muRts | the MU-RTS that solicited CTS responses |
txVector | the TXVECTOR used to transmit the MU-RTS frame |
updateFailedCw | whether to update CW in case of retransmission after TX failure |
Definition at line 395 of file he-frame-exchange-manager.cc.
References ns3::FrameExchangeManager::CtsTimeout(), ns3::HtFrameExchangeManager::DequeuePsdu(), ns3::FrameExchangeManager::GetWifiRemoteStationManager(), ns3::QosFrameExchangeManager::m_edca, ns3::FrameExchangeManager::m_linkId, m_psduMap, ns3::FrameExchangeManager::m_sentRtsTo, ns3::HtFrameExchangeManager::NotifyPacketDiscarded(), NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::PeekPointer(), ns3::HtFrameExchangeManager::ReleaseSequenceNumbers(), ns3::Txop::ResetCw(), ns3::QosFrameExchangeManager::TransmissionFailed(), and ns3::Txop::UpdateFailedCw().
Referenced by ns3::EhtFrameExchangeManager::CtsAfterMuRtsTimeout(), and CtsAfterMuRtsTimeout().
|
overrideprotectedvirtual |
Destructor implementation.
This method is called by Dispose() or by the Object's destructor, whichever comes first.
Subclasses are expected to implement their real destruction code in an overridden version of this method and chain up to their parent's implementation once they are done. i.e, for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose() method.
It is safe to call GetObject() from within this method.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 106 of file he-frame-exchange-manager.cc.
References ns3::EventId::Cancel(), ns3::WifiTxParameters::Clear(), ns3::Object::DoDispose(), m_apMac, m_multiStaBaEvent, m_muScheduler, m_psduMap, m_staMac, m_txParams, and NS_LOG_FUNCTION.
Referenced by ns3::EhtFrameExchangeManager::DoDispose().
|
overrideprotectedvirtual |
This method is called when the reception of an A-MPDU including multiple MPDUs is completed.
psdu | the received PSDU |
rxSignalInfo | the info on the received signal ( |
txVector | TxVector of the received PSDU |
perMpduStatus | per MPDU reception status |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 2650 of file he-frame-exchange-manager.cc.
References ns3::WifiUlMuMultiStaBa::baType, ns3::WifiTxVector::GetHeMuUserInfoMap(), ns3::WifiTxVector::IsUlMu(), ns3::BlockAckType::m_bitmapLen, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_WARN, and ns3::RxSignalInfo::snr.
|
overridevirtual |
Determine the holder of the TXOP, if possible, based on the received frame.
hdr | the MAC header of an MPDU included in the received PSDU |
txVector | TX vector of the received PSDU |
Reimplemented from ns3::QosFrameExchangeManager.
Definition at line 2106 of file he-frame-exchange-manager.cc.
References ns3::WifiMacHeader::GetAddr2(), ns3::WifiMacHeader::IsTrigger(), ns3::WifiTxVector::IsUlMu(), and NS_LOG_FUNCTION.
Referenced by ns3::EhtFrameExchangeManager::CheckEmlsrClientStartingTxop().
|
protectedvirtual |
Forward a map of PSDUs down to the PHY layer.
psduMap | the map of PSDUs to transmit |
txVector | the TXVECTOR used to transmit the MU PPDU |
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 899 of file he-frame-exchange-manager.cc.
References ns3::WifiTxVector::GetChannelWidth(), ns3::WifiTxVector::GetModulationClass(), ns3::WifiTxVector::GetPreambleType(), ns3::IsDlMu(), NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::WifiTxVector::SetAggregation(), and ns3::WifiTxVector::SetSigBMode().
Referenced by ns3::EhtFrameExchangeManager::ForwardPsduMapDown().
|
protected |
Definition at line 1177 of file he-frame-exchange-manager.cc.
References ns3::WIFI_PHY_BAND_2_4GHZ.
Referenced by GetMuRtsDurationId().
|
protected |
Get the TXVECTOR that the station having the given station ID has to use to send a CTS frame after receiving an MU-RTS Trigger Frame from the AP it is associated with.
trigger | the MU-RTS Trigger Frame |
staId | the station ID for MU |
Definition at line 1186 of file he-frame-exchange-manager.cc.
References ns3::CtrlTriggerHeader::end(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), NS_ASSERT, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by SendMuRts().
|
protected |
Return a TXVECTOR for the UL frame that the station will send in response to the given Trigger frame, configured with the BSS color and transmit power level to use for the consequent HE TB PPDU.
Note that this method should only be called by non-AP stations only.
trigger | the received Trigger frame |
triggerSender | the MAC address of the AP sending the Trigger frame |
Get the transmit power to use for an HE TB PPDU considering:
It is assumed that path loss is symmetric (i.e. uplink path loss is equivalent to the measured downlink path loss);
Refer to section 27.3.14.2 (Power pre-correction) of 802.11ax Draft 4.0 for more details.
Definition at line 1444 of file he-frame-exchange-manager.cc.
References ns3::CtrlTriggerHeader::end(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), ns3::CtrlTriggerHeader::GetApTxPower(), ns3::CtrlTriggerHeader::GetHeTbTxVector(), NS_ASSERT, NS_ASSERT_MSG, NS_LOG_LOGIC, NS_LOG_WARN, ns3::WifiTxVector::SetBssColor(), and ns3::WifiTxVector::SetTxPowerLevel().
|
virtual |
Get the RSSI of the most recent packet received from the station having the given address.
address | of the remote station |
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 1524 of file he-frame-exchange-manager.cc.
Referenced by ns3::EhtFrameExchangeManager::GetMostRecentRssi().
|
protectedvirtual |
Compute how to set the Duration/ID field of an MU-RTS Trigger Frame to send to protect a frame transmitted with the given TX vector.
muRtsSize | the size of the MU-RTS Trigger Frame in bytes |
muRtsTxVector | the TX vector used to send the MU-RTS Trigger Frame |
txDuration | the TX duration of the data frame |
response | the time taken by the response (acknowledgment) to the data frame |
Definition at line 306 of file he-frame-exchange-manager.cc.
References ns3::WifiPhy::CalculateTxDuration(), GetCtsModeAfterMuRts(), ns3::WifiPhy::GetPhyBand(), ns3::QosTxop::GetRemainingTxop(), ns3::FrameExchangeManager::GetRtsDurationId(), ns3::Txop::GetTxopLimit(), ns3::Time::IsZero(), ns3::QosFrameExchangeManager::m_edca, ns3::FrameExchangeManager::m_linkId, ns3::FrameExchangeManager::m_phy, NS_LOG_FUNCTION, ns3::Seconds(), and ns3::WifiTxVector::SetMode().
Referenced by SendMuRts().
|
static |
Get the PSDU in the given PSDU map that is addressed to the given MAC address, if any, or a null pointer, otherwise.
to | the MAC address |
psduMap | the PSDU map |
Definition at line 465 of file he-frame-exchange-manager.cc.
Referenced by SendPsduMap().
|
protected |
Get the TRIGVECTOR that the MAC has to pass to the PHY when transmitting the given Trigger Frame.
trigger | the given Trigger Frame |
Definition at line 1426 of file he-frame-exchange-manager.cc.
References ns3::CtrlTriggerHeader::GetGuardInterval(), ns3::CtrlTriggerHeader::GetUlBandwidth(), ns3::CtrlTriggerHeader::GetUlLength(), ns3::CtrlTriggerHeader::GetVariant(), ns3::WifiTxVector::SetChannelWidth(), ns3::WifiTxVector::SetGuardInterval(), ns3::WifiTxVector::SetHeMuUserInfo(), ns3::WifiTxVector::SetLength(), ns3::WifiTxVector::SetPreambleType(), ns3::WIFI_PREAMBLE_EHT_TB, and ns3::WIFI_PREAMBLE_HE_TB.
|
overrideprotectedvirtual |
Get the updated TX duration of the frame associated with the given TX parameters if the size of the PSDU addressed to the given receiver becomes ppduPayloadSize.
ppduPayloadSize | the new PSDU size |
receiver | the MAC address of the receiver of the PSDU |
txParams | the TX parameters |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 1221 of file he-frame-exchange-manager.cc.
References ns3::GetMuBarSize(), ns3::WifiTxParameters::GetPsduInfo(), ns3::WifiTxVector::IsDlMu(), ns3::WifiTxVector::IsMu(), ns3::WifiTxVector::IsUlMu(), ns3::WifiTxParameters::m_acknowledgment, ns3::WifiTxParameters::m_txDuration, ns3::WifiTxParameters::m_txVector, and NS_ASSERT_MSG.
|
static |
Get the type ID.
Definition at line 55 of file he-frame-exchange-manager.cc.
References ns3::TypeId::SetParent().
|
protectedvirtual |
Reset the intra-BSS NAV upon expiration of the intra-BSS NAV reset timer.
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 2095 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::EhtFrameExchangeManager::IntraBssNavResetTimeout().
bool ns3::HeFrameExchangeManager::IsIntraBssPpdu | ( | Ptr< const WifiPsdu > | psdu, |
const WifiTxVector & | txVector ) const |
Return whether the received frame is classified as intra-BSS.
It is assumed that this station is already associated with an AP.
psdu | the received PSDU |
txVector | TX vector of the received PSDU |
Definition at line 1931 of file he-frame-exchange-manager.cc.
References ns3::WifiTxVector::GetBssColor(), and NS_LOG_FUNCTION.
|
overrideprotectedvirtual |
Reset the NAV upon expiration of the NAV reset timer.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 2084 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION.
Referenced by ns3::EhtFrameExchangeManager::NavResetTimeout().
|
overrideprotectedvirtual |
Called when the Ack timeout expires.
mpdu | the MPDU that solicited a Normal Ack response |
txVector | the TXVECTOR used to transmit the frame soliciting the Normal Ack |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 1379 of file he-frame-exchange-manager.cc.
References NS_LOG_FUNCTION, and ns3::PeekPointer().
|
overrideprotectedvirtual |
Perform actions that are possibly needed after receiving any frame, independently of whether the frame is addressed to this station (e.g., setting the NAV or the TXOP holder).
psdu | the received PSDU |
txVector | TX vector of the received PSDU |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 1553 of file he-frame-exchange-manager.cc.
References ns3::CtrlTriggerHeader::end(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), ns3::WifiMacHeader::GetAddr2(), ns3::WifiMacHeader::GetDuration(), ns3::CtrlTriggerHeader::IsMuRts(), NS_LOG_FUNCTION, ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::WifiMacHeader::SetDsNotFrom(), ns3::WifiMacHeader::SetDsNotTo(), ns3::WifiMacHeader::SetDuration(), ns3::WifiMacHeader::SetType(), and ns3::WIFI_MAC_CTL_RTS.
Referenced by ns3::EhtFrameExchangeManager::PostProcessFrame().
|
protected |
Build a MU-BAR Trigger Frame starting from the TXVECTOR used to respond to the MU-BAR (in case of multiple responders, their TXVECTORs need to be "merged" into a single TXVECTOR) and from the BlockAckReq headers for every recipient.
Note that the number of recipients must match the number of users addressed by the given TXVECTOR.
responseTxVector | the given TXVECTOR |
recipients | the list of BlockAckReq headers indexed by the station's AID |
Definition at line 932 of file he-frame-exchange-manager.cc.
References ns3::WifiTxVector::GetHeMuUserInfoMap(), ns3::CtrlTriggerHeader::GetNUserInfoFields(), ns3::CtrlTriggerHeader::GetUlLength(), NS_ASSERT, NS_LOG_FUNCTION, ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::CtrlTriggerHeader::SetCsRequired(), ns3::WifiMacHeader::SetDsNotFrom(), ns3::WifiMacHeader::SetDsNotTo(), ns3::WifiMacHeader::SetNoMoreFragments(), ns3::WifiMacHeader::SetNoRetry(), ns3::WifiMacHeader::SetType(), and ns3::WIFI_MAC_CTL_TRIGGER.
Referenced by SendPsduMap().
|
overrideprotectedvirtual |
Transmit prepared frame upon successful protection mechanism.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 292 of file he-frame-exchange-manager.cc.
References ns3::FrameExchangeManager::m_protectedStas, m_psduMap, ns3::FrameExchangeManager::m_sentRtsTo, NS_LOG_FUNCTION, ns3::FrameExchangeManager::ProtectionCompleted(), and SendPsduMap().
|
private |
Take the necessary actions when receiving a Basic Trigger Frame.
trigger | the Basic Trigger Frame content |
hdr | the MAC header of the Basic Trigger Frame |
Definition at line 1722 of file he-frame-exchange-manager.cc.
References ns3::WifiTxParameters::Clear(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), ns3::WifiMacHeader::GetAddr2(), ns3::WifiMacHeader::GetDuration(), ns3::CtrlTriggerHeader::GetUlLength(), ns3::CtrlTriggerHeader::IsBasic(), ns3::WifiTxParameters::m_txVector, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::wifiAcList.
|
overrideprotectedvirtual |
This method handles the reception of an MPDU (possibly included in an A-MPDU)
mpdu | the received MPDU |
rxSignalInfo | the info on the received signal ( |
txVector | TxVector of the received PSDU |
inAmpdu | true if the MPDU is part of an A-MPDU |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 2174 of file he-frame-exchange-manager.cc.
References ns3::WifiUlMuMultiStaBa::baType, ns3::CtrlTriggerHeader::end(), ns3::CtrlBAckResponseHeader::FindPerAidTidInfoWithAid(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), ns3::MuSnrTag::Get(), ns3::SnrTag::Get(), ns3::CtrlBAckResponseHeader::GetAckType(), ns3::WifiMacHeader::GetAddr1(), ns3::WifiMacHeader::GetAddr2(), ns3::CtrlBAckResponseHeader::GetBitmap(), ns3::WifiMacHeader::GetDuration(), ns3::WifiTxVector::GetHeMuUserInfoMap(), ns3::WifiTxVector::GetMode(), ns3::WifiMacHeader::GetQosAckPolicy(), ns3::WifiMacHeader::GetQosTid(), ns3::CtrlBAckRequestHeader::GetStartingSequence(), ns3::CtrlBAckRequestHeader::GetTidInfo(), ns3::CtrlBAckResponseHeader::GetTidInfo(), ns3::WifiMacHeader::HasData(), ns3::WifiMacHeader::IsAck(), ns3::CtrlTriggerHeader::IsBasic(), ns3::WifiMacHeader::IsBlockAck(), ns3::WifiMacHeader::IsBlockAckReq(), ns3::Mac48Address::IsBroadcast(), ns3::CtrlTriggerHeader::IsBsrp(), ns3::WifiMacHeader::IsCtl(), ns3::WifiMacHeader::IsCts(), ns3::CtrlTriggerHeader::IsMuBar(), ns3::CtrlBAckResponseHeader::IsMultiSta(), ns3::CtrlBAckRequestHeader::IsMultiTid(), ns3::CtrlTriggerHeader::IsMuRts(), ns3::WifiMacHeader::IsQosData(), ns3::WifiMacHeader::IsTrigger(), ns3::WifiTxVector::IsUlMu(), ns3::BlockAckType::m_bitmapLen, NS_ABORT_IF, NS_ABORT_MSG_IF, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_WARN, and ns3::RxSignalInfo::snr.
Referenced by ns3::EhtFrameExchangeManager::ReceiveMpdu().
|
private |
Respond to a MU-BAR Trigger Frame (if permitted by UL MU CS mechanism).
trigger | the Basic Trigger Frame content |
tid | the TID requested for us in the MU-BAR Trigger Frame |
durationId | the Duration/ID field of the MPDU carrying the Trigger Frame |
snr | the receive SNR |
Definition at line 1905 of file he-frame-exchange-manager.cc.
References ns3::Time::As(), NS_LOG_DEBUG, and NS_LOG_FUNCTION.
|
protected |
Record the stations being solicited by an MU-RTS TF.
txParams | the TX parameters for the data frame protected by the MU-RTS TF. |
Definition at line 271 of file he-frame-exchange-manager.cc.
References m_apMac, ns3::FrameExchangeManager::m_linkId, ns3::WifiTxParameters::m_protection, ns3::FrameExchangeManager::m_sentRtsTo, ns3::WifiProtection::MU_RTS_CTS, NS_ASSERT, NS_ASSERT_MSG, and NS_LOG_FUNCTION.
Referenced by StartProtection().
|
overrideprotectedvirtual |
Reset this frame exchange manager.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 77 of file he-frame-exchange-manager.cc.
References ns3::EventId::Cancel(), ns3::EventId::IsPending(), m_intraBssNavEnd, m_intraBssNavResetEvent, ns3::Simulator::Now(), NS_LOG_FUNCTION, and ns3::FrameExchangeManager::Reset().
|
overrideprotectedvirtual |
txVector | the TXVECTOR decoded from PHY header. |
psduDuration | the duration of the PSDU that is about to be received. |
This method is typically invoked by the lower PHY layer to notify the MAC layer that the reception of a PSDU is starting. This is equivalent to the PHY-RXSTART primitive. If the reception is correct for at least one MPDU of the PSDU the Receive method will be called after psduDuration
.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 97 of file he-frame-exchange-manager.cc.
References ns3::Time::As(), ns3::EventId::Cancel(), m_intraBssNavResetEvent, ns3::Time::MS, NS_LOG_FUNCTION, and ns3::FrameExchangeManager::RxStartIndication().
Referenced by ns3::EhtFrameExchangeManager::RxStartIndication().
|
protectedvirtual |
Send CTS after receiving an MU-RTS.
muRtsHdr | the MAC header of the received MU-RTS |
trigger | the MU-RTS Trigger Frame header |
muRtsSnr | the SNR of the MU-RTS in linear scale |
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 1598 of file he-frame-exchange-manager.cc.
References NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::WifiTxVector::SetTriggerResponding().
Referenced by ns3::EhtFrameExchangeManager::SendCtsAfterMuRts().
|
protected |
Send a Multi-STA Block Ack frame after the reception of some TB PPDUs.
txParams | the TX parameters for the Trigger Frame that solicited the TB PPDUs |
durationId | the Duration/ID field of the HE TB PPDU that elicited the Multi-STA Block Ack response |
In a BlockAck frame transmitted in response to a frame carried in HE TB PPDU under single protection settings, the Duration/ID field is set to the value obtained from the Duration/ID field of the frame that elicited the response minus the time, in microseconds between the end of the PPDU carrying the frame that elicited the response and the end of the PPDU carrying the BlockAck frame. Under multiple protection settings, the Duration/ID field in a BlockAck frame transmitted in response to a frame carried in HE TB PPDU is set according to the multiple protection settings defined in 9.2.5.2. (Sec. 9.2.5.7 of 802.11ax-2021)
Definition at line 1618 of file he-frame-exchange-manager.cc.
References ns3::Time::As(), ns3::GetBlockAckSize(), ns3::CtrlBAckResponseHeader::GetStartingSequence(), ns3::WifiTxParameters::m_acknowledgment, Max, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::Seconds(), ns3::CtrlBAckResponseHeader::SetAckType(), ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::CtrlBAckResponseHeader::SetAid11(), ns3::WifiMacHeader::SetDsNotFrom(), ns3::WifiMacHeader::SetDsNotTo(), ns3::CtrlBAckResponseHeader::SetTidInfo(), ns3::CtrlBAckResponseHeader::SetType(), ns3::WifiMacHeader::SetType(), and ns3::WIFI_MAC_CTL_BACKRESP.
|
protectedvirtual |
Send an MU-RTS to begin an MU-RTS/CTS frame exchange protecting an MU PPDU.
txParams | the TX parameters for the data frame |
Reimplemented in ns3::EhtFrameExchangeManager.
Definition at line 330 of file he-frame-exchange-manager.cc.
References ns3::WifiPhy::CalculatePhyPreambleAndHeaderDuration(), ns3::WifiPhy::CalculateTxDuration(), ns3::Create(), CtsAfterMuRtsTimeout(), ns3::HtFrameExchangeManager::ForwardMpduDown(), ns3::Mac48Address::GetBroadcast(), GetCtsTxVectorAfterMuRts(), GetMuRtsDurationId(), ns3::WifiPhy::GetPhyBand(), ns3::WifiPhy::GetSifs(), ns3::WifiPhy::GetSlot(), ns3::WifiTxTimer::IsRunning(), ns3::WifiTxParameters::m_acknowledgment, ns3::FrameExchangeManager::m_channelAccessManager, ns3::FrameExchangeManager::m_phy, ns3::WifiTxParameters::m_protection, ns3::FrameExchangeManager::m_self, ns3::FrameExchangeManager::m_sentRtsTo, ns3::WifiTxParameters::m_txDuration, ns3::FrameExchangeManager::m_txTimer, ns3::WifiProtection::MU_RTS_CTS, NS_ASSERT, NS_LOG_FUNCTION, ns3::WifiTxTimer::Set(), ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::WifiMacHeader::SetDsNotFrom(), ns3::WifiMacHeader::SetDsNotTo(), ns3::WifiMacHeader::SetNoMoreFragments(), ns3::WifiMacHeader::SetNoRetry(), ns3::WifiMacHeader::SetType(), timeout, ns3::WifiTxTimer::WAIT_CTS_AFTER_MU_RTS, and ns3::WIFI_MAC_CTL_TRIGGER.
Referenced by ns3::EhtFrameExchangeManager::SendMuRts(), and StartProtection().
|
private |
Send the current PSDU map as a DL MU PPDU.
Definition at line 514 of file he-frame-exchange-manager.cc.
References BlockAcksInTbPpduTimeout(), ns3::WifiPhy::CalculatePhyPreambleAndHeaderDuration(), ns3::WifiPhy::CalculateTxDuration(), ns3::Create(), ns3::WifiAcknowledgment::DL_MU_AGGREGATE_TF, ns3::WifiAcknowledgment::DL_MU_BAR_BA_SEQUENCE, ns3::WifiAcknowledgment::DL_MU_TF_MU_BAR, ns3::HtFrameExchangeManager::ForwardPsduDown(), ns3::QosTxop::GetBaManager(), ns3::WifiTxVector::GetModulationClass(), ns3::WifiPhy::GetPhyBand(), ns3::WifiPhy::GetPhyEntity(), ns3::HtFrameExchangeManager::GetPsduDurationId(), GetPsduTo(), ns3::WifiPhy::GetSifs(), ns3::WifiPhy::GetSlot(), ns3::VhtFrameExchangeManager::GetWifiPsdu(), ns3::WifiTxTimer::IsRunning(), ns3::WifiTxParameters::m_acknowledgment, m_apMac, ns3::FrameExchangeManager::m_channelAccessManager, ns3::QosFrameExchangeManager::m_edca, ns3::FrameExchangeManager::m_linkId, ns3::FrameExchangeManager::m_mac, ns3::FrameExchangeManager::m_phy, m_psduMap, m_triggerFrame, m_trigVector, m_txParams, ns3::FrameExchangeManager::m_txTimer, ns3::WifiTxTimer::NOT_RUNNING, NS_ABORT_MSG_IF, NS_ASSERT, NS_LOG_FUNCTION, PrepareMuBar(), ns3::WifiTxTimer::Set(), ns3::WifiTxVector::SetHeMuUserInfo(), ns3::WifiTxVector::SetLength(), ns3::StaticCast(), timeout, ns3::WifiTxTimer::WAIT_BLOCK_ACK, ns3::WifiTxTimer::WAIT_BLOCK_ACKS_IN_TB_PPDU, and ns3::WifiTxTimer::WAIT_NORMAL_ACK_AFTER_DL_MU_PPDU.
Referenced by ProtectionCompleted().
|
protected |
Send a map of PSDUs as a DL MU PPDU.
Note that both psduMap and txParams are moved to m_psduMap and m_txParams, respectively, and hence are left in an undefined state.
psduMap | the map of PSDUs to send |
txParams | the TX parameters to use to transmit the PSDUs |
Definition at line 193 of file he-frame-exchange-manager.cc.
References CalculateAcknowledgmentTime(), ns3::HePhy::ConvertLSigLengthToHeTbPpduDuration(), ns3::WifiPhy::GetPhyBand(), ns3::WifiPhy::GetSifs(), ns3::IsTrigger(), ns3::WifiTxVector::IsUlMu(), ns3::WifiTxParameters::m_acknowledgment, ns3::FrameExchangeManager::m_linkId, m_muScheduler, ns3::FrameExchangeManager::m_phy, m_psduMap, m_txParams, ns3::WifiTxParameters::m_txVector, ns3::WifiAcknowledgment::NONE, NS_ASSERT, NS_ASSERT_MSG, NS_LOG_FUNCTION, ns3::PeekPointer(), ns3::WifiAckManager::SetQosAckPolicy(), StartProtection(), and ns3::WifiAcknowledgment::UL_MU_MULTI_STA_BA.
Referenced by StartFrameExchange().
|
protected |
Send QoS Null frames in response to a Basic or BSRP Trigger Frame.
The number of QoS Null frames that are actually aggregated depends on the available time as indicated by the Trigger Frame and is at most 8 (one QoS Null frame per TID).
trigger | the Basic or BSRP Trigger Frame content |
hdr | the MAC header of the Basic or BSRP Trigger Frame |
Definition at line 1819 of file he-frame-exchange-manager.cc.
References ns3::WifiTxParameters::AddMpdu(), ns3::WifiMacHeader::GetAddr1(), ns3::WifiMacHeader::GetAddr2(), ns3::WifiMacHeader::GetDuration(), ns3::WifiTxParameters::GetSize(), ns3::CtrlTriggerHeader::GetUlLength(), ns3::CtrlTriggerHeader::IsBasic(), ns3::CtrlTriggerHeader::IsBsrp(), ns3::WifiTxParameters::m_acknowledgment, ns3::WifiTxParameters::m_protection, ns3::WifiTxParameters::m_txVector, NS_ASSERT, NS_LOG_DEBUG, NS_LOG_FUNCTION, ns3::WifiMacHeader::SetAddr1(), ns3::WifiMacHeader::SetAddr2(), ns3::WifiMacHeader::SetAddr3(), ns3::WifiMacHeader::SetDsNotFrom(), ns3::WifiMacHeader::SetDsTo(), ns3::WifiMacHeader::SetDuration(), ns3::WifiMacHeader::SetQosEosp(), ns3::WifiMacHeader::SetQosTid(), ns3::WifiMacHeader::SetSequenceNumber(), ns3::WifiTxParameters::UndoAddMpdu(), and ns3::WIFI_MAC_QOSDATA_NULL.
void ns3::HeFrameExchangeManager::SetMultiUserScheduler | ( | const Ptr< MultiUserScheduler > | muScheduler | ) |
Set the Multi-user Scheduler associated with this Frame Exchange Manager.
muScheduler | the Multi-user Scheduler associated with this Frame Exchange Manager |
Definition at line 119 of file he-frame-exchange-manager.cc.
References m_apMac, ns3::FrameExchangeManager::m_mac, m_muScheduler, NS_ABORT_MSG_IF, and NS_ASSERT.
|
virtual |
Set the UL Target RSSI subfield of every User Info fields of the given Trigger Frame to the most recent RSSI observed from the corresponding station.
trigger | the given Trigger Frame |
Definition at line 1530 of file he-frame-exchange-manager.cc.
References NS_ASSERT, NS_LOG_FUNCTION, and ns3::CtrlTriggerHeader::SetApTxPower().
Set the MAC layer to use.
mac | the MAC layer to use |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 89 of file he-frame-exchange-manager.cc.
References ns3::DynamicCast(), m_apMac, m_staMac, and ns3::FrameExchangeManager::SetWifiMac().
|
overridevirtual |
Start a frame exchange (including protection frames and acknowledgment frames as needed) that fits within the given availableTime (if different than Time::Min()).
edca | the EDCAF which has been granted the opportunity to transmit |
availableTime | the amount of time allowed for the frame exchange. Pass Time::Min() in case the TXOP limit is null |
initialFrame | true if the frame being transmitted is the initial frame of the TXOP. This is used to determine whether the TXOP limit can be exceeded |
Reimplemented from ns3::QosFrameExchangeManager.
Definition at line 129 of file he-frame-exchange-manager.cc.
References ns3::Create(), ns3::MultiUserScheduler::DL_MU_TX, ns3::HtFrameExchangeManager::GetBar(), ns3::VhtFrameExchangeManager::GetWifiPsdu(), ns3::FrameExchangeManager::m_allowedWidth, ns3::FrameExchangeManager::m_linkId, ns3::FrameExchangeManager::m_mac, m_muScheduler, NS_LOG_DEBUG, NS_LOG_FUNCTION, SendPsduMapWithProtection(), ns3::HtFrameExchangeManager::StartFrameExchange(), ns3::SU_STA_ID, ns3::MultiUserScheduler::SU_TX, and ns3::MultiUserScheduler::UL_MU_TX.
|
overrideprotectedvirtual |
Start the protection mechanism indicated by the given TX parameters.
txParams | the TX parameters |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 252 of file he-frame-exchange-manager.cc.
References ns3::WifiTxParameters::m_protection, m_psduMap, ns3::WifiProtection::MU_RTS_CTS, NS_ABORT_MSG_IF, NS_LOG_FUNCTION, RecordSentMuRtsTo(), ns3::WifiProtection::RTS_CTS, SendMuRts(), and ns3::FrameExchangeManager::StartProtection().
Referenced by SendPsduMapWithProtection().
|
protectedvirtual |
Take the necessary actions after that some TB PPDUs are missing in response to Trigger Frame.
This method must not be called if all the expected TB PPDUs were received.
psduMap | a pointer to PSDU map transmitted in a DL MU PPDU |
nSolicitedStations | the number of stations solicited to send a TB PPDU |
Definition at line 1258 of file he-frame-exchange-manager.cc.
References ns3::IsTrigger(), NS_ASSERT, and NS_LOG_FUNCTION.
|
overrideprotectedvirtual |
Take necessary actions upon a transmission success.
A non-QoS station transmits the next fragment, if any, or releases the channel, otherwise.
Reimplemented from ns3::FrameExchangeManager.
Definition at line 497 of file he-frame-exchange-manager.cc.
References ns3::WifiTxTimer::GetStasExpectedToRespond(), ns3::FrameExchangeManager::m_protectedStas, ns3::FrameExchangeManager::m_txTimer, NS_LOG_DEBUG, NS_LOG_FUNCTION, and ns3::FrameExchangeManager::TransmissionSucceeded().
Referenced by ns3::EhtFrameExchangeManager::TransmissionSucceeded().
bool ns3::HeFrameExchangeManager::UlMuCsMediumIdle | ( | const CtrlTriggerHeader & | trigger | ) | const |
This method is intended to be called a SIFS after the reception of a Trigger Frame to determine whether the station is allowed to respond.
trigger | the Trigger Frame soliciting a response |
Definition at line 2131 of file he-frame-exchange-manager.cc.
References ns3::CtrlTriggerHeader::end(), ns3::CtrlTriggerHeader::FindUserInfoWithAid(), ns3::CtrlTriggerHeader::GetCsRequired(), ns3::CtrlTriggerHeader::GetUlBandwidth(), ns3::CtrlTriggerHeader::IsMuRts(), NS_ASSERT_MSG, and NS_LOG_DEBUG.
|
overrideprotectedvirtual |
Update the NAV, if needed, based on the Duration/ID of the given psdu.
psdu | the received PSDU |
txVector | TxVector of the received PSDU |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 1996 of file he-frame-exchange-manager.cc.
References ns3::GetCtsSize(), ns3::WifiTxVector::GetMode(), NS_LOG_DEBUG, and NS_LOG_FUNCTION.
|
overridevirtual |
Reimplemented from ns3::FrameExchangeManager.
Definition at line 2122 of file he-frame-exchange-manager.cc.
MAC pointer (null if not an AP)
Definition at line 344 of file he-frame-exchange-manager.h.
Referenced by ns3::EhtFrameExchangeManager::CheckEmlsrClientStartingTxop(), ns3::EhtFrameExchangeManager::CtsAfterMuRtsTimeout(), DoDispose(), ns3::EhtFrameExchangeManager::EmlsrSwitchToListening(), ns3::EhtFrameExchangeManager::ForwardPsduDown(), ns3::EhtFrameExchangeManager::ForwardPsduMapDown(), ns3::EhtFrameExchangeManager::GetEmlsrSwitchToListening(), ns3::EhtFrameExchangeManager::NotifyChannelReleased(), ns3::EhtFrameExchangeManager::PostProcessFrame(), ns3::EhtFrameExchangeManager::PreProcessFrame(), ns3::EhtFrameExchangeManager::PsduRxError(), ns3::EhtFrameExchangeManager::ReceiveMpdu(), RecordSentMuRtsTo(), ns3::EhtFrameExchangeManager::SendCtsAfterRts(), ns3::EhtFrameExchangeManager::SendMuRts(), SendPsduMap(), SetMultiUserScheduler(), SetWifiMac(), ns3::EhtFrameExchangeManager::StartTransmission(), and ns3::EhtFrameExchangeManager::TxopEnd().
|
protected |
intra-BSS NAV expiration time
Definition at line 347 of file he-frame-exchange-manager.h.
Referenced by Reset().
|
protected |
the event to reset the intra-BSS NAV after an RTS
Definition at line 348 of file he-frame-exchange-manager.h.
Referenced by Reset(), and RxStartIndication().
|
private |
Sending a Multi-STA BlockAck event.
Definition at line 381 of file he-frame-exchange-manager.h.
Referenced by DoDispose().
|
private |
Multi-user Scheduler (HE APs only)
Definition at line 379 of file he-frame-exchange-manager.h.
Referenced by DoDispose(), SendPsduMapWithProtection(), SetMultiUserScheduler(), and StartFrameExchange().
|
private |
Tag to attach to Multi-STA BlockAck frames.
Definition at line 382 of file he-frame-exchange-manager.h.
|
private |
the A-MPDU being transmitted
Definition at line 377 of file he-frame-exchange-manager.h.
Referenced by CtsTimeout(), DoCtsAfterMuRtsTimeout(), DoDispose(), ProtectionCompleted(), SendPsduMap(), SendPsduMapWithProtection(), and StartProtection().
|
protected |
MAC pointer (null if not a STA)
Definition at line 345 of file he-frame-exchange-manager.h.
Referenced by DoDispose(), ns3::EhtFrameExchangeManager::DropReceivedIcf(), ns3::EhtFrameExchangeManager::ForwardPsduDown(), ns3::EhtFrameExchangeManager::ForwardPsduMapDown(), ns3::EhtFrameExchangeManager::GetEmlsrSwitchToListening(), ns3::EhtFrameExchangeManager::NotifyChannelReleased(), ns3::EhtFrameExchangeManager::NotifySwitchingEmlsrLink(), ns3::EhtFrameExchangeManager::PostProcessFrame(), ns3::EhtFrameExchangeManager::PreProcessFrame(), ns3::EhtFrameExchangeManager::ReceiveMpdu(), ns3::EhtFrameExchangeManager::SendCtsAfterMuRts(), SetWifiMac(), ns3::EhtFrameExchangeManager::StartTransmission(), ns3::EhtFrameExchangeManager::TransmissionFailed(), ns3::EhtFrameExchangeManager::TransmissionSucceeded(), ns3::EhtFrameExchangeManager::TxopEnd(), and ns3::EhtFrameExchangeManager::UsingOtherEmlsrLink().
Trigger Frame being sent.
Definition at line 380 of file he-frame-exchange-manager.h.
Referenced by SendPsduMap().
|
private |
True if the received A-MPDU contains an MU-BAR.
Definition at line 383 of file he-frame-exchange-manager.h.
|
protected |
the TRIGVECTOR
Definition at line 346 of file he-frame-exchange-manager.h.
Referenced by SendPsduMap().
|
private |
the TX parameters for the current PPDU
Definition at line 378 of file he-frame-exchange-manager.h.
Referenced by DoDispose(), SendPsduMap(), and SendPsduMapWithProtection().