Commit 058956bd authored by winckel's avatar winckel

Corrected eNB loop.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@4704 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 54f88942
...@@ -625,9 +625,8 @@ void *l2l1_task(void *args_p) { ...@@ -625,9 +625,8 @@ void *l2l1_task(void *args_p) {
if ((next_slot % 2) == 0) if ((next_slot % 2) == 0)
clear_eNB_transport_info (oai_emulation.info.nb_enb_local); clear_eNB_transport_info (oai_emulation.info.nb_enb_local);
for (eNB_id = oai_emulation.info.first_enb_local; for (eNB_id = oai_emulation.info.first_enb_local; (eNB_id < (oai_emulation.info.first_enb_local + oai_emulation.info.nb_enb_local)); eNB_id++) {
(eNB_id < (oai_emulation.info.first_enb_local + oai_emulation.info.nb_enb_local)) if (oai_emulation.info.cli_start_enb[eNB_id] != 0) {
&& (oai_emulation.info.cli_start_enb[eNB_id] == 1); eNB_id++) {
//printf ("debug: Nid_cell %d\n", PHY_vars_eNB_g[eNB_id]->lte_frame_parms.Nid_cell); //printf ("debug: Nid_cell %d\n", PHY_vars_eNB_g[eNB_id]->lte_frame_parms.Nid_cell);
//printf ("debug: frame_type %d,tdd_config %d\n", PHY_vars_eNB_g[eNB_id]->lte_frame_parms.frame_type,PHY_vars_eNB_g[eNB_id]->lte_frame_parms.tdd_config); //printf ("debug: frame_type %d,tdd_config %d\n", PHY_vars_eNB_g[eNB_id]->lte_frame_parms.frame_type,PHY_vars_eNB_g[eNB_id]->lte_frame_parms.tdd_config);
LOG_D( LOG_D(
...@@ -665,6 +664,7 @@ void *l2l1_task(void *args_p) { ...@@ -665,6 +664,7 @@ void *l2l1_task(void *args_p) {
#endif #endif
#endif #endif
} }
}
// Call ETHERNET emulation here // Call ETHERNET emulation here
//emu_transport (frame, last_slot, next_slot, direction, oai_emulation.info.frame_type, ethernet_flag); //emu_transport (frame, last_slot, next_slot, direction, oai_emulation.info.frame_type, ethernet_flag);
......
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