osmo-bts/src/osmo-bts-trx
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
..
Makefile.am bts-trx: introduce TRX provisioning FSM 2020-07-14 11:44:30 +02:00
l1_if.c Introduce NM Channel FSM 2020-10-20 13:45:57 +00:00
l1_if.h osmo-bts-trx/scheduler: implement baseband frequency hopping 2020-08-07 23:39:01 +07:00
loops.c ta_control: move timing advance code from osmo-bts-trx to common 2020-01-20 14:33:49 +00:00
loops.h ta_control: move timing advance code from osmo-bts-trx to common 2020-01-20 14:33:49 +00:00
main.c l1sap: add repeated downlink FACCH 2020-11-27 16:02:45 +01:00
sched_lchan_fcch_sch.c osmo-bts-trx/scheduler: get rid of _sched_fcch_burst 2020-06-26 16:19:30 +00:00
sched_lchan_pdtch.c osmo-bts-trx/scheduler: refactor UL burst measurement processing 2020-09-22 19:34:02 +00:00
sched_lchan_rach.c osmo-bts-trx: move logical channel handlers to separate files 2020-06-15 10:42:03 +00:00
sched_lchan_tchf.c sched_lchan_tchf: count measurements for FACCH/F only once 2020-10-26 15:11:27 +01:00
sched_lchan_tchh.c osmo-bts-trx/scheduler: fix comments related to FACCH/H and BFI 2020-10-30 16:45:43 +07:00
sched_lchan_xcch.c l1sap: add repeated uplink SACCH 2020-11-28 22:35:12 +01:00
sched_utils.h osmo-bts-trx: move logical channel handlers to separate files 2020-06-15 10:42:03 +00:00
scheduler_trx.c osmo-bts-trx: fix hopping pointer bug in trx_sched_fn() 2021-05-20 19:03:05 +02:00
trx_if.c bts-trx: Use TRXC RFMUTE instead of resetting the scheduler 2020-09-07 08:08:09 +00:00
trx_if.h bts-trx: Use TRXC RFMUTE instead of resetting the scheduler 2020-09-07 08:08:09 +00:00
trx_provision_fsm.c osmo-bts-trx: also print 'txtune-ack' in st_open_poweroff() 2020-09-10 14:15:31 +07:00
trx_provision_fsm.h bts-trx: prov_fsm: Fix mess with 1 event having 2 names 2020-07-24 17:28:42 +02:00
trx_vty.c power_control: migrate MS/BS control loops to the new params 2021-01-08 02:05:27 +01:00