|
|
@ -3145,7 +3145,7 @@ void rrc::handle_con_reest(rrc_conn_reest_s* setup)
|
|
|
|
void rrc::add_srb(srb_to_add_mod_s* srb_cnfg)
|
|
|
|
void rrc::add_srb(srb_to_add_mod_s* srb_cnfg)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Setup PDCP
|
|
|
|
// Setup PDCP
|
|
|
|
srslte_pdcp_config_t pdcp_cfg = {.bearer_id = srb_cnfg->srb_id,
|
|
|
|
pdcp_config_t pdcp_cfg = {.bearer_id = srb_cnfg->srb_id,
|
|
|
|
.rb_type = PDCP_RB_IS_SRB,
|
|
|
|
.rb_type = PDCP_RB_IS_SRB,
|
|
|
|
.tx_direction = SECURITY_DIRECTION_UPLINK,
|
|
|
|
.tx_direction = SECURITY_DIRECTION_UPLINK,
|
|
|
|
.rx_direction = SECURITY_DIRECTION_DOWNLINK,
|
|
|
|
.rx_direction = SECURITY_DIRECTION_DOWNLINK,
|
|
|
@ -3222,7 +3222,7 @@ void rrc::add_drb(drb_to_add_mod_s* drb_cnfg)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// Setup PDCP
|
|
|
|
// Setup PDCP
|
|
|
|
srslte_pdcp_config_t pdcp_cfg = {.bearer_id = drb_cnfg->drb_id,
|
|
|
|
pdcp_config_t pdcp_cfg = {.bearer_id = drb_cnfg->drb_id,
|
|
|
|
.rb_type = PDCP_RB_IS_DRB,
|
|
|
|
.rb_type = PDCP_RB_IS_DRB,
|
|
|
|
.tx_direction = SECURITY_DIRECTION_UPLINK,
|
|
|
|
.tx_direction = SECURITY_DIRECTION_UPLINK,
|
|
|
|
.rx_direction = SECURITY_DIRECTION_DOWNLINK,
|
|
|
|
.rx_direction = SECURITY_DIRECTION_DOWNLINK,
|
|
|
|