fixeria has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/26/30626/1
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;
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/30626
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ie94b7977fec857aa5f13f53162816d5fd9f5594c
Gerrit-Change-Number: 30626
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newchange