40 double DbmToW (
double dbm);
91 uint32_t
GetMuBarSize (std::list<BlockAckReqType> types);
112 bool IsInWindow (uint16_t seq, uint16_t winstart, uint16_t winsize);
128 uint32_t
GetSize (Ptr<const Packet> packet,
const WifiMacHeader *hdr,
bool isAmpdu);
Every class exported by the ns3 library is enclosed in the ns3 namespace.
double RatioToDb(double ratio)
Convert from ratio to dB.
double WToDbm(double w)
Convert from Watts to dBm.
double DbmToW(double dBm)
Convert from dBm to Watts.
uint32_t GetAckSize(void)
Return the total Ack size (including FCS trailer).
uint32_t GetRtsSize(void)
Return the total RTS size (including FCS trailer).
uint32_t GetBlockAckRequestSize(BlockAckReqType type)
Return the total BlockAckRequest size (including FCS trailer).
uint32_t GetMuBarSize(std::list< BlockAckReqType > types)
Return the total MU-BAR size (including FCS trailer).
uint32_t GetCtsSize(void)
Return the total CTS size (including FCS trailer).
uint32_t GetBlockAckSize(BlockAckType type)
Return the total BlockAck size (including FCS trailer).
void AddWifiMacTrailer(Ptr< Packet > packet)
Add FCS trailer to a packet.
const uint16_t SEQNO_SPACE_SIZE
Size of the space of sequence numbers.
uint32_t GetSize(Ptr< const Packet > packet, const WifiMacHeader *hdr, bool isAmpdu)
Return the total size of the packet after WifiMacHeader and FCS trailer have been added.
const uint16_t SEQNO_SPACE_HALF_SIZE
Size of the half the space of sequence numbers (used to determine old packets)
double DbToRatio(double dB)
Convert from dB to ratio.
bool IsInWindow(uint16_t seq, uint16_t winstart, uint16_t winsize)