A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
radiotap-header.cc File Reference
#include "radiotap-header.h"
#include "ns3/log.h"
#include <algorithm>
#include <bitset>
#include <cmath>
#include <iomanip>
Include dependency graph for radiotap-header.cc:

Go to the source code of this file.

Namespaces

namespace  ns3
 Every class exported by the ns3 library is enclosed in the ns3 namespace.
namespace  ns3::anonymous_namespace{radiotap-header.cc}

Functions

uint8_t ns3::anonymous_namespace{radiotap-header.cc}::GetPadding (uint32_t offset, uint32_t alignment)
 Calculate the padding needed to align a field.
bool ns3::anonymous_namespace{radiotap-header.cc}::IsPresent (const std::vector< std::bitset< RADIOTAP_BITS_PER_PRESENT_FIELD > > &presentBits, uint32_t field)
 Check if a specific field is present in the radiotap header.

Variables

constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_AMPDU_STATUS_ALIGNMENT_B = 4
 Alignment in bytes of the A-MPDU status field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_AMPDU_STATUS_SIZE_B = 8
 Size in bytes of the A-MPDU status field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_ANTENNA_NOISE_SIZE_B = 1
 Size in bytes of the Antenna Noise field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_ANTENNA_SIGNAL_SIZE_B = 1
 Size in bytes of the Antenna Signal field in the radiotap header.
constexpr std::size_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_BITS_PER_PRESENT_FIELD {32}
 Number of bits per "present" field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_CHANNEL_ALIGNMENT_B = 2
 Alignment in bytes of the Channel field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_CHANNEL_SIZE_B = 4
 Size in bytes of the Channel field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_EHT_ALIGNMENT_B = 4
 Alignment in bytes of the EHT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_EHT_DATA_SIZE_B = 4
 Size in bytes of a data subfield of the EHT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_EHT_KNOWN_SIZE_B = 4
 Size in bytes of the known subfield of the EHT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_EHT_USER_INFO_SIZE_B = 4
 Size in bytes of a user info subfield of the EHT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_FLAGS_SIZE_B = 1
 Size in bytes of the Flags field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_ALIGNMENT_B = 2
 Alignment in bytes of the HE field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_MU_ALIGNMENT_B = 2
 Alignment in bytes of the HE MU field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_MU_OTHER_USER_ALIGNMENT_B = 2
 Alignment in bytes of the HE MU Other User field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_MU_OTHER_USER_SIZE_B = 6
 Size in bytes of the HE MU Other User field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_MU_SIZE_B = 12
 Size in bytes of the HE MU field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_HE_SIZE_B = 12
 Size in bytes of the HE field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_MCS_ALIGNMENT_B = 1
 Alignment in bytes of the MCS field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_MCS_SIZE_B = 3
 Size in bytes of the MCS field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_RATE_SIZE_B = 1
 Size in bytes of the Rate field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_TLV_ALIGNMENT_B = 4
 Alignment in bytes of the TLV fields in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_TLV_HEADER_SIZE_B = 4
 Size in bytes of the TLV fields (without data) in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_TSFT_ALIGNMENT_B = 8
 Alignment in bytes of the TSFT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_TSFT_SIZE_B = 8
 Size in bytes of the TSFT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_USIG_ALIGNMENT_B = 4
 Alignment in bytes of the U-SIG field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_USIG_SIZE_B = 12
 Size in bytes of the U-SIG field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_VHT_ALIGNMENT_B = 2
 Alignment in bytes of the VHT field in the radiotap header.
constexpr uint16_t ns3::anonymous_namespace{radiotap-header.cc}::RADIOTAP_VHT_SIZE_B = 12
 Size in bytes of the VHT field in the radiotap header.