Commit 009bacc8 authored by Wang Tsu-Han's avatar Wang Tsu-Han

fixes for feptx LTE

parent 131ad538
...@@ -244,6 +244,8 @@ typedef struct RU_proc_t_s { ...@@ -244,6 +244,8 @@ typedef struct RU_proc_t_s {
int instance_cnt_asynch_rxtx; int instance_cnt_asynch_rxtx;
/// \internal This variable is protected by \ref mutex_fep /// \internal This variable is protected by \ref mutex_fep
int instance_cnt_fep; int instance_cnt_fep;
/// \internal This variable is protected by \ref mutex_feptx
int instance_cnt_feptx;
/// \internal This variable is protected by \ref mutex_ru_thread /// \internal This variable is protected by \ref mutex_ru_thread
int instance_cnt_ru; int instance_cnt_ru;
/// This varible is protected by \ref mutex_emulatedRF /// This varible is protected by \ref mutex_emulatedRF
...@@ -263,6 +265,8 @@ typedef struct RU_proc_t_s { ...@@ -263,6 +265,8 @@ typedef struct RU_proc_t_s {
pthread_t pthread_synch; pthread_t pthread_synch;
/// pthread struct for RU RX FEP worker thread /// pthread struct for RU RX FEP worker thread
pthread_t pthread_fep; pthread_t pthread_fep;
/// pthread struct for RU TX FEP worker thread
pthread_t pthread_feptx;
/// pthread struct for emulated RF /// pthread struct for emulated RF
pthread_t pthread_emulateRF; pthread_t pthread_emulateRF;
/// pthread structure for asychronous RX/TX processing thread /// pthread structure for asychronous RX/TX processing thread
...@@ -288,6 +292,8 @@ typedef struct RU_proc_t_s { ...@@ -288,6 +292,8 @@ typedef struct RU_proc_t_s {
pthread_attr_t attr_asynch_rxtx; pthread_attr_t attr_asynch_rxtx;
/// pthread attributes for worker fep thread /// pthread attributes for worker fep thread
pthread_attr_t attr_fep; pthread_attr_t attr_fep;
/// pthread attributes for worker feptx thread
pthread_attr_t attr_feptx;
/// pthread attributes for emulated RF /// pthread attributes for emulated RF
pthread_attr_t attr_emulateRF; pthread_attr_t attr_emulateRF;
/// scheduling parameters for RU FH thread /// scheduling parameters for RU FH thread
...@@ -318,6 +324,8 @@ typedef struct RU_proc_t_s { ...@@ -318,6 +324,8 @@ typedef struct RU_proc_t_s {
pthread_cond_t cond_asynch_rxtx; pthread_cond_t cond_asynch_rxtx;
/// condition varible for RU RX FEP thread /// condition varible for RU RX FEP thread
pthread_cond_t cond_fep; pthread_cond_t cond_fep;
/// condition varible for RU TX FEP thread
pthread_cond_t cond_feptx;
/// condition varible for emulated RF /// condition varible for emulated RF
pthread_cond_t cond_emulateRF; pthread_cond_t cond_emulateRF;
/// condition variable for eNB signal /// condition variable for eNB signal
...@@ -345,6 +353,8 @@ typedef struct RU_proc_t_s { ...@@ -345,6 +353,8 @@ typedef struct RU_proc_t_s {
pthread_mutex_t mutex_asynch_rxtx; pthread_mutex_t mutex_asynch_rxtx;
/// mutex for fep RX worker thread /// mutex for fep RX worker thread
pthread_mutex_t mutex_fep; pthread_mutex_t mutex_fep;
/// mutex for fep TX worker thread
pthread_mutex_t mutex_feptx;
/// mutex for ru_thread /// mutex for ru_thread
pthread_mutex_t mutex_ru; pthread_mutex_t mutex_ru;
/// mutex for emulated RF thread /// mutex for emulated RF thread
......
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