laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-bts/+/33074 )

 (

2 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted 
one.
 )Change subject: measurement: suppress unsupported tch_mode warnings for CSD
......................................................................

measurement: suppress unsupported tch_mode warnings for CSD

Change-Id: If6896b420d0fa50fa6622d24ef679ca65ef2dc50
Related: OS#1572
---
M src/common/measurement.c
1 file changed, 26 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved
  Jenkins Builder: Verified




diff --git a/src/common/measurement.c b/src/common/measurement.c
index 459b586..6ecd797 100644
--- a/src/common/measurement.c
+++ b/src/common/measurement.c
@@ -72,7 +72,15 @@
                        /* 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 @@
                        /* 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;
                }

--
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/33074
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: If6896b420d0fa50fa6622d24ef679ca65ef2dc50
Gerrit-Change-Number: 33074
Gerrit-PatchSet: 7
Gerrit-Owner: fixeria <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-Reviewer: pespin <[email protected]>
Gerrit-MessageType: merged

Reply via email to