5G-MAG Reference Tools - MBMS Modem
|
Simple RRC component between PHY and RLC. More...
#include <Rrc.h>
Public Types | |
enum | rrc_state_t { ACQUIRE_SIB , ACQUIRE_AREA_CONFIG , STREAMING } |
Public Member Functions | |
Rrc (const libconfig::Config &cfg, Phy &phy, srsran::rlc &rlc) | |
Default constructor. More... | |
virtual | ~Rrc ()=default |
void | max_retx_attempted () override |
rrc_state_t | state () |
void | reset () |
void | write_pdu_mch (uint32_t lcid, srsran::unique_byte_buffer_t pdu) override |
Handle a MCH PDU. More... | |
void | write_pdu_bcch_dlsch (srsran::unique_byte_buffer_t pdu) override |
Handle SIB1(SIB13) from BCCH/DLSCH, and set the scheduling info in PHY. More... | |
void | write_pdu (uint32_t lcid, srsran::unique_byte_buffer_t pdu) override |
void | write_pdu_bcch_bch (srsran::unique_byte_buffer_t pdu) override |
void | write_pdu_pcch (srsran::unique_byte_buffer_t pdu) override |
const char * | get_rb_name (uint32_t lcid) override |
void | protocol_failure () override |
void | notify_pdcp_integrity_error (uint32_t lcid) override |
Private Member Functions | |
void | handle_sib1 (const asn1::rrc::sib_type1_mbms_r14_s &sib1) |
Private Attributes | |
rrc_state_t | _state = ACQUIRE_SIB |
const libconfig::Config & | _cfg |
srsran::rlc & | _rlc |
Phy & | _phy |
Simple RRC component between PHY and RLC.
Handles only reception of SIB1 (incl. SIB13) in CAS, and MCCH PDUs.
enum Rrc::rrc_state_t |
|
inline |
Default constructor.
cfg | Config singleton reference |
rlc | RLC reference |
rlc | PHY reference |
|
virtualdefault |
|
inlineoverride |
|
private |
Definition at line 121 of file Rrc.cpp.
|
inlineoverride |
|
inlineoverride |
|
inline |
|
inlineoverride |
|
inlineoverride |
|
override |
Handle SIB1(SIB13) from BCCH/DLSCH, and set the scheduling info in PHY.
Definition at line 67 of file Rrc.cpp.
|
override |
Handle a MCH PDU.
Automatically creates MRB bearers for all discovered LCIDs, and sets the MBSFN configuration in PHY.
Definition at line 34 of file Rrc.cpp.
|
inlineoverride |
|
private |