aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/loops.c
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2013-03-14 07:56:05 +0100
committerHarald Welte <laforge@gnumonks.org>2015-09-22 16:41:27 +0200
commit84b9a445351937703334629f3fec02689153f986 (patch)
treef66ca064ed111eed011491332213be3bb3d20293 /src/osmo-bts-trx/loops.c
parent7ff22823ca8e2dd1e990578a2dbf6942b1911eed (diff)
TRX: Code cleanup, prepare for other codecs than GSM full rate
Diffstat (limited to 'src/osmo-bts-trx/loops.c')
-rw-r--r--src/osmo-bts-trx/loops.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/osmo-bts-trx/loops.c b/src/osmo-bts-trx/loops.c
index c8815286..ee12e8bd 100644
--- a/src/osmo-bts-trx/loops.c
+++ b/src/osmo-bts-trx/loops.c
@@ -42,10 +42,6 @@
int trx_ms_power_loop = 0;
int8_t trx_target_rssi = -10;
-/* how much power levels do we raise/lower as maximum (1 level = 2 dB) */
-#define MS_RAISE_MAX 4
-#define MS_LOWER_MAX 4
-
static int ms_power_diff(struct trx_l1h *l1h, struct gsm_lchan *lchan,
uint8_t chan_nr, struct trx_chan_state *chan_state, int8_t diff)
{
@@ -219,7 +215,7 @@ int ta_val(struct trx_l1h *l1h, struct gsm_lchan *lchan, uint8_t chan_nr,
return 0;
}
-int trx_loop_input(struct trx_l1h *l1h, uint8_t chan_nr,
+int trx_loop_sacch_input(struct trx_l1h *l1h, uint8_t chan_nr,
struct trx_chan_state *chan_state, int8_t rssi, float toa)
{
struct gsm_lchan *lchan = &l1h->trx->ts[L1SAP_CHAN2TS(chan_nr)]