A Discrete-Event Network Simulator
API
ns3::LteFfConverter Class Reference

LteFfConverter class. More...

#include "lte-common.h"

Static Public Member Functions

static uint16_t double2fpS11dot3 (double val)
 Convert from double to fixed point S11.3 notation. More...
 
static double fpS11dot3toDouble (uint16_t val)
 Convert from fixed point S11.3 notation to double. More...
 
static double getMinFpS11dot3Value ()
 Get minimum fixed point S11.3 value. More...
 

Detailed Description

LteFfConverter class.

Definition at line 125 of file lte-common.h.

Member Function Documentation

◆ double2fpS11dot3()

uint16_t ns3::LteFfConverter::double2fpS11dot3 ( double  val)
static

Convert from double to fixed point S11.3 notation.

Parameters
valdouble value
Returns
fixed point S11.3 value

Definition at line 134 of file lte-common.cc.

Referenced by ns3::LteEnbPhy::CreatePuschCqiReport(), and ns3::LteEnbPhy::CreateSrsCqiReport().

+ Here is the caller graph for this function:

◆ fpS11dot3toDouble()

◆ getMinFpS11dot3Value()

double ns3::LteFfConverter::getMinFpS11dot3Value ( )
static

Get minimum fixed point S11.3 value.

Returns
double value for the minimum fixed point S11.3 value

Definition at line 159 of file lte-common.cc.


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