Robert Schmidt
6642b467e1
Implement PDU session estab through NGAP Initial UE Context Setup
...
This commit allows the gNB to handle PDU sessions that the core requests
to setup during the NGAP Initial UE Context Setup. Previously, we only
managed them as part of PDU Session Resource Setup Request.
The RRC will, depending on whether a PDU session is in the NGAP Initial
UE Context Setup, either directly trigger the Security Command, or first
do a bearer setup at the CU-UP. Some asserts have been lifted, as now
the PDU sessions might be present before the RRC Connection is fully
established.
Implement the correct forwarding of the bearers in an F1 UE Context
Setup Request message.
This solves bug #672 .
2024-02-03 11:28:43 +01:00
Robert Schmidt
c818e9b5fe
F1 UE Ctxt modif response: look up PDU sessions
2024-02-03 11:28:43 +01:00
Robert Schmidt
4c7080ec3f
E1 bearer ctx handler: correctly index (single) DRB
2024-02-03 11:28:43 +01:00
Robert Schmidt
ce4ec2965b
E1 bearer ctxt setup handler: correct AssertFatal()
...
The number of tunnels corresponds to number of DRBs, so correctly
compare tunnels and DRBs.
2024-02-03 11:28:43 +01:00
Luis Pereira
04c6c34d24
NR MAC stats: make more compact, update CI checker
...
- show MAC bytes in one line
- add MCS table idx
- show ulsch errors before ulsch DTX (as in DL)
- show if UE in-sync/out-of-sync
- show CU UE ID next to RNTI to stats
Since we modify the format of the statistics, fix the format in the retx
checkers of the CI.
2024-02-03 11:24:41 +01:00
Robert Schmidt
da7c02b872
PDCP: add log to info for adding/releasing bearer
2024-02-03 11:24:41 +01:00
Robert Schmidt
13a4a20495
Improve gNB MAC logs
...
- Demote logs judged unimportant to debug
- Indicate UE for UL failure
- set_QoSConfig(): correct log
2024-02-03 11:24:41 +01:00
Robert Schmidt
8ec4279613
Release SDAP when releasing UE over E1
2024-02-03 11:24:41 +01:00
Robert Schmidt
b09526c83e
Bugfix: fix use-after-free of UE caps
2024-01-31 17:41:44 +01:00
Robert Schmidt
36ceb6f9c0
Merge remote-tracking branch 'origin/Fix_PM_value_for_DCI_1_0' into integration_2024_w04
2024-01-27 11:11:58 +01:00
Robert Schmidt
8e0664c0c0
Merge remote-tracking branch 'origin/NR_UE_fix_find_pucch_resourceset' into integration_2024_w04
2024-01-27 11:11:49 +01:00
francescomani
5e18bbd55d
Merge remote-tracking branch 'origin/NR_UE_dlsch_rescource_allocation_type0' into integration_2024_w04
2024-01-26 17:23:07 +01:00
francescomani
82f38d86a5
Merge remote-tracking branch 'origin/NR_UE_prepare_msg3_payload_in_advance' into integration_2024_w04
2024-01-26 17:12:54 +01:00
luis_pereira87
263104388c
Improve Precoding Matrix computation taking in consideration the DCI format
2024-01-26 10:04:45 +00:00
Jaroslava Fiedlerova
8047b98627
Merge remote-tracking branch 'origin/limit_pucch_payload_to_11bits' into integration_2024_w04
2024-01-26 10:30:49 +01:00
Jaroslava Fiedlerova
a0de76ca96
Merge remote-tracking branch 'origin/NR_UE_reworking_NOS1_bearer_configuration' into integration_2024_w04
2024-01-26 09:43:45 +01:00
Jaroslava Fiedlerova
679a0084c5
Merge remote-tracking branch 'origin/fix-ue-scheduler-stack-copy' into integration_2024_w04
2024-01-26 09:35:48 +01:00
Raymond Knopp
6667393347
this limits PUCCH payload to 11 bits, 7 CSI + 3 ACKNACK + 1 SR maximum.
2024-01-25 12:25:40 +01:00
Laurent THOMAS
eac30839c6
rework the ul_config_request data structure: put the mutex in correct place and encapsulate the struct management in access API, remove internal storage visibility
2024-01-24 16:14:49 +01:00
Laurent THOMAS
3e9274eed6
simplify and make more efficient the tx data pdu attach to the pusch configuration
2024-01-24 14:18:59 +01:00
Laurent THOMAS
7e244b3da3
make return in ul_config case correct, replace asserts by LOG_E()and return error
2024-01-24 11:41:01 +01:00
Laurent THOMAS
84ade524e4
Simplify interface by removing dcireq_t struct that was only calling one function and remove fill_scheduled_response that also fills only a struct in a complex way
2024-01-23 18:38:11 +01:00
Laurent THOMAS
99815be715
make frame/slot in ul_config dl_config instead of upper structures value, fix modulo computation of frame
2024-01-23 18:04:08 +01:00
francescomani
5043ca3577
improvements in handling bucketSize at MAC UE
2024-01-23 16:53:56 +01:00
francescomani
4f3fcbfe13
free cellGroupConfig in RRC where it is allocated
2024-01-23 16:53:56 +01:00
francescomani
11b783177c
logicalChannelBearer config in nr_rrc_mac_config_req_cg
...
This commit removes nr_rrc_mac_config_req_ue_logicalChannelBearer and handles configuration of logical channel bearers at MAC in nr_rrc_mac_config_req_cg.
This also avoids to configure LCs before resetting them again nr_rrc_mac_config_req_cg().
2024-01-23 16:53:56 +01:00
francescomani
b4df99ea11
fix for find_pucch_resource_set
2024-01-23 15:18:04 +01:00
Robert Schmidt
b8e377d4ca
Add single assert to check for validity in code
2024-01-23 13:42:29 +01:00
francescomani
3dcd4306cf
prepare MSG3 in advance at RRC UE to be sure it is always ready when requested by MAC
2024-01-22 17:03:36 +01:00
Jaroslava Fiedlerova
3c1405f606
Merge remote-tracking branch 'origin/NR_precoding_marix_at_MAC' into integration_2024_w03
2024-01-19 15:31:21 +01:00
Jaroslava Fiedlerova
4aa5f3d63e
Merge remote-tracking branch 'origin/remove_detect_leaks_from_rfsim_SA_CI_tests' into integration_2024_w03
2024-01-19 15:16:37 +01:00
Jaroslava Fiedlerova
8a2d9c10f2
Merge remote-tracking branch 'origin/liteon_du_integration' into integration_2024_w03
2024-01-19 15:12:54 +01:00
Jaroslava Fiedlerova
01c7dca652
Merge remote-tracking branch 'origin/update-e2-agent' into integration_2024_w03
2024-01-19 11:35:30 +01:00
francescomani
0e5c040aa1
purge unnecessary maybeRNTI from PDCP
2024-01-19 11:33:27 +01:00
francescomani
ceef53c56a
improvements in ITTI for multi-ue instances
2024-01-19 11:33:27 +01:00
francescomani
8cd2d44698
using ue-id instead of rnti to address RLC at UE
2024-01-19 11:33:27 +01:00
francescomani
08f0283c43
improvements in initializing multiple instances of MAC and RRC
2024-01-19 11:33:27 +01:00
francescomani
82e323eed4
using instance to identify PDCP at UE
2024-01-19 11:33:27 +01:00
francescomani
c8afb25d3b
moving generation of precoding matrices at MAC and trying to adapt to SCF (1st version)
2024-01-19 09:21:08 +01:00
Giulio Carota and Robert Schmidt
20710c9a91
Implement F1AP RRC Version encoding/decoding in CU&DU
...
RRC Version is a required IE. Hence, implement the encoder and decoder
for this message. At the DU and CU, read the RRC Version we use and fill
the corresponding field.
Co-authored-by: Robert Schmidt <robert.schmidt@openairinterface.org >
2024-01-18 15:02:00 +01:00
Teodora
9207e13467
Service Models support in CU-UP
...
- e2_ran_func library divided into e2_ran_func_cuup (CU-UP only) and e2_ran_func_du_cucp_cuup (DU, CU, CU-CP and gNB-mono)
- GTP SM is not yet implemented in CU-UP -> CU-UP doesn't store PDU session information
- PDCP SM support for gNB-mono, CU and CU-UP
- KPM SM support for all node types (DU, CU, CU-UP, CU-CP and gNB-mono)
2024-01-17 15:53:52 +01:00
francescomani
698b0f5f95
trying to avoid heap-use-after-free in ue dci configuration
2024-01-15 17:57:22 +01:00
Robert Schmidt
b81dce836c
Merge remote-tracking branch 'origin/null-pointer-in-nr_generate_Msg3_retransmission' into integration_2024_w02
2024-01-13 17:42:30 +01:00
Laurent THOMAS
f24cff929e
make better version of nr_get_msg3_payload()
2024-01-12 17:56:36 +01:00
Laurent THOMAS
4958f8b6d7
segv on null pointer
2024-01-12 17:55:50 +01:00
Jaroslava Fiedlerova
bcd8ad26e9
Merge remote-tracking branch 'origin/fix_building_rach_occasions_for_multiple_bwps' into integration_2024_w02
2024-01-12 10:05:33 +01:00
Jaroslava Fiedlerova
31cc7a077b
Merge remote-tracking branch 'origin/fix-ue-rx-tx-thread-synchro' into integration_2024_w02
2024-01-12 09:42:14 +01:00
Jaroslava Fiedlerova
40d24a09a1
Merge remote-tracking branch 'origin/NR_UE_BG_at_MAC' into integration_2024_w02
2024-01-12 09:41:27 +01:00
francescomani
4582a95203
fix to handle a scenario where a CHOICE ASN1 structure changes type in a reconfiguration
2024-01-10 09:07:53 +01:00
Robert Schmidt
9d98693bec
Make nr_ue_process_rar() static
2024-01-09 16:15:14 +01:00