fixeria has uploaded a new patch set (#3) to the change originally created by neels. ( https://gerrit.osmocom.org/c/osmo-bsc/+/26614 )
Change subject: fix gscon clear 3/n: separate state for SCCP RLSD
......................................................................
fix gscon clear 3/n: separate state for SCCP RLSD
Properly implement the separate conn release stages in separate FSM
states:
x) sent Clear Request, wait for a Clear Command from the MSC.
Timeout after a configurable 60s.
y) after a Clear Command and sending a Clear Complete, wait for the SCCP
RLSD. Timeout after a configurable 60s.
z) terminate after the RLSD is received / after timeout.
handover_test.c needs a little tweak to make the MGCP release work with
its fake MGCP client, because cleanup now ensures to invoke
gscon_forget_mgw_endpoint() in all cases.
Related: I680ec4ed866aa5f0b1ff29e7e98322615cfb288d (osmo-ttcn3-hacks)
Related: OS#5337
Change-Id: Ie975117d37f38ba853589dc7f8d3e94f8f9586b2
---
M src/osmo-bsc/bsc_subscr_conn_fsm.c
M tests/handover/handover_test.c
2 files changed, 75 insertions(+), 54 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/14/26614/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/26614
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ie975117d37f38ba853589dc7f8d3e94f8f9586b2
Gerrit-Change-Number: 26614
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset
tnt has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26852 )
Change subject: icE1usb fw: Update LED status even in E1 FSM is in IDLE state
......................................................................
icE1usb fw: Update LED status even in E1 FSM is in IDLE state
Signed-off-by: Sylvain Munaut <tnt(a)246tNt.com>
Change-Id: I82b867c4886c9f34ff685764424d3db9a8303789
---
M firmware/ice40-riscv/icE1usb/e1.c
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/52/26852/1
diff --git a/firmware/ice40-riscv/icE1usb/e1.c b/firmware/ice40-riscv/icE1usb/e1.c
index 1b6d978..09bc6d2 100644
--- a/firmware/ice40-riscv/icE1usb/e1.c
+++ b/firmware/ice40-riscv/icE1usb/e1.c
@@ -444,10 +444,6 @@
uint32_t bd;
unsigned int ofs;
- /* Active ? */
- if ((e1->rx.state == IDLE) && (e1->tx.state == IDLE))
- return;
-
/* HACK: LED link status */
if (e1_regs->rx.csr & E1_RX_SR_ALIGNED) {
e1_platform_led_set(port, E1P_LED_GREEN, E1P_LED_ST_ON);
@@ -461,6 +457,10 @@
/* TODO: completely off if rx tick counter not incrementing */
}
+ /* Active ? */
+ if ((e1->rx.state == IDLE) && (e1->tx.state == IDLE))
+ return;
+
/* Recover any done TX BD */
while ( (bd = e1_regs->tx.bd) & E1_BD_VALID ) {
e1f_multiframe_read_discard(&e1->tx.fifo);
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26852
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I82b867c4886c9f34ff685764424d3db9a8303789
Gerrit-Change-Number: 26852
Gerrit-PatchSet: 1
Gerrit-Owner: tnt <tnt(a)246tNt.com>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newchange