aboutsummaryrefslogtreecommitdiffstats
path: root/src/common/ta_control.c
AgeCommit message (Collapse)AuthorFilesLines
2021-02-20ta_control: fix Timing Advance control for SDCCH channelsVadim Yanitskiy1-5/+0
The check in lchan_ms_ta_ctrl() breaks Timing Advance control on SDCCH channels, because 'num_ul_meas' wraps and never reaches 4. Neither this check makes any sense for other channel types, because lchan_ms_ta_ctrl() is always called in the end of the measurement period. Let's drop it. Change-Id: I0b86d49ec00b38d0f309c56b2519e5d487f0b65b Fixes: If7ddf74db3abc9b9872abe620a0aeebe3327e70a Related: OS#5024
2021-02-15ta_control: cosmetic: use correct naming for MIN/MAX constraintsVadim Yanitskiy1-4/+4
Change-Id: I112e0b51df06984e2e3f9b567d6d9897e9f9ba28
2020-01-20ta_control: move timing advance code from osmo-bts-trx to commonPhilipp Maier1-0/+55
The timing advance controller that is implemented in loops.c of osmo-bts-trx only works for osmo-bts-trx and not for any of the phy based bts. Lets move the timing advance controller into the common part and make it available for every bts. Also lets add a unit-test. Change-Id: If7ddf74db3abc9b9872abe620a0aeebe3327e70a Related: SYS#4567