francescomani
84e1d8205e
add new state for UE detachement
2024-04-11 16:48:36 +02:00
francescomani
2baa126028
do not schedule RACH if not sync
2024-04-11 16:48:36 +02:00
francescomani
81641ea43d
avoid another segfault at detach
2024-04-11 16:48:32 +02:00
francescomani
19a51f67b2
flag for detach after RRCrelease at UE
2024-04-11 16:46:36 +02:00
francescomani
851cf96943
add detach log at MAC
2024-04-11 16:46:36 +02:00
francescomani
7c24dea132
avoid another possible segfault
2024-04-11 16:46:32 +02:00
francescomani
2a03d79389
adding a check on pusch_Config to avoid segfault
2024-04-11 16:27:44 +02:00
francescomani
e8f0700881
free RACH structures in the right place for the right triggering cause
2024-04-11 16:27:44 +02:00
francescomani
a0c5a3604a
fix incorrect bw index evaluation for UE capabilities
2024-04-10 14:06:41 +02:00
francescomani
b30c9c8f3c
uselessAssignmentPtrArg
2024-04-09 16:55:51 +02:00
francescomani
13d33163e9
nullPointer
2024-04-09 16:55:51 +02:00
francescomani
86ca5fdd55
duplicateExpression
2024-04-09 16:55:51 +02:00
francescomani
568973d5be
incorrectLogicOperator
2024-04-09 16:55:51 +02:00
francescomani
8404da759f
nullPointerRedundantCheck
2024-04-09 16:55:51 +02:00
francescomani
3f1dd8d7ba
syntaxError
2024-04-09 16:53:12 +02:00
francescomani
96ff859cb7
shiftTooManyBitsSigned
2024-04-09 16:53:12 +02:00
francescomani
9cc53a43b1
invalidPrintfArgType_uint
2024-04-09 16:44:56 +02:00
francescomani
1e1679b668
memleak
2024-04-09 16:44:56 +02:00
francescomani
2b90061669
resourceLeak
2024-04-09 16:44:56 +02:00
francescomani
686da85d05
invalidPrintfArgType_sint
2024-04-09 16:44:56 +02:00
Robert Schmidt
e66588b556
Merge remote-tracking branch 'origin/e2-setup' into integration_2024_w14
2024-04-08 17:58:54 +02:00
Robert Schmidt
4f5b7fcb9e
Merge remote-tracking branch 'origin/fix-msg2-gnb' into integration_2024_w14
2024-04-08 17:53:54 +02:00
Teodora
c70a9dc9eb
FlexRIC commit ID update
2024-04-08 17:42:27 +02:00
Robert Schmidt
e3747ab592
Check if Msg3 start&length can be accommodated in mixed slot
...
Prior to this commit, it might happen that the gNB used TDA 0 (Start 0
len 13) for mixed slot, in which case the UE could not send msg3
(because a mixed slot has less than 13 symbols).
2024-04-08 17:30:37 +02:00
Teodora
f571043da8
Fix E2 Setup Request memory leakage
2024-04-08 15:26:00 +02:00
Robert Schmidt
5f652b1716
Merge remote-tracking branch 'origin/resolve-duplicate-nas' into integration_2024_w14
2024-04-08 08:29:23 +02:00
Jaroslava Fiedlerova
8a9b69984b
Merge remote-tracking branch 'origin/NR_SRS_remove_assertion' into integration_2024_w14
2024-04-05 11:19:09 +02:00
Robert Schmidt
680c6b69e1
Remove duplicated NAS message send, already done above
...
Closes : #775
2024-04-05 09:56:06 +02:00
Robert Schmidt
e6e25275ed
Bugfix: make preamble_list an array
...
- It is only a couple of bytes
- It hid a bug: if two preambles, L1_nr_prach_procedures() overwrote the
preamble of the first with the second one
2024-04-04 18:55:53 +02:00
Robert Schmidt
0f1f76878e
NRUE: print RA RNTI when receiving RAPID
2024-04-04 18:55:53 +02:00
Robert Schmidt
0e2c9e8ebb
Do not reduce RACH.ind count in loop
...
if we reduce, we will never do all rach indications. Go one-by-one
instead.
2024-04-04 18:55:53 +02:00
Robert Schmidt
0716d1d6c0
gNB: Msg2: print used RAPID
2024-04-04 18:55:53 +02:00
Robert Schmidt
b63762f9fe
Improve RA logs
2024-04-04 18:55:53 +02:00
Robert Schmidt
ca1ca5f5af
Check beam before allocating Msg2/harmonize with Msg3 retx
2024-04-04 18:54:04 +02:00
Robert Schmidt
d534e444f0
Check Msg3 TDA before committing to Msg2 allocation
2024-04-04 18:54:04 +02:00
Robert Schmidt
876b2ce8f6
Refactor Msg3 TDA selection in own function
2024-04-04 18:54:04 +02:00
Robert Schmidt
defc97ec16
check Msg2 allocation frame/slot in DL scheduler
...
Move decision of Msg2 allocation time instant from instance we receive
RA indication (only containing preamble time information) to actual RA
scheduler (containing current DL slot time). This has the advantage:
- if Msg2 cannot be sent, we might try in a later slot
- no timing-based problems were a RACH.indication FAPI message might
come late, we calculate a Msg2 frame/slot, but this instant has
already passed in the DL scheduler
- no assumption about slot_ahead (an L1 constant)
The previous code calculated and verified an SSB index; I am not sure
this code is correct or used. I leave the function
ssb_index_from_prach() (hence the gcc attribute), but remove any checks.
Similarly, the beam association list might be wrong. I deleted the
corresponding code.
2024-04-04 18:54:04 +02:00
Robert Schmidt
8d37fde91f
Refactor: store Msg.1 parameters in RA process
...
- the preamble is needed to detect when we are outside of the RA window,
so store it
- store the rest of Msg1 variables together in struct
2024-04-04 18:54:04 +02:00
Robert Schmidt
7364d9bde7
Move find_monitoring_periodicity_offset_common() to RA file
2024-04-04 18:54:04 +02:00
Robert Schmidt
7873292f28
Reduce indentation in nr_generate_msg2(): no functional changes
2024-04-04 18:54:04 +02:00
Robert Schmidt
205cc66546
Refactor former find_nr_RA_id() to static function
2024-04-04 18:54:04 +02:00
Robert Schmidt
8f747d7aa2
Simplify nr_initiate_ra_proc()
...
- create function to find free RA process
- reorganize function to put Msg1 related processing first, Msg2 second
2024-04-04 18:54:04 +02:00
Robert Schmidt
6658eb28f0
Simplify nr_clear_ra_proc()
2024-04-04 18:54:04 +02:00
Robert Schmidt
3289189a2d
Fix: Configure TDD beam association only in FR2; set to NULL otherwise
...
Before this commit, there was data that was not initialized, resulting
in Msg2 remaining unscheduled.
2024-04-04 18:53:33 +02:00
Jaroslava Fiedlerova
13ac4105b9
Merge remote-tracking branch 'origin/improve-nrue-security' into integration_2024_w14
2024-04-04 16:46:43 +02:00
francescomani
2f9fe36412
improvements in the procedures for SR at MAC UE
2024-04-04 14:34:56 +02:00
francescomani
21d3a4ea51
improving the handling of sr_TransMax
2024-04-04 13:58:01 +02:00
francescomani
338426ed72
use NR_timer_t for SR-ProhibitTimer
2024-04-04 08:37:56 +02:00
francescomani
fa27f9ad48
moving decision on DCI format type from L1 to MAC
2024-04-03 09:14:50 +02:00
Cedric Roux
fbe2b65ee6
nr pdcp: small improvement: LOG after unlock
...
Reduces time with lock acquired.
2024-04-03 08:29:26 +02:00