francescomani
a343ec03fd
changes in get_transformPrecoding to follow what's written in 6.1.3 of 214
2024-10-10 11:58:07 +02:00
francescomani
a6f03b3f79
ULSCH scheduler fix when using transform precoding
...
Bug in ULSCH scheduler for transform precoding. It ignores transform precoding specific tables when building ul_pf_tbs.
2024-10-09 09:45:01 +02:00
Jaroslava Fiedlerova
dbd37dac38
Merge remote-tracking branch 'origin/minor-ue-fixes' into integration_2024_w40b
2024-10-07 16:40:09 +02:00
Laurent THOMAS
8f46b07b22
Lacking RRC check: avoid SEGV if the received packet is not what we believe
2024-10-07 13:39:29 +02:00
Laurent THOMAS
f77f428767
Small optimization L2 to wireshark
...
the code creates a sink to read all traced packets and drop it. but
this works only if we send to a local address and if there is not
another sink (like if we trace both UE and gNB in the same machine).
this sink's purpose is only to prevent to get automatic packets back
from the kernel saying "no listener". So, instead of killing the trace
when we can't create the sink (as done previously), we now just let the
trace in operation.
2024-10-07 13:37:34 +02:00
Jaroslava Fiedlerova
fa6840c05e
Merge remote-tracking branch 'origin/gnb-config-code-refactoring' into integration_2024_w40b
2024-10-04 16:36:23 +02:00
Jaroslava Fiedlerova
7be2a165b3
Merge remote-tracking branch 'origin/f1ap-msg-encdec-tests' into integration_2024_w40b
2024-10-04 07:52:01 +02:00
Robert Schmidt
fa5ca8d7ea
Merge remote-tracking branch 'origin/756-segfault-in-l1_rx_thread' into integration_2024_w40
2024-10-02 17:06:57 +02:00
Robert Schmidt
27d073d4f6
Free CellGroup
2024-10-02 17:04:53 +02:00
Robert Schmidt
ba10db149a
Logs when UE cannot use CCCH
2024-10-02 17:04:53 +02:00
andrewse
2335f5b6cf
Don't call mac_rlc_data_ind when SRB0 already exist for UE.
...
It can happen that L1 gives us a TB that we interpret as receiving UL
MAC TB with LCID "UL_SCH_LCID_CCCH1". This might or might not be
correct, but currently, we observe segfaults when trying to encode the
cellgroup in send_initial_ul_rrc_message() (encode_cellGroupConfig()).
This fix prevents a segfault by not delivering a MAC SDU to RLC if CCCH
is already present. Note that in some cases, this could still happen,
e.g. Resume Request. However, we don't support this message, so ignore
it for the moment.
This fix enables a gNB to operate continuously for extended periods
(days), which is essential for real deployment scenarios.
Closes : #756
2024-10-02 17:04:53 +02:00
Guido Casati
48bb594e30
Cleanup gnb_config.c
2024-10-02 11:39:24 +02:00
Guido Casati
1438dfbd35
Refactored fill_scc_sim
...
* clang formatted
* code cleanup
* improve readability
2024-10-02 11:39:24 +02:00
Guido Casati
8d222bc474
Refactoring of prepare_scc
...
* improved readability
* clang formatted
2024-10-02 11:39:23 +02:00
Guido Casati
a32a8504c9
Use a macro to initialize NR_SetupRelease structs
...
* introduced macro INIT_SETUP_RELEASE to optimize code in gnb_config.c
2024-10-02 11:36:43 +02:00
Guido Casati
56e510b2f2
Use calloc_or_fail in gnb_config.c
2024-10-02 11:36:43 +02:00
Guido Casati
13757cfd28
Cleanup of long-time commented out code in prepare_scc
2024-10-02 11:36:43 +02:00
Bartosz Podrygajlo
fecff5f346
Reset SRS power control adjustment state if p0 or alpha is provided
...
Reset h_b_f_c (SRS power control adjustment state) when SRS-ResourceSet
p0 or alpha is provided by higher layers, accroding to 38.213 7.3.1.
2024-10-01 10:15:40 +02:00
Bartosz Podrygajlo
7359c6b66e
Move h_b_f_c to UL BWP
...
Move h_b_f_c (or SRS power control adjustment state) to UL BWP structure. This is a per
bwp parameter so it makes sense to make its lifetime the same as BWP, even if we dont support
>1 UL BWPs.
2024-10-01 10:15:33 +02:00
Bartosz Podrygajlo
bfc47445ee
SRS tx power with power control state
2024-10-01 10:15:23 +02:00
Jaroslava Fiedlerova
6984c05aad
Merge remote-tracking branch 'origin/fix_nr_pdcp_tick' into integration_2024_w39
2024-09-30 13:14:06 +02:00
Robert Schmidt
51bb3d25cf
Merge remote-tracking branch 'origin/small_fixes_for_5G_NR' into integration_2024_w39
2024-09-29 22:09:26 +02:00
Xin Zhe Khooi
163d058d4a
introduce dedicated nr pdcp tick thread for F1 split
...
Currently, NR PDCP ticks are active only with monolithic gNB, triggered by the MAC scheduler in gNB_scheduler.c.
In F1 split mode, as there is no MAC, there’s no source to advance the NR PDCP timer via "nr_pdcp_wakeup_timer_thread()".
This commit introduces a dedicated thread for NR PDCP ticks in gNB-CU and CU-UP mode.
Without it, packet losses at the F1 uplink would cause indefinite buffering, as t-Reordering won't expire due to the lack of NR PDCP timer ticks.
2024-09-29 15:10:54 +00:00
Jaroslava Fiedlerova
6d09b2179e
Merge remote-tracking branch 'origin/NR_UE_UL_time_alignment' into integration_2024_w39
2024-09-27 17:40:15 +02:00
Guido Casati
3aa9f4c0be
Use F1 gNB-DU Configuration Update Acknowledge lib in stack
2024-09-27 17:39:00 +02:00
Guido Casati
b8ee622f1c
Add test for F1 DU Configuration Update Acknowledge lib
2024-09-27 17:38:55 +02:00
Guido Casati
b91e1b0a12
Add enc/dec lib for F1AP gNB-DU Configuration Update Acknowledge (Interface Management)
2024-09-27 17:38:52 +02:00
Guido Casati
3ce1f0e2c5
Use F1 gNB-CU Configuration Update Acknowledge lib in stack
2024-09-27 17:38:51 +02:00
Guido Casati
c936aabd9a
Add test for CU Configuration Update Acknowledge lib
2024-09-27 17:38:43 +02:00
Guido Casati
3724e84fed
Add enc library for F1 gNB-CU Configuration Update Acknowledge (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
d2863d9693
Refactored f1ap_gnb_cu_configuration_update_acknowledge_t
...
* add transaction_id
* refactored remaining members
2024-09-27 17:38:38 +02:00
Guido Casati
80a05271d6
Use F1AP gNB-CU Configuration Update lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
3626366228
Add test for F1 gNB-CU Configuration Update enc/dec lib
2024-09-27 17:38:38 +02:00
Guido Casati
8e3d6583a5
Add enc/dec library for F1AP gNB-CU Configuration Update (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
c416c57f92
Simplified F1AP gNB-CU Configuration Update message struct
...
* removed optional IEs, whose encoding/decoding is not done
2024-09-27 17:38:38 +02:00
Guido Casati
3b11764d1d
Minor comments
2024-09-27 17:38:38 +02:00
Guido Casati
07da84ede2
Use F1 gNB-DU Configuration Update lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
2cc50832d1
Add test for F1AP gNB-DU Configuration Update enc/dec library
2024-09-27 17:38:38 +02:00
Guido Casati
9958e53cb1
Add encoding/decoding library for F1AP gNB-DU Configuration Update (Interface Management)
2024-09-27 17:38:38 +02:00
Guido Casati
df62abca0c
Removed gNB_CU_name from f1ap_gnb_du_configuration_update_t
...
* not defined in 9.2.1.8 of 3GPP TS 38.473
2024-09-27 17:38:38 +02:00
Guido Casati
289fdfe381
Use F1AP Setup Failure enc/dec lib in stack
2024-09-27 17:38:38 +02:00
Guido Casati
6146c470e2
Add test for F1AP Setup Failure enc/dec lib
2024-09-27 17:38:38 +02:00
Guido Casati
7e495db5ec
Add encoding/decoding lib for F1 Setup Failure (interface management)
2024-09-27 17:38:38 +02:00
Guido Casati
28e2d67ee5
Fixes to F1 Setup Failure
...
* added missing Transaction ID to te F1 Setup Failure message struct
* fill F1 Setup Failure transaction ID in RRC before calling the F1 Setup Failure function
2024-09-27 17:38:38 +02:00
Guido Casati
3a5ace00d2
Use F1AP lib for F1 Setup Response in stack
2024-09-27 17:38:38 +02:00
Guido Casati
df2c92e652
Add test for F1AP Setup Response enc/dec lib
2024-09-27 17:38:35 +02:00
Guido Casati
30628b820c
Add encoding/decoding lib for F1AP Setup Response (Interface Management)
2024-09-27 17:38:30 +02:00
Jaroslava Fiedlerova
36ade4a153
Merge remote-tracking branch 'origin/fix_fapi_SRS_gNB' into integration_2024_w39
2024-09-27 17:12:52 +02:00
Thomas Schlichter
9f8a2573ee
gNB: update DL and UL bler_stats.mcs for logging also in case of harq_round_max == 1
2024-09-27 17:07:15 +02:00
Thomas Schlichter
60ca088e51
gNB: respect config value dl_max_mcs also in case of harq_round_max == 1
2024-09-27 17:07:11 +02:00