Commit 214805b4 authored by winckel's avatar winckel
Browse files

Fixed lte phy procedure not called every 6 first frames.

git-svn-id: 818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent 85ffd236
......@@ -287,6 +287,7 @@ static void *eNB_thread(void *arg)
unsigned char last_slot, next_slot;
int subframe = 0, hw_subframe;
int frame=0;
int skip_first=1;
unsigned int msg1;
unsigned int aa,slot_offset, slot_offset_F;
int diff;
......@@ -392,9 +393,9 @@ static void *eNB_thread(void *arg)
next_slot = ((subframe<<1)+4)%LTE_SLOTS_PER_FRAME;
if ((frame>5)&&1)
if ((skip_first == 0) || (frame>5))
skip_first = 0;
timing_info.time_last = rt_get_time_ns();
//msg("subframe %d, last_slot %d,next_slot %d\n", subframe,last_slot,next_slot);
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