24 #include "ns3/net-device.h" 33 class HtConfiguration;
34 class VhtConfiguration;
35 class HeConfiguration;
Ptr< HeConfiguration > GetHeConfiguration(void) const
virtual void SetLinkUpCallback(Callback< void > linkUp)=0
Smart pointer class similar to boost::intrusive_ptr.
virtual Mac48Address GetBssid(void) const =0
Forward calls to a chain of Callback.
virtual void SetWifiPhy(Ptr< WifiPhy > phy)=0
TracedCallback< Ptr< const Packet > > m_macRxDropTrace
The trace source fired when packets coming into the "top" of the device are dropped at the MAC layer ...
virtual void SetLinkDownCallback(Callback< void > linkDown)=0
virtual void SetPromisc(void)=0
Sets the interface in promiscuous mode.
TracedCallback< Ptr< const Packet > > m_macTxDropTrace
The trace source fired when packets coming into the "top" of the device are dropped at the MAC layer ...
void NotifyRxDrop(Ptr< const Packet > packet)
TracedCallback< Ptr< const Packet > > m_macPromiscRxTrace
The trace source fired for packets successfully received by the device immediately before being forwa...
virtual void ConfigureStandard(WifiStandard standard)=0
virtual void SetWifiRemoteStationManager(Ptr< WifiRemoteStationManager > stationManager)=0
virtual void Enqueue(Ptr< Packet > packet, Mac48Address to, Mac48Address from)=0
void ConfigureDcf(Ptr< Txop > dcf, uint32_t cwmin, uint32_t cwmax, bool isDsss, AcIndex ac)
virtual void SetSsid(Ssid ssid)=0
Ptr< NetDevice > GetDevice(void) const
Return the device this PHY is associated with.
virtual Ssid GetSsid(void) const =0
Ptr< HtConfiguration > GetHtConfiguration(void) const
void SetDevice(const Ptr< NetDevice > device)
Sets the device this PHY is associated with.
TracedCallback< Ptr< const Packet > > m_macTxTrace
The trace source fired when packets come into the "top" of the device at the L3/L2 transition...
base class for all MAC-level wifi objects.
void NotifyTxDrop(Ptr< const Packet > packet)
virtual Ptr< WifiRemoteStationManager > GetWifiRemoteStationManager(void) const =0
void NotifyPromiscRx(Ptr< const Packet > packet)
virtual void DoDispose()
Destructor implementation.
virtual void SetAddress(Mac48Address address)=0
void NotifyTx(Ptr< const Packet > packet)
virtual void ResetWifiPhy(void)=0
Remove currently attached WifiPhy device from this MAC.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
WifiStandard
Identifies the allowed configurations that a Wifi device is configured to use.
The IEEE 802.11 SSID Information Element.
void NotifyRx(Ptr< const Packet > packet)
TracedCallback< Ptr< const Packet > > m_macRxTrace
The trace source fired for packets successfully received by the device immediately before being forwa...
Ptr< VhtConfiguration > GetVhtConfiguration(void) const
virtual bool GetShortSlotTimeSupported(void) const =0
virtual bool SupportsSendFrom(void) const =0
virtual Ptr< WifiPhy > GetWifiPhy(void) const =0
Ptr< NetDevice > m_device
Pointer to the device.
virtual void SetForwardUpCallback(Callback< void, Ptr< const Packet >, Mac48Address, Mac48Address > upCallback)=0
A base class which provides memory management and object aggregation.
virtual Mac48Address GetAddress(void) const =0
virtual void SetShortSlotTimeSupported(bool enable)=0
Enable or disable short slot time feature.
a unique identifier for an interface.
static TypeId GetTypeId(void)
Get the type ID.
AcIndex
This enumeration defines the Access Categories as an enumeration with values corresponding to the AC ...