Skip to content
Snippets Groups Projects
Commit 434186fd authored by Robert Schmidt's avatar Robert Schmidt
Browse files

Correct TA timer condition

- wrap around 1024 (frame number is 0-1023)
- check for equality of frames with high numbers will trigger every 10ms
parent 3d60e953
No related branches found
No related tags found
5 merge requests!1757Draft: Use pMAX value in configuration file, instead of hardcoded '23' in asn1_msg.c,!1493fix DL arq errors in UE,!1093Issue in generating NR PRACH for High Speed case,!1074PBCH test case support for non-zero bchpyload,!955Integration 2020 wk46 2
......@@ -641,7 +641,7 @@ void nr_schedule_ue_spec(module_id_t module_id,
* Possible improvement: take the periodicity from input file.
* If such UE is not scheduled now, it will be by the preprocessor later.
* If we add the CE, ta_apply will be reset */
if (frame >= (sched_ctrl->ta_frame + 10) % 1023)
if (frame == (sched_ctrl->ta_frame + 10) % 1024)
sched_ctrl->ta_apply = true; /* the timer is reset once TA CE is scheduled */
if (sched_ctrl->rbSize <= 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment