Attention is currently required from: osmith, laforge, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27836 )
Change subject: osmo-bts-trx: check if scheduling of [dummy] FACCH/H is allowed
......................................................................
Patch Set 3:
(1 comment)
File src/osmo-bts-trx/sched_lchan_tchh.c:
https://gerrit.osmocom.org/c/osmo-bts/+/27836/comment/076432a7_8ba14e4e
PS2, Line 415: goto send_burst; /* send garbage */
> Thanks, for the explanation, it's clearer now. […]
Before answering this question I thought it's just garbage, but actually no. Short answer: half-filled bursts mixed with zeroes. Basically whatever remained in the buffer from a previous invocation of this function: bursts of a previously encoded frame. Long answer below.
Normally when tch_dl_dequeue() yields a L2 frame (let's say 'b'), the burst buffer already contains 262 bits of the previous frame (let's say 'a') at the odd numbered bit positions (bursts b0 and b1). We fill in 262 bits of the new frame 'b' to the even numbered bit positions of bursts {b0, b1} and the other 262 bits to the odd numbered bit positions of bursts {b2, b3}.
b0 b1 b2 b3 b4 b5
+----+----+----+----+----+----+
... | ba | ba | _b | _b | __ | __ | ...
+----+----+----+----+----+----+
bid0 bid1 bid0 bid1 bid0 bid1
^
|
| We're here.
Now imagine tch_dl_dequeue() yields NULL, and we're not permitted to schedule FACCH/H. We have nothing to fill in to the even numbered bit positions of b0 and b1 (marked with '_'), which were initialized with zeroes thanks to the memset() above.
b0 b1 b2 b3 b4 b5
+----+----+----+----+----+----+
... | _a | _a | __ | __ | __ | __ | ...
+----+----+----+----+----+----+
bid0 bid1 bid0 bid1 bid0 bid1
^
|
| We're here.
By jumping to 'send_burst' we send half-filled burst b0 and then b1, so that the MS is still able to decode the previous frame 'a'. Please let me know if something is not clear.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27836
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I6f8af140a6ccf3d5fd7b98f6cb5c18e2c5e2f61b
Gerrit-Change-Number: 27836
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: laforge <laforge(a)osmocom.org>
Gerrit-CC: osmith <osmith(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Apr 2022 17:24:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27854 )
Change subject: pgw: Add TC_gy_charging_cc_time
......................................................................
pgw: Add TC_gy_charging_cc_time
Change-Id: Ie4e567f62bbbdba276e6b3221111c8d9f82cde14
---
M pgw/PGW_Tests.ttcn
1 file changed, 24 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/54/27854/1
diff --git a/pgw/PGW_Tests.ttcn b/pgw/PGW_Tests.ttcn
index 02c28cc..0ce9f65 100644
--- a/pgw/PGW_Tests.ttcn
+++ b/pgw/PGW_Tests.ttcn
@@ -685,8 +685,32 @@
vc_conn.done;
}
+/* create a session, then execute a ping command on the user plane */
+private function f_TC_gy_charging_cc_time() runs on PGW_Session_CT {
+ var default d;
+ f_create_session();
+ /* We should receive an update even if no traffic is sent: */
+ as_DIA_Gy_CCR(UPDATE_REQUEST);
+
+ d := activate(as_DIA_Gy_CCR(UPDATE_REQUEST));
+ f_ping4(mp_ping_hostname);
+ /* Let the CCA reach the GGSN */
+ f_sleep(0.5);
+ deactivate(d);
+
+ f_delete_session(omit, g_teic, '10'O);
+ setverdict(pass);
+}
+testcase TC_gy_charging_cc_time() runs on PGW_Test_CT {
+ var PGW_Session_CT vc_conn;
+ var SessionPars pars := valueof(t_SessionPars('001010123456789'H, "tun23"));
+ pars.gy_validity_time := 3; /* Grant access for 3 seconds, needs to be re-validated afterwards */
+ f_init();
+ vc_conn := f_start_handler(refers(f_TC_gy_charging_cc_time), pars);
+ vc_conn.done;
+}
control {
execute( TC_tx_echo() );
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27854
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: Ie4e567f62bbbdba276e6b3221111c8d9f82cde14
Gerrit-Change-Number: 27854
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27853
to look at the new patch set (#2).
Change subject: pgw: Initial Gy support
......................................................................
pgw: Initial Gy support
Change-Id: I04cf78cb4bc73de59f803c01208a7ef9056cb14f
---
M pgw/PGW_Tests.ttcn
1 file changed, 82 insertions(+), 6 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/53/27853/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/27853
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: I04cf78cb4bc73de59f803c01208a7ef9056cb14f
Gerrit-Change-Number: 27853
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-MessageType: newpatchset
Attention is currently required from: laforge, fixeria, pespin.
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/27805 )
Change subject: osmo-bts-trx: fix scheduling of dummy FACCH/H and FACCH/F
......................................................................
Patch Set 3: Code-Review+1
(1 comment)
File src/osmo-bts-trx/sched_lchan_tchf.c:
https://gerrit.osmocom.org/c/osmo-bts/+/27805/comment/bbf3ecc7_cd22b459
PS1, Line 333: chan_state->dl_facch_bursts = 8;
> Yes, this is intentional: dl_ongoing_facch is only used in tx_tchh_fn(), where you need to skip enco […]
I've been wondering about the same thing. Maybe add a comment that explains this?
--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/27805
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: Ief12eb67ad80de3b71f5226858dc2e0c8ae76948
Gerrit-Change-Number: 27805
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Apr 2022 16:13:21 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27818 )
Change subject: lchan_fsm: Ignore other SAPIs of RLL_REL_IND for SAPI=0 is received
......................................................................
Patch Set 1:
(1 comment)
File src/osmo-bsc/lchan_fsm.c:
https://gerrit.osmocom.org/c/osmo-bsc/+/27818/comment/ba6459c2_b82d3b5d
PS1, Line 1210: * seem to send a RLL_REL_IND for SAPI=3 if there was already one for SAPI=0 */
> Some of my notes made while trying to understand what's happening here. […]
Damn, Gerrit ate the most important of my comment:
By checking !(link_id & 0xc0) we actually make sure that this is not SACCH. So the comment "but not if the link_id contains a TCH flag" is wrong, there is simply no such thing like "a TCH flag".
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27818
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ia9caa5b0a5efdc459d94621367376927959a6e65
Gerrit-Change-Number: 27818
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Wed, 20 Apr 2022 15:34:05 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: laforge <laforge(a)osmocom.org>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: comment