aboutsummaryrefslogtreecommitdiffstats
path: root/src/paging.c
diff options
context:
space:
mode:
authorHolger Freyther <zecke@selfish.org>2009-02-04 13:38:26 +0000
committerHolger Freyther <zecke@selfish.org>2009-02-04 13:38:26 +0000
commit152a14718a553267ec8db08e045bc1baafc1ac13 (patch)
tree4f52c465de51686c6476f4176eceb5f26fffc773 /src/paging.c
parent3aa8d6c46d63869f0d7f24c0135db201ec311d33 (diff)
[paging] Use the number of different paging subchannels...
In our setup (1xCCCH combined, BS_AG_BLKS_RES=0, BS_PA_MFRMS=0x3 -> 5) we have MAX(1,3-0) * 5 paging sub-channels. Using this 15 I was able to successfully page my phone/IMSI (934%15 -> 4). My confusion is coming from the terms used for paging throughout the documentation. GSM05.02 6.5.2 talks about "N = number of paging blocks 'available' on one CCCH = (number of paging blocks 'available' in a 51-multiframe on one CCCH)xBS_PA_MFRMS" which is already misguiding and GSM04.08 is talking about number of different paging subchannels on the CCCH and is providing a formula. I deduct that N == number of different paging subchannels on the CCCH as of GSM04.08 and will simply test this with different IMSIs and see if I can page them as well.
Diffstat (limited to 'src/paging.c')
-rw-r--r--src/paging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/paging.c b/src/paging.c
index 0461572d1..29e97e588 100644
--- a/src/paging.c
+++ b/src/paging.c
@@ -58,7 +58,7 @@ static unsigned int calculate_group(struct gsm_bts *bts, struct gsm_subscriber *
ccch_conf = bts->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 = bts->chan_desc.bs_pa_mfrms + 2;
+ blocks = rsl_number_of_paging_subchannels(bts);
group = get_paging_group(str_to_imsi(subscr->imsi),
bs_cc_chans, blocks);
return group;