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/gsm0502.h | |
parent | 94df39e905b9de424ecb40e9c54ddae0e7b6d4e3 (diff) |
import gsm0502_calc_paging_group() from openbsc
Diffstat (limited to 'include/osmocom/gsm/gsm0502.h')
-rw-r--r-- | include/osmocom/gsm/gsm0502.h | 3 |
1 files changed, 3 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 |