aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-26 14:47:16 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-26 14:47:16 +0200
commitea19c978160af32e4fee8001f5308518bcf4fd4c (patch)
tree67f0f61122510016788e5eec0acc8ee33edd9d24 /include
parent94df39e905b9de424ecb40e9c54ddae0e7b6d4e3 (diff)
import gsm0502_calc_paging_group() from openbsc0.3.2
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/gsm/gsm0502.h3
-rw-r--r--include/osmocom/gsm/rsl.h1
2 files changed, 4 insertions, 0 deletions
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 <stdint.h>
#include <osmocom/core/utils.h>
+#include <osmocom/core/msgb.h>
#include <osmocom/gsm/protocol/gsm_08_58.h>
void rsl_init_rll_hdr(struct abis_rsl_rll_hdr *dh, uint8_t msg_type);