summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/mobile/support.c
diff options
context:
space:
mode:
authorAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 17:08:10 +0000
committerAndreas.Eversberg <jolly@eversberg.eu>2010-09-26 17:08:10 +0000
commitb0336cd4849a4b0bf963372060de0a467b398a7a (patch)
tree3832a7f29b15372f44795844ecc87416fdc69ecb /src/host/layer23/src/mobile/support.c
parent602dcf4d0d94ffc7f7f9f3f6865541c385077bcf (diff)
[layer23] Speech codec selection and negotiation with network
Diffstat (limited to 'src/host/layer23/src/mobile/support.c')
-rw-r--r--src/host/layer23/src/mobile/support.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/host/layer23/src/mobile/support.c b/src/host/layer23/src/mobile/support.c
index 3fd581d9..631fd5bf 100644
--- a/src/host/layer23/src/mobile/support.c
+++ b/src/host/layer23/src/mobile/support.c
@@ -104,6 +104,13 @@ void gsm_support_init(struct osmocom_ms *ms)
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) */
+
+ /* codec */
+ sup->full_v1 = 1;
+ sup->full_v2 = 1;
+ sup->full_v3 = 0;
+ sup->half_v1 = 0;
+ sup->half_v3 = 0;
}
/* (3.2.1) maximum channels to scan within each band */