Commit b2ce70e3 authored by Thomas Schlichter's avatar Thomas Schlichter

gNB: remove unused global sl_ahead variable

parent 9e7cd214
...@@ -83,8 +83,6 @@ static int DEFRUTPCORES[] = {-1,-1,-1,-1}; ...@@ -83,8 +83,6 @@ static int DEFRUTPCORES[] = {-1,-1,-1,-1};
extern int oai_exit; extern int oai_exit;
uint16_t sl_ahead;
extern struct timespec timespec_sub(struct timespec lhs, struct timespec rhs); extern struct timespec timespec_sub(struct timespec lhs, struct timespec rhs);
extern struct timespec timespec_add(struct timespec lhs, struct timespec rhs); extern struct timespec timespec_add(struct timespec lhs, struct timespec rhs);
extern void nr_phy_free_RU(RU_t *); extern void nr_phy_free_RU(RU_t *);
......
...@@ -104,7 +104,6 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4]; ...@@ -104,7 +104,6 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
double cpuf; double cpuf;
char *uecap_file; char *uecap_file;
uint16_t sl_ahead=0;
//uint8_t nfapi_mode = 0; //uint8_t nfapi_mode = 0;
uint64_t downlink_frequency[MAX_NUM_CCs][4]; uint64_t downlink_frequency[MAX_NUM_CCs][4];
THREAD_STRUCT thread_struct; THREAD_STRUCT thread_struct;
......
...@@ -78,7 +78,6 @@ openair0_config_t openair0_cfg[MAX_CARDS]; ...@@ -78,7 +78,6 @@ openair0_config_t openair0_cfg[MAX_CARDS];
//uint8_t nfapi_mode=0; //uint8_t nfapi_mode=0;
uint64_t downlink_frequency[MAX_NUM_CCs][4]; uint64_t downlink_frequency[MAX_NUM_CCs][4];
int32_t uplink_frequency_offset[MAX_NUM_CCs][4]; int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
uint16_t sl_ahead = 0;
uint32_t N_RB_DL = 106; uint32_t N_RB_DL = 106;
NR_IF_Module_t *NR_IF_Module_init(int Mod_id) { return (NULL); } NR_IF_Module_t *NR_IF_Module_init(int Mod_id) { return (NULL); }
......
...@@ -98,7 +98,6 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4]; ...@@ -98,7 +98,6 @@ int32_t uplink_frequency_offset[MAX_NUM_CCs][4];
uint16_t sf_ahead=4 ; uint16_t sf_ahead=4 ;
int slot_ahead=6 ; int slot_ahead=6 ;
uint16_t sl_ahead=0;
double cpuf; double cpuf;
//uint8_t nfapi_mode = 0; //uint8_t nfapi_mode = 0;
uint64_t downlink_frequency[MAX_NUM_CCs][4]; uint64_t downlink_frequency[MAX_NUM_CCs][4];
......
...@@ -48,7 +48,6 @@ ...@@ -48,7 +48,6 @@
#include <executables/softmodem-common.h> #include <executables/softmodem-common.h>
extern RAN_CONTEXT_t RC; extern RAN_CONTEXT_t RC;
extern const uint8_t nr_slots_per_frame[5]; extern const uint8_t nr_slots_per_frame[5];
extern uint16_t sl_ahead;
// forward declaration of functions used in this file // forward declaration of functions used in this file
static void fill_msg3_pusch_pdu(nfapi_nr_pusch_pdu_t *pusch_pdu, static void fill_msg3_pusch_pdu(nfapi_nr_pusch_pdu_t *pusch_pdu,
......
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