Skip to content
Snippets Groups Projects
Commit 2335f5b6 authored by andrewse's avatar andrewse Committed by Robert Schmidt
Browse files

Don't call mac_rlc_data_ind when SRB0 already exist for UE.

It can happen that L1 gives us a TB that we interpret as receiving UL
MAC TB with LCID "UL_SCH_LCID_CCCH1". This might or might not be
correct, but currently, we observe segfaults when trying to encode the
cellgroup in send_initial_ul_rrc_message() (encode_cellGroupConfig()).

This fix prevents a segfault by not delivering a MAC SDU to RLC if CCCH
is already present. Note that in some cases, this could still happen,
e.g. Resume Request. However, we don't support this message, so ignore
it for the moment.

This fix enables a gNB to operate continuously for extended periods
(days), which is essential for real deployment scenarios.

Closes: #756
parent ccdabb4c
No related branches found
No related tags found
2 merge requests!3014Integration: `2024.w40`,!3003Draft: Resolve "SEGFAULT in L1_rx_thread"
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment