Skip to content

Commit a252657

Browse files
committed
radio: remove sidekiq radio support
1 parent ec29b0c commit a252657

13 files changed

+4
-2839
lines changed

CMakeLists.txt

+3-13
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ option(ENABLE_RF_PLUGINS "Enable RF plugins" ON)
7373
option(ENABLE_UHD "Enable UHD" ON)
7474
option(ENABLE_BLADERF "Enable BladeRF" ON)
7575
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
76-
option(ENABLE_SKIQ "Enable Sidekiq SDK" ON)
7776
option(ENABLE_ZEROMQ "Enable ZeroMQ" ON)
7877
option(ENABLE_HARDSIM "Enable support for SIM cards" ON)
7978

@@ -216,15 +215,6 @@ if(ENABLE_UHD)
216215
endif(UHD_FOUND)
217216
endif(ENABLE_UHD)
218217

219-
# SKIQ
220-
if (ENABLE_SKIQ)
221-
find_package(SKIQ)
222-
if(SKIQ_FOUND)
223-
include_directories(${SKIQ_INCLUDE_DIRS})
224-
link_directories(${SKIQ_LIBRARY_DIRS})
225-
endif(SKIQ_FOUND)
226-
endif (ENABLE_SKIQ)
227-
228218
# BladeRF
229219
if(ENABLE_BLADERF)
230220
find_package(bladeRF)
@@ -257,12 +247,12 @@ if(ENABLE_TIMEPROF)
257247
add_definitions(-DENABLE_TIMEPROF)
258248
endif(ENABLE_TIMEPROF)
259249

260-
if(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND OR SKIQ_FOUND)
250+
if(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND)
261251
set(RF_FOUND TRUE CACHE INTERNAL "RF frontend found")
262-
else(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND OR SKIQ_FOUND)
252+
else(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND)
263253
set(RF_FOUND FALSE CACHE INTERNAL "RF frontend found")
264254
add_definitions(-DDISABLE_RF)
265-
endif(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND OR SKIQ_FOUND)
255+
endif(BLADERF_FOUND OR UHD_FOUND OR SOAPYSDR_FOUND OR ZEROMQ_FOUND)
266256

267257
# Boost
268258
if(BUILD_STATIC)

cmake/modules/FindSKIQ.cmake

-89
This file was deleted.

lib/src/phy/rf/CMakeLists.txt

-17
Original file line numberDiff line numberDiff line change
@@ -92,23 +92,6 @@ if(RF_FOUND)
9292
install(TARGETS srsran_rf_soapy DESTINATION ${LIBRARY_DIR} OPTIONAL)
9393
endif (SOAPYSDR_FOUND AND ENABLE_SOAPYSDR)
9494

95-
if(SKIQ_FOUND AND ENABLE_SKIQ)
96-
add_executable(skiq_pps_test skiq_pps_test.c)
97-
target_link_libraries(skiq_pps_test ${SKIQ_LIBRARIES} rt pthread m)
98-
add_definitions(-DENABLE_SIDEKIQ)
99-
set(SOURCES_SKIQ rf_skiq_imp.c rf_skiq_imp_card.c rf_skiq_imp_port.c)
100-
if (ENABLE_RF_PLUGINS)
101-
add_library(srsran_rf_skiq SHARED ${SOURCES_SKIQ})
102-
set_target_properties(srsran_rf_skiq PROPERTIES VERSION ${SRSRAN_VERSION_STRING} SOVERSION ${SRSRAN_SOVERSION})
103-
list(APPEND DYNAMIC_PLUGINS srsran_rf_skiq)
104-
else (ENABLE_RF_PLUGINS)
105-
add_library(srsran_rf_skiq STATIC ${SOURCES_SKIQ})
106-
list(APPEND STATIC_PLUGINS srsran_rf_skiq)
107-
endif (ENABLE_RF_PLUGINS)
108-
target_link_libraries(srsran_rf_skiq srsran_rf_utils srsran_phy ${SKIQ_LIBRARIES} rt)
109-
install(TARGETS srsran_rf_skiq DESTINATION ${LIBRARY_DIR} OPTIONAL)
110-
endif(SKIQ_FOUND AND ENABLE_SKIQ)
111-
11295
if (ZEROMQ_FOUND AND ENABLE_ZEROMQ)
11396
add_definitions(-DENABLE_ZEROMQ)
11497
set(SOURCES_ZMQ rf_zmq_imp.c rf_zmq_imp_tx.c rf_zmq_imp_rx.c)

lib/src/phy/rf/rf_dev.h

-13
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,6 @@ static srsran_rf_plugin_t plugin_zmq = {"", NULL, &srsran_rf_dev_zmq};
6666
#include "rf_file_imp.h"
6767
static srsran_rf_plugin_t plugin_file = {"", NULL, &srsran_rf_dev_file};
6868

69-
/* Define implementation for Sidekiq */
70-
#ifdef ENABLE_SIDEKIQ
71-
#ifdef ENABLE_RF_PLUGINS
72-
static srsran_rf_plugin_t plugin_skiq = {"libsrsran_rf_skiq.so", NULL, NULL};
73-
#else
74-
#include "rf_skiq_imp.h"
75-
static srsran_rf_plugin_t plugin_skiq = {"", NULL, &srsran_rf_dev_skiq};
76-
#endif
77-
#endif
78-
7969
//#define ENABLE_DUMMY_DEV
8070

8171
#ifdef ENABLE_DUMMY_DEV
@@ -111,9 +101,6 @@ static srsran_rf_plugin_t* rf_plugins[] = {
111101
#ifdef ENABLE_ZEROMQ
112102
&plugin_zmq,
113103
#endif
114-
#ifdef ENABLE_SIDEKIQ
115-
&plugin_skiq,
116-
#endif
117104
#ifdef ENABLE_DUMMY_DEV
118105
&plugin_dummy,
119106
#endif

0 commit comments

Comments
 (0)