pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/upf-benchmark/+/38742?usp=email )
Change subject: testsuites: eupf: run with GIN_MODE=release
......................................................................
testsuites: eupf: run with GIN_MODE=release
The output of eupf said it was using debug mode and that release mode
should be used in production.
Change-Id: Ic5afa6865c708960210e5251f20e9328947cd5b7
---
M testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/run.sh
M testsuites/gtplab-sysmo2017/tunmap/upf/eupf/run.sh
2 files changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/upf-benchmark refs/changes/42/38742/1
diff --git a/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/run.sh b/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/run.sh
index a4951e9..9dda226 100755
--- a/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/run.sh
+++ b/testsuites/gtplab-sysmo2017/tunend/upf/osmo-upf/run.sh
@@ -2,7 +2,7 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
-sudo osmo-upf -c "$SCRIPT_DIR/osmo-upf.cfg"
+sudo GIN_MODE=release osmo-upf -c "$SCRIPT_DIR/osmo-upf.cfg"
# TODO: Route needs to be set up manually on the tun iface once it becomes created, since osmo-upf is not yet doing it (OS#6585).
# For now, run this manually after starting osmo-upf with the current run.sh script:
diff --git a/testsuites/gtplab-sysmo2017/tunmap/upf/eupf/run.sh b/testsuites/gtplab-sysmo2017/tunmap/upf/eupf/run.sh
index 1532b76..26a1931 100755
--- a/testsuites/gtplab-sysmo2017/tunmap/upf/eupf/run.sh
+++ b/testsuites/gtplab-sysmo2017/tunmap/upf/eupf/run.sh
@@ -2,4 +2,4 @@
SCRIPT_DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
-sudo eupf --config "$SCRIPT_DIR/eupf.yaml"
+sudo GIN_MODE=release eupf --config "$SCRIPT_DIR/eupf.yaml"
--
To view, visit https://gerrit.osmocom.org/c/upf-benchmark/+/38742?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: upf-benchmark
Gerrit-Branch: master
Gerrit-Change-Id: Ic5afa6865c708960210e5251f20e9328947cd5b7
Gerrit-Change-Number: 38742
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria.
pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email )
Change subject: trxcon/l1sched: fix FACCH/H regression in rx_tchh_fn()
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File src/host/trxcon/src/sched_lchan_tchh.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/38740/comment/4b70f3fb_a7264e99?u… :
PS1, Line 86: /* TDMA frame number of burst 'f' is used as the table index. */
> > so you are numbering the bursts a,b,c,d,e,f? […]
Done
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia4b737cf11d4d9ce9847cabb77189e9cbcbb8840
Gerrit-Change-Number: 38740
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 12 Nov 2024 18:35:36 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email )
Change subject: trxcon/l1sched: fix FACCH/H regression in rx_tchh_fn()
......................................................................
Patch Set 1:
(1 comment)
File src/host/trxcon/src/sched_lchan_tchh.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/38740/comment/92040570_bba94c13?u… :
PS1, Line 86: /* TDMA frame number of burst 'f' is used as the table index. */
> so you are numbering the bursts a,b,c,d,e,f?
Yes, see the comment above illustrating burst placement in the buffer.
> Is that specified like that somewhere?
Not that I am aware of.
> Maybe add "(last)" here and "(first)" below?
Ack, it does not hurt to clarify things a bit. In a separate patch though.
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia4b737cf11d4d9ce9847cabb77189e9cbcbb8840
Gerrit-Change-Number: 38740
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: Tue, 12 Nov 2024 18:34:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Attention is currently required from: fixeria.
pespin has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email )
Change subject: trxcon/l1sched: fix FACCH/H regression in rx_tchh_fn()
......................................................................
Patch Set 1:
(1 comment)
File src/host/trxcon/src/sched_lchan_tchh.c:
https://gerrit.osmocom.org/c/osmocom-bb/+/38740/comment/16a42d33_9df35e02?u… :
PS1, Line 86: /* TDMA frame number of burst 'f' is used as the table index. */
so you are numbering the bursts a,b,c,d,e,f? Is that specified like that somewhere? otherwise I find it confusing tbh. Maybe add "(last)" here and "(first)" below?
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia4b737cf11d4d9ce9847cabb77189e9cbcbb8840
Gerrit-Change-Number: 38740
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 12 Nov 2024 18:01:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email )
Change subject: trxcon/l1sched: fix FACCH/H regression in rx_tchh_fn()
......................................................................
trxcon/l1sched: fix FACCH/H regression in rx_tchh_fn()
In c15084a5 overlooked that in order to ensure alignment to the first
FACCH/H block in rx_tchh_fn() we actually need to check if DL FACCH/H
can start (not end!) at the current TDMA Fn. This means we cannot use
the same mapping as we do below in that function; we need another one.
This patch fixes multiple FACCH/H regressions in ttcn3-bts-test.
Change-Id: Ia4b737cf11d4d9ce9847cabb77189e9cbcbb8840
Fixes: c15084a5 ("trxcon/l1sched: replace old API with sched_tchh_ul_facch_map[]")
---
M src/host/trxcon/src/sched_lchan_tchh.c
1 file changed, 19 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/40/38740/1
diff --git a/src/host/trxcon/src/sched_lchan_tchh.c b/src/host/trxcon/src/sched_lchan_tchh.c
index eff36fd..a158bef 100644
--- a/src/host/trxcon/src/sched_lchan_tchh.c
+++ b/src/host/trxcon/src/sched_lchan_tchh.c
@@ -81,9 +81,10 @@
};
/* FACCH/H channel mappings for DL and UL (see 3GPP TS 45.002, table 1).
- * These mappings are valid for both FACCH/H(0) and FACCH/H(1).
- * TDMA frame number of burst 'f' is used as the table index. */
-static const uint8_t sched_tchh_dl_facch_map[26] = {
+ * These mappings are valid for both FACCH/H(0) and FACCH/H(1). */
+
+/* TDMA frame number of burst 'f' is used as the table index. */
+static const uint8_t sched_tchh_dl_facch_f_map[26] = {
[15] = 1, /* FACCH/H(0): B0(4,6,8,10,13,15) */
[16] = 1, /* FACCH/H(1): B0(5,7,9,11,14,16) */
[23] = 1, /* FACCH/H(0): B1(13,15,17,19,21,23) */
@@ -93,6 +94,16 @@
};
/* TDMA frame number of burst 'a' is used as the table index. */
+static const uint8_t sched_tchh_dl_facch_a_map[26] = {
+ [4] = 1, /* FACCH/H(0): B0(4,6,8,10,13,15) */
+ [5] = 1, /* FACCH/H(1): B0(5,7,9,11,14,16) */
+ [13] = 1, /* FACCH/H(0): B1(13,15,17,19,21,23) */
+ [14] = 1, /* FACCH/H(1): B1(14,16,18,20,22,24) */
+ [21] = 1, /* FACCH/H(0): B2(21,23,0,2,4,6) */
+ [22] = 1, /* FACCH/H(1): B2(22,24,1,3,5,7) */
+};
+
+/* TDMA frame number of burst 'a' is used as the table index. */
static const uint8_t sched_tchh_ul_facch_map[26] = {
[0] = 1, /* FACCH/H(0): B0(0,2,4,6,8,10) */
[1] = 1, /* FACCH/H(1): B0(1,3,5,7,9,11) */
@@ -189,7 +200,7 @@
/* Align reception of the first FACCH/H frame */
if (lchan->tch_mode == GSM48_CMODE_SIGN) {
- if (!sched_tchh_dl_facch_map[bi->fn % 26])
+ if (!sched_tchh_dl_facch_a_map[bi->fn % 26])
return 0;
}
}
@@ -246,14 +257,14 @@
case GSM48_CMODE_SIGN:
case GSM48_CMODE_SPEECH_V1: /* HR */
rc = gsm0503_tch_hr_decode(&tch_data[0], BUFTAIL8(bursts_p),
- !sched_tchh_dl_facch_map[bi->fn % 26],
+ !sched_tchh_dl_facch_f_map[bi->fn % 26],
&n_errors, &n_bits_total);
break;
case GSM48_CMODE_SPEECH_AMR: /* AMR */
/* See comment in function rx_tchf_fn() */
amr = 2;
rc = gsm0503_tch_ahs_decode_dtx(&tch_data[amr], BUFTAIL8(bursts_p),
- !sched_tchh_dl_facch_map[bi->fn % 26],
+ !sched_tchh_dl_facch_f_map[bi->fn % 26],
!sched_tchh_dl_amr_cmi_map[bi->fn % 26],
lchan->amr.codec,
lchan->amr.codecs,
@@ -281,7 +292,7 @@
/* CSD (TCH/H4.8): 6.0 kbit/s radio interface rate */
case GSM48_CMODE_DATA_6k0:
/* FACCH/H does not steal TCH/H4.8 frames, but only disturbs some bits */
- if (sched_tchh_dl_facch_map[bi->fn % 26])
+ if (sched_tchh_dl_facch_f_map[bi->fn % 26])
decode_hr_facch(lchan);
if (!sched_tchh_dl_csd_map[bi->fn % 26])
return 0;
@@ -291,7 +302,7 @@
/* CSD (TCH/H2.4): 3.6 kbit/s radio interface rate */
case GSM48_CMODE_DATA_3k6:
/* FACCH/H does not steal TCH/H2.4 frames, but only disturbs some bits */
- if (sched_tchh_dl_facch_map[bi->fn % 26])
+ if (sched_tchh_dl_facch_f_map[bi->fn % 26])
decode_hr_facch(lchan);
if (!sched_tchh_dl_csd_map[bi->fn % 26])
return 0;
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/38740?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia4b737cf11d4d9ce9847cabb77189e9cbcbb8840
Gerrit-Change-Number: 38740
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>