base class for all MAC-level wifi objects.This class encapsulates all the low-level MAC functionality DCA, EDCA, etc) and all the high-level MAC functionality (association/disassociation state machines).
More...
|
void | ConfigureStandard (enum WifiPhyStandard standard) |
|
virtual void | Enqueue (Ptr< const Packet > packet, Mac48Address to, Mac48Address from)=0 |
|
virtual void | Enqueue (Ptr< const Packet > packet, Mac48Address to)=0 |
|
virtual Time | GetAckTimeout (void) const =0 |
|
virtual Mac48Address | GetAddress (void) const =0 |
|
virtual Time | GetBasicBlockAckTimeout (void) const |
|
virtual Mac48Address | GetBssid (void) const =0 |
|
virtual Time | GetCompressedBlockAckTimeout (void) const |
|
virtual Time | GetCtsTimeout (void) const =0 |
|
virtual Time | GetEifsNoDifs (void) const =0 |
|
Time | GetMaxPropagationDelay (void) const |
|
Time | GetMsduLifetime (void) const |
|
virtual Time | GetPifs (void) const =0 |
|
virtual Time | GetSifs (void) const =0 |
|
virtual Time | GetSlot (void) const =0 |
|
virtual Ssid | GetSsid (void) const =0 |
|
virtual bool | IsRxRadio (void)=0 |
|
virtual bool | IsTxRadio (void)=0 |
|
void | NotifyPromiscRx (Ptr< const Packet > packet) |
|
void | NotifyRx (Ptr< const Packet > packet) |
|
void | NotifyRxDrop (Ptr< const Packet > packet) |
|
void | NotifyTx (Ptr< const Packet > packet) |
|
void | NotifyTxDrop (Ptr< const Packet > packet) |
|
virtual void | SetAckTimeout (Time ackTimeout)=0 |
|
virtual void | SetAddress (Mac48Address address)=0 |
|
virtual void | SetBasicBlockAckTimeout (Time blockAckTimeout) |
|
virtual void | SetCompressedBlockAckTimeout (Time blockAckTimeout) |
|
virtual void | SetCtsTimeout (Time ctsTimeout)=0 |
|
virtual void | SetEifsNoDifs (Time eifsNoDifs)=0 |
|
virtual void | SetForwardUpCallback (Callback< void, Ptr< Packet >, Mac48Address, Mac48Address > upCallback)=0 |
|
virtual void | SetLinkDownCallback (Callback< void > linkDown)=0 |
|
virtual void | SetLinkUpCallback (Callback< void > linkUp)=0 |
|
void | SetMaxPropagationDelay (Time delay) |
|
virtual void | SetPifs (Time pifs)=0 |
|
virtual void | SetPromisc (void)=0 |
| Sets the interface in promiscuous mode. More...
|
|
virtual void | SetRxRadio (bool isRx, Ptr< Node > node, Ptr< Repository > repo, Ptr< PUModel > puModel, Ptr< WifiPhy > phy)=0 |
|
virtual void | SetSifs (Time sifs)=0 |
|
virtual void | SetSlot (Time slotTime)=0 |
|
virtual void | SetSsid (Ssid ssid)=0 |
|
virtual void | SetTxRadio (bool isTx)=0 |
|
virtual void | SetWifiPhy (Ptr< WifiPhy > phy)=0 |
|
virtual void | SetWifiRemoteStationManager (Ptr< WifiRemoteStationManager > stationManager)=0 |
|
virtual bool | SupportsSendFrom (void) const =0 |
|
void | AggregateObject (Ptr< Object > other) |
|
void | Dispose (void) |
|
AggregateIterator | GetAggregateIterator (void) const |
|
virtual TypeId | GetInstanceTypeId (void) const |
|
template<typename T > |
Ptr< T > | GetObject (void) const |
|
template<typename T > |
Ptr< T > | GetObject (TypeId tid) const |
|
void | Initialize (void) |
|
| SimpleRefCount (const SimpleRefCount &o) |
|
uint32_t | GetReferenceCount (void) const |
|
SimpleRefCount & | operator= (const SimpleRefCount &o) |
|
void | Ref (void) const |
|
void | Unref (void) const |
|
void | GetAttribute (std::string name, AttributeValue &value) const |
|
bool | GetAttributeFailSafe (std::string name, AttributeValue &attribute) const |
|
void | SetAttribute (std::string name, const AttributeValue &value) |
|
bool | SetAttributeFailSafe (std::string name, const AttributeValue &value) |
|
bool | TraceConnect (std::string name, std::string context, const CallbackBase &cb) |
|
bool | TraceConnectWithoutContext (std::string name, const CallbackBase &cb) |
|
bool | TraceDisconnect (std::string name, std::string context, const CallbackBase &cb) |
|
bool | TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb) |
|
base class for all MAC-level wifi objects.
This class encapsulates all the low-level MAC functionality DCA, EDCA, etc) and all the high-level MAC functionality (association/disassociation state machines).
ns3::WifiMac is accessible through the following paths with Config::Set and Config::Connect:
-
/NodeList/[i]/DeviceList/[i]/$ns3::WifiNetDevice/Mac
Attributes
-
CtsTimeout: When this timeout expires, the RTS/CTS handshake has failed.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +75000.0ns
-
Flags: construct write read
-
AckTimeout: When this timeout expires, the DATA/ACK handshake has failed.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +75000.0ns
-
Flags: construct write read
-
BasicBlockAckTimeout: When this timeout expires, the BASIC_BLOCK_ACK_REQ/BASIC_BLOCK_ACK handshake has failed.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +281000.0ns
-
Flags: construct write read
-
CompressedBlockAckTimeout: When this timeout expires, the COMPRESSED_BLOCK_ACK_REQ/COMPRESSED_BLOCK_ACK handshake has failed.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +99000.0ns
-
Flags: construct write read
-
Sifs: The value of the SIFS constant.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +16000.0ns
-
Flags: construct write read
-
EifsNoDifs: The value of EIFS-DIFS
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +60000.0ns
-
Flags: construct write read
-
Slot: The duration of a Slot.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +9000.0ns
-
Flags: construct write read
-
Pifs: The value of the PIFS constant.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +25000.0ns
-
Flags: construct write read
-
MaxPropagationDelay: The maximum propagation delay. Unused for now.
-
Set with class: TimeValue
-
Underlying type: Time
-
Initial value: +3333.0ns
-
Flags: construct write read
-
Ssid: The ssid we want to belong to.
-
Set with class: SsidValue
-
Underlying type: Ssid
-
Initial value: default
-
Flags: construct write read
TraceSources
-
MacTx: A packet has been received from higher layers and is being processed in preparation for queueing for transmission.
-
MacTxDrop: A packet has been dropped in the MAC layer before being queued for transmission.
-
MacPromiscRx: A packet has been received by this device, has been passed up from the physical layer and is being forwarded up the local protocol stack. This is a promiscuous trace,
-
MacRx: A packet has been received by this device, has been passed up from the physical layer and is being forwarded up the local protocol stack. This is a non-promiscuous trace,
-
MacRxDrop: A packet has been dropped in the MAC layer after it has been passed up from the physical layer.
Definition at line 47 of file wifi-mac.h.