diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-05-27 23:30:46 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2023-07-11 04:12:45 +0700 |
commit | d53a084fd67454912aa093774ec9f896fddc8d06 (patch) | |
tree | b45705ced0d02ab69918ab6862a8fbb1a6fbd95f | |
parent | 2bdb2201f6a375c7254298ac2f38a2c22500701d (diff) |
measurement: suppress unsupported tch_mode warnings for CSD
Change-Id: If6896b420d0fa50fa6622d24ef679ca65ef2dc50
Related: OS#1572
-rw-r--r-- | src/common/measurement.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/common/measurement.c b/src/common/measurement.c index 459b586d..6ecd7974 100644 --- a/src/common/measurement.c +++ b/src/common/measurement.c @@ -72,7 +72,15 @@ bool ts45008_83_is_sub(struct gsm_lchan *lchan, uint32_t fn) /* No DTX allowed; SUB=FULL, therefore measurements at all frame numbers are * SUB */ return true; + case GSM48_CMODE_DATA_12k0: /* TCH/F9.6 */ + case GSM48_CMODE_DATA_6k0: /* TCH/F4.8 */ + /* FIXME: In case of data traffic channels TCH/F9.6 and TCH/F4.8 the + * RXQUAL_SUB report shall include measurements on the TDMA frames given + * in the table of subclause 8.3 only if L2 fill frames have been received + * as FACCH/F frames at the corresponding frame positions. */ default: + if (lchan->rsl_cmode == RSL_CMOD_SPD_DATA) + return false; LOGPLCFN(lchan, fn, DMEAS, LOGL_ERROR, "Unsupported lchan->tch_mode %u\n", lchan->tch_mode); break; } @@ -87,7 +95,15 @@ bool ts45008_83_is_sub(struct gsm_lchan *lchan, uint32_t fn) /* No DTX allowed; SUB=FULL, therefore measurements at all frame numbers are * SUB */ return true; + case GSM48_CMODE_DATA_6k0: /* TCH/H4.8 */ + case GSM48_CMODE_DATA_3k6: /* TCH/H2.4 */ + /* FIXME: In case of data traffic channels TCH/H4.8 and TCH/H2.4 the + * RXQUAL_SUB report shall include measurements on the TDMA frames given + * in the table of subclause 8.3 only if L2 fill frames have been received + * as FACCH/H frames at the corresponding frame positions. */ default: + if (lchan->rsl_cmode == RSL_CMOD_SPD_DATA) + return false; LOGPLCFN(lchan, fn, DMEAS, LOGL_ERROR, "Unsupported lchan->tch_mode %u\n", lchan->tch_mode); break; } |