Merge remote-tracking branch 'origin/cleanup-split8-api' into integration_2026_w14 (!4023)

Cleanup common_lib.h

This change reduces the number of dependecies of common_lib.h and simplifies
the task of implementing an external OAI radio library.
This commit is contained in:
Jaroslava Fiedlerova
2026-04-02 18:33:50 +02:00
committed by Robert Schmidt
35 changed files with 80 additions and 48 deletions
@@ -17,6 +17,7 @@
#include "nrLDPC_cnProc.h"
#include "nrLDPC_bnProc.h"
#include "openair1/PHY/CODING/coding_defs.h"
#include "log.h"
#define UNROLL_CN_PROC 1
#define UNROLL_BN_PROC 1
#define UNROLL_BN_PROC_PC 1
+1
View File
@@ -17,6 +17,7 @@
#include "openair2/COMMON/prs_nr_paramdef.h"
#include "SCHED_NR_UE/harq_nr.h"
#include "nr-uesoftmodem.h"
#include "common/config/config_userapi.h"
void RCconfig_nrUE_prs(void *cfg)
{
@@ -7,6 +7,7 @@ extern "C" {
#include <stdlib.h>
#include "openair1/PHY/defs_nr_common.h"
#include "openair1/PHY/INIT/nr_parms.h"
#include "common/config/config_userapi.h"
static softmodem_params_t softmodem_params;
softmodem_params_t *get_softmodem_params(void)
+1
View File
@@ -17,6 +17,7 @@
#include "common/platform_types.h"
//#include "dci.h"
#include "PHY/LTE_TRANSPORT/uci_NB_IoT.h"
#include "common/cmake_defs.h"
//#include "dci.h"
//#include "uci.h"
//#ifndef STANDALONE_COMPILE
@@ -12,6 +12,7 @@
#include "dci.h"
#include "mdci.h"
#include "uci_common.h"
#include "common/cmake_defs.h"
//#ifndef STANDALONE_COMPILE
// #include "UTIL/LISTS/list.h"
//#endif
+1
View File
@@ -15,6 +15,7 @@
#include "PHY/NR_REFSIG/ss_pbch_nr.h"
#include "PHY/NR_REFSIG/dmrs_nr.h"
#include "log.h"
#include "nfapi/open-nFAPI/nfapi/public_inc/nfapi_nr_interface.h"
uint8_t allowed_xlsch_re_in_dmrs_symbol(uint16_t k,
+1
View File
@@ -17,6 +17,7 @@
#include <stdlib.h>
#include <math.h>
#include "defs.h"
#include "log.h"
#include "PHY/NR_REFSIG/ul_ref_seq_nr.h"
+1
View File
@@ -9,6 +9,7 @@
#include "nr_transport_common_proto.h"
#include "PHY/CODING/coding_defs.h"
#include "PHY/defs_nr_common.h"
#include "log.h"
uint32_t
nr_get_G(uint16_t nb_rb, uint16_t nb_symb_sch, uint8_t nb_re_dmrs, uint16_t length_dmrs, uint32_t unav_res, uint8_t Qm, uint8_t Nl)
+2
View File
@@ -4,6 +4,8 @@
#include <stdlib.h>
#include "common/utils/system.h"
#include "common/utils/utils.h"
#include "common/utils/LOG/log.h"
#include "executables/softmodem-common.h"
#include "executables/nr-softmodem-common.h"
#include <forms.h>
+1
View File
@@ -8,6 +8,7 @@
#include <executables/softmodem-common.h>
#include <openair1/PHY/TOOLS/calibration_scope.h>
#include "nfapi/oai_integration/vendor_ext.h"
#include "common/config/config_userapi.h"
int oai_exit=false;
+1
View File
@@ -22,6 +22,7 @@
//#include <complex.h>
#include "assertions.h"
#include "common/utils/LOG/log.h"
#include "common/cmake_defs.h"
#define msg(aRGS...) LOG_D(PHY, ##aRGS)
//use msg in the real-time thread context
#define msg_nrt printf
+1
View File
@@ -17,6 +17,7 @@
#include "nfapi_nr_interface_scf.h"
#include "common/utils/threadPool/task_ans.h"
#include "common/utils/threadPool/thread-pool.h"
#include "common/utils/threadPool/notified_fifo.h"
#define MAX_BANDS_PER_RRU 4
#define MAX_RRU_CONFIG_SIZE 1024