37 m_flags (FRAME_FLAG_NONE),
40 m_channelFlags (CHANNEL_FLAG_NONE),
44 m_ampduStatusFlags (0),
61 .SetGroupName (
"Network")
252 for (uint8_t i = 0; i < 4; i++)
267 uint8_t tmp = start.
ReadU8 ();
268 NS_ASSERT_MSG (tmp == 0x00,
"RadiotapHeader::Deserialize(): Unexpected major version");
274 uint32_t bytesRead = 8;
460 m_vhtPad = ((2 - bytesRead % 2) % 2);
465 for (uint8_t i = 0; i < 4; i++)
475 NS_ASSERT_MSG (
m_length == bytesRead,
"RadiotapHeader::Deserialize(): expected and actual lengths inconsistent");
484 <<
" flags=" << std::hex <<
m_flags << std::dec
485 <<
" rate=" << (uint16_t)
m_rate
487 <<
" chflags=" << std::hex << (uint32_t)
m_channelFlags << std::dec
617 else if (signal < -128)
650 else if (noise < -128.0)
738 RadiotapHeader::SetVhtFields (uint16_t known, uint8_t flags, uint8_t bandwidth, uint8_t mcs_nss[4], uint8_t coding, uint8_t group_id, uint16_t partial_aid)
740 NS_LOG_FUNCTION (
this << known << flags << mcs_nss[0] << mcs_nss[1] << mcs_nss[2] << mcs_nss[3] << coding << group_id << partial_aid);
744 for (uint8_t i = 0; i < 4; i++)
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
iterator in a Buffer instance
NS_ASSERT_MSG(false,"Ipv4AddressGenerator::MaskToIndex(): Impossible")
void WriteU16(uint16_t data)
void Next(void)
go forward by one byte
void WriteU64(uint64_t data)
Every class exported by the ns3 library is enclosed in the ns3 namespace.
NS_LOG_LOGIC("Net device "<< nd<< " is not bridged")
void WriteU8(uint8_t data)
void WriteU32(uint32_t data)
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.