CodeRate

Namespace: simu5g

enum CodeRate

This enumeration defines the various convolutional coding rates used for the OFDM transmission modes in the IEEE 802.11 standard. DSSS (for example) rates which do not have an explicit coding stage in their generation should have this parameter set to WIFI_CODE_RATE_UNDEFINED.

Usage diagram

Source code

//
// This enumeration defines the various convolutional coding rates
// used for the OFDM transmission modes in the IEEE 802.11
// standard. DSSS (for example) rates which do not have an explicit
// coding stage in their generation should have this parameter set to
// WIFI_CODE_RATE_UNDEFINED.
//
enum CodeRate {
    // No explicit coding (e.g., DSSS rates)
    CODE_RATE_UNDEFINED = 0;
    // Rate 3/4
    CODE_RATE_3_4 = 1;
    // Rate 2/3
    CODE_RATE_2_3 = 2;
    // Rate 1/2
    CODE_RATE_1_2 = 3;
    // Rate 5/6
    CODE_RATE_5_6 = 4;
};

File: src/simu5g/stack/phy/packet/ModulationType.msg