aboutsummaryrefslogtreecommitdiffstats
path: root/include/osmo-bts/gsm_data.h
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2021-08-15 23:16:20 +0200
committerNeels Hofmeyr <neels@hofmeyr.de>2021-08-18 17:27:04 +0200
commitf1312f981837fa95757429372e57fcaedfcb1d13 (patch)
tree7dec81fd4100237176328a0020ff1e60d3771a51 /include/osmo-bts/gsm_data.h
parent30c838fdfaaec069146092deb96b080701943fda (diff)
enable Early Immediate Assignment
When an Immediate Assignment comes in targeting an lchan that is not yet active, then hold back the RR Immediate Assignment until the channel becomes active. This allows the BSC to send the Immediate Assignment before first waiting for the Channel Activation ACK, saving one Abis roundtrip, and helping avoid double allocation on high latency Abis links. Related: SYS#5559 Related: I56c25cde152040fb66bdba44399bd37671ae3df2 (osmo-bsc) Related: Ifb2c62431a91dafa6116b5d6b9410930f00a6e18 (osmo-ttcn3-hacks) Change-Id: Ie52765b238b01f22fb327fe12327fbf10abcad4c
Diffstat (limited to 'include/osmo-bts/gsm_data.h')
-rw-r--r--include/osmo-bts/gsm_data.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 2e3eaa48..55c3bdf5 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -412,6 +412,11 @@ struct gsm_lchan {
/* Message buffer to store DL-SACCH repeation candidate */
struct msgb *rep_sacch;
+
+ /* Cached early Immediate Assignment message: if the Immediate Assignment arrives before the channel is
+ * confirmed active, then cache it here and send it once the channel is confirmed to be active. This is related
+ * to the Early IA feature, see OsmoBSC config option 'immediate-assignment pre-chan-ack'. */
+ struct msgb *early_rr_ia;
};
extern const struct value_string lchan_ciph_state_names[];