|
|
|
@ -29,12 +29,8 @@ pdcp_entity_lte::pdcp_entity_lte(srsue::rlc_interface_pdcp* rlc_,
|
|
|
|
|
srsue::gw_interface_pdcp* gw_,
|
|
|
|
|
srslte::task_handler_interface* task_executor_,
|
|
|
|
|
srslte::log_ref log_) :
|
|
|
|
|
pdcp_entity_base(task_executor_, log_),
|
|
|
|
|
rlc(rlc_),
|
|
|
|
|
rrc(rrc_),
|
|
|
|
|
gw(gw_)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
pdcp_entity_base(task_executor_, log_), rlc(rlc_), rrc(rrc_), gw(gw_)
|
|
|
|
|
{}
|
|
|
|
|
|
|
|
|
|
pdcp_entity_lte::~pdcp_entity_lte()
|
|
|
|
|
{
|
|
|
|
@ -370,4 +366,20 @@ bool pdcp_entity_lte::check_valid_config()
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/****************************************************************************
|
|
|
|
|
* Internal state getters/setters
|
|
|
|
|
***************************************************************************/
|
|
|
|
|
pdcp_lte_state_t pdcp_entity_lte::get_state()
|
|
|
|
|
{
|
|
|
|
|
return pdcp_lte_state_t{tx_count, rx_hfn, next_pdcp_rx_sn, last_submitted_pdcp_rx_sn};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void pdcp_entity_lte::set_state(const pdcp_lte_state_t& state)
|
|
|
|
|
{
|
|
|
|
|
tx_count = state.tx_count;
|
|
|
|
|
rx_hfn = state.rx_hfn;
|
|
|
|
|
next_pdcp_rx_sn = state.next_pdcp_rx_sn;
|
|
|
|
|
last_submitted_pdcp_rx_sn = state.last_submitted_pdcp_rx_sn;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} // namespace srslte
|
|
|
|
|