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;
virtual Ssid GetSsid(void) const
Simulation virtual time values and global simulation resolution.
void ConfigureEdca(uint32_t cwmin, uint32_t cwmax, uint32_t aifsn, enum AcIndex ac)
virtual void FinishConfigureStandard(enum WifiPhyStandard standard)
virtual ~OcbWifiMac(void)
void CancleTx(enum AcIndex ac)
void SendVsc(Ptr< Packet > vsc, Mac48Address peer, OrganizationIdentifier oi)
virtual Mac48Address GetBssid(void) const
This method shall not be used in WAVE environment and here it will overloaded to log warn message...
VendorSpecificContentManager m_vscManager
VSC manager.
virtual void Receive(Ptr< Packet > packet, const WifiMacHeader *hdr)
This method acts as the MacRxMiddle receive callback and is invoked to notify us that a frame has bee...
void EnableForWave(Ptr< WaveNetDevice > device)
VendorSpecificContentManager class.
virtual void SetLinkUpCallback(Callback< void > linkUp)
SetLinkUpCallback and SetLinkDownCallback will be overloaded In OCB mode, stations can send packets d...
WifiPhyStandard
Identifies the PHY specification that a Wifi device is configured to use.
base class for all MAC-level wifi objects.
static TypeId GetTypeId(void)
Get the type ID.
the organization identifier is a public organizationally unique identifier assigned by the IEEE...
void Suspend(void)
To support MAC extension for multiple channel operation, Suspend the activity in current MAC entity...
void MakeVirtualBusy(Time duration)
void RemoveReceiveVscCallback(OrganizationIdentifier oi)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual void SetLinkDownCallback(Callback< void > linkDown)
The IEEE 802.11 SSID Information Element.
virtual void SetSsid(Ssid ssid)
virtual void SetBssid(Mac48Address bssid)
virtual void Enqueue(Ptr< const Packet > packet, Mac48Address to)
void Reset(void)
To support MAC extension for multiple channel operation, Reset current MAC entity and flush its inter...
a unique identifier for an interface.
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 ...
void AddReceiveVscCallback(OrganizationIdentifier oi, VscCallback cb)
STAs communicate with each directly outside the context of a BSSIn OCB mac mode,synchronization, association, dis-association and authentication of normal wifi are not used for wireless access in vehicular environments.