From c90499bb28d77525c4eb45fdce3ddea3f17d483b Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sun, 26 Jun 2011 14:48:11 +0200 Subject: move gsm0502_calc_paging_group() to libosmocore --- openbsc/configure.ac | 2 +- openbsc/src/libbsc/paging.c | 17 ----------------- 2 files changed, 1 insertion(+), 18 deletions(-) (limited to 'openbsc') diff --git a/openbsc/configure.ac b/openbsc/configure.ac index 74b30448c..59516187d 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 55d1a8541..4dfa92161 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... */ -- cgit v1.2.3