neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmo-sccp/+/32035 )
Change subject: fix sccp_scoc state S_WAIT_CONN_CONF out_state_mask
......................................................................
fix sccp_scoc state S_WAIT_CONN_CONF out_state_mask
In sccp_scoc_states, allow the state transitions present in
S_WAIT_CONN_CONF's event handler function scoc_fsm_wait_conn_conf(), and
thus fix handling of N-DISCONNECT while waiting for SCCP Conn Confirm.
Fixes this error:
DLSCCP ERROR SCCP-SCOC(1016){WAIT_CONN_CONF}: transition to state IDLE not permitted! (sccp_scoc.c:1213)
S_WAIT_CONN_CONF happens when the caller sends an N-DISCONNECT during
S_CONN_PEND_OUT -- that means, while we are waiting for a CC from the
peer, the caller ends the conn. SCCP-SCOC still waits for the CC first.
When S_WAIT_CONN_CONF expires, the intended path is state change to
S_IDLE, which then deallocates the connection. Allow this state
transition from S_WAIT_CONN_CONF to S_IDLE.
When S_WAIT_CONN_CONF receives a CC, the intended path is to send a
RELRE and state change to S_DISCONN_PEND. Allow this state transition
from S_WAIT_CONN_CONF to S_DISCONN_PEND.
Change-Id: I8145e53124cabd76bd2cee159ab01306a1afaa27
---
M src/sccp_scoc.c
1 file changed, 31 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/35/32035/1
diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c
index db1db23..c929ed6 100644
--- a/src/sccp_scoc.c
+++ b/src/sccp_scoc.c
@@ -1468,6 +1468,8 @@
S(SCOC_E_CONN_TMR_EXP) |
S(SCOC_E_RCOC_CREF_IND) |
S(SCOC_E_RCOC_ROUT_FAIL_IND),
+ .out_state_mask = S(S_IDLE) |
+ S(S_DISCONN_PEND),
},
};
--
To view, visit https://gerrit.osmocom.org/c/libosmo-sccp/+/32035
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-sccp
Gerrit-Branch: master
Gerrit-Change-Id: I8145e53124cabd76bd2cee159ab01306a1afaa27
Gerrit-Change-Number: 32035
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: dexter.
keith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32029 )
Change subject: bts: bts: Explain Ericsson's interface switch (IS)
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
Patchset:
PS1:
+1 for content, (with laforge's comments)
I don't know what's going on with the Jenkins errors.
File doc/manuals/chapters/bts.adoc:
https://gerrit.osmocom.org/c/osmo-bsc/+/32029/comment/7710e6b5_55dc78bf
PS1, Line 784: to the outside must be aligned to E1 timeslot boarders.
borders. (with 'a' it is Gäste)
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32029
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ib6ebd7fdfe9063c0d8cacf53ffd27f6099d9038a
Gerrit-Change-Number: 32029
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: keith <keith(a)rhizomatica.org>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 24 Mar 2023 00:59:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: dexter.
keith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32030 )
Change subject: doc: running: Describe how to configure a co-located PCU
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32030
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I3af3cd8ef7099bb94f4cb25513e9dfdc5fcc1b5a
Gerrit-Change-Number: 32030
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: keith <keith(a)rhizomatica.org>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Fri, 24 Mar 2023 00:38:36 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: dexter.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32032 )
Change subject: doc: bts-examples: discuss Ericsson RBS EGPRS configuration
......................................................................
Patch Set 1:
(2 comments)
File doc/manuals/chapters/bts-examples.adoc:
https://gerrit.osmocom.org/c/osmo-bsc/+/32032/comment/4ddebe6e_bcc2d800
PS1, Line 279: 2000
again, 2000/6000 also here in this patch. The DUG+RUS you're working with are RBS6000, for example.
https://gerrit.osmocom.org/c/osmo-bsc/+/32032/comment/ed6746f3_f8d21343
PS1, Line 334: 10.9.1.153
IP address again. Maybe also add a call-out here and explain that this must point to the SGSN?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32032
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I2fb5b4d9300b16b0fac48f33b5db81442ab25031
Gerrit-Change-Number: 32032
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 23 Mar 2023 19:24:33 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: dexter.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32031 )
Change subject: examples: update erissson GPRS config files
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
File doc/examples/osmo-bsc/ericsson/osmo-bsc.dug20-rus02-1trx-1pdch-16kbps.cfg:
https://gerrit.osmocom.org/c/osmo-bsc/+/32031/comment/49198def_798564a9
PS1, Line 60: 10.9.1.153
I suggest to put 127.0.0.1 here, assuming that the SGSN runs on the same machine as the BSC. That is more likely to work than some arbitrary IP address.
File doc/examples/osmo-bsc/ericsson/osmo-bsc.dug20-rus02-1trx-1pdch-64kbps.cfg:
https://gerrit.osmocom.org/c/osmo-bsc/+/32031/comment/09faf88c_0abd86de
PS1, Line 57: gprs nsvc 0 remote ip 10.9.1.153
I suggest to put 127.0.0.1 here, assuming that the SGSN runs on the same machine as the BSC. That is more likely to work than some arbitrary IP address.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32031
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ifc538940fadca08d03a36bf6a28392f22640493d
Gerrit-Change-Number: 32031
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 23 Mar 2023 19:23:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: dexter.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/32030 )
Change subject: doc: running: Describe how to configure a co-located PCU
......................................................................
Patch Set 1: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/32030
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I3af3cd8ef7099bb94f4cb25513e9dfdc5fcc1b5a
Gerrit-Change-Number: 32030
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 23 Mar 2023 19:22:13 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment