Attention is currently required from: osmith, fixeria.
Hello osmith, Jenkins Builder, laforge, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-cbc/+/28602
to look at the new patch set (#9).
Change subject: Add initial SBc-AP support to osmo-cbc
......................................................................
Add initial SBc-AP support to osmo-cbc
This patch makes use of the newly introduced sbcap library, and
introduces new code (and extends existing one) to handle all the aspects
of MME peers talking SBc-AP and its underlaying SCTP connection.
This commit doesn't aim to implement all the SBc-AP features, but to
implement a minimal subset of features already available for CBSP in
osmo-cbc, in order to have similar support level for both 2G and 4G
networks.
Related: OS#4945
Change-Id: Ib278bc1d1a74459814016fef7a8fe21cc29d46c9
---
M configure.ac
M contrib/osmo-cbc.spec.in
M debian/control
M doc/examples/osmo-cbc/osmo-cbc.cfg
M include/osmocom/cbc/Makefile.am
M include/osmocom/cbc/cbc_data.h
M include/osmocom/cbc/internal.h
A include/osmocom/cbc/sbcap_msg.h
A include/osmocom/cbc/sbcap_server.h
M src/Makefile.am
M src/cbc_data.c
M src/cbc_main.c
M src/cbc_vty.c
M src/message_handling.c
A src/sbcap_msg.c
A src/sbcap_server.c
A src/sbcap_server_fsm.c
M src/smscb_message_fsm.c
M src/smscb_peer_fsm.c
19 files changed, 1,318 insertions(+), 53 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-cbc refs/changes/02/28602/9
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28602
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Ib278bc1d1a74459814016fef7a8fe21cc29d46c9
Gerrit-Change-Number: 28602
Gerrit-PatchSet: 9
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: osmith, fixeria.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-cbc/+/28602 )
Change subject: Add initial SBc-AP support to osmo-cbc
......................................................................
Patch Set 8:
(5 comments)
File src/sbcap_msg.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28602/comment/cc78977e_1ac88c92
PS8, Line 40: #if 0
> There are multiple "if 0" style commented out code blocks below. […]
Because it shows how to encode a list of items when we add support for it in the future. This took me a while to figure out so it's worth keeping here.
File src/sbcap_server.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28602/comment/cfdc5a74_2c558631
PS8, Line 184: /* FIXME */
> unresolved fixme, should it return here?
It's just kept to be on par with CBSP code, so that it can be fixed/figured out together later.
File src/sbcap_server_fsm.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28602/comment/834daff1_4bea79b4
PS8, Line 78: //pdu = data;
> not needed?
Not needed yet, but it's still worth leaving it commented out so that readers know which pointer is being passed.
https://gerrit.osmocom.org/c/osmo-cbc/+/28602/comment/8e04db8c_a1d129c4
PS8, Line 148: /* static const long asn_VAL_1_SBcAP_id_Message_Identifier = 5; */
> remove?
I left it on purpose, to understand what's this 5. ASN1C is not properly exporting those values, that's why I'm leaving the comments here and other parts, so that we can fix it later.
File src/smscb_peer_fsm.c:
https://gerrit.osmocom.org/c/osmo-cbc/+/28602/comment/57eb4439_0748b1d7
PS8, Line 311: //SBcAP_SBC_AP_PDU_t *pdu = NULL;
> remove? also "//pdu = data" twice below, also in smscb_p_fsm_wait_delete_ack
Same, it's useful to keep for further future development.
--
To view, visit https://gerrit.osmocom.org/c/osmo-cbc/+/28602
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-cbc
Gerrit-Branch: master
Gerrit-Change-Id: Ib278bc1d1a74459814016fef7a8fe21cc29d46c9
Gerrit-Change-Number: 28602
Gerrit-PatchSet: 8
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 18 Jul 2022 09:35:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: pespin.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28603
to look at the new patch set (#6).
Change subject: Support for SBc-AP protocol as used on the MME-CBC interface
......................................................................
Support for SBc-AP protocol as used on the MME-CBC interface
This requires a recent libfftranscode (>=0.5) with SBC-AP support.
The asn files are obtained from 3GPP TS 29.168.
Related: osmo-cbc.git Ib278bc1d1a74459814016fef7a8fe21cc29d46c9
Related: docker-playground.git 5f3c78105836d1f2c229655df3f537a73ab6e12a
Change-Id: Ia6743e0a3e7974a5f2dd3ecf74ec331f646f6bc2
Related: OS#4945
---
M cbc/CBC_Tests.ttcn
M cbc/gen_links.sh
M cbc/regen_makefile.sh
A library/sbcap/SBC_AP_Adapter.ttcn
A library/sbcap/SBC_AP_CodecPort.ttcn
A library/sbcap/SBC_AP_CodecPort_CtrlFunct.ttcn
A library/sbcap/SBC_AP_CodecPort_CtrlFunctDef.cc
A library/sbcap/SBC_AP_CommonDataTypes.asn
A library/sbcap/SBC_AP_Constants.asn
A library/sbcap/SBC_AP_Containers.asn
A library/sbcap/SBC_AP_EncDec.cc
A library/sbcap/SBC_AP_IEs.asn
A library/sbcap/SBC_AP_PDU_Contents.asn
A library/sbcap/SBC_AP_PDU_Descriptions.asn
A library/sbcap/SBC_AP_Templates.ttcn
A library/sbcap/SBC_AP_Types.ttcn
A library/sbcap/regen_makefile.sh
17 files changed, 2,204 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/03/28603/6
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/28603
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ia6743e0a3e7974a5f2dd3ecf74ec331f646f6bc2
Gerrit-Change-Number: 28603
Gerrit-PatchSet: 6
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newpatchset