From fba1110c49026f605e826c9dd19a39650eda4468 Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Mon, 29 Jul 2019 22:22:32 +0200 Subject: [PATCH] fix RRC to reflect new struct name --- srsue/src/stack/rrc/rrc.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/srsue/src/stack/rrc/rrc.cc b/srsue/src/stack/rrc/rrc.cc index f02107d46..5b900e0e4 100644 --- a/srsue/src/stack/rrc/rrc.cc +++ b/srsue/src/stack/rrc/rrc.cc @@ -3145,11 +3145,11 @@ void rrc::handle_con_reest(rrc_conn_reest_s* setup) void rrc::add_srb(srb_to_add_mod_s* srb_cnfg) { // Setup PDCP - srslte_pdcp_config_t pdcp_cfg = {.bearer_id = srb_cnfg->srb_id, - .rb_type = PDCP_RB_IS_SRB, - .tx_direction = SECURITY_DIRECTION_UPLINK, - .rx_direction = SECURITY_DIRECTION_DOWNLINK, - .sn_len = PDCP_SN_LEN_5}; + pdcp_config_t pdcp_cfg = {.bearer_id = srb_cnfg->srb_id, + .rb_type = PDCP_RB_IS_SRB, + .tx_direction = SECURITY_DIRECTION_UPLINK, + .rx_direction = SECURITY_DIRECTION_DOWNLINK, + .sn_len = PDCP_SN_LEN_5}; pdcp->add_bearer(srb_cnfg->srb_id, pdcp_cfg); if (RB_ID_SRB2 == srb_cnfg->srb_id) { pdcp->config_security(srb_cnfg->srb_id, k_rrc_enc, k_rrc_int, k_up_enc, cipher_algo, integ_algo); @@ -3222,11 +3222,11 @@ void rrc::add_drb(drb_to_add_mod_s* drb_cnfg) } // Setup PDCP - srslte_pdcp_config_t pdcp_cfg = {.bearer_id = drb_cnfg->drb_id, - .rb_type = PDCP_RB_IS_DRB, - .tx_direction = SECURITY_DIRECTION_UPLINK, - .rx_direction = SECURITY_DIRECTION_DOWNLINK, - .sn_len = PDCP_SN_LEN_12}; + pdcp_config_t pdcp_cfg = {.bearer_id = drb_cnfg->drb_id, + .rb_type = PDCP_RB_IS_DRB, + .tx_direction = SECURITY_DIRECTION_UPLINK, + .rx_direction = SECURITY_DIRECTION_DOWNLINK, + .sn_len = PDCP_SN_LEN_12}; if (drb_cnfg->pdcp_cfg.rlc_um_present) { if (drb_cnfg->pdcp_cfg.rlc_um.pdcp_sn_size == pdcp_cfg_s::rlc_um_s_::pdcp_sn_size_e_::len7bits) { pdcp_cfg.sn_len = 7;