/// \brief Component carrier ID for this PHY instance
uint8_tCC_id;
uint8_tlocal_flag;
//uint8_t local_flag;
/// \brief Indicator of current run mode of UE (normal_txrx, rx_calib_ue, no_L2_connect, debug_prach)
runmode_tmode;
/// \brief Indicator that UE should perform band scanning
intUE_scan;
/// \brief Indicator that UE is synchronized to an eNB
intis_synchronized;
/// \brief Instance count of TX processing thread (-1 means ready, 0 means busy)
intinstance_cnt_tx;
/// \brief Instance count of RX processing thread (-1 means ready, 0 means busy)
intinstance_cnt_rx;
/// \brief Instance cound of initial synchronization thread (-1 means ready, 0 means busy)
intinstance_cnt_synch;
/// \brief Condition variable for TX processing thread
pthread_cond_tcond_tx;
/// \brief Condition variable for RX processing thread
pthread_cond_tcond_rx;
/// \brief Condition variable for initial synchronization thread
pthread_cond_tcond_synch;
/// \brief Mutex for TX processing thread
pthread_mutex_tmutex_tx;
/// \brief Mutex for RX processing thread
pthread_mutex_tmutex_rx;
/// \brief Mutex for initial synchronization thread
pthread_mutex_tmutex_synch;
/// \brief Pthread structure for RX processing thread
pthread_tthread_rx;
/// \brief Pthread structure for TX processing thread
pthread_tthread_tx;
/// \brief Pthread structure to RX processing thread
pthread_tthread_synch;
/// \brief Total gain of the TX chain (16-bit baseband I/Q to antenna)
uint32_ttx_total_gain_dB;
/// \brief This is a function of rx_gain_mode (and the corresponding gain) and the rx_gain of the card.
/// \brief Total gain of the RX chain (antenna to baseband I/Q) This is a function of rx_gain_mode (and the corresponding gain) and the rx_gain of the card.
uint32_trx_total_gain_dB;
/// \brief ?.
/// - first index: ? [0..3] (hard coded)
/// \brief Total gains with maximum RF gain stage (ExpressMIMO2/Lime)
uint32_trx_gain_max[4];
/*
rx_gain_t rx_gain_mode[4];*/
/// \brief ?.
/// - first index: ? [0..3] (hard coded)
/// \brief Total gains with medium RF gain stage (ExpressMIMO2/Lime)
uint32_trx_gain_med[4];
/// \brief ?.
/// - first index: ? [0..3] (hard coded)
/// \brief Total gains with bypassed RF gain stage (ExpressMIMO2/Lime)
uint32_trx_gain_byp[4];
/// \brief ?.
/// \brief Current transmit power
int8_ttx_power_dBm;
/// \brief Total number of REs in current transmission
inttx_total_RE;
/// \brief Maximum transmit power
int8_ttx_power_max_dBm;
// uint32_t frame;
/// \brief Frame counters for TX and RX processing
uint32_tframe_rx,frame_tx;
/// \brief Slot counters for TX and RX processing
uint32_tslot_tx,slot_rx;
/// \brief Number of eNB seen by UE
uint8_tn_connected_eNB;
/// \brief indicator that Handover procedure has been initiated
uint8_tho_initiated;
/// \brief indicator that Handover procedure has been triggered