neels has abandoned this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/31432 )
Change subject: ranap_rab_ass_test: fix use of deprecated ranap_cn_rx_co_decode()
......................................................................
Abandoned
now part of https://gerrit.osmocom.org/c/osmo-hnbgw/+/31460
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/31432
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: Iea41b027d047b2da52d0733fce4c9d75bb74fe48
Gerrit-Change-Number: 31432
Gerrit-PatchSet: 4
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: abandon
Attention is currently required from: laforge.
neels has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/31431 )
Change subject: context map: introduce RUA and SCCP FSMs to fix leaks
......................................................................
Patch Set 6:
(1 comment)
This change is ready for review.
Patchset:
PS6:
i cosmetically moved some stuff to separate patches, renamed the events and tried to move some new functions so that the diff doesn't mix in a confusing way. also found a bit of dead code. I hope this is now easier to review...
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/31431
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I6ff7e36532ff57c6f2d3e7e419dd22ef27dafd19
Gerrit-Change-Number: 31431
Gerrit-PatchSet: 6
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Thu, 23 Feb 2023 01:50:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: neels.
Hello Jenkins Builder, laforge, pespin,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/31430
to look at the new patch set (#3).
Change subject: add design charts for new context map FSMs
......................................................................
add design charts for new context map FSMs
Planning new connection-oriented RUA and SCCP FSMs to
- conquer confusion about hnbgw_context_map release behavior, and
- eradicate SCCP connection leaks.
Related: SYS#6297
Change-Id: I661bf65d79972a732c52732934095e8bfcd99694
---
M configure.ac
M doc/Makefile.am
A doc/charts/Makefile.am
A doc/charts/hnbgw_context_map.msc
A doc/charts/hnbgw_context_map_fsm.dot
5 files changed, 206 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/30/31430/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/31430
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I661bf65d79972a732c52732934095e8bfcd99694
Gerrit-Change-Number: 31430
Gerrit-PatchSet: 3
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newpatchset
Attention is currently required from: neels.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-hnbgw/+/31428
to look at the new patch set (#2).
Change subject: log tweak
......................................................................
log tweak
Change-Id: Ib6f8c46355d4748089e59c80fc1c8c736c887a26
---
M src/osmo-hnbgw/hnbgw_rua.c
1 file changed, 12 insertions(+), 3 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/28/31428/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/31428
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: Ib6f8c46355d4748089e59c80fc1c8c736c887a26
Gerrit-Change-Number: 31428
Gerrit-PatchSet: 2
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newpatchset
neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-hnbgw/+/31463 )
Change subject: cosmetic: regroup members of hnbgw_context_map
......................................................................
cosmetic: regroup members of hnbgw_context_map
Change the order in the struct definition so that the items for RUA and
for SCCP are grouped together. Tweak comments.
Change-Id: I84424617996d8e1a6814aa122e63454c0666b724
---
M include/osmocom/hnbgw/context_map.h
1 file changed, 23 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-hnbgw refs/changes/63/31463/1
diff --git a/include/osmocom/hnbgw/context_map.h b/include/osmocom/hnbgw/context_map.h
index 97e1b09..7bcdf57 100644
--- a/include/osmocom/hnbgw/context_map.h
+++ b/include/osmocom/hnbgw/context_map.h
@@ -28,23 +28,26 @@
struct hnbgw_context_map {
/* entry in the per-CN list of mappings */
struct llist_head cn_list;
- /* entry in the per-HNB list of mappings */
+ /* entry in the per-HNB list of mappings. */
struct llist_head hnb_list;
- /* pointer to HNB */
+
+ /* Pointer to HNB for this map, to transceive RUA. */
struct hnb_context *hnb_ctx;
- /* pointer to CN */
- struct hnbgw_cnlink *cn_link;
- /* RUA contxt ID */
+ /* RUA context ID used in RUA messages to/from the hnb_gw. */
uint32_t rua_ctx_id;
- /* False for CS, true for PS */
- bool is_ps;
- /* SCCP User SAP connection ID */
+
+ /* Pointer to CN, to transceive SCCP. */
+ struct hnbgw_cnlink *cn_link;
+ /* SCCP User SAP connection ID used in SCCP messages to/from the cn_link. */
uint32_t scu_conn_id;
/* Set to true on SCCP Conn Conf, set to false when an OSMO_SCU_PRIM_N_DISCONNECT has been sent for the SCCP
* User SAP conn. Useful to avoid leaking SCCP connections: guarantee that an OSMO_SCU_PRIM_N_DISCONNECT gets
* sent, even when RUA fails to gracefully disconnect. */
bool scu_conn_active;
+ /* False for CS, true for PS */
+ bool is_ps;
+
enum hnbgw_context_map_state state;
/* FSM instance for the MGW, handles the async MGCP communication necessary to intercept CS RAB Assignment and
--
To view, visit https://gerrit.osmocom.org/c/osmo-hnbgw/+/31463
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-hnbgw
Gerrit-Branch: master
Gerrit-Change-Id: I84424617996d8e1a6814aa122e63454c0666b724
Gerrit-Change-Number: 31463
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-MessageType: newchange
Attention is currently required from: pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31455 )
Change subject: library/DIAMETER_Emulation: add API for generating Session-Id AVP
......................................................................
Patch Set 1:
(2 comments)
File library/DIAMETER_Emulation.ttcn:
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31455/comment/f1955efe_720f…
PS1, Line 90: var uint32_t g_sess_id_seed_h32;
> I suspect that's because uint64_t is not supported in TTCN3?
It's supported, but... the problem is that bitwise and shift operators in TTCN-3 can be applied to bitstring, hexstring or octetstring, but *not to integers*. So when doing the initialization and then encoding I would need to convert to one of the supported types. I find this cumbersome.
";" & oct2char(int2oct(g_sess_id_seed, 8) >> 32)
";" & oct2char(int2oct(g_sess_id_seed, 8) and4b 'FFFFFFFF'O)
Alternatively, I could use substr(), but it's still rather clumsy:
";" & oct2char(substr(int2oct(g_sess_id_seed, 8), 0, 8))
";" & oct2char(substr(int2oct(g_sess_id_seed, 8), 8, 8))
I also would not say my solution is perfect, suggestions are welcome.
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31455/comment/1afd3184_9379…
PS1, Line 393: [] DIAMETER_PROC.getcall(DIAMETEREM_gen_sess_id:{?,?}) -> param(identity) {
> ah so they are encoded visibly as 2 parts, weird.
Well, this encoding format is recommended by RFC3588, section 8.8. "Session-Id AVP".
I'll add this reference to the commit message.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/31455
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: I0fbd271ad123e9663aab5163915e1edbf5915bb6
Gerrit-Change-Number: 31455
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 22 Feb 2023 18:25:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment