fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/30626 )
Change subject: trxcon: reset the L1 params on TRXCON_EV_RESET_FULL_REQ ......................................................................
trxcon: reset the L1 params on TRXCON_EV_RESET_FULL_REQ
Change-Id: Ie94b7977fec857aa5f13f53162816d5fd9f5594c Related: OS#5599 --- M src/host/trxcon/src/trxcon_fsm.c 1 file changed, 5 insertions(+), 0 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved
diff --git a/src/host/trxcon/src/trxcon_fsm.c b/src/host/trxcon/src/trxcon_fsm.c index 47da0bd..eaa4825 100644 --- a/src/host/trxcon/src/trxcon_fsm.c +++ b/src/host/trxcon/src/trxcon_fsm.c @@ -59,6 +59,11 @@ osmo_fsm_inst_state_chg(fi, TRXCON_ST_RESET, 0, 0); l1sched_reset(trxcon->sched, true);
+ /* Reset the L1 parameters */ + trxcon->l1p.band_arfcn = 0xffff; + trxcon->l1p.tx_power = 0; + trxcon->l1p.ta = 0; + phycmd.type = TRXCON_PHYIF_CMDT_RESET; trxcon_phyif_handle_cmd(trxcon->phyif, &phycmd); break;