5G-MAG Reference Tools - MBMS Modem
Functions | Variables
Phy.cpp File Reference
#include "Phy.h"
#include <utility>
#include <iomanip>
#include "srsran/interfaces/rrc_interface_types.h"
#include "srsran/asn1/rrc_utils.h"
#include "spdlog/spdlog.h"
Include dependency graph for Phy.cpp:

Go to the source code of this file.

Functions

static auto receive_callback (void *obj, cf_t *data[SRSRAN_MAX_CHANNELS], uint32_t nsamples, srsran_timestamp_t *rx_time) -> int
 

Variables

const uint32_t kMaxBufferSamples = 2 * 15360
 
const uint32_t kMaxSfn = 1024
 
const uint32_t kSfnOffset = 4
 
const uint32_t kSubframesPerFrame = 10
 
const uint32_t kMaxCellsToDiscover = 3
 

Function Documentation

◆ receive_callback()

static auto receive_callback ( void *  obj,
cf_t *  data[SRSRAN_MAX_CHANNELS],
uint32_t  nsamples,
srsran_timestamp_t *  rx_time 
) -> int
static

Definition at line 29 of file Phy.cpp.

31  {
32  return (static_cast<Phy*>(obj))->_sample_cb(data, nsamples, rx_time); // NOLINT
33 }
The PHY component.
Definition: Phy.h:42

Variable Documentation

◆ kMaxBufferSamples

const uint32_t kMaxBufferSamples = 2 * 15360

Definition at line 35 of file Phy.cpp.

◆ kMaxCellsToDiscover

const uint32_t kMaxCellsToDiscover = 3

Definition at line 40 of file Phy.cpp.

◆ kMaxSfn

const uint32_t kMaxSfn = 1024

Definition at line 36 of file Phy.cpp.

◆ kSfnOffset

const uint32_t kSfnOffset = 4

Definition at line 37 of file Phy.cpp.

◆ kSubframesPerFrame

const uint32_t kSubframesPerFrame = 10

Definition at line 38 of file Phy.cpp.