Commit 819ea956 authored by lipingyu's avatar lipingyu

lte-enb-nbiot.c debug

parent dccb3b51
...@@ -381,7 +381,7 @@ typedef struct RU_t_s{ ...@@ -381,7 +381,7 @@ typedef struct RU_t_s{
int num_eNB; int num_eNB;
/// list of eNBs using this RU /// list of eNBs using this RU
struct PHY_VARS_eNB_s *eNB_list[NUMBER_OF_eNB_MAX]; struct PHY_VARS_eNB_s *eNB_list[NUMBER_OF_eNB_MAX];
/// list of eNBs using this RU /// list of NB-IoT using this RU
struct PHY_VARS_eNB_NB_IoT_s *eNB_nbiot_list[NUMBER_OF_eNB_MAX]; struct PHY_VARS_eNB_NB_IoT_s *eNB_nbiot_list[NUMBER_OF_eNB_MAX];
/// Mapping of antenna ports to RF chain index /// Mapping of antenna ports to RF chain index
openair0_rf_map rf_map; openair0_rf_map rf_map;
...@@ -425,6 +425,8 @@ typedef struct RU_t_s{ ...@@ -425,6 +425,8 @@ typedef struct RU_t_s{
#endif #endif
/// function pointer to eNB entry routine /// function pointer to eNB entry routine
void (*eNB_top)(struct PHY_VARS_eNB_s *eNB, int frame_rx, int subframe_rx, char *string, struct RU_t_s *ru); void (*eNB_top)(struct PHY_VARS_eNB_s *eNB, int frame_rx, int subframe_rx, char *string, struct RU_t_s *ru);
/// function pointer to NB-IoT entry routine
void (*eNB_nb_iot_top)(struct PHY_VARS_eNB_NB_IoT_s *eNB, int frame_rx, int subframe_rx, char *string, struct RU_t_s *ru);
/// Timing statistics /// Timing statistics
time_stats_t ofdm_demod_stats; time_stats_t ofdm_demod_stats;
/// Timing statistics (TX) /// Timing statistics (TX)
......
This diff is collapsed.
...@@ -1182,7 +1182,7 @@ void wakeup_L1s(RU_t *ru) { ...@@ -1182,7 +1182,7 @@ void wakeup_L1s(RU_t *ru) {
} }
} }
// call NB-IOT RX/TX entry-point from ru_thread directly // call NB-IOT RX/TX entry-point from ru_thread directly
if (ru->eNB_nb_iot_top != 0) ru->eNB_nb_iot_top(eNB_nb_iot_list[0],proc->frame_rx,proc->subframe_rx,string,ru); if (ru->eNB_nb_iot_top != 0) ru->eNB_nb_iot_top(eNB_nbiot_list[0],proc->frame_rx,proc->subframe_rx,string,ru);
} }
/* /*
AssertFatal(0==pthread_mutex_lock(&ruproc->mutex_eNBs),""); AssertFatal(0==pthread_mutex_lock(&ruproc->mutex_eNBs),"");
......
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