Commit 7f5dc922 authored by Raymond Knopp's avatar Raymond Knopp

testing with multi-RU

parent 74a44d68
...@@ -585,7 +585,7 @@ int wakeup_rxtx(PHY_VARS_eNB *eNB, ...@@ -585,7 +585,7 @@ int wakeup_rxtx(PHY_VARS_eNB *eNB,
L1_rxtx_proc_t *L1_proc=&proc->L1_proc; L1_rxtx_proc_t *L1_proc=&proc->L1_proc;
LTE_DL_FRAME_PARMS *fp = &eNB->frame_parms; LTE_DL_FRAME_PARMS *fp = &eNB->frame_parms;
int ret; int ret;
LOG_I(PHY,"ENTERED wakeup_rxtx, %d.%d\n",ru_proc->frame_rx,ru_proc->tti_rx); LOG_D(PHY,"ENTERED wakeup_rxtx, %d.%d\n",ru_proc->frame_rx,ru_proc->tti_rx);
// wake up TX for subframe n+sl_ahead // wake up TX for subframe n+sl_ahead
// lock the TX mutex and make sure the thread is ready // lock the TX mutex and make sure the thread is ready
AssertFatal((ret=pthread_mutex_lock(&L1_proc->mutex)) == 0,"mutex_lock returns %d\n", ret); AssertFatal((ret=pthread_mutex_lock(&L1_proc->mutex)) == 0,"mutex_lock returns %d\n", ret);
......
...@@ -1126,7 +1126,7 @@ void wakeup_L1s(RU_t *ru) { ...@@ -1126,7 +1126,7 @@ void wakeup_L1s(RU_t *ru) {
PHY_VARS_eNB *eNB = eNB_list[0]; PHY_VARS_eNB *eNB = eNB_list[0];
L1_proc_t *proc = &eNB->proc; L1_proc_t *proc = &eNB->proc;
struct timespec t; struct timespec t;
LOG_I(PHY, "wakeup_L1s (num %d) for RU %d (%d.%d) ru->eNB_top:%p\n", ru->num_eNB, ru->idx, ru->proc.frame_rx, ru->proc.tti_rx, ru->eNB_top); LOG_D(PHY, "wakeup_L1s (num %d) for RU %d (%d.%d) ru->eNB_top:%p\n", ru->num_eNB, ru->idx, ru->proc.frame_rx, ru->proc.tti_rx, ru->eNB_top);
char string[20]; char string[20];
sprintf(string, "Incoming RU %d", ru->idx); sprintf(string, "Incoming RU %d", ru->idx);
...@@ -1151,7 +1151,7 @@ void wakeup_L1s(RU_t *ru) { ...@@ -1151,7 +1151,7 @@ void wakeup_L1s(RU_t *ru) {
for (int i=0; i<eNB->num_RU; i++) { for (int i=0; i<eNB->num_RU; i++) {
if (eNB->RU_list[i]->wait_cnt==1 && ru->proc.tti_rx!=9) eNB->RU_list[i]->wait_cnt=0; if (eNB->RU_list[i]->wait_cnt==1 && ru->proc.tti_rx!=9) eNB->RU_list[i]->wait_cnt=0;
LOG_I(PHY,"RU %d has frame %d and subframe %d, state %s\n", LOG_D(PHY,"RU %d has frame %d and subframe %d, state %s\n",
eNB->RU_list[i]->idx, eNB->RU_list[i]->proc.frame_rx, eNB->RU_list[i]->proc.tti_rx, ru_states[eNB->RU_list[i]->state]); eNB->RU_list[i]->idx, eNB->RU_list[i]->proc.frame_rx, eNB->RU_list[i]->proc.tti_rx, ru_states[eNB->RU_list[i]->state]);
if (ru == eNB->RU_list[i] && eNB->RU_list[i]->wait_cnt == 0) { if (ru == eNB->RU_list[i] && eNB->RU_list[i]->wait_cnt == 0) {
......
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