- 07 Jul, 2023 17 commits
-
-
Robert Schmidt authored
If it was one, build_oai without parameters would attempt to build the ethernet library. However, this is unexpected, and will lead to an error (as it is by default off in CMake). Set it to off, and build it where required.
-
Robert Schmidt authored
- move following radios: AW2S, BladeRF, IRIS, LMSSDR, RFsimulator, USRP - move following transports: Ethernet, benetel4g, benetel5g - for each: create independent cmake variable to switch compilation on/off, in order: OAI_AW2S, OAI_BLADERF, OAI_IRIS, OAI_LMSSDR, OAI_SIMU, OAI_USRP, OAI_ETHERNET, OAI_BENETEL4G, OAI_BENETEL5G - Remove RF_BOARD variable, allows to compile multiple boards at once - where applicable: remove USERSPACE/LIB in path, i.e., move files up to directories, as all are userspace libraries Note that with the above, it is now mandatory to enable a radio implementation before compiling it, e.g., for USRP: ./build_oai -w USRP cmake .. -DOAI_USRP=ON && ninja oai_usrpdevif
-
Robert Schmidt authored
-
Robert Schmidt authored
- libcrypto is not used - we use libcrypt, so correctly check for it, and link to the corresponding targets
-
Robert Schmidt authored
Use target_include_directories() only on relevant targets. Remove from some targets that don't use the config module.
-
Robert Schmidt authored
- needs forms library, so link it - fix warnings
-
Robert Schmidt authored
Including sources in targets makes that file being compiled multiple times. Instead, define an OBJECT library (i.e., it is only compiled, but not linked), and link it into each target that uses it.
-
Robert Schmidt authored
It uses definitions from stdlib.h, so include it.
-
Robert Schmidt authored
Instead of using the adhoc code for checking and including (globally!) BLAS/LAPACKE, use PkgConfig to correctly identify libs (see deleted comment: "Hope this gets fixed in future!" -- you are welcome). Next, only link into those libraries that need it (PHY_UE, SIMU). Note that only RHEL also needs cblas, so it is a non-REQUIREd dependency that is only linked in if available. Further, take out linking into all other modules, as they don't need it. In the source code, take out preprocessor directives to correctly include headers -- that is cmake's job, which it does just fine now.
-
Robert Schmidt authored
-
Robert Schmidt authored
First, we do not include openssl globally using `include_directories()`, as most modules don't need it. Further, it is linked into SECURITY, and removed from all other targets (they don't need it, only SECURITY). Finally, remove a header include in NR PDCP that is not needed
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
- LINUX: option to optionally set a sighandler for certain simulators, no practical relevance - LINUX_LIST: not used anywhere - DEBUG_DLSCH: referenced in the code, but those files have a separate (commented) line `#define DEBUG_DLSCH`; probably never used - LINK_ENB_PDCP_TO_IP_DRIVER, LINK_ENB_PDCP_TO_GTPV1U: commented in cmake, although they are referenced. It is likely that code behaves unexpected if re-enabled; we therefore remove these options to avoid future problems - Remove some more commented code
-
Robert Schmidt authored
ENB_MODE is a cmake option to swap the order of include directories. This has historical reasons; before OAI used cmake, it was very sensitive to the order of includes. Nowadays, the order does not matter. Remove this option, and fix the compilation issues that arise while doing so.
-
Robert Schmidt authored
This option is almost not referenced anywhere, and not documented. Remove it to avoid problems in the future.
-
Robert Schmidt authored
- openair2/ENB_APP/CONTROL_MODULES: this directory does not exist anymore - openair2/UTIL/{OMG,CLI,OMV}: not used anywhere
-
- 20 Jun, 2023 1 commit
-
-
Robert Schmidt authored
integration_2023_w24 See merge request oai/openairinterface5g!2171 * !2108 Fix reconfigurationWithSync * !2138 check if SSB is on the sync raster for SA * !2149 Fix for physCellId different from 0 for CU DU * !2157 e1: fix security * !2161 asn1: properly initialize variables for uper_decode() and aper_decode() * !2143 PUCCH UE F0 and F1 refactoring and fixes * !2170 bladerf: have it functional (lte only, no nr) * !2102 Adding Sidelink (SL) carrier frequency * !2096 remove generic thread pool abort and use 3GPP CRC to detect the segment is decoded * !2158 NR UE adding flag for activation of AS security
-
- 16 Jun, 2023 12 commits
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
francescomani authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
1. Adding a "SL" frequency for Sidelink mode. The importance of this variable is to ensure that when we are in mode 1 (UE+UE+gNB), that the slot configuration and frequencies do not overlap. This SL frequency is important for rotation and allows us to utilize the OFDM modulation and demodulation functions that already exist in OAI. 2. Adding sl_mode to the command line for proper UE deployment when in SL mode. sl_mode can be set to 0, 1, or 2. sl_mode 0 indicates no-Sidelink at all, mode 1 is gNB, UE, and UE (3GPP defines mode numbers). sl_mode 2 indicated UE to UE communications with no gNB at all. 3. New functions for calculating the carrier frequency for SL mode.
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- 15 Jun, 2023 2 commits
-
-
Cedric Roux authored
At Eurecom now we only have Nuand bladeRF 2.0 (bladerf2) and those calibration calls fail, so let's remove them. Maybe they are needed for other boards, but we can't test at Eurecom. In case of problems with other boards, contact us.
-
Laurent THOMAS authored
-
- 14 Jun, 2023 2 commits
-
-
francescomani authored
-
laurent authored
clang annoying chosen options
-
- 13 Jun, 2023 2 commits
-
-
francescomani authored
-
General ABS authored
-
- 12 Jun, 2023 4 commits
-
-
Cedric Roux authored
-
laurent authored
-
laurent authored
-
Laurent THOMAS authored
-