TDD configuration is done for 2 frames
In the current code, in set_tdd_config_nr the number of slots to be configured is computed as:
int nb_slots_to_set = TDD_CONFIG_NB_FRAMES*(1<<mu)*NR_NUMBER_OF_SUBFRAMES_PER_FRAME;
where TDD_CONFIG_NB_FRAMES is 2, therefore the TDD configuration is done for 2 frames, while it should be done for 1 frame only. The macro is coming from legacy code.
See thread in 2799
Edited by Guido Casati