changes in BSR handling in eNodeB. UL throughput on 5 MHz is 8 Mbit/s (mcs 19, 20 PRB). MCS 20 is not working for an unknown reason.
This commit is contained in:
@@ -313,6 +313,7 @@ int trx_usrp_set_freq(openair0_device* device, openair0_config_t *openair0_cfg,
|
||||
|
||||
usrp_state_t *s = (usrp_state_t*)device->priv;
|
||||
|
||||
printf("Setting USRP TX Freq %f, RX Freq %f\n",openair0_cfg[0].tx_freq[0],openair0_cfg[0].rx_freq[0]);
|
||||
s->usrp->set_tx_freq(openair0_cfg[0].tx_freq[0]);
|
||||
s->usrp->set_rx_freq(openair0_cfg[0].rx_freq[0]);
|
||||
|
||||
|
||||
@@ -143,10 +143,10 @@ eNBs =
|
||||
NETWORK_INTERFACES :
|
||||
{
|
||||
ENB_INTERFACE_NAME_FOR_S1_MME = "eth0";
|
||||
ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.12.212/24";
|
||||
ENB_IPV4_ADDRESS_FOR_S1_MME = "192.168.12.215/24";
|
||||
|
||||
ENB_INTERFACE_NAME_FOR_S1U = "eth0";
|
||||
ENB_IPV4_ADDRESS_FOR_S1U = "192.168.12.212/24";
|
||||
ENB_IPV4_ADDRESS_FOR_S1U = "192.168.12.215/24";
|
||||
ENB_PORT_FOR_S1U = 2152; # Spec 2152
|
||||
};
|
||||
|
||||
|
||||
@@ -3499,6 +3499,11 @@ int main( int argc, char **argv )
|
||||
|
||||
#endif
|
||||
|
||||
write_output("pusch_rb.m","puschrb",PHY_vars_eNB_g[0][0]->pusch_stats_rb,10240,1,2);
|
||||
write_output("pusch_mcs.m","puschmcs",PHY_vars_eNB_g[0][0]->pusch_stats_mcs,10240,1,2);
|
||||
write_output("pusch_round.m","puschround",PHY_vars_eNB_g[0][0]->pusch_stats_round,10240,1,2);
|
||||
write_output("pusch_bsr.m","puschbsr",PHY_vars_eNB_g[0][0]->pusch_stats_bsr,10240,1,2);
|
||||
write_output("pusch_BO.m","puschBO",PHY_vars_eNB_g[0][0]->pusch_stats_BO,10240,1,2);
|
||||
// stop threads
|
||||
#ifdef XFORMS
|
||||
printf("waiting for XFORMS thread\n");
|
||||
|
||||
@@ -447,8 +447,8 @@ static void *UE_thread_synch(void *arg)
|
||||
}
|
||||
#ifndef EXMIMO
|
||||
openair0.trx_set_freq_func(&openair0,&openair0_cfg[0],0);
|
||||
openair0.trx_set_gains_func(&openair0,&openair0_cfg[0]);
|
||||
openair0.trx_stop_func(0);
|
||||
//openair0.trx_set_gains_func(&openair0,&openair0_cfg[0]);
|
||||
//openair0.trx_stop_func(0);
|
||||
#else
|
||||
openair0_set_frequencies(&openair0,&openair0_cfg[0],0);
|
||||
openair0_set_gains(&openair0,&openair0_cfg[0]);
|
||||
@@ -1229,7 +1229,7 @@ void *UE_thread(void *arg)
|
||||
}
|
||||
} else {
|
||||
LOG_E( PHY, "[SCHED][UE] UE RX thread busy (IC %d)!!\n", instance_cnt_rx);
|
||||
if (instance_cnt_rx > 1) {
|
||||
if (instance_cnt_rx > 2) {
|
||||
exit_fun("instance_cnt_rx > 1");
|
||||
return &UE_thread_retval;
|
||||
}
|
||||
@@ -1265,7 +1265,7 @@ void *UE_thread(void *arg)
|
||||
|
||||
} else {
|
||||
LOG_E( PHY, "[SCHED][UE] UE TX thread busy (IC %d)!!\n" );
|
||||
if (instance_cnt_tx>1) {
|
||||
if (instance_cnt_tx>2) {
|
||||
exit_fun("instance_cnt_tx > 1");
|
||||
return &UE_thread_retval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user