25 #include "ns3/callback.h"
26 #include "ns3/packet.h"
27 #include "ns3/nstime.h"
28 #include "ns3/object.h"
29 #include "ns3/wifi-mac-header.h"
30 #include "ns3/wifi-mode.h"
31 #include "ns3/wifi-remote-station-manager.h"
40 class WifiMacParameters;
94 virtual void SetMinCw (uint32_t minCw);
95 virtual void SetMaxCw (uint32_t maxCw);
96 virtual void SetAifsn (uint32_t aifsn);
97 virtual uint32_t
GetMinCw (
void)
const;
98 virtual uint32_t
GetMaxCw (
void)
const;
99 virtual uint32_t
GetAifsn (
void)
const;
void NotifyInternalCollision(void)
DcaTxop & operator=(const DcaTxop &)
virtual uint32_t GetMaxCw(void) const
Callback< void, const WifiMacHeader & > TxFailed
smart pointer class similar to boost::intrusive_ptr
uint32_t GetFragmentOffset(void)
void SetTxFailedCallback(TxFailed callback)
virtual void SetMaxCw(uint32_t maxCw)
virtual uint32_t GetAifsn(void) const
int64_t AssignStreams(int64_t stream)
represent a single transmission modeA WifiMode is implemented by a single integer which is used to lo...
static TypeId GetTypeId(void)
void SetTxOkCallback(TxOk callback)
Ptr< Packet > GetFragmentPacket(WifiMacHeader *hdr)
void Queue(Ptr< const Packet > packet, const WifiMacHeader &hdr)
void SetLow(Ptr< MacLow > low)
bool NeedFragmentation(void)
Ptr< WifiMacQueue > m_queue
void GotCts(double snr, WifiMode txMode)
void NotifyChannelSwitching(void)
Manage a set of ns3::DcfStateHandle a set of independent ns3::DcfState, each of which represents a si...
bool IsLastFragment(void)
Ptr< WifiRemoteStationManager > m_stationManager
bool NeedRts(Ptr< const Packet > packet, const WifiMacHeader *header)
virtual void SetAifsn(uint32_t aifsn)
void SetWifiRemoteStationManager(Ptr< WifiRemoteStationManager > remoteManager)
Callback< void, const WifiMacHeader & > TxOk
bool NeedsAccess(void) const
WifiMacHeader m_currentHdr
Ptr< WifiMacQueue > GetQueue() const
bool NeedRtsRetransmission(void)
Ptr< const Packet > m_currentPacket
virtual void SetMinCw(uint32_t minCw)
void GotAck(double snr, WifiMode txMode)
void SetManager(DcfManager *manager)
uint32_t GetNextFragmentSize(void)
virtual void DoDispose(void)
void NotifyCollision(void)
void StartAccessIfNeeded(void)
TransmissionListener * m_transmissionListener
void RestartAccessIfNeeded(void)
handle packet fragmentation and retransmissions.This class implements the packet fragmentation and re...
bool NeedDataRetransmission(void)
virtual uint32_t GetMinCw(void) const
uint32_t GetFragmentSize(void)
a unique identifier for an interface.
void NotifyAccessGranted(void)
TxFailed m_txFailedCallback