osmo-bts/src
Vadim Yanitskiy 1c2c92da17 osmo-bts-trx: fix hopping pointer bug in trx_sched_fn()
In change [1] together with the actual implementation I introduced
a serious bug to trx_sched_fn(): if a timeslot is configured to use
frequency hopping, both 'pinst' and 'l1h' pointers are *overwriten*
in the inner loop, so the Downlink burst is re-directed to the
approproate PHY instance.  However, if a subsequent timeslot is not
hopping, the Downlink burst would be re-directed to the wrong PHY
instance because both pointers were overwriten during a previous
iteration.

Let's add another 'struct phy_instance' pointer to the inner loop,
so it's properly re-initialized for each timeslot iteration.

Change-Id: I9afbbef8dc5d885763356470c27d4392dce8e815
Fixes: [1] I68f4ae09fd0789ad0d8f1c1e17e17dfc4de8e462
Related: SYS#4868, OS#4546
2021-05-20 19:03:05 +02:00
..
common ta_control: fix Timing Advance control for SDCCH channels 2021-02-20 22:46:24 +01:00
osmo-bts-lc15 lchan2lch_par(): fix missing default branch in switch 2021-04-20 22:49:31 +02:00
osmo-bts-oc2g lchan2lch_par(): fix missing default branch in switch 2021-04-20 22:49:31 +02:00
osmo-bts-octphy lchan2lch_par(): fix missing default branch in switch 2021-04-20 22:49:31 +02:00
osmo-bts-omldummy Introduce NM Channel FSM 2020-10-20 13:45:57 +00:00
osmo-bts-sysmo lchan2lch_par(): fix missing default branch in switch 2021-04-20 22:49:31 +02:00
osmo-bts-trx osmo-bts-trx: fix hopping pointer bug in trx_sched_fn() 2021-05-20 19:03:05 +02:00
osmo-bts-virtual gsm_data: handle l1_info with structs 2021-02-16 22:28:18 +00:00
Makefile.am osmo-bts-lc15: use consistent name for containing directory 2020-11-05 03:39:50 +07:00