From 5c94d87c62cf60bcbf144eda7666f38ce1ebac88 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 7 Sep 2018 03:38:35 +0700 Subject: 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 --- src/host/trxcon/trx_if.c | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/host/trxcon/trx_if.c') 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 @@ -257,31 +257,6 @@ int trx_if_cmd_poweron(struct trx_instance *trx) return trx_ctrl_cmd(trx, 1, "POWERON", ""); } -/* - * SETPOWER sets output power in dB wrt full scale. - * This command fails if the transmitter and receiver are not running. - * CMD SETPOWER - * RSP SETPOWER - */ - -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 - * RSP ADJPOWER -*/ - -int trx_if_cmd_adjpower(struct trx_instance *trx, int db) -{ - return trx_ctrl_cmd(trx, 0, "ADJPOWER", "%d", db); -} - /* * Timeslot Control * -- cgit v1.2.3