aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2012-06-04 17:27:13 +0200
committerHarald Welte <laforge@gnumonks.org>2012-06-14 11:48:24 +0800
commit565cf0d8ab15282e5f12d74e5e69baff514a6565 (patch)
treeef8f4122c41ec708f7c718d2ab0138838a0f2479 /include
parenta540332df3de735f75a2959814190b6cbf3c6e4c (diff)
attempt to make CCCH Load Indications for PCH work
Diffstat (limited to 'include')
-rw-r--r--include/osmo-bts/paging.h5
-rw-r--r--include/osmo-bts/rsl.h1
2 files changed, 5 insertions, 1 deletions
diff --git a/include/osmo-bts/paging.h b/include/osmo-bts/paging.h
index dc8041b3..babd31b0 100644
--- a/include/osmo-bts/paging.h
+++ b/include/osmo-bts/paging.h
@@ -6,9 +6,11 @@
#include <osmocom/gsm/protocol/gsm_04_08.h>
struct paging_state;
+struct gsm_bts_role_bts;
/* initialize paging code */
-struct paging_state *paging_init(void *ctx, unsigned int num_paging_max,
+struct paging_state *paging_init(struct gsm_bts_role_bts *btsb,
+ unsigned int num_paging_max,
unsigned int paging_lifetime);
void paging_reset(struct paging_state *ps);
@@ -27,5 +29,6 @@ int paging_gen_msg(struct paging_state *ps, uint8_t *out_buf, struct gsm_time *g
/* inspection methods below */
int paging_group_queue_empty(struct paging_state *ps, uint8_t group);
int paging_queue_length(struct paging_state *ps);
+int paging_buffer_space(struct paging_state *ps);
#endif
diff --git a/include/osmo-bts/rsl.h b/include/osmo-bts/rsl.h
index 0ab2eec2..bf1d8131 100644
--- a/include/osmo-bts/rsl.h
+++ b/include/osmo-bts/rsl.h
@@ -15,6 +15,7 @@ int rsl_tx_rf_rel_ack(struct gsm_lchan *lchan);
int lapdm_rll_tx_cb(struct msgb *msg, struct lapdm_entity *le, void *ctx);
int rsl_tx_ipac_dlcx_ind(struct gsm_lchan *lchan, uint8_t cause);
+int rsl_tx_ccch_load_ind_pch(struct gsm_bts *bts, uint16_t paging_avail);
struct gsm_lchan *rsl_lchan_lookup(struct gsm_bts_trx *trx, uint8_t chan_nr);