diff options
author | Alexander Chemeris <Alexander.Chemeris@gmail.com> | 2015-06-10 00:26:14 -0400 |
---|---|---|
committer | Ivan Kluchnikov <kluchnikovi@gmail.com> | 2015-07-17 13:51:10 +0300 |
commit | c35c0cd6c8b055f9487661751866f437b34a8e3b (patch) | |
tree | 231a86be79448bed1ca0b6fd90158f414039a71e /src/osmo-bts-trx | |
parent | d2448c697f9a86ad83e81590c1074b590767f1d0 (diff) |
trx: Cleanup unused parts of loops.c
Diffstat (limited to 'src/osmo-bts-trx')
-rw-r--r-- | src/osmo-bts-trx/loops.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/osmo-bts-trx/loops.c b/src/osmo-bts-trx/loops.c index 8b6844be..fa380555 100644 --- a/src/osmo-bts-trx/loops.c +++ b/src/osmo-bts-trx/loops.c @@ -90,8 +90,7 @@ static int ms_power_diff(struct trx_l1h *l1h, struct gsm_lchan *lchan, return 0; } -static int ms_power_val(struct trx_l1h *l1h, struct gsm_lchan *lchan, - uint8_t chan_nr, struct trx_chan_state *chan_state, int8_t rssi) +static int ms_power_val(struct trx_chan_state *chan_state, int8_t rssi) { /* ignore inserted dummy frames, treat as lost frames */ if (rssi < -127) @@ -101,10 +100,6 @@ static int ms_power_val(struct trx_l1h *l1h, struct gsm_lchan *lchan, chan_state->meas.rssi_count++; - /* check if the current L1 header compares to the current ordered TA */ -// if ((lchan->meas.l1_info[0] >> 3) != lchan->ms_power) -// return 0; - chan_state->meas.rssi_got_burst = 1; /* store and process RSSI */ @@ -222,7 +217,7 @@ int trx_loop_sacch_input(struct trx_l1h *l1h, uint8_t chan_nr, .lchan[l1sap_chan2ss(chan_nr)]; if (trx_ms_power_loop) - ms_power_val(l1h, lchan, chan_nr, chan_state, rssi); + ms_power_val(chan_state, rssi); if (trx_ta_loop) ta_val(l1h, lchan, chan_nr, chan_state, toa); |