summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/include/osmocom/bb
diff options
context:
space:
mode:
authorAndreas.Eversberg2010-09-26 19:08:10 +0200
committerAndreas.Eversberg2010-09-26 19:08:10 +0200
commitb0336cd4849a4b0bf963372060de0a467b398a7a (patch)
tree3832a7f29b15372f44795844ecc87416fdc69ecb /src/host/layer23/include/osmocom/bb
parent[layer23] Added support for changing TCH mode via L1CTL messages (diff)
downloadosmocom-b0336cd4849a4b0bf963372060de0a467b398a7a.tar.gz
osmocom-b0336cd4849a4b0bf963372060de0a467b398a7a.tar.xz
osmocom-b0336cd4849a4b0bf963372060de0a467b398a7a.zip
[layer23] Speech codec selection and negotiation with network
Diffstat (limited to 'src/host/layer23/include/osmocom/bb')
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/settings.h1
-rw-r--r--src/host/layer23/include/osmocom/bb/mobile/support.h7
2 files changed, 8 insertions, 0 deletions
diff --git a/src/host/layer23/include/osmocom/bb/mobile/settings.h b/src/host/layer23/include/osmocom/bb/mobile/settings.h
index 7ac54e9..429d417 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/settings.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/settings.h
@@ -32,6 +32,7 @@ struct gsm_settings {
/* call related settings */
uint8_t cw; /* set if call-waiting is allowed */
uint8_t clip, clir;
+ uint8_t half, half_prefer;
/* changing default behavior */
uint8_t alter_tx_power;
diff --git a/src/host/layer23/include/osmocom/bb/mobile/support.h b/src/host/layer23/include/osmocom/bb/mobile/support.h
index 782b640..4e96221 100644
--- a/src/host/layer23/include/osmocom/bb/mobile/support.h
+++ b/src/host/layer23/include/osmocom/bb/mobile/support.h
@@ -80,6 +80,13 @@ struct gsm_support {
int8_t min_rxlev_db;
uint8_t scan_to;
uint8_t sync_to;
+
+ /* codecs */
+ uint8_t full_v1;
+ uint8_t full_v2;
+ uint8_t full_v3;
+ uint8_t half_v1;
+ uint8_t half_v3;
};
struct gsm_support_scan_max {