Attention is currently required from: fixeria.
falconia has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-bts/+/38751?usp=email )
Change subject: csd_v110: handle TCH/F14.4
......................................................................
Patch Set 3:
(2 comments)
Commit Message:
https://gerrit.osmocom.org/c/osmo-bts/+/38751/comment/745b4206_41594baa?usp… :
PS3, Line 15: E-TRAU frames (spoken over the air)
Nitpick: E-TRAU frames are not spoken over the air, they are spoken over E1 Abis. However, the block of 290 bits is exactly the same between E-TRAU and the air interface, which is why the same RAA' functions work here as well as trau2rtp and rtp2trau functions in libosmotrau, and can be unit-tested for exact match against a historical hardware TRAU.
Perhaps reword like this: "which converts between between 290-bit blocks used on Um and Abis-E1 interfaces (E-TRAU frames on the latter) and A-TRAU frames spoken over the A interface."
File src/common/csd_v110.c:
https://gerrit.osmocom.org/c/osmo-bts/+/38751/comment/d1524b0c_ca1bd39f?usp… :
PS3, Line 113: memset(&ra_bits[0], 0x01, sizeof(ra_bits));
This code won't have the desired effect: `ra_bits[]` is the output buffer for `osmo_csd144_to_atrau_bits()`, not the input. Thus the memset itself will have no effect whatsoever (the buffer will be fully overwritten two lines later), while the A-TRAU encoding function will read from `&data[0]` and `&data[2]`, i.e., from non-existing memory, aka an out-of-bound read - obviously bad.
We'll need a separate on-stack temporary buffer to hold the needed 290 dummy bits - yes, I know, it's ugly. Alternatively, perhaps have a const array that hard-codes the fixed A-TRAU output from all-1s data and M bits, and C5=1 - whichever you feel more comfortable implementing.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/38751?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3c3bef0bd2f72b8381597b5699e2060165b702a0
Gerrit-Change-Number: 38751
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Nov 2024 20:21:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38745?usp=email )
Change subject: epdg: fix a DTE in as_GSUP_rx_CL_REQ
......................................................................
epdg: fix a DTE in as_GSUP_rx_CL_REQ
Recent commit 51490419 uncovered a problem of passing 'dom := *'
to tr_GSUP_CL_REQ, which calls f_gen_tr_ies(), which in its turn
does not properly handle the '*' template kind:
'''
Dynamic test case error: Restriction `present' on template
of type @GSUP_Types.GSUP_CnDomain violated.
'''
The old code was basically equivalent of passing 'dom := ?',
i.e. expecting the OSMO_GSUP_CN_DOMAIN_IE to be present.
Work the problem around by having two alternatives:
* GSUP.receive(tr_GSUP_CL_REQ(dom := omit)
* GSUP.receive(tr_GSUP_CL_REQ(dom := ?)
This patch makes TC_hss_initiated_deregister_permanent_termination pass.
Change-Id: I26738c8c2a0a4b9066bfb619149cbdbaf3e3b5e1
Related: 51490419 ("library/gsup: improve GSUP_IE templates")
---
M epdg/EPDG_Tests.ttcn
1 file changed, 4 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
osmith: Looks good to me, but someone else must approve
diff --git a/epdg/EPDG_Tests.ttcn b/epdg/EPDG_Tests.ttcn
index d9300a6..b551b67 100644
--- a/epdg/EPDG_Tests.ttcn
+++ b/epdg/EPDG_Tests.ttcn
@@ -943,8 +943,10 @@
private altstep as_GSUP_rx_CL_REQ(template GSUP_CancelType ctype := omit) runs on EPDG_ConnHdlr {
var GSUP_PDU rx_gsup;
- [] GSUP.receive(tr_GSUP_CL_REQ(g_pars.imsi, dom := *, ctype := ctype)) -> value rx_gsup {
- }
+ /* XXX: workaround for 'dom := *' causing a DTE:
+ * "Dynamic test case error: Restriction `present' on template of type @GSUP_Types.GSUP_CnDomain violated." */
+ [] GSUP.receive(tr_GSUP_CL_REQ(g_pars.imsi, dom := omit, ctype := ctype)) -> value rx_gsup;
+ [] GSUP.receive(tr_GSUP_CL_REQ(g_pars.imsi, dom := ?, ctype := ctype)) -> value rx_gsup;
[] GSUP.receive(GSUP_PDU:?) -> value rx_gsup {
Misc_Helpers.f_shutdown(__BFILE__, __LINE__, fail, log2str("Unexpected GSUP msg rx: ", rx_gsup));
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/38745?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I26738c8c2a0a4b9066bfb619149cbdbaf3e3b5e1
Gerrit-Change-Number: 38745
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: lynxis lazus <lynxis(a)fe80.eu>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria.
falconia has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-bts/+/38750?usp=email )
Change subject: csd_v110: use osmo_csd_ra2_* API from libosmotrau
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/38750?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I0be44b15a812397377fe7772b988724dd205737c
Gerrit-Change-Number: 38750
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 13 Nov 2024 19:58:48 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Attention is currently required from: falconia.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-bts/+/38751?usp=email )
Change subject: csd_v110: handle TCH/F14.4
......................................................................
Patch Set 3:
(1 comment)
This change is ready for review.
File src/common/csd_v110.c:
https://gerrit.osmocom.org/c/osmo-bts/+/38751/comment/419a2454_32cadc86?usp… :
PS2, Line 102: return -EINVAL; /* FIXME: send an IDLE frame */
> To fix this FIXME, feed an idle frame (all 290 bits set to 1) to `osmo_csd144_to_atrau_bits`, and se […]
Done, thanks! I took a chance to update the COMMIT_MSG.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/38751?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I3c3bef0bd2f72b8381597b5699e2060165b702a0
Gerrit-Change-Number: 38751
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Comment-Date: Wed, 13 Nov 2024 19:33:03 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: falconia <falcon(a)freecalypso.org>
Attention is currently required from: falconia, fixeria.
Hello Jenkins Builder, falconia,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/38750?usp=email
to look at the new patch set (#2).
The following approvals got outdated and were removed:
Code-Review+1 by falconia
Change subject: csd_v110: use osmo_csd_ra2_* API from libosmotrau
......................................................................
csd_v110: use osmo_csd_ra2_* API from libosmotrau
Change-Id: I0be44b15a812397377fe7772b988724dd205737c
Depends: libosmo-abis.git I7b98b958651b3fc1a814d119d1b8644c91f98676
Related: OS#6167
---
M TODO-RELEASE
M src/common/csd_v110.c
2 files changed, 10 insertions(+), 25 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/50/38750/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/38750?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I0be44b15a812397377fe7772b988724dd205737c
Gerrit-Change-Number: 38750
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: falconia <falcon(a)freecalypso.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>