francescomani
729aa41952
funcArgOrderDifferent
2024-04-09 16:53:12 +02:00
Cedric Roux
7cceaa3fae
nrUE: report nea2 support in the capabilities
2024-04-03 08:26:39 +02:00
Laurent THOMAS
6b4710d36d
add error code for pdu session reject in the ue
2024-03-27 13:12:35 +01:00
mir
fc8d0c59c6
Scan build: Result of operation is garbage or undefined
2024-03-07 11:00:57 +01:00
Laurent THOMAS
44fd6e4edf
simple code cleaning
2024-01-23 16:31:50 +01:00
francescomani
ceef53c56a
improvements in ITTI for multi-ue instances
2024-01-19 11:33:27 +01:00
Jaroslava Fiedlerova
cd4e5665a3
Merge remote-tracking branch 'origin/fix-nas-security-header-type' into integration_2024_w02
2024-01-12 10:07:04 +01:00
Alexis Falempin
74832b4837
NAS : Wrong security header type for PDU Session Establishment Request
...
While testing the OAI 5G RAN in SA mode, it appears that the PDU session
establishment request is using the wrong security header type.
The current used header is: "Integrity protected and ciphered with new
5G NAS security context".
However, according to TS 24.501, Table 9.3.1, this header can only be used
by the "Security mode complete" procedure.
Changes:
- Hence, the new security header has been changed to "Integrity protected
and ciphered", which will use the security context generated during the
"Security mode complete".
- Sequences numbers and NAS counters have been updated to reflect that
change.
2024-01-08 12:32:28 +01:00
Jaroslava Fiedlerova
b44161d112
Merge remote-tracking branch 'origin/NR_UE_detach_improv' into integration_2024_w01
2024-01-05 12:14:45 +01:00
Jaroslava Fiedlerova
ad234a037c
Merge remote-tracking branch 'origin/NR_UE_harmonize_NAS_registration_accept' into integration_2024_w01
2024-01-05 11:18:22 +01:00
francescomani
90c8e7dfd1
improvements in UE detachment, including sending a message from NAS and signaling to MAC and fixing some memory leaks when terminating UE
2024-01-04 14:28:49 +01:00
francescomani
3156a9df06
function to handle NAS registraction accept
2023-12-22 14:48:01 +01:00
Robert Schmidt
460f11e3f3
Merge remote-tracking branch 'origin/remove-unused-memblock' into integration_2023_w51
2023-12-21 16:10:05 +01:00
francescomani
284b072184
procedure to indicate the release of the RRC connection to upper layers
2023-12-20 11:30:01 +01:00
Laurent THOMAS
63b64d4fce
move common code file in common directory
...
remove several unused files
remove mem_block_t that is never used in a different way than a simple heap buffer
move up IP address type and remove duplications of the same struct declaration
2023-12-19 10:37:10 +01:00
Sakthivel Velumani
d61c4f1042
Change global variable to local
2023-12-05 13:04:23 +05:30
Sakthivel Velumani
f69f419a13
Remove duplicate declaration
2023-12-05 13:04:23 +05:30
Sakthivel Velumani
3979879e9e
Replace buffer conversion with macro
2023-12-05 13:04:23 +05:30
Sakthivel Velumani
8b118fd875
Remove hardcoding of default NSSAI selection
...
Check if NSSAI from config exists in allowed NSSAI list. Don't request
PDU session if not present in the list.
2023-12-05 13:04:13 +05:30
Sakthivel Velumani
3ae665388a
Declare variable outside of case: label
2023-11-02 10:28:51 -04:00
Sakthivel Velumani
128bd3d3db
Create macro to ntoh_int16 buffer input
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
21b269fa99
Create macro to do ntoh for 3 bytes
...
use it in NSSAI parsing function
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
dc95e838eb
Improve NSSAI parsing
...
use review suggestions from Laurent
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
19551d1254
Remove extern declaration from .c
2023-11-01 21:13:20 -04:00
Sakthivel Velumani
950becb423
Store allowed NSSAIs from NAS message
...
Request default PDU session with first NSSAI from the list
2023-11-01 21:13:19 -04:00
Robert Schmidt
57f0cb134c
Merge remote-tracking branch 'origin/fix-cellconfig-segv' into integration_2023_w43
2023-10-30 10:22:23 +01:00
Laurent THOMAS
a198239084
Introduce no-thread mode in ITTI
...
Introduce a --no-itti-threads command line option to disable threading
in ITTI, and call message handlers in the current thread. This is being
introduced in order to increase repeatability when testing the nrUE with
the IQPlayer. Without this feature, runs with the IQPlayer will end up
differently, depending on the timing of ITTI threads, mostly when
sending messages to RRC and NAS.
2023-10-27 13:02:36 +02:00
Robert Schmidt
9001ad2d7c
Correct calloc_or_fail() signature
2023-10-27 10:22:55 +02:00
Laurent THOMAS
4de550f040
fix bug for IE cause in pdu session accept
2023-09-25 15:26:51 +02:00
Laurent THOMAS
4219839e47
add-registration-accept-inside-nas-downlink as it is a valid 3GPP message and a commercial gNB uses it
2023-09-21 13:30:10 +02:00
Laurent THOMAS
206aa36a47
Make read-only globals const, additional fixes
...
- Global variables that are never written to are marked const
- Remove some EXTERN declaration
- Remove unused `log_mem_multi` from logging module
2023-08-18 14:20:37 +02:00
Cedric Roux
149ca8e190
nrUE: quick fix for compatibility with Open5GS
2023-07-18 15:01:11 +02:00
Robert Schmidt
3258d4e883
Merge remote-tracking branch 'origin/docker-config-changes' into integration_2023_w23_ci
2023-06-07 13:59:43 +02:00
Dhanuja Elizabeth Thomas
db087b3532
USIM conf for lteue
...
1. Rename ue_sim_ci.conf to lteue.usim.conf
2. Adding generic usim conf for lteue
3. Changed the location of ue_sim_ci config
2023-06-02 15:08:24 +02:00
Vijay Chadachan
836469e849
CPPCHECK fixes for printf issues
...
Fix for following CPPCheck warnings
- invalidPrintfArgType
Rebased with latest develop branch w21.
Reverted modifications unrelated to printf issues.
2023-06-01 12:07:26 +02:00
Robert Schmidt
5be3dcf341
Merge remote-tracking branch 'origin/int-f1-ue-ctxt-release' into integration_2023_w21
2023-05-26 16:48:19 +02:00
mir
c9012298de
OSA SECU harmonization
2023-05-26 12:35:33 +02:00
Robert Schmidt
1a5cb8a6e2
UE NAS: Add timeout before shutting down UE to RLC Ack the PDU
2023-05-25 18:20:45 +02:00
laurent
b339460666
cleanup only
2023-04-28 16:25:24 +02:00
laurent
b735f8bec6
ubsan fixes
2023-04-19 22:12:08 +02:00
Robert Schmidt
8d07275496
Write-only variable: suppress warning, as we decode NAS message
2023-04-14 13:52:16 +02:00
francescomani
e49c6db2bf
final round of warning fixes to compile nr softmodems
2023-04-07 15:52:16 +02:00
francescomani
3ca0f39088
new round of clang warning fixes
2023-04-07 15:52:16 +02:00
Robert Schmidt
22db2d613f
Correctly allocate GUTI in NAS UE structures
2023-04-04 08:40:48 +02:00
Robert Schmidt
8e6554bdf3
Print log on receiving deregistration accept, on CONN Release stop nr-uesoftmodem
2023-03-31 17:22:59 +02:00
Robert Schmidt
1880ede547
Check for GUTI
2023-03-28 14:12:05 +02:00
Robert Schmidt
4700dde2ae
Trigger deregistration
2023-03-28 14:12:05 +02:00
Robert Schmidt
a0318fb413
Implement NAS Deregistration Type message
2023-03-28 14:12:05 +02:00
Robert Schmidt
77e61425e0
UE NAS: Add counter for NAS messages
2023-03-28 14:12:05 +02:00
Robert Schmidt
4642a7c0f5
Correctly fill GUTI in NAS if available
2023-03-28 14:12:05 +02:00