diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-06-26 14:47:16 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-06-26 14:47:16 +0200 |
commit | ea19c978160af32e4fee8001f5308518bcf4fd4c (patch) | |
tree | 67f0f61122510016788e5eec0acc8ee33edd9d24 /include/osmocom/gsm | |
parent | 94df39e905b9de424ecb40e9c54ddae0e7b6d4e3 (diff) |
import gsm0502_calc_paging_group() from openbsc
Diffstat (limited to 'include/osmocom/gsm')
-rw-r--r-- | include/osmocom/gsm/gsm0502.h | 3 | ||||
-rw-r--r-- | include/osmocom/gsm/rsl.h | 1 |
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); |