path: root/include
diff options
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-02-14 14:18:51 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-10 09:22:24 +0100
commit7503540959f421917a702174616655e9fdd11a24 (patch)
tree5c30c3f0ab2ecb501b0110b5055f8a0feb19745b /include
parent2d725e77f7270550d7173a7c86f30aa1c7b01e5e (diff)
agch/pch: Use PCH for AGCH msgs
This patch extends paging_gen_msg() by adding an output parameter is_empty that is true, if only a paging message with dummy entries has been placed into buffer. This feature is then used by bts_ccch_copy_msg() to insert an AGCH message if is_empty is true. Ticket: SYS#224 Sponsored-by: On-Waves ehf
Diffstat (limited to 'include')
1 files changed, 2 insertions, 1 deletions
diff --git a/include/osmo-bts/paging.h b/include/osmo-bts/paging.h
index d31f5c12..38accd72 100644
--- a/include/osmo-bts/paging.h
+++ b/include/osmo-bts/paging.h
@@ -40,7 +40,8 @@ int paging_add_imm_ass(struct paging_state *ps, const uint8_t *data,
uint8_t len);
/* generate paging message for given gsm time */
-int paging_gen_msg(struct paging_state *ps, uint8_t *out_buf, struct gsm_time *gt);
+int paging_gen_msg(struct paging_state *ps, uint8_t *out_buf, struct gsm_time *gt,
+ int *is_empty);
/* inspection methods below */