minor changes to thread synchronization after testing with N310 @ 122.88 Ms/s
This commit is contained in:
@@ -382,12 +382,14 @@ typedef struct {
|
||||
/// scheduling parameters for RXn-TXnp4 thread
|
||||
struct sched_param sched_param_rxtx;
|
||||
|
||||
/// \internal This variable is protected by \ref mutex_RUs.
|
||||
/// \internal This variable is protected by \ref mutex_RUs_tx.
|
||||
int instance_cnt_RUs;
|
||||
/// condition variable for tx processing thread
|
||||
pthread_cond_t cond_RUs;
|
||||
/// mutex for RXn-TXnp4 processing thread
|
||||
/// mutex for L1 RXTX processing thread
|
||||
pthread_mutex_t mutex_RUs;
|
||||
/// mutex for L1 TX FH synchronization
|
||||
pthread_mutex_t mutex_RUs_tx;
|
||||
} gNB_L1_rxtx_proc_t;
|
||||
|
||||
|
||||
|
||||
@@ -130,11 +130,9 @@ void nr_common_signal_procedures (PHY_VARS_gNB *gNB,int frame, int slot) {
|
||||
}
|
||||
|
||||
void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB,
|
||||
gNB_L1_rxtx_proc_t *proc,
|
||||
int frame,int slot,
|
||||
int do_meas) {
|
||||
int aa;
|
||||
int frame=proc->frame_tx;
|
||||
int slot=proc->slot_tx;
|
||||
uint8_t num_dci=0,num_pdsch_rnti;
|
||||
NR_DL_FRAME_PARMS *fp=&gNB->frame_parms;
|
||||
nfapi_nr_config_request_t *cfg = &gNB->gNB_config;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
|
||||
nr_slot_t nr_slot_select (nfapi_nr_config_request_t *cfg, unsigned char slot);
|
||||
void nr_set_ssb_first_subcarrier(nfapi_nr_config_request_t *cfg, NR_DL_FRAME_PARMS *fp);
|
||||
void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB, gNB_L1_rxtx_proc_t *proc, int do_meas);
|
||||
void phy_procedures_gNB_TX(PHY_VARS_gNB *gNB, int frame_tx,int slot_tx, int do_meas);
|
||||
void nr_common_signal_procedures (PHY_VARS_gNB *gNB,int frame, int slot);
|
||||
void nr_init_feptx_thread(RU_t *ru,pthread_attr_t *attr_feptx);
|
||||
void nr_feptx_ofdm(RU_t *ru);
|
||||
|
||||
Reference in New Issue
Block a user