37 m_flags (FRAME_FLAG_NONE),
40 m_channelFlags (CHANNEL_FLAG_NONE),
44 m_ampduStatusFlags (0),
66 .SetGroupName (
"Network")
257 for (uint8_t i = 0; i < 4; i++)
286 uint8_t tmp =
start.ReadU8 ();
287 NS_ASSERT_MSG (tmp == 0x00,
"RadiotapHeader::Deserialize(): Unexpected major version");
293 uint32_t bytesRead = 8;
479 m_vhtPad = ((2 - bytesRead % 2) % 2);
484 for (uint8_t i = 0; i < 4; i++)
499 m_hePad = ((2 - bytesRead % 2) % 2);
510 NS_ASSERT_MSG (
m_length == bytesRead,
"RadiotapHeader::Deserialize(): expected and actual lengths inconsistent");
519 <<
" flags=" << std::hex <<
m_flags << std::dec
621 else if (signal < -128)
647 else if (noise < -128.0)
693 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)
695 NS_LOG_FUNCTION (
this << known << flags << +mcs_nss[0] << +mcs_nss[1] << +mcs_nss[2] << +mcs_nss[3] << +coding << +group_id << +partial_aid);
699 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.
NS_ASSERT_MSG(false, "Ipv4AddressGenerator::MaskToIndex(): Impossible")
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
iterator in a Buffer instance
Every class exported by the ns3 library is enclosed in the ns3 namespace.
NS_LOG_LOGIC("Net device "<< nd<< " is not bridged")
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.