|
|
@ -24,7 +24,8 @@ int test_tx_status_report(const srsran::pdcp_lte_state_t& init_state, srslog::ba
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
true};
|
|
|
|
true,
|
|
|
|
|
|
|
|
srsran::srsran_rat_t::lte};
|
|
|
|
|
|
|
|
|
|
|
|
srsran::pdcp_config_t cfg_rx = {1,
|
|
|
|
srsran::pdcp_config_t cfg_rx = {1,
|
|
|
|
srsran::PDCP_RB_IS_DRB,
|
|
|
|
srsran::PDCP_RB_IS_DRB,
|
|
|
@ -33,7 +34,8 @@ int test_tx_status_report(const srsran::pdcp_lte_state_t& init_state, srslog::ba
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
true};
|
|
|
|
true,
|
|
|
|
|
|
|
|
srsran::srsran_rat_t::lte};
|
|
|
|
|
|
|
|
|
|
|
|
// Setup TX
|
|
|
|
// Setup TX
|
|
|
|
pdcp_lte_test_helper pdcp_hlp_tx(cfg_tx, sec_cfg, logger);
|
|
|
|
pdcp_lte_test_helper pdcp_hlp_tx(cfg_tx, sec_cfg, logger);
|
|
|
@ -128,7 +130,8 @@ int test_tx_wraparound_status_report(const srsran::pdcp_lte_state_t& init_state,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
true};
|
|
|
|
true,
|
|
|
|
|
|
|
|
srsran::srsran_rat_t::lte};
|
|
|
|
|
|
|
|
|
|
|
|
srsran::pdcp_config_t cfg_rx = {1,
|
|
|
|
srsran::pdcp_config_t cfg_rx = {1,
|
|
|
|
srsran::PDCP_RB_IS_DRB,
|
|
|
|
srsran::PDCP_RB_IS_DRB,
|
|
|
@ -137,7 +140,8 @@ int test_tx_wraparound_status_report(const srsran::pdcp_lte_state_t& init_state,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
true};
|
|
|
|
true,
|
|
|
|
|
|
|
|
srsran::srsran_rat_t::lte};
|
|
|
|
|
|
|
|
|
|
|
|
// Setup TX
|
|
|
|
// Setup TX
|
|
|
|
pdcp_lte_test_helper pdcp_hlp_tx(cfg_tx, sec_cfg, logger);
|
|
|
|
pdcp_lte_test_helper pdcp_hlp_tx(cfg_tx, sec_cfg, logger);
|
|
|
@ -240,7 +244,8 @@ int test_rx_status_report(const srsran::pdcp_lte_state_t& init_state, srslog::ba
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::PDCP_SN_LEN_12,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_t_reordering_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
srsran::pdcp_discard_timer_t::ms500,
|
|
|
|
true};
|
|
|
|
true,
|
|
|
|
|
|
|
|
srsran::srsran_rat_t::lte};
|
|
|
|
|
|
|
|
|
|
|
|
pdcp_lte_test_helper pdcp_hlp(cfg, sec_cfg, logger);
|
|
|
|
pdcp_lte_test_helper pdcp_hlp(cfg, sec_cfg, logger);
|
|
|
|
srsran::pdcp_entity_lte* pdcp = &pdcp_hlp.pdcp;
|
|
|
|
srsran::pdcp_entity_lte* pdcp = &pdcp_hlp.pdcp;
|
|
|
|