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:
Bartosz Podrygajlo
2026-03-31 11:50:35 +02:00
parent af4b0d53e9
commit e4d2d2b827
33 changed files with 77 additions and 50 deletions
@@ -11,6 +11,7 @@
#include "PHY/CODING/nrLDPC_decoder/nrLDPCdecoder_defs.h"
#include "PHY/CODING/coding_defs.h"
#include "common/config/config_userapi.h"
#include <stdint.h>
#include <getopt.h>
+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_phy_init.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
@@ -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