Commit 23cc0491 authored by Bartosz Podrygajlo's avatar Bartosz Podrygajlo

Remove unnecessary includes in rfsimulator

parent ccdabb4c
...@@ -21,7 +21,6 @@ ...@@ -21,7 +21,6 @@
#include "tools_defs.h" #include "tools_defs.h"
#include "PHY/impl_defs_top.h" #include "PHY/impl_defs_top.h"
#include "PHY/sse_intrin.h"
// Compute Energy of a complex signal vector, removing the DC component! // Compute Energy of a complex signal vector, removing the DC component!
// input : points to vector // input : points to vector
......
...@@ -24,7 +24,6 @@ ...@@ -24,7 +24,6 @@
#include <stdio.h> #include <stdio.h>
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "rf.h" #include "rf.h"
#include "common/utils/LOG/log.h"
void dac(double *s_re[2], void dac(double *s_re[2],
......
...@@ -21,21 +21,12 @@ ...@@ -21,21 +21,12 @@
#include <string.h> #include <string.h>
#include <math.h> #include <math.h>
#include <unistd.h>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <time.h>
#include "SIMULATION/TOOLS/sim.h" #include "SIMULATION/TOOLS/sim.h"
#include "SIMULATION/RF/rf.h" #include "SIMULATION/RF/rf.h"
#include "PHY/types.h"
#include "PHY/defs_eNB.h"
#include "PHY/phy_extern.h"
#include "PHY/phy_extern_ue.h" #include "PHY/phy_extern_ue.h"
#include "common/utils/LOG/log.h"
#include "PHY_INTERFACE/phy_interface_extern.h"
#include "UTIL/OPT/opt.h" // to test OPT
#include "common/ran_context.h" #include "common/ran_context.h"
#define RF #define RF
......
...@@ -19,13 +19,8 @@ ...@@ -19,13 +19,8 @@
* contact@openairinterface.org * contact@openairinterface.org
*/ */
#include <stdio.h>
#include <stdlib.h>
#include <math.h> #include <math.h>
#include <string.h>
#include "nfapi_nr_interface_scf.h"
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "SIMULATION/RF/rf.h"
#include "sim.h" #include "sim.h"
//#define DEBUG_CH //#define DEBUG_CH
......
...@@ -19,13 +19,10 @@ ...@@ -19,13 +19,10 @@
* contact@openairinterface.org * contact@openairinterface.org
*/ */
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include <string.h>
#include "sim.h"
#include "SIMULATION/RF/rf.h"
#include <complex.h> #include <complex.h>
#include "sim.h"
void tv_channel(channel_desc_t *desc,double complex ***H,uint32_t length); void tv_channel(channel_desc_t *desc,double complex ***H,uint32_t length);
double frand_a_b(double a, double b); double frand_a_b(double a, double b);
......
...@@ -19,11 +19,8 @@ ...@@ -19,11 +19,8 @@
* contact@openairinterface.org * contact@openairinterface.org
*/ */
#include <stdio.h>
#include <stdlib.h>
#include <math.h> #include <math.h>
#include <time.h> #include "sim.h"
#include "sim.h"
static uint16_t LUTSin[ResolSinCos+1]; static uint16_t LUTSin[ResolSinCos+1];
......
...@@ -25,11 +25,9 @@ ...@@ -25,11 +25,9 @@
#include <string.h> #include <string.h>
#include <complex.h> #include <complex.h>
#include "PHY/TOOLS/tools_defs.h" #include "PHY/TOOLS/tools_defs.h"
#include "sim.h" #include "sim.h"
#include "scm_corrmat.h" #include "scm_corrmat.h"
#include "common/utils/LOG/log.h"
#include "common/config/config_userapi.h" #include "common/config/config_userapi.h"
#include "common/utils/telnetsrv/telnetsrv.h" #include "common/utils/telnetsrv/telnetsrv.h"
#include "common/utils/load_module_shlib.h" #include "common/utils/load_module_shlib.h"
......
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <math.h> #include <math.h>
#include <time.h>
#include "sim.h" #include "sim.h"
......
...@@ -19,10 +19,7 @@ ...@@ -19,10 +19,7 @@
* contact@openairinterface.org * contact@openairinterface.org
*/ */
#include <time.h>
#include <stdlib.h> #include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include "sim.h" #include "sim.h"
......
...@@ -22,20 +22,9 @@ ...@@ -22,20 +22,9 @@
*/ */
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <stdbool.h>
#include <errno.h>
#include <complex.h> #include <complex.h>
#include <common/utils/assertions.h>
#include <common/utils/LOG/log.h> #include <common/utils/LOG/log.h>
#include <common/config/config_userapi.h>
#include <openair1/SIMULATION/TOOLS/sim.h> #include <openair1/SIMULATION/TOOLS/sim.h>
#include <common/utils/telnetsrv/telnetsrv.h>
#include <common/utils/load_module_shlib.h>
#include "rfsimulator.h" #include "rfsimulator.h"
/* /*
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <sys/socket.h> #include <sys/socket.h>
#include <netinet/in.h> #include <netinet/in.h>
#include <netinet/tcp.h>
#include <arpa/inet.h> #include <arpa/inet.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
...@@ -39,16 +38,12 @@ ...@@ -39,16 +38,12 @@
#include <stdbool.h> #include <stdbool.h>
#include <errno.h> #include <errno.h>
#include <sys/epoll.h> #include <sys/epoll.h>
#include <string.h>
#include <common/utils/assertions.h> #include <common/utils/assertions.h>
#include <common/utils/LOG/log.h> #include <common/utils/LOG/log.h>
#include <common/utils/load_module_shlib.h> #include <common/utils/load_module_shlib.h>
#include <common/utils/telnetsrv/telnetsrv.h> #include <common/utils/telnetsrv/telnetsrv.h>
#include <common/config/config_userapi.h> #include <common/config/config_userapi.h>
#include "common_lib.h" #include "common_lib.h"
#include <openair1/PHY/defs_eNB.h>
#include "openair1/PHY/defs_UE.h"
#define CHANNELMOD_DYNAMICLOAD #define CHANNELMOD_DYNAMICLOAD
#include <openair1/SIMULATION/TOOLS/sim.h> #include <openair1/SIMULATION/TOOLS/sim.h>
#include "rfsimulator.h" #include "rfsimulator.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment