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