From 438a28714d4b20f83c28c03648af25b5e43f189a Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Mon, 9 Jul 2012 15:51:42 +0200 Subject: l1_if: skip processing of measurement results on PDTCH In case of PDTCH, the PCU has to process measurements, not the BTS. --- src/osmo-bts-sysmo/l1_if.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/osmo-bts-sysmo/l1_if.c') diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index d564e2e7..3bc07433 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -606,6 +606,11 @@ static int process_meas_res(struct gsm_lchan *lchan, GsmL1_MeasParam_t *m) { struct bts_ul_meas ulm; + /* in the GPRS case we are not interested in measurement + * processing. The PCU will take care of it */ + if (lchan->type == GSM_LCHAN_PDTCH) + return 0; + ulm.ta_offs_qbits = m->i16BurstTiming; ulm.ber10k = (unsigned int) (m->fBer * 100); ulm.inv_rssi = (uint8_t) (m->fRssi * -1); -- cgit v1.2.3