|
|
@ -109,7 +109,11 @@ void pdcp::reset(uint16_t rnti)
|
|
|
|
pthread_rwlock_unlock(&rwlock);
|
|
|
|
pthread_rwlock_unlock(&rwlock);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void pdcp::config_security(uint16_t rnti, uint32_t lcid, uint8_t* k_rrc_enc_, uint8_t* k_rrc_int_, uint8_t* k_up_enc_,
|
|
|
|
void pdcp::config_security(uint16_t rnti,
|
|
|
|
|
|
|
|
uint32_t lcid,
|
|
|
|
|
|
|
|
uint8_t* k_rrc_enc_,
|
|
|
|
|
|
|
|
uint8_t* k_rrc_int_,
|
|
|
|
|
|
|
|
uint8_t* k_up_enc_,
|
|
|
|
srslte::CIPHERING_ALGORITHM_ID_ENUM cipher_algo_,
|
|
|
|
srslte::CIPHERING_ALGORITHM_ID_ENUM cipher_algo_,
|
|
|
|
srslte::INTEGRITY_ALGORITHM_ID_ENUM integ_algo_)
|
|
|
|
srslte::INTEGRITY_ALGORITHM_ID_ENUM integ_algo_)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -166,7 +170,8 @@ void pdcp::user_interface_rlc::write_sdu(uint32_t lcid, srslte::unique_byte_buff
|
|
|
|
rlc->write_sdu(rnti, lcid, std::move(sdu));
|
|
|
|
rlc->write_sdu(rnti, lcid, std::move(sdu));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool pdcp::user_interface_rlc::rb_is_um(uint32_t lcid) {
|
|
|
|
bool pdcp::user_interface_rlc::rb_is_um(uint32_t lcid)
|
|
|
|
|
|
|
|
{
|
|
|
|
return rlc->rb_is_um(rnti, lcid);
|
|
|
|
return rlc->rb_is_um(rnti, lcid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -195,4 +200,4 @@ std::string pdcp::user_interface_rrc::get_rb_name(uint32_t lcid)
|
|
|
|
return std::string(rb_id_text[lcid]);
|
|
|
|
return std::string(rb_id_text[lcid]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
} // namespace srsenb
|
|
|
|