Angelo Athanassopoulos
5403198996
NR RRC - RRCReestablishment - Fix MultiplePDU Regression
...
Added struct member to gNB_RRC_UE_t to store the established DRBs for a UE, this can be used to generate ASN1 structs, during RRCReconfiguration
2023-04-04 00:18:44 +02:00
Robert Schmidt
51fe9b84dd
Merge remote-tracking branch 'origin/pdcp-callbacks-simplify' into integration_2023_w13
2023-03-31 18:03:40 +02:00
Robert Schmidt
5268dbf3f8
Merge remote-tracking branch 'origin/deregistration' into integration_2023_w13
2023-03-31 18:01:00 +02:00
Robert Schmidt
8c1aeb4ab9
Merge remote-tracking branch 'origin/develop-fix-DL-2x2-errors' into integration_2023_w13
2023-03-31 17:59:54 +02:00
Robert Schmidt
c4a9f0ea03
gNB RRC: Shorten time till UE is removed for RRCRelease
2023-03-31 17:23:03 +02:00
Robert Schmidt
a6149386dc
NR UE MAC: Decode TBS and print warning if unknown LCID
2023-03-31 17:23:03 +02:00
Robert Schmidt
25b3aaf230
NR UE RRC: DCCH messages can be on SRB1 or SRB2
2023-03-31 17:23:03 +02:00
Robert Schmidt
06436655ff
Bugfix: Forward F1 DL RRC Message transfer on correct SRB
2023-03-31 17:22:59 +02:00
Robert Schmidt
7fb242d33e
Send NAS_CONN_RELEASE_IND to correct NAS UE task from RRC NR UE
2023-03-31 17:22:59 +02:00
Roberto Louro Magueta
b69fb5bd74
Do not send TA command when rrc_processing_timer is active
2023-03-31 14:38:56 +01:00
Robert Schmidt
d1fc95a8a1
GTP: when creating a tunnel, tell which functions to use
...
The GTP module is common for 4G and 5G. It hardcodes the functions to
call when creating S1U and NGU tunnels. The S1U case is both applicable
for LTE and NR (NSA), which until now was not a problem as the PDCP data
forwarding functions where called pdcp_data_req. The issue is that in this
branch, the NR PDCP functions have changed to nr_pdcp_data_req_drb().
When setting up a GTP tunnel, we now pass the PDCP data forwarding
functions into GTP, since the caller knows whether it is in 4G or 5G,
but GTP itself does not.
2023-03-31 11:53:52 +02:00
Robert Schmidt
99d5e50b6a
fix merge
2023-03-30 19:58:55 +02:00
Robert Schmidt
1ac428a323
Merge remote-tracking branch 'origin/develop-handle-reconfigurationWithSync' into integration_2023_w13
2023-03-30 19:19:37 +02:00
Roberto Louro Magueta
cf8dff2093
Implementation to update the RRC timers at UE
2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
670fcc0459
Fix handle_nr_ul_harq() for CFRA in SA
2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
81d44c6422
Stop timer T304 when RA is succeeded
2023-03-28 18:52:48 +01:00
Roberto Louro Magueta
889a50072f
Implementation of resynchronization procedures for a gNB with a given Nid_cell
2023-03-28 18:52:48 +01:00
Robert Schmidt
4700dde2ae
Trigger deregistration
2023-03-28 14:12:05 +02:00
Robert Schmidt
e35401efde
NAS refactor: no moduleID, group UICC and security in one context
2023-03-28 14:12:05 +02:00
Robert Schmidt
6529d875d8
nr_pdcp_data_req_srb(): take callback to forward data
2023-03-27 16:47:46 +02:00
Robert Schmidt
ffebe2498d
Simplify callback for deliver_pdu
2023-03-27 16:47:46 +02:00
Robert Schmidt
0f43c2c713
PDCP DL handling: unlock PDCP before forwarding PDU
...
nr_pdcp_entity_recv_sdu() processes PDCP SDUs, and forwards the PDU at the
end of the function, while having the PDCP lock. This can lead to
deadlocks, e.g., when another thread goes through RLC and tries to
access the PDCP while the PDCP tries to lock the RLC.
This commit changes the logic: instead of having recv_sdu() forward the
PDU directly, it fills a buffer with the PDU (thus the name change to
process_sdu()), and returns. We then unlock the PDCP, before forwarding
the PDU, thus eliminating potential deadlocks.
2023-03-27 16:47:46 +02:00
Robert Schmidt
c405ad16a8
Remove nr_rrc_data_req()/rrc_data_req_nr_ue()
2023-03-27 16:47:46 +02:00
Robert Schmidt
2ac2a7f074
Make separate header for nr_pdcp instead of using 4G pdcp
...
Creates function that have nr_pdcp_ prepended to their name, and change
the signature of some functions for the 5G PDCP:
- nr_pdcp_layer_init()
- nr_pdcp_data_req()
- nr_pdcp_remove_UE()
- nr_pdcp_config_set_security()
- nr_pdcp_remove_UE()
- Make separate functions for nr_pdcp_data_req_srb/drb()
2023-03-27 16:39:24 +02:00
Robert Schmidt
a458a251a0
PDCP: harmonize DL RRC Message transfer
2023-03-27 16:39:24 +02:00
francescomani
0d66410317
another round of review
2023-03-27 15:39:49 +02:00
francescomani
7c9b501310
removing call from MAC to PHY to clear structures (now automatic clearing)
2023-03-27 15:26:52 +02:00
Roberto Louro Magueta
dcdf057dc8
Enable T304 after receiving the reconfigurationWithSync
2023-03-27 10:50:00 +01:00
Robert Schmidt
8fd0ad58b2
Merge remote-tracking branch 'origin/NR_harmonize_mac_cellgroup' into integration_2023_w12
2023-03-24 11:56:41 +01:00
Robert Schmidt
9eac725441
Merge remote-tracking branch 'origin/simplify-f1-rrc-msg-transfer' into integration_2023_w12
2023-03-24 11:56:30 +01:00
Robert Schmidt
5b8674cc57
Remove any reference to NR_SRB_INFO in gNB RRC
2023-03-23 10:30:49 +01:00
Robert Schmidt
b5acd48e5b
Remove unused rrc_rlc_register_rrc()
2023-03-22 19:21:06 +01:00
Robert Schmidt
acf73ac23f
Delete misleading comment
2023-03-22 19:03:51 +01:00
Robert Schmidt
b3791364fd
Review: correct indentation
2023-03-22 19:03:42 +01:00
Robert Schmidt
7c0cb06e59
Review: correct indentation
2023-03-22 19:03:31 +01:00
francescomani
508b67e5e5
limiting SR periodicity according to scs
2023-03-21 13:52:03 +01:00
francescomani
90bfdfcaf3
harmonize mac_CellGroupConfig
2023-03-20 17:18:02 +01:00
Robert Schmidt
7b40520a2d
Do not handle NR_RRC_DL_INDICATION message at NR RRC
...
The message is never sent to the RRC. And this message is to be
forwarded by the DU to the UE, hence it should not even be handled by
the RRC (as the RRC in the CU sends it).
2023-03-20 16:57:58 +01:00
Robert Schmidt
b3ff033e29
Do not decode RRC Container in DL RRC message
...
The RRC container is transparent for the DU. Hence, we should not decode
it.
2023-03-20 16:57:58 +01:00
Robert Schmidt
27566f49dd
Create CellGroup, SRB0, and SRB1, before sending Initial UL RRC message
...
During the Initial UL RRC Message, the CellGroup is created. Since the
CellGroup specifies the SRB1, the SRB1 should also be created (because
the DL RRC Messages is sent via SRB1). However, before this commit, the
CellGroup is created while having the RLC lock, so we cannot create
SRB1, as it results in a deadlock.
Therefore, we now first create CellGroup, SRB0, and SRB1, before giving
the UE message to the RLC.
2023-03-20 16:57:58 +01:00
Robert Schmidt
c4c41d3b69
Simplify nr_rlc: provide functions to add SRB/DRB
2023-03-20 16:57:58 +01:00
Robert Schmidt
0ed9201169
Remove useless node_type switches in RRC
2023-03-20 16:57:55 +01:00
luis_pereira87
3514cb43ba
Minor fixes to get NR_RRCReestablishment working again after merging on the integration branch
2023-03-20 09:23:05 +00:00
luis_pereira87
40b5e99197
Fix segmentation fault when calling get_transformPrecoding function for BWP_id > 0 and rach_ConfigCommon = NULL
2023-03-18 15:28:52 +00:00
Robert Schmidt
7773311e0e
Merge remote-tracking branch 'origin/NR_UL_scheduler_warnings' into integration_2023_w11b
2023-03-18 12:05:13 +01:00
Robert Schmidt
15055c26b8
Merge remote-tracking branch 'origin/616-gnb-remote-n3-port-can-no-more-be-modified' into integration_2023_w11b
2023-03-18 12:04:58 +01:00
Robert Schmidt
d77c1c3ebf
Merge remote-tracking branch 'origin/NR_identity_precoding_from_config' into integration_2023_w11b
2023-03-18 12:04:52 +01:00
Robert Schmidt
93f42683d1
Merge remote-tracking branch 'origin/NR_improve_UE_state_machine' into integration_2023_w11b
2023-03-18 11:53:24 +01:00
Robert Schmidt
6fdb44953b
Merge remote-tracking branch 'origin/nr_rrc_asn1_1730' into integration_2023_w11b
2023-03-18 11:53:18 +01:00
Robert Schmidt
9dc3f4f61f
Merge remote-tracking branch 'origin/rework-ngap' into integration_2023_w11b
2023-03-18 11:43:53 +01:00