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:
@@ -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");
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user