summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/trx_if.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2018-09-07 03:38:35 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2018-09-07 03:38:38 +0700
commit5c94d87c62cf60bcbf144eda7666f38ce1ebac88 (patch)
tree82ed6b8a690a61390461b82532f0edb4263b841a /src/host/trxcon/trx_if.c
parentb570cd532aaa925c7a3815777be8ea5dc6ddfa51 (diff)
trxcon/trx_if.c: drop unused SETPOWER and ADJPOWER
I am not sure we need the both control commands, as every burst on DATA interface has a header that includes TX power. Change-Id: Id14603e71df6dedb5a843bb3e20a320192dbca3d
Diffstat (limited to 'src/host/trxcon/trx_if.c')
-rw-r--r--src/host/trxcon/trx_if.c25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 89331f30..b3735c2b 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -258,31 +258,6 @@ int trx_if_cmd_poweron(struct trx_instance *trx)
}
/*
- * SETPOWER sets output power in dB wrt full scale.
- * This command fails if the transmitter and receiver are not running.
- * CMD SETPOWER <dB>
- * RSP SETPOWER <status> <dB>
- */
-
-int trx_if_cmd_setpower(struct trx_instance *trx, int db)
-{
- return trx_ctrl_cmd(trx, 0, "SETPOWER", "%d", db);
-}
-
-/*
- * ADJPOWER adjusts power by the given dB step.
- * Response returns resulting power level wrt full scale.
- * This command fails if the transmitter and receiver are not running.
- * CMD ADJPOWER <dBStep>
- * RSP ADJPOWER <status> <dBLevel>
-*/
-
-int trx_if_cmd_adjpower(struct trx_instance *trx, int db)
-{
- return trx_ctrl_cmd(trx, 0, "ADJPOWER", "%d", db);
-}
-
-/*
* Timeslot Control
*
* SETSLOT sets the format of the uplink timeslots in the ARFCN.