|
|
@ -375,19 +375,17 @@ public:
|
|
|
|
class pdcp_interface_rrc
|
|
|
|
class pdcp_interface_rrc
|
|
|
|
{
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
public:
|
|
|
|
virtual void reset(uint16_t rnti) = 0;
|
|
|
|
virtual void reset(uint16_t rnti) = 0;
|
|
|
|
virtual void add_user(uint16_t rnti) = 0;
|
|
|
|
virtual void add_user(uint16_t rnti) = 0;
|
|
|
|
virtual void rem_user(uint16_t rnti) = 0;
|
|
|
|
virtual void rem_user(uint16_t rnti) = 0;
|
|
|
|
virtual void write_sdu(uint16_t rnti, uint32_t lcid, srslte::unique_byte_buffer_t sdu) = 0;
|
|
|
|
virtual void write_sdu(uint16_t rnti, uint32_t lcid, srslte::unique_byte_buffer_t sdu) = 0;
|
|
|
|
virtual void add_bearer(uint16_t rnti, uint32_t lcid, srslte::pdcp_config_t cnfg) = 0;
|
|
|
|
virtual void add_bearer(uint16_t rnti, uint32_t lcid, srslte::pdcp_config_t cnfg) = 0;
|
|
|
|
virtual void del_bearer(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual void del_bearer(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual void config_security(uint16_t rnti, uint32_t lcid, srslte::as_security_config_t sec_cfg) = 0;
|
|
|
|
virtual void config_security(uint16_t rnti, uint32_t lcid, srslte::as_security_config_t sec_cfg) = 0;
|
|
|
|
virtual void enable_integrity(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual void enable_integrity(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual void enable_encryption(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual void enable_encryption(uint16_t rnti, uint32_t lcid) = 0;
|
|
|
|
virtual bool
|
|
|
|
virtual bool get_bearer_state(uint16_t rnti, uint32_t lcid, srslte::pdcp_lte_state_t* state) = 0;
|
|
|
|
get_bearer_status(uint16_t rnti, uint32_t lcid, uint16_t* dlsn, uint16_t* dlhfn, uint16_t* ulsn, uint16_t* ulhfn) = 0;
|
|
|
|
virtual bool set_bearer_state(uint16_t rnti, uint32_t lcid, const srslte::pdcp_lte_state_t& state) = 0;
|
|
|
|
virtual bool get_state(uint16_t rnti, uint32_t lcid, srslte::pdcp_lte_state_t* state) = 0;
|
|
|
|
|
|
|
|
virtual bool set_state(uint16_t rnti, uint32_t lcid, const srslte::pdcp_lte_state_t& state) = 0;
|
|
|
|
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
// PDCP interface for RLC
|
|
|
|
// PDCP interface for RLC
|
|
|
|