|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
22 #ifndef OCB_WIFI_MAC_H
23 #define OCB_WIFI_MAC_H
25 #include "ns3/object-factory.h"
26 #include "ns3/regular-wifi-mac.h"
27 #include "ns3/wifi-mac-queue.h"
33 class OrganizationIdentifier;
a unique identifier for an interface.
VendorSpecificContentManager class.
virtual void Receive(Ptr< WifiMacQueueItem > mpdu)
This method acts as the MacRxMiddle receive callback and is invoked to notify us that a frame has bee...
void Suspend(void)
To support MAC extension for multiple channel operation, Suspend the activity in current MAC entity.
void AddReceiveVscCallback(OrganizationIdentifier oi, VscCallback cb)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void DoDispose(void)
Destructor implementation.
virtual void SetSsid(Ssid ssid)
void CancleTx(enum AcIndex ac)
base class for all MAC-level wifi objects.
The IEEE 802.11 SSID Information Element.
STAs communicate with each directly outside the context of a BSS.
virtual void Enqueue(Ptr< Packet > packet, Mac48Address to)
virtual Ssid GetSsid(void) const
virtual void SetBssid(Mac48Address bssid)
void Reset(void)
To support MAC extension for multiple channel operation, Reset current MAC entity and flush its inter...
virtual Mac48Address GetBssid(void) const
This method shall not be used in WAVE environment and here it will overloaded to log warn message.
Simulation virtual time values and global simulation resolution.
virtual ~OcbWifiMac(void)
void EnableForWave(Ptr< WaveNetDevice > device)
void MakeVirtualBusy(Time duration)
static TypeId GetTypeId(void)
Get the type ID.
void RemoveReceiveVscCallback(OrganizationIdentifier oi)
void SendVsc(Ptr< Packet > vsc, Mac48Address peer, OrganizationIdentifier oi)
void Resume(void)
To support MAC extension for multiple channel operation, Resume the activity of suspended MAC entity.
AcIndex
This enumeration defines the Access Categories as an enumeration with values corresponding to the AC ...
virtual void ConfigureStandard(enum WifiStandard standard)
virtual void SetLinkDownCallback(Callback< void > linkDown)
virtual void SetLinkUpCallback(Callback< void > linkUp)
SetLinkUpCallback and SetLinkDownCallback will be overloaded In OCB mode, stations can send packets d...
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
void ConfigureEdca(uint32_t cwmin, uint32_t cwmax, uint32_t aifsn, enum AcIndex ac)
VendorSpecificContentManager m_vscManager
VSC manager.
the organization identifier is a public organizationally unique identifier assigned by the IEEE.