fix PDCP config in TTCN3 SS

master
Andre Puschmann 5 years ago
parent 2d126371f6
commit 2f00fd62ec

@ -218,7 +218,7 @@ void rrc::add_user(uint16_t rnti)
}
if (rnti == SRSLTE_MRNTI) {
srslte::pdcp_config_t cfg = {.bearer_id = 1,
srslte::pdcp_config_t pdcp_cfg = {.bearer_id = 1,
.rb_type = srslte::PDCP_RB_IS_DRB,
.tx_direction = srslte::SECURITY_DIRECTION_DOWNLINK,
.rx_direction = srslte::SECURITY_DIRECTION_UPLINK,
@ -231,7 +231,7 @@ void rrc::add_user(uint16_t rnti)
i++) {
uint32_t lcid = mcch.msg.c1().mbsfn_area_cfg_r9().pmch_info_list_r9[0].mbms_session_info_list_r9[i].lc_ch_id_r9;
rlc->add_bearer_mrb(SRSLTE_MRNTI, lcid);
pdcp->add_bearer(SRSLTE_MRNTI, lcid, cfg_);
pdcp->add_bearer(SRSLTE_MRNTI, lcid, pdcp_cfg);
gtpu->add_bearer(SRSLTE_MRNTI, lcid, 1, 1, &teid_in);
}
}

@ -220,7 +220,8 @@ private:
.rb_type = PDCP_RB_IS_SRB,
.tx_direction = SECURITY_DIRECTION_DOWNLINK,
.rx_direction = SECURITY_DIRECTION_UPLINK,
.sn_len = PDCP_SN_LEN_5};
.sn_len = PDCP_SN_LEN_5,
.t_reorderding = srslte::pdcp_t_reordering_t::ms500};
syssim->add_srb(lcid, pdcp_cfg);
}
} else if (config.HasMember("Release")) {

Loading…
Cancel
Save