Commit a764c7c9 authored by Cedric Roux's avatar Cedric Roux

nr rlc: trigger status report when t-reassembly expires

and update tests that fail because of the new logic
parent f64d2c58
...@@ -1751,6 +1751,9 @@ static void check_t_reassembly(nr_rlc_entity_am_t *entity) ...@@ -1751,6 +1751,9 @@ static void check_t_reassembly(nr_rlc_entity_am_t *entity)
sn = (sn + 1) % entity->sn_modulus; sn = (sn + 1) % entity->sn_modulus;
entity->rx_highest_status = sn; entity->rx_highest_status = sn;
/* trigger status report */
entity->status_triggered = 1;
if (sn_compare_rx(entity, entity->rx_next_highest, if (sn_compare_rx(entity, entity->rx_next_highest,
(entity->rx_highest_status+1) % entity->sn_modulus) > 0 || (entity->rx_highest_status+1) % entity->sn_modulus) > 0 ||
(entity->rx_next_highest == (entity->rx_next_highest ==
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment