Remove dependency from RRC gNB structure in NR RLC API

Pass a "type" of RLC operational mode, from which split-type/gNB/UE
decision is derived.

Co-authored-by: Robert Schmidt <robert.schmidt@openairinterface.org>
This commit is contained in:
francescomani
2025-04-24 18:40:07 +02:00
co-authored by Robert Schmidt
parent 3974136a05
commit 60a57c69b3
7 changed files with 30 additions and 16 deletions
+1 -1
View File
@@ -300,7 +300,7 @@ void init_openair0()
static void init_pdcp(int ue_id)
{
if (get_softmodem_params()->nsa && nr_rlc_module_init(0) != 0) {
if (get_softmodem_params()->nsa && nr_rlc_module_init(NR_RLC_OP_MODE_UE) != 0) {
LOG_I(RLC, "Problem at RLC initiation \n");
}
nr_pdcp_layer_init();