A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
ns3::DsssPpdu::DsssSigHeader Class Reference

DSSS SIG PHY header. More...

#include "dsss-ppdu.h"

+ Collaboration diagram for ns3::DsssPpdu::DsssSigHeader:

Public Member Functions

 DsssSigHeader ()
 
uint16_t GetLength () const
 Return the LENGTH field of L-SIG (in bytes).
 
uint64_t GetRate () const
 Return the RATE field of L-SIG (in bit/s).
 
void SetLength (uint16_t length)
 Fill the LENGTH field of L-SIG (in bytes).
 
void SetRate (uint64_t rate)
 Fill the RATE field of L-SIG (in bit/s).
 

Private Attributes

uint16_t m_length
 LENGTH field.
 
uint8_t m_rate
 RATE field.
 

Detailed Description

DSSS SIG PHY header.

See section 16.2.2 in IEEE 802.11-2016.

Definition at line 51 of file dsss-ppdu.h.

Constructor & Destructor Documentation

◆ DsssSigHeader()

ns3::DsssPpdu::DsssSigHeader::DsssSigHeader ( )

Definition at line 94 of file dsss-ppdu.cc.

Member Function Documentation

◆ GetLength()

uint16_t ns3::DsssPpdu::DsssSigHeader::GetLength ( ) const

Return the LENGTH field of L-SIG (in bytes).

Returns
the LENGTH field of L-SIG expressed in bytes

Definition at line 161 of file dsss-ppdu.cc.

Referenced by ns3::DsssPpdu::GetTxDuration().

+ Here is the caller graph for this function:

◆ GetRate()

uint64_t ns3::DsssPpdu::DsssSigHeader::GetRate ( ) const

Return the RATE field of L-SIG (in bit/s).

Returns
the RATE field of L-SIG expressed in bit/s

Definition at line 130 of file dsss-ppdu.cc.

References NS_ASSERT_MSG.

Referenced by ns3::DsssPpdu::SetTxVectorFromDsssHeader().

+ Here is the caller graph for this function:

◆ SetLength()

void ns3::DsssPpdu::DsssSigHeader::SetLength ( uint16_t  length)

Fill the LENGTH field of L-SIG (in bytes).

Parameters
lengththe LENGTH field of L-SIG expressed in bytes

Definition at line 155 of file dsss-ppdu.cc.

Referenced by ns3::DsssPpdu::SetDsssHeader().

+ Here is the caller graph for this function:

◆ SetRate()

void ns3::DsssPpdu::DsssSigHeader::SetRate ( uint64_t  rate)

Fill the RATE field of L-SIG (in bit/s).

Parameters
ratethe RATE field of L-SIG expressed in bit/s

Definition at line 101 of file dsss-ppdu.cc.

References NS_ASSERT_MSG.

Referenced by ns3::DsssPpdu::SetDsssHeader().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_length

uint16_t ns3::DsssPpdu::DsssSigHeader::m_length
private

LENGTH field.

Definition at line 83 of file dsss-ppdu.h.

◆ m_rate

uint8_t ns3::DsssPpdu::DsssSigHeader::m_rate
private

RATE field.

Definition at line 82 of file dsss-ppdu.h.


The documentation for this class was generated from the following files: