fun_ofdm  1.0
802.11a Physical Layer for USRP
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Pages
rates.h File Reference

Header file for the PHY Rates parameters and the RateParams struct. More...

#include <assert.h>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  fun::RateParams
 The RateParams struct. More...
 

Namespaces

 fun
 

Constant Groups

 fun
 

Enumerations

enum  fun::Rate : int {
  fun::RATE_1_2_BPSK = 0, fun::RATE_2_3_BPSK = 1, fun::RATE_3_4_BPSK = 2, fun::RATE_1_2_QPSK = 3,
  fun::RATE_2_3_QPSK = 4, fun::RATE_3_4_QPSK = 5, fun::RATE_1_2_QAM16 = 6, fun::RATE_2_3_QAM16 = 7,
  fun::RATE_3_4_QAM16 = 8, fun::RATE_2_3_QAM64 = 9, fun::RATE_3_4_QAM64 = 10
}
 An enum for referencing the different PHY data rates by name. More...
 

Variables

static std::vector< unsigned char > fun::VALID_RATES = {0xD, 0xE, 0xF, 0x5, 0x6, 0x7, 0x9, 0xA, 0xB, 0x1, 0x3}
 Valid rate field values. More...
 

Detailed Description

Header file for the PHY Rates parameters and the RateParams struct.

The PHY rate parameters are used by the PPDU class to correctly encode and decode PHY frames. The RateParams struct holds all the necessary parameters for each PPDU and contains constructors for getting the necessary parameters either from the desired transmit rate or from the rate field in the received PHY frame.

Definition in file rates.h.