diff options
author | Andreas.Eversberg <jolly@eversberg.eu> | 2010-08-11 16:11:28 +0000 |
---|---|---|
committer | Andreas.Eversberg <jolly@eversberg.eu> | 2010-08-11 16:11:28 +0000 |
commit | a5b023cd98c792c6fbf3bd7c6b04696fed987d9a (patch) | |
tree | 4eef3584752e2e4fb42a3d1b4fb9eb1291f2dd6b /src/host/layer23/src/mobile/support.c | |
parent | cb73be0d0cfa6f5f2c8b437fa3ceb80909199302 (diff) |
[layer23] Paging response depends on the supported channels: SDCCH, TCH/F, and TCH/H
Diffstat (limited to 'src/host/layer23/src/mobile/support.c')
-rw-r--r-- | src/host/layer23/src/mobile/support.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/support.c b/src/host/layer23/src/mobile/support.c index 40cf1b09..68906586 100644 --- a/src/host/layer23/src/mobile/support.c +++ b/src/host/layer23/src/mobile/support.c @@ -100,6 +100,7 @@ void gsm_support_init(struct osmocom_ms *ms) //sup->sm_val = ; /* radio */ + sup->ch_cap = GSM_CAP_SDCCH_TCHF; sup->min_rxlev_db = -100; // TODO sup->sync_to = 6; /* how long to wait sync (0.9 s) */ sup->scan_to = 4; /* how long to wait for all sysinfos (>=4 s) */ @@ -148,6 +149,17 @@ void gsm_support_dump(struct gsm_support *sup, print(priv, " A5/6 : %s\n", (sup->a5_6) ? "yes" : "no"); print(priv, " A5/7 : %s\n", (sup->a5_7) ? "yes" : "no"); print(priv, " A5/1 : %s\n", (sup->a5_1) ? "yes" : "no"); + switch (sup->ch_cap) { + case GSM_CAP_SDCCH: + print(priv, " Channels : SDCCH only\n"); + break; + case GSM_CAP_SDCCH_TCHF: + print(priv, " Channels : SDCCH + TCH/F\n"); + break; + case GSM_CAP_SDCCH_TCHF_TCHH: + print(priv, " Channels : SDCCH + TCH/F + TCH/H\n"); + break; + } print(priv, " Min RXLEV: %d\n", sup->min_rxlev_db); } |