lib,pdcp_nr: fix RX_DELIV update when t-Reordering expires

This commit is contained in:
Pedro Alvarez 2022-06-01 16:35:18 +01:00
parent 5f385bb33f
commit eb819cb9d0
1 changed files with 3 additions and 0 deletions

View File

@ -367,6 +367,9 @@ void pdcp_entity_nr::reordering_callback::operator()(uint32_t timer_id)
parent->pass_to_upper_layers(std::move(it->second));
}
// Update RX_DELIV to the first PDCP SDU not delivered to the upper layers
parent->rx_deliv = parent->rx_reord;
// Deliver all PDCP SDU(s) consecutively associated COUNT value(s) starting from RX_REORD
parent->deliver_all_consecutive_counts();