* applying patch 11 contributed from S. Held
* add protocol configuration to OCG XML file git-svn-id: http://svn.eurecom.fr/openair4G/trunk@6629 818b1a75-f10b-46b9-bf7c-635c3b92a50f
This commit is contained in:
@@ -575,7 +575,8 @@ static void *UE_thread_tx(void *arg) {
|
||||
UE->frame_tx,
|
||||
UE->slot_rx>>1,
|
||||
subframe_select(&UE->lte_frame_parms,UE->slot_tx>>1),
|
||||
0);
|
||||
0,
|
||||
0/*FIXME CC_id*/);
|
||||
|
||||
if (ret == CONNECTION_LOST) {
|
||||
LOG_E(PHY,"[UE %d] Frame %d, subframe %d RRC Connection lost, returning to PRACH\n",UE->Mod_id,
|
||||
@@ -711,7 +712,8 @@ static void *UE_thread_rx(void *arg) {
|
||||
UE->frame_tx,
|
||||
UE->slot_rx>>1,
|
||||
subframe_select(&UE->lte_frame_parms,UE->slot_tx>>1),
|
||||
0);
|
||||
0,
|
||||
0/*FIXME CC_id*/);
|
||||
|
||||
if (ret == CONNECTION_LOST) {
|
||||
LOG_E(PHY,"[UE %d] Frame %d, subframe %d RRC Connection lost, returning to PRACH\n",UE->Mod_id,
|
||||
|
||||
@@ -209,7 +209,8 @@ void init_oai_emulation(void) {
|
||||
oai_emulation.application_config.customized_traffic.ed_size_pkts[i]= 0;
|
||||
}
|
||||
|
||||
|
||||
/* protocol config */
|
||||
oai_emulation.protocol_config.eNB_mac_config.num_groups=1;
|
||||
|
||||
|
||||
oai_emulation.emulation_config.emulation_time_ms = 0;
|
||||
@@ -354,7 +355,8 @@ void oaisim_config(void) {
|
||||
ocg_config_emu();
|
||||
ocg_config_env();// mobility gen
|
||||
ocg_config_topo(); // packet tracer using wireshark
|
||||
// if T is set or ocg enabled
|
||||
ocg_config_proto();
|
||||
// if T is set or ocg enabled
|
||||
if (oai_emulation.info.otg_enabled ) {
|
||||
set_component_filelog(OTG);
|
||||
set_component_filelog(OTG_LATENCY);
|
||||
@@ -367,10 +369,10 @@ void oaisim_config(void) {
|
||||
g_log->log_component[OTG_OWD].filelog = 1;*/
|
||||
ocg_config_app(); // packet generator
|
||||
}
|
||||
// add a var to control this, and pass this var to OMG
|
||||
set_component_filelog(OMG);
|
||||
LOG_I(OMG,"setting OMG file log \n");
|
||||
|
||||
// add a var to control this, and pass this var to OMG
|
||||
set_component_filelog(OMG);
|
||||
LOG_I(OMG,"setting OMG file log \n");
|
||||
|
||||
}
|
||||
|
||||
int olg_config(void) {
|
||||
@@ -1180,3 +1182,9 @@ int ocg_config_emu(void){
|
||||
return 1;
|
||||
}
|
||||
|
||||
void ocg_config_proto(void){
|
||||
|
||||
LOG_I(MAC,"num groups is set to %d\n",oai_emulation.protocol_config.eNB_mac_config.num_groups);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ declare OAI_DB_ADMIN_USER_NAME="root"
|
||||
declare OAI_DB_ADMIN_USER_PASSWORD="linux"
|
||||
|
||||
#only one could be set at the time
|
||||
declare BUILD_LTE="ENB" # ENB, EPC, HSS
|
||||
declare BUILD_LTE="NONE" # ENB, EPC, HSS
|
||||
|
||||
declare HW="EXMIMO" # EXMIMO, USRP, ETHERNET, NONE
|
||||
declare TARGET="ALL" # ALL, SOFTMODEM, OAISIM, UNISIM, NONE
|
||||
|
||||
Reference in New Issue
Block a user