From 131ab36e3a0455d406062c1549f864d728bc90d6 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 18 Jan 2016 10:14:54 +0100 Subject: 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. --- include/osmo-bts/gsm_data.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 */ -- cgit v1.2.3