From ea19c978160af32e4fee8001f5308518bcf4fd4c Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 26 Jun 2011 14:47:16 +0200 Subject: import gsm0502_calc_paging_group() from openbsc --- include/osmocom/gsm/gsm0502.h | 3 +++ include/osmocom/gsm/rsl.h | 1 + 2 files changed, 4 insertions(+) (limited to 'include/osmocom') diff --git a/include/osmocom/gsm/gsm0502.h b/include/osmocom/gsm/gsm0502.h index de92c636..46b629e4 100644 --- a/include/osmocom/gsm/gsm0502.h +++ b/include/osmocom/gsm/gsm0502.h @@ -32,4 +32,7 @@ gsm0502_get_paging_group(uint64_t imsi, unsigned int bs_cc_chans, return (imsi % 1000) % (bs_cc_chans * n_pag_blocks) % n_pag_blocks; } +unsigned int +gsm0502_calc_paging_group(struct gsm48_control_channel_descr *chan_desc, uint64_t imsi); + #endif diff --git a/include/osmocom/gsm/rsl.h b/include/osmocom/gsm/rsl.h index 2eb045f2..44ded1b1 100644 --- a/include/osmocom/gsm/rsl.h +++ b/include/osmocom/gsm/rsl.h @@ -3,6 +3,7 @@ #include #include +#include #include void rsl_init_rll_hdr(struct abis_rsl_rll_hdr *dh, uint8_t msg_type); -- cgit v1.2.3