- 17 Oct, 2024 14 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
Pass UE context pointer directly. In the switch, do not return to not create memory leaks (after the switch, memory is freed). Move the function up to make it appear before the use of the function.
-
Robert Schmidt authored
The xer_fprintf() call is already present in rrc_gNB_decode_dcch() above.
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
Pass UE context, without protocol_ctxt_t, for cleanup. Remove the return from within the switch, as this would lead to memory leaks; nothing is executed after the switch statement (except for freeing memory).
-
Robert Schmidt authored
-
Robert Schmidt authored
The existing check for the initialization of GTP is wrong; GTP returns -1 if it could not initialize. Correct this, such that the DU will stop if GTP cannot be initialize. If we continue, the DU is requested to set up a GTP tunnel; because GTP is not initialized, it assumes it is in monolithic/no F1, and does not set up a tunnel. The F1 UE Context setup response encoder then fails with this assertion: Assertion (tnl->teid > 0) failed! In DU_send_UE_CONTEXT_SETUP_RESPONSE() ../../../openair2/F1AP/f1ap_du_ue_context_management.c:415 Exiting execution ../../../openair2/F1AP/f1ap_du_ue_context_management.c:415 DU_send_UE_CONTEXT_SETUP_RESPONSE() Exiting OAI softmodem: _Assert_Exit_ Aborted Closes: #853
-
Robert Schmidt authored
A UE might send a MeasurementReport without the actual IEs present (intentionally or not). Check this and handle appropriately to avoid assertion Assertion (measurementReport->criticalExtensions.present == NR_MeasurementReport__criticalExtensions_PR_measurementReport && measurementReport->criticalExtensions.choice.measurementReport != ((void*)0)) failed! In rrc_gNB_process_MeasurementReport() ../../../openair2/RRC/NR/rrc_gNB.c Closes: #859
-
Robert Schmidt authored
A UE might send a UE Capability Information without unsolicitatedly (intentionally or not). Check this and handle appropriately to avoid assertion Assertion (UE->xids[xid] == RRC_UECAPABILITY_ENQUIRY) failed! In handle_ueCapabilityInformation() ../../../openair2/RRC/NR/rrc_gNB.c Closes: #858
-
Robert Schmidt authored
A UE might send a rrcReestablishmentComplete without the actual IEs present (intentionally or not). Check this and handle appropriately to avoid assertion Assertion (reestablishment_complete->criticalExtensions.present == NR_RRCReestablishmentComplete__criticalExtensions_PR_rrcReestablishmentComplete) failed! In handle_rrcReestablishmentComplete() ../../../openair2/RRC/NR/rrc_gNB.c:1364 Closes: #854
-
Robert Schmidt authored
Prior to this commit, if we receive an Initial Context Setup Request for a UE that has AS security set up, the gNB asserts with Assertion (!ue_p->as_security_active) failed! In rrc_gNB_generate_SecurityModeCommand() openairinterface5g/openair2/RRC/NR/rrc_gNB.c:2590 logic error: security already activ However, TS 38.413 says: > The AMF may initiate the Initial Context Setup procedure if a > UE-associated logical NG-connection exists for the UE (I interpret this as "it might happen anytime") > store the received Security Key in the UE context and, if the NG-RAN > node is required to activate security for the UE, take this security key > into use. (I interpret this as "do not set up AS security again") In this commit, handle if we receive an Initial Context Setup Request for an existing UE context. As said in the spec, we store the keys. If security is not active, we trigger RRC Security Mode Command. If it is active, we skip Security, and directly set up a PDU session. If there is also no PDU session, we simply forward the NAS message, and acknowledge. If there was no AS security, after security, the gNB would trigger the setup of PDU sessions (if any), and then forward any NAS PDUs, which is stated in the if block if AS security is already active.
-
Robert Schmidt authored
-
- 16 Oct, 2024 5 commits
-
-
Robert Schmidt authored
Cleanup this function: pass UE context directly, remove protocol_ctxt_t.
-
Robert Schmidt authored
rrc_gNB_process_security() does not only set (process) the security algorithms, but also checks for those. However, we don't use the check. Simplify the function, to reintroduce the check later. Rename to set_UE_security_algos() to better reflect what the functions do.
-
Robert Schmidt authored
Rename to set_UE_security_key(), as it is for the UE. pass UE context directly.
-
Robert Schmidt authored
Pass rrc pointer and UE context directly instead of protocol_ctxt_t.
-
Robert Schmidt authored
Pass directly pointer to UE context, remove protocol_ctxt_t (which simply is not required, and supposed to be removed anyway).
-
- 15 Oct, 2024 1 commit
-
-
Robert Schmidt authored
Integration: `2024.w41` See merge request oai/openairinterface5g!3032 * !3006 Fix some sizeof and switch-case issues * !3028 Add CMakePresets.json * !3011 Aerial: cleanup unused code, avoid superfluous memcpy(), avoid L1 structures * !3022 NR CSI-RS L1 refactoring → check CI * !2935 Improvements in handling the beamforming procedure via FAPI * !3026 NR ULSCH scheduler fix when using transform precoding * !3031 CI: Increase test bitrates for 100 MHz scenario in SA-2x2 pipeline * !3017 Fix SRS * !2731 Implementation of 2-Step RA * !3027 Add dockerized include what you use tool
-
- 14 Oct, 2024 5 commits
-
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
francescomani authored
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
- 13 Oct, 2024 1 commit
-
-
Robert Schmidt authored
-
- 11 Oct, 2024 14 commits
-
-
francescomani authored
-
rmagueta authored
-
rmagueta authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
ndomingues authored
3GPP 38.331: If absent, the UE applies the SCS as derived from the prach-ConfigurationIndex in RACH-ConfigGeneric (see tables Table 6.3.3.1-1, Table 6.3.3.1-2, Table 6.3.3.2-2 and Table 6.3.3.2-3, TS 38.211 [16]). This procedure for msg1_SubcarrierSpacing NULL is not implemented, so we aplly the same value of UL SCS.
-
Jaroslava Fiedlerova authored
-
Jaroslava Fiedlerova authored
-
Bartosz Podrygajlo authored
Introduce CMakePresests.json which is a simple way to perform incremental build using cmake New configure resets were added: - default: Configure compilation with default options - tests: Same as above but ENABLE_TESTS and SANITIZE_ADDRESS is ON New build presets were added: - 5gdefault: Build the software for NR rfsimulator test - default: same as 5gdefault - 4gdefault: Build the software for LTE rfsimulator test - tests: build all unit tests To configure using configuration preset: `cmake --preset <preset_name>` To build using a build preset: `cmake --build --preset <preset_name>`
-
francescomani authored
-
francescomani authored
-
francescomani authored
-
francescomani authored
-
francescomani authored
-