aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2016-01-18 10:14:54 +0100
committerHarald Welte <laforge@gnumonks.org>2016-02-03 18:45:39 +0100
commit131ab36e3a0455d406062c1549f864d728bc90d6 (patch)
treefd7f25341bf6d75d5cae620dc7d85e410540b0ba /include
parent2ed116efeca67987257d4c2d95fd3c9ac873d57d (diff)
abis: Add a queue of OML messages
When the oml_link is down or not yet established, we currently lost any OML messages that were scheduled for transmission to the BSC. Let's prevent that by keeping a queue of OML messages, which is drained at the time the OML link comes up again.
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/gsm_data.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 82512380..6a7bca87 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -84,6 +84,7 @@ struct gsm_bts_role_bts {
struct paging_state *paging_state;
char *bsc_oml_host;
+ struct llist_head oml_queue;
unsigned int rtp_jitter_buf_ms;
struct {
uint8_t ciphers; /* flags A5/1==0x1, A5/2==0x2, A5/3==0x4 */