francescomani
eccecde2c7
Merge remote-tracking branch 'origin/fix-SNR-based-on-SRS' into integration_2024_w41
2024-10-14 14:31:17 +02:00
Jaroslava Fiedlerova
a177dfa3bb
Merge remote-tracking branch 'origin/transform_precoding_hotfix' into integration_2024_w41
2024-10-14 13:22:54 +02:00
francescomani
4528be42de
Merge remote-tracking branch 'origin/NR_gNB_BF_matrix' into integration_2024_w41
2024-10-11 16:55:25 +02:00
rmagueta
765bb64b5c
Fix SNR based on SRS
2024-10-11 11:12:21 +01:00
Robert Schmidt
e8597a16ed
Merge remote-tracking branch 'origin/NR_CSI_improvements' into integration_2024_w41
2024-10-11 11:56:53 +02:00
Robert Schmidt
3d32ce3904
Merge remote-tracking branch 'origin/aerial-cleanup' into integration_2024_w41
2024-10-11 11:56:46 +02:00
Jaroslava Fiedlerova
cab28f0f5a
Merge remote-tracking branch 'origin/misc-fixes' into integration_2024_w41
2024-10-11 11:09:00 +02:00
francescomani
3f550a27be
decouple call for config scc from init of MAC
2024-10-11 08:02:06 +02:00
francescomani
64ed4e9262
handling beams in PHY TX channels
2024-10-11 08:02:06 +02:00
francescomani
7e82854b29
improvements to set beam index via FAPI message
...
use of number of SSBs transmitted before current one as fapi index, creation of a mapping vector from SSB to fapi index
2024-10-11 07:59:36 +02:00
francescomani
2a9a038dbd
improvements in RU beamforming handling procedures
2024-10-11 07:59:31 +02:00
francescomani
f3b6155f17
OAI specific config_request field for analog beamforming
2024-10-10 16:14:32 +02:00
Robert Schmidt
3da3ec1907
Resolve error "unknown type name"
...
Resolve error:
nfapi/oai_integration/aerial/fapi_nvIPC.h:56:16: error: unknown type name ‘nvipc_params_t’
56 | int nvIPC_Init(nvipc_params_t nvipc_params_s);
By including the header. Also, move the definiton of the struct to the
MAC, where it is actually stored, and out of the radio common_lib.h,
since this is not a radio (split 7/8) parameter.
2024-10-10 16:02:29 +02:00
francescomani
6b58d357d9
moving beamforming matrix to MAC and feeding it to FAPI structures
2024-10-10 12:42:17 +02:00
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
francescomani
a54a919bd8
removing UE dependence on gNB CSI FAPI structure and decoupling UE from gNB procedures
2024-10-08 09:46:43 +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
Bartosz Podrygajlo
01066a3f0d
Fix some sizeof and switch-case errors reported by CodeChecker
...
CodeChecker is a python application that collects reports from static analyzers like
clang-tidy, clangsa, cppcheck.
2024-10-07 09:35:24 +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