temporary workaround for real-time issues
This commit is contained in:
@@ -108,8 +108,8 @@ extern openair0_config_t openair0_cfg[MAX_CARDS];
|
|||||||
|
|
||||||
extern int transmission_mode;
|
extern int transmission_mode;
|
||||||
|
|
||||||
uint16_t sl_ahead=4;
|
uint16_t sl_ahead=6;
|
||||||
uint16_t sf_ahead=4;
|
uint16_t sf_ahead=6;
|
||||||
//pthread_t main_gNB_thread;
|
//pthread_t main_gNB_thread;
|
||||||
|
|
||||||
time_stats_t softmodem_stats_mt; // main thread
|
time_stats_t softmodem_stats_mt; // main thread
|
||||||
|
|||||||
@@ -685,6 +685,7 @@ void *UE_thread(void *arg) {
|
|||||||
rxp,
|
rxp,
|
||||||
readBlockSize,
|
readBlockSize,
|
||||||
UE->frame_parms.nb_antennas_rx),"");
|
UE->frame_parms.nb_antennas_rx),"");
|
||||||
|
/*
|
||||||
AssertFatal( writeBlockSize ==
|
AssertFatal( writeBlockSize ==
|
||||||
UE->rfdevice.trx_write_func(&UE->rfdevice,
|
UE->rfdevice.trx_write_func(&UE->rfdevice,
|
||||||
timestamp+
|
timestamp+
|
||||||
@@ -695,6 +696,7 @@ void *UE_thread(void *arg) {
|
|||||||
writeBlockSize,
|
writeBlockSize,
|
||||||
UE->frame_parms.nb_antennas_tx,
|
UE->frame_parms.nb_antennas_tx,
|
||||||
1),"");
|
1),"");
|
||||||
|
*/
|
||||||
|
|
||||||
if( slot_nr==(nb_slot_frame-1)) {
|
if( slot_nr==(nb_slot_frame-1)) {
|
||||||
// read in first symbol of next frame and adjust for timing drift
|
// read in first symbol of next frame and adjust for timing drift
|
||||||
|
|||||||
@@ -808,10 +808,10 @@ void RCconfig_NRRRC(MessageDef *msg_p, uint32_t i, gNB_RRC_INST *rrc) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
NRRRC_CONFIGURATION_REQ (msg_p).N_RB_DL[j]= N_RB_DL;
|
NRRRC_CONFIGURATION_REQ (msg_p).N_RB_DL[j]= N_RB_DL;
|
||||||
if(N_RB_DL == 217) sf_ahead = 2;
|
//if(N_RB_DL == 217) sf_ahead = 2;
|
||||||
else if(N_RB_DL == 106) sf_ahead = 4;
|
//else if(N_RB_DL == 106) sf_ahead = 4;
|
||||||
else AssertFatal (0,"Failed to parse gNB configuration file %s, gnb %d unknown value \"%d\" for N_RB_DL choice: 106, 217 !\n",
|
if ((N_RB_DL != 217) && (N_RB_DL != 106))
|
||||||
RC.config_file_name, i, N_RB_DL);
|
AssertFatal (0,"Failed to parse gNB configuration file %s, gnb %d unknown value \"%d\" for N_RB_DL choice: 106, 217 !\n", RC.config_file_name, i, N_RB_DL);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
if ((N_RB_DL!=6) && (N_RB_DL!=15) && (N_RB_DL!=25) && (N_RB_DL!=50) && (N_RB_DL!=75) && (N_RB_DL!=100)) {
|
if ((N_RB_DL!=6) && (N_RB_DL!=15) && (N_RB_DL!=25) && (N_RB_DL!=50) && (N_RB_DL!=75) && (N_RB_DL!=100)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user