basic simulator: support TDD mode

For whatever reason we need N_TA_offset to be 0 for the basic simulator
to function properly.

This is more a hack than a proper solution. More analysis is needed
to understand what happens and what should be really done.
This commit is contained in:
Cedric Roux
2018-09-14 15:01:55 +02:00
parent ab7515e280
commit 824f62d8bf
3 changed files with 20 additions and 0 deletions
+7
View File
@@ -169,6 +169,13 @@ void lte_param_init(PHY_VARS_eNB **eNBp,
}
else ru->N_TA_offset=0;
#if BASIC_SIMULATOR
/* this is required for the basic simulator in TDD mode
* TODO: find a proper cleaner solution
*/
UE->N_TA_offset = 0;
#endif
printf("Done lte_param_init\n");