21 #ifndef OCB_WIFI_MAC_H
22 #define OCB_WIFI_MAC_H
27 #include "ns3/object-factory.h"
28 #include "ns3/wifi-mac-queue.h"
29 #include "ns3/wifi-mac.h"
34 class OrganizationIdentifier;
STAs communicate with each directly outside the context of a BSS.
std::optional< uint8_t > GetLinkIdByAddress(const Mac48Address &address) const override
Get the ID of the link having the given MAC address, if any.
virtual Ssid GetSsid() const
virtual void SetBssid(Mac48Address bssid)
void ConfigureStandard(WifiStandard standard) override
void SetWifiPhy(Ptr< WifiPhy > phy)
Set the PHY.
VendorSpecificContentManager m_vscManager
VSC manager.
void SetLinkUpCallback(Callback< void > linkUp) override
SetLinkUpCallback and SetLinkDownCallback will be overloaded In OCB mode, stations can send packets d...
void Suspend()
To support MAC extension for multiple channel operation, Suspend the activity in current MAC entity.
void AddReceiveVscCallback(OrganizationIdentifier oi, VscCallback cb)
virtual Mac48Address GetBssid(uint8_t) const
This method shall not be used in WAVE environment and here it will overloaded to log warn message.
virtual void SetSsid(Ssid ssid)
void EnableForWave(Ptr< WaveNetDevice > device)
void SendVsc(Ptr< Packet > vsc, Mac48Address peer, OrganizationIdentifier oi)
void ConfigureEdca(uint32_t cwmin, uint32_t cwmax, uint32_t aifsn, AcIndex ac)
void Enqueue(Ptr< Packet > packet, Mac48Address to) override
virtual void SetLinkDownCallback(Callback< void > linkDown)
void Receive(Ptr< const WifiMpdu > mpdu, uint8_t linkId) override
This method acts as the MacRxMiddle receive callback and is invoked to notify us that a frame has bee...
void DoDispose() override
Destructor implementation.
void Resume()
To support MAC extension for multiple channel operation, Resume the activity of suspended MAC entity.
void MakeVirtualBusy(Time duration)
void RemoveReceiveVscCallback(OrganizationIdentifier oi)
static TypeId GetTypeId()
Get the type ID.
void CancleTx(AcIndex ac)
bool CanForwardPacketsTo(Mac48Address to) const override
Return true if packets can be forwarded to the given destination, false otherwise.
void Reset()
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.