gnb,rrc: inverse order of configuring lower layers when establishing bearer

start with lower layers first, so MAC, RLC then PDCP.
Since PDCP requires that the LCID is already registered at RLC to make config
checks. It checks for RLC mode (UM) in this case causing log entries like:

2021-12-01T13:47:40.453641 [RLC-NR ] [W] LCID 4 doesn't exist.
This commit is contained in:
Andre Puschmann 2021-12-01 15:20:26 +01:00
parent a27562cb58
commit 091877fd2a
1 changed files with 4 additions and 4 deletions

View File

@ -1073,14 +1073,14 @@ void rrc_nr::ue::send_rrc_reconfiguration()
} }
// Update lower layers // Update lower layers
// add PDCP bearers // add MAC bearers
update_pdcp_bearers(ies.radio_bearer_cfg, master_cell_group); update_mac(master_cell_group, false);
// add RLC bearers // add RLC bearers
update_rlc_bearers(master_cell_group); update_rlc_bearers(master_cell_group);
// add MAC bearers // add PDCP bearers
update_mac(master_cell_group, false); update_pdcp_bearers(ies.radio_bearer_cfg, master_cell_group);
} }
if (nas_pdu_queue.size() > 0) { if (nas_pdu_queue.size() > 0) {