Attention is currently required from: fixeria, laforge, osmith.
pespin has posted comments on this change by pespin. ( https://gerrit.osmocom.org/c/osmo-bts/+/41807?usp=email )
Change subject: {bs,ms}_power_control: Move params inside lchan_power_ctrl_state
......................................................................
Patch Set 4:
(1 comment)
File src/common/power_control.c:
https://gerrit.osmocom.org/c/osmo-bts/+/41807/comment/cd8515aa_91522673?usp… :
PS3, Line 151: memcpy(params, trx->ms_dpc_params, sizeof(*params));
> What's the point of moving this `memcpy()` here? Why not keeping it where it was (in `rsl_rx_chan_ac […]
Because the reset function should do what it is supposed to do, reset all state to sensible/known defaults. This clarifies a lot the content of the struct at any time. In the case of DPC, it is also resetting "dpc_enabled" field, so it should also reset "dpc_params" field.
In the "receive MS Power Control" we are specifically only touching those params, as it makes sense to have a specific memcpy there to change stuff.
In the case of static power:
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41807?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: I0e2a6c2c33e0ac9a0bc1734d83eaeafc27f2f4df
Gerrit-Change-Number: 41807
Gerrit-PatchSet: 4
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-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 12 Jan 2026 10:29:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Attention is currently required from: fixeria, pespin.
Hello Jenkins Builder, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bts/+/41807?usp=email
to look at the new patch set (#4).
The following approvals got outdated and were removed:
Code-Review-1 by fixeria, Verified+1 by Jenkins Builder
Change subject: {bs,ms}_power_control: Move params inside lchan_power_ctrl_state
......................................................................
{bs,ms}_power_control: Move params inside lchan_power_ctrl_state
Those fields are also part of the power control state, since they are
modified through the lifecycle of the lchan eg. during rx of CHAN
(RE)ACT, MS POWER CONTROL, etc. Those should also be reset together with
other fields.
Moreover, with this patch we get rid of an extra indirection pointer
which could be NULL (under static configuration) and hence create
potential problems.
Change-Id: I0e2a6c2c33e0ac9a0bc1734d83eaeafc27f2f4df
---
M include/osmo-bts/lchan.h
M src/common/power_control.c
M src/common/rsl.c
M src/common/vty.c
M tests/power/bs_power_loop_test.c
M tests/power/ms_power_loop_test.c
6 files changed, 74 insertions(+), 88 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/07/41807/4
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/41807?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: I0e2a6c2c33e0ac9a0bc1734d83eaeafc27f2f4df
Gerrit-Change-Number: 41807
Gerrit-PatchSet: 4
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41783?usp=email )
Change subject: bts: TC_pcu_{rts_req,time_ind}: Relax expectancies on rx primitive count
......................................................................
bts: TC_pcu_{rts_req,time_ind}: Relax expectancies on rx primitive count
Even with latest changes I can still sometimes run into up to 6 FNs less
than the currently minimum expected. That's usually 1-2 primitives less,
which in the number of >100 we are receiving over 5 seconds, seems like
a plausible drift.
Change-Id: I887bd80a90e3ef8142cc29acde2ac9a3ea4869d6
---
M bts/BTS_Tests.ttcn
1 file changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
laforge: Looks good to me, but someone else must approve
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 1df5aa5..26fe18d 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6116,7 +6116,7 @@
/* verify the number of frames expired matches our expectation */
const float c_GSM_FN_DURATION_MS := 4.61538;
var float fn_expected := test_duration * 1000.0 / c_GSM_FN_DURATION_MS;
- var template integer t_fn_expected := f_tolerance(float2int(fn_expected), 1, 100000, 20);
+ var template integer t_fn_expected := f_tolerance(float2int(fn_expected), 1, 100000, 30);
if (not match(fn_expired, t_fn_expected)) {
setverdict(fail, "Number of TDMA Frames (", fn_expired, ") not matching ", t_fn_expected);
}
@@ -6204,7 +6204,7 @@
/* verify the number of frames expired matches our expectation */
const float c_GSM_FN_DURATION_MS := 4.61538;
var float fn_expected := test_duration * 1000.0 / c_GSM_FN_DURATION_MS;
- var template integer t_fn_expected := f_tolerance(float2int(fn_expected), 1, 100000, 20);
+ var template integer t_fn_expected := f_tolerance(float2int(fn_expected), 1, 100000, 30);
if (not match(fn_expired, t_fn_expected)) {
setverdict(fail, "Number of TDMA Frames (", fn_expired, ") not matching ", t_fn_expected);
}
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41783?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: I887bd80a90e3ef8142cc29acde2ac9a3ea4869d6
Gerrit-Change-Number: 41783
Gerrit-PatchSet: 3
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: pespin <pespin(a)sysmocom.de>
pespin has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41782?usp=email )
Change subject: bts: TC_pcu_{rts_req,time_ind}: process FNs in port queue after time out
......................................................................
bts: TC_pcu_{rts_req,time_ind}: process FNs in port queue after time out
Since we sometimes run short on counted FNs, but we validate that there
were no FN gaps, it means we are simply late counting the generated
RTS.req from IUT. Let's try to get a more accurate count by trying to
process RTS.req in the port queue after the timeframe of the test
finishes. In the end, we want to count the RTS.req transmitted by the
IUT, not the ones we can receive in time.
Change-Id: Iacd4eafbdb42207465ac0c5e03492c460280ecf7
---
M bts/BTS_Tests.ttcn
1 file changed, 20 insertions(+), 2 deletions(-)
Approvals:
laforge: Looks good to me, but someone else must approve
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/bts/BTS_Tests.ttcn b/bts/BTS_Tests.ttcn
index 592e58f..bf59eb8 100644
--- a/bts/BTS_Tests.ttcn
+++ b/bts/BTS_Tests.ttcn
@@ -6062,6 +6062,7 @@
var float test_duration := 5.0;
var PCUIF_Message msg;
timer T;
+ timer Tcountremaining;
f_init_with_pcuif();
f_TC_pcu_act_req(0, 0, 7, true);
@@ -6084,7 +6085,15 @@
[] PCU.receive {
repeat;
}
- [] T.timeout {}
+ [] T.timeout {
+ /* Disable new incoming elements; but current queue elements are still processed.
+ * This way we get a more accurate count of TIME_IND submitted by IUT during the specified time. */
+ PCU.halt;
+ log("Finish processing remaining queued messages");
+ Tcountremaining.start(1.0);
+ repeat;
+ }
+ [] Tcountremaining.timeout { }
}
var integer fn_expired := last_fn - first_fn;
log(fn_expired, " fn expired with ", num_time_ind, " PCU_TIME.ind");
@@ -6117,6 +6126,7 @@
var float test_duration := 5.0;
var PCUIF_Message msg;
timer T;
+ timer Tcountremaining;
f_init_with_pcuif();
f_TC_pcu_act_req(0, 0, 7, true);
@@ -6163,7 +6173,15 @@
[] PCU.receive {
repeat;
}
- [] T.timeout {}
+ [] T.timeout {
+ /* Disable new incoming elements; but current queue elements are still processed.
+ * This way we get a more accurate count of RTS.req submitted by IUT during the specified time. */
+ PCU.halt;
+ log("Finish processing remaining queued messages");
+ Tcountremaining.start(1.0);
+ repeat;
+ }
+ [] Tcountremaining.timeout { }
}
var integer fn_expired := f_max(pdtch_last_fn, ptcch_last_fn) - f_min(pdtch_first_fn, ptcch_first_fn);
log(fn_expired, " fn expired with num_rts_pdtch=", num_rts_pdtch, ", num_rts_ptcch=", num_rts_ptcch);
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/41782?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: Iacd4eafbdb42207465ac0c5e03492c460280ecf7
Gerrit-Change-Number: 41782
Gerrit-PatchSet: 1
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: pespin <pespin(a)sysmocom.de>
Attention is currently required from: dexter, laforge, neels.
pespin has posted comments on this change by neels. ( https://gerrit.osmocom.org/c/pysim/+/39742?usp=email )
Change subject: personalization: refactor ConfigurableParameter, Iccid, Imsi
......................................................................
Patch Set 15:
(1 comment)
File pySim/esim/saip/personalization.py:
https://gerrit.osmocom.org/c/pysim/+/39742/comment/a298d06b_1c3273fc?usp=em… :
PS13, Line 50: r"""Base class representing a part of the eSIM profile that is configurable during the
> > abc has no purpose and it doesn't work. […]
While I'm not a python expert, I agree with fixeria and laforge here, I think fixeria wrote down quite well my thoughts on it.
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/39742?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I6522be4c463e34897ca9bff2309b3706a88b3ce8
Gerrit-Change-Number: 39742
Gerrit-PatchSet: 15
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: dexter <pmaier(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 12 Jan 2026 10:17:01 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: neels <nhofmeyr(a)sysmocom.de>
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>