summaryrefslogtreecommitdiffstats
path: root/src/host/layer23/src/common/support.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-10-11 05:14:19 +0700
committerVadim Yanitskiy <vyanitskiy@sysmocom.de>2023-10-19 19:31:17 +0700
commit3a4c4e8f0e24d081f9f3e44bc34d0401f51611a7 (patch)
tree24b9b8853f03ea4261931626376df9986e1ffc6b /src/host/layer23/src/common/support.c
parent1c7c71376024aa9cbfb415cf712ff2f83062acea (diff)
mobile: add support for Circuit Switched Data calls
TODO: add VTY command(s) for changing the Bearer Capability Change-Id: I1995fa0a7a68d9b980852b664d472d4633777ac6 Related: OS#4396
Diffstat (limited to 'src/host/layer23/src/common/support.c')
-rw-r--r--src/host/layer23/src/common/support.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/host/layer23/src/common/support.c b/src/host/layer23/src/common/support.c
index 2f93016c..ed514651 100644
--- a/src/host/layer23/src/common/support.c
+++ b/src/host/layer23/src/common/support.c
@@ -97,6 +97,14 @@ void gsm_support_init(struct osmocom_ms *ms)
sup->full_v3 = 0;
sup->half_v1 = 1;
sup->half_v3 = 0;
+
+ /* CSD modes */
+ sup->csd_tch_f144 = 1;
+ sup->csd_tch_f96 = 1;
+ sup->csd_tch_f48 = 1;
+ sup->csd_tch_h48 = 1;
+ sup->csd_tch_f24 = 1;
+ sup->csd_tch_h24 = 1;
}
/* (3.2.1) maximum channels to scan within each band */
@@ -173,6 +181,14 @@ void gsm_support_dump(struct osmocom_ms *ms,
print(priv, " Full-Rate V3 : %s\n", SUP_SET(full_v3));
print(priv, " Half-Rate V1 : %s\n", SUP_SET(half_v1));
print(priv, " Half-Rate V3 : %s\n", SUP_SET(half_v3));
+
+ print(priv, " CSD TCH/F14.4: %s\n", SUP_SET(csd_tch_f144));
+ print(priv, " CSD TCH/F9.6 : %s\n", SUP_SET(csd_tch_f96));
+ print(priv, " CSD TCH/F4.8 : %s\n", SUP_SET(csd_tch_f48));
+ print(priv, " CSD TCH/H4.8 : %s\n", SUP_SET(csd_tch_h48));
+ print(priv, " CSD TCH/F2.4 : %s\n", SUP_SET(csd_tch_f24));
+ print(priv, " CSD TCH/H2.4 : %s\n", SUP_SET(csd_tch_h24));
+
print(priv, " Min RXLEV : %d\n", set->min_rxlev_dbm);
}