1. 07 Jul, 2023 17 commits
    • Robert Schmidt's avatar
      Make ethernet off by default in build_oai · 557e3ba8
      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.
      557e3ba8
    • Robert Schmidt's avatar
      Move radio CMakeLists.txt to subdirectory · ddf549b1
      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
      ddf549b1
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
      Remove libcrypto, correctly search and link libcrypt · 47da0a02
      Robert Schmidt authored
      - libcrypto is not used
      - we use libcrypt, so correctly check for it, and link to the
        corresponding targets
      47da0a02
    • Robert Schmidt's avatar
      CONFIG_LIB: do not include libconfig headers globally · c9231dd0
      Robert Schmidt authored
      Use target_include_directories() only on relevant targets.
      Remove from some targets that don't use the config module.
      c9231dd0
    • Robert Schmidt's avatar
      Repair rftest · 18751905
      Robert Schmidt authored
      - needs forms library, so link it
      - fix warnings
      18751905
    • Robert Schmidt's avatar
      Make shlib_loader OBJECT library to prevent multiple compilations · 387f5e41
      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.
      387f5e41
    • Robert Schmidt's avatar
      Fix minimal_stub.c · 28ec4944
      Robert Schmidt authored
      It uses definitions from stdlib.h, so include it.
      28ec4944
    • Robert Schmidt's avatar
      Properly check and link (C)BLAS and LAPACKE dependencies · be4c03c9
      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.
      be4c03c9
    • Robert Schmidt's avatar
      Remove targets/Makerules: it is not used · 25f2a482
      Robert Schmidt authored
      25f2a482
    • Robert Schmidt's avatar
      Refactor CMakeLists.txt OpenSSL handling · 25edebb5
      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
      25edebb5
    • Robert Schmidt's avatar
      439b6027
    • Robert Schmidt's avatar
    • Robert Schmidt's avatar
      Remove unused cmake options and commented code · 5b534c95
      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
      5b534c95
    • Robert Schmidt's avatar
      Remove cmake ENB_MODE option · 7ebdaf35
      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.
      7ebdaf35
    • Robert Schmidt's avatar
      Remove cmake NAS_NETLINK option · 11f4bd9c
      Robert Schmidt authored
      This option is almost not referenced anywhere,  and not documented.
      Remove it to avoid problems in the future.
      11f4bd9c
    • Robert Schmidt's avatar
      Remove unused includes · 32566062
      Robert Schmidt authored
      - openair2/ENB_APP/CONTROL_MODULES: this directory does not exist
        anymore
      - openair2/UTIL/{OMG,CLI,OMV}: not used anywhere
      32566062
  2. 20 Jun, 2023 1 commit
    • Robert Schmidt's avatar
      Merge branch 'integration_2023_w24' into 'develop' · 773a35ef
      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
      773a35ef
  3. 16 Jun, 2023 12 commits
  4. 15 Jun, 2023 2 commits
  5. 14 Jun, 2023 2 commits
  6. 13 Jun, 2023 2 commits
  7. 12 Jun, 2023 4 commits