path: root/tests
diff options
authorNeels Hofmeyr <neels@hofmeyr.de>2021-08-07 03:41:37 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-08-16 02:13:17 +0200
commitc746509d3c244f2acc832f8a5fcc52a529f192d0 (patch)
tree5b2a81df22ee74001246a0086cf0e3c3aaea33e6 /tests
parenteec43fa5327a15969af158ef53711eabcc0e9695 (diff)
early IMM ASS 3/n: implement 'pre-ts-ack'
Add experimental 'pre-ts-ack' to the 'immediate-assignment' options: send the IMM ASS even before a dynamic timeslot is switched. This possibly saves an Abis roundtrip, but may be racy. When pre-ts-ack is chosen, already do the IMM ASS before the dyn TS pchan switch is ACKed. In Immediate Assignment, in case the dyn TS is not ready yet, get the pchan kind from lchan->type, which already reflects the target type, and not from ts->pchan_is, which still reflects the previous pchan type. Related test is in I2ae28cd92910d4bc341a88571599347a64a18fe5 Related: SYS#5559 Change-Id: I19e6a3d614aa5ae24d64eed96caf53e6f0e8bb74
Diffstat (limited to 'tests')
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/osmo-bsc.vty b/tests/osmo-bsc.vty
index b837d2560..402750243 100644
--- a/tests/osmo-bsc.vty
+++ b/tests/osmo-bsc.vty
@@ -210,6 +210,7 @@ OsmoBSC(config-net-bts)# immediate-assignment?
OsmoBSC(config-net-bts)# immediate-assignment ?
post-chan-ack Send the Immediate Assignment after the Channel Activation ACK (normal sequence)
pre-chan-ack Send the Immediate Assignment directly after Channel Activation (early), without waiting for the ACK; This may help with double allocations on high latency Abis links
+ pre-ts-ack EXPERIMENTAL: If a dynamic timeslot switch is necessary, send the Immediate Assignment even before the timeslot is switched, i.e. even before the Channel Activation is sent (very early)
OsmoBSC(config-net-bts)# show running-config
... !immediate-assignment
OsmoBSC(config-net-bts)# immediate-assignment pre-chan-ack
@@ -219,6 +220,13 @@ OsmoBSC(config-net-bts)# show running-config
immediate-assignment pre-chan-ack
+OsmoBSC(config-net-bts)# immediate-assignment pre-ts-ack
+OsmoBSC(config-net-bts)# show running-config
+ bts 0
+ immediate-assignment pre-ts-ack
OsmoBSC(config-net-bts)# immediate-assignment post-chan-ack
OsmoBSC(config-net-bts)# show running-config
... !immediate-assignment