fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/38141?usp=email )
Change subject: s1ap_proxy: fix E-RAB FSM lookup for RELEASE related IEs
......................................................................
s1ap_proxy: fix E-RAB FSM lookup for RELEASE related IEs
We use a tuple of {MmeUeId, EnbUeId, RABId} to register and lookup
E-RAB FSMs in the registry. Using RABId alone is wrong (because
it's not a globally unique ID) and will never yield anything.
Because of this bug the E-RAB FSMs were never terminated properly.
This was found thanks to the ttcn3-s1gw-test and remained unnoticed
so far because in test_e_rab_release() we still have this TODO:
%% TODO: make sure that the E-RAB FSM has been terminated
We'll need to add some E-RAB introspection API to implement this.
Change-Id: Ic737e7b0c08562ecfd641ce4e3c2f27c26f8560e
Fixes: 935a0f02 "{sctp,s1ap}_proxy: employ E-RAB FSMs"
---
M src/s1ap_proxy.erl
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/41/38141/1
diff --git a/src/s1ap_proxy.erl b/src/s1ap_proxy.erl
index f28ff56..1df1518 100644
--- a/src/s1ap_proxy.erl
+++ b/src/s1ap_proxy.erl
@@ -269,7 +269,7 @@
value = Content}, S) ->
%% poke E-RAB FSM
#'E-RABItem'{'e-RAB-ID' = ERABId} = Content,
- case dict:find(ERABId, S#proxy_state.erabs) of
+ case erab_fsm_find(ERABId, S) of
{ok, Pid} ->
ok = erab_fsm:erab_release_req(Pid);
error ->
@@ -287,7 +287,7 @@
value = Content}, S) ->
%% poke E-RAB FSM
#'E-RABReleaseItemBearerRelComp'{'e-RAB-ID' = ERABId} = Content,
- case dict:find(ERABId, S#proxy_state.erabs) of
+ case erab_fsm_find(ERABId, S) of
{ok, Pid} ->
ok = erab_fsm:erab_release_rsp(Pid);
error ->
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/38141?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: Ic737e7b0c08562ecfd641ce4e3c2f27c26f8560e
Gerrit-Change-Number: 38141
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
falconia has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/38140?usp=email )
Change subject: spelling.txt: remove teh||the
......................................................................
spelling.txt: remove teh||the
TEH is a valid acronym in Osmocom+Themyscira universe: it stands
for TRAU-like Extension Header, as defined in this spec:
https://www.freecalypso.org/specs/tw-ts-001-v010100.txt
Various Osmocom components now include support for this family
of Themyscira specs, but the linter outright rejects any and all
patches that have a legitimate need to mention this acronym.
Change-Id: I3d429d723e6cf926ecca9a83e36445575786c228
---
M lint/checkpatch/spelling.txt
1 file changed, 0 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/40/38140/1
diff --git a/lint/checkpatch/spelling.txt b/lint/checkpatch/spelling.txt
index f60a02f..6cfb584 100644
--- a/lint/checkpatch/spelling.txt
+++ b/lint/checkpatch/spelling.txt
@@ -1439,7 +1439,6 @@
targetted||targeted
targetting||targeting
taskelt||tasklet
-teh||the
temorary||temporary
temproarily||temporarily
temperture||temperature
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/38140?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3d429d723e6cf926ecca9a83e36445575786c228
Gerrit-Change-Number: 38140
Gerrit-PatchSet: 1
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
falconia has posted comments on this change by falconia. ( https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email )
Change subject: tests: add unit tests for trau2rtp conversion, FR & EFR
......................................................................
Patch Set 3: Verified+1
(1 comment)
Patchset:
PS3:
The actual builds are passing, but the linter is failing on the TEH acronym (TRAU-like Extension Header as defined in TW-TS-001). How to remove Jenkins Builder from reviewers on this patch?
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ie319900125baa8f20595cac83343771d780a5b4e
Gerrit-Change-Number: 38139
Gerrit-PatchSet: 3
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Sat, 14 Sep 2024 08:02:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Attention is currently required from: falconia.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email
to look at the new patch set (#3).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: tests: add unit tests for trau2rtp conversion, FR & EFR
......................................................................
tests: add unit tests for trau2rtp conversion, FR & EFR
The present set of tests exercises osmo_trau_frame_decode_16k()
and osmo_trau2rtp() functions for frame types of FR speech and
EFR speech. Both standard (RFC 3551) and TW-TS-001 output modes
are tested.
Change-Id: Ie319900125baa8f20595cac83343771d780a5b4e
---
M .gitignore
M tests/Makefile.am
M tests/testsuite.at
A tests/trau_conv/trau16_efr.in
A tests/trau_conv/trau16_efr_std.ok
A tests/trau_conv/trau16_efr_twts001.ok
A tests/trau_conv/trau16_fr.in
A tests/trau_conv/trau16_fr_std.ok
A tests/trau_conv/trau16_fr_twts001.ok
A tests/trau_conv/trau16_to_rtp.c
10 files changed, 1,128 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/39/38139/3
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ie319900125baa8f20595cac83343771d780a5b4e
Gerrit-Change-Number: 38139
Gerrit-PatchSet: 3
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Attention is currently required from: falconia.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Verified-1 by Jenkins Builder
Change subject: tests: add unit tests for trau2rtp conversion, FR & EFR
......................................................................
tests: add unit tests for trau2rtp conversion, FR & EFR
The present set of tests exercises osmo_trau_frame_decode_16k()
and osmo_trau2rtp() functions for frame types of FR speech and
EFR speech. Both standard (RFC 3551) and TW-TS-001 output modes
are tested.
Change-Id: Ie319900125baa8f20595cac83343771d780a5b4e
---
M .gitignore
M tests/Makefile.am
M tests/testsuite.at
A tests/trau_conv/trau16_efr.in
A tests/trau_conv/trau16_efr_std.ok
A tests/trau_conv/trau16_efr_twts001.ok
A tests/trau_conv/trau16_fr.in
A tests/trau_conv/trau16_fr_std.ok
A tests/trau_conv/trau16_fr_twts001.ok
A tests/trau_conv/trau16_to_rtp.c
10 files changed, 1,124 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmo-abis refs/changes/39/38139/2
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/38139?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: Ie319900125baa8f20595cac83343771d780a5b4e
Gerrit-Change-Number: 38139
Gerrit-PatchSet: 2
Gerrit-Owner: falconia <falcon(a)freecalypso.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: falconia <falcon(a)freecalypso.org>