aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-26 14:48:11 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-26 14:54:55 +0200
commitc90499bb28d77525c4eb45fdce3ddea3f17d483b (patch)
tree37fcfb57b0422635aedf2e4f35e2b41c5c16f359
parent1cf43ece122c8f004335661a2de7e43c23c9720a (diff)
move gsm0502_calc_paging_group() to libosmocore
-rw-r--r--openbsc/configure.ac2
-rw-r--r--openbsc/src/libbsc/paging.c17
2 files changed, 1 insertions, 18 deletions
diff --git a/openbsc/configure.ac b/openbsc/configure.ac
index 74b30448..59516187 100644
--- a/openbsc/configure.ac
+++ b/openbsc/configure.ac
@@ -43,7 +43,7 @@ AC_ARG_ENABLE([osmo-bsc], [AS_HELP_STRING([--enable-osmo-bsc], [Build the Osmo B
])
AM_CONDITIONAL(BUILD_BSC, test "x$osmo_ac_build_bsc" = "xyes")
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 0.3.2)
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 0.3.0)
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 0.3.0)
diff --git a/openbsc/src/libbsc/paging.c b/openbsc/src/libbsc/paging.c
index 55d1a854..4dfa9216 100644
--- a/openbsc/src/libbsc/paging.c
+++ b/openbsc/src/libbsc/paging.c
@@ -54,23 +54,6 @@ void *tall_paging_ctx;
#define PAGING_TIMER 0, 500000
-static unsigned int
-gsm0502_calc_paging_group(struct gsm48_control_channel_descr *chan_desc, uint64_t imsi)
-{
- int ccch_conf;
- int bs_cc_chans;
- int blocks;
- unsigned int group;
-
- ccch_conf = chan_desc->ccch_conf;
- bs_cc_chans = rsl_ccch_conf_to_bs_cc_chans(ccch_conf);
- /* code word + 2, as 2 channels equals 0x0 */
- blocks = gsm48_number_of_paging_subchannels(chan_desc);
- group = gsm0502_get_paging_group(imsi, bs_cc_chans, blocks);
-
- return group;
-}
-
/*
* Kill one paging request update the internal list...
*/