diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-25 19:13:35 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-30 20:32:20 +0700 |
commit | 007e72d5bcc5cf2bc25cd667f12a5c6605d199b6 (patch) | |
tree | 5f43e5cd8d1b647eb503f1e6d3a962e367e1b348 | |
parent | ca418643b387bda2b7529445851900a3779573c8 (diff) |
osmo-bts-trx: bts_supports_cm_data(): allow non-transparent modes
The rate adaptation algorithm is the same for both transparent and
non-transparent channel modes. The only difference is that the
E-bits in the modified CSD frames carry data, like the D-bits.
Change-Id: Ib0d9346d7a8e30b8a8e4b08ee04846ba7d12b3fb
Related: OS#1572
-rw-r--r-- | src/common/bts.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/bts.c b/src/common/bts.c index 1f0040c4..40fe354a 100644 --- a/src/common/bts.c +++ b/src/common/bts.c @@ -875,11 +875,14 @@ static bool bts_supports_cm_data(const struct gsm_bts *bts, switch (bts->variant) { case BTS_OSMO_TRX: switch (cm->chan_rate) { + /* TODO: RSL_CMOD_CSD_NT_14k5 */ /* TODO: RSL_CMOD_CSD_T_14k4 */ + case RSL_CMOD_CSD_NT_12k0: case RSL_CMOD_CSD_T_9k6: if (cm->chan_rt != RSL_CMOD_CRT_TCH_Bm) return false; /* invalid */ /* fall-through */ + case RSL_CMOD_CSD_NT_6k0: case RSL_CMOD_CSD_T_4k8: case RSL_CMOD_CSD_T_2k4: case RSL_CMOD_CSD_T_1k2: |