summaryrefslogtreecommitdiffstats
path: root/src/host/trxcon/trx_if.c
diff options
context:
space:
mode:
authorVadim Yanitskiy <axilirator@gmail.com>2017-07-12 17:48:01 +0700
committerVadim Yanitskiy <axilirator@gmail.com>2017-11-19 17:35:07 +0700
commitf437a3bebdf5aca4c636162d9156deb72f49fda8 (patch)
tree519eff254e0f8068adedda3efd09523c1cca74c4 /src/host/trxcon/trx_if.c
parent0f227d802b1ed22c8863a794675222ceaac2fd8c (diff)
host/trxcon/trx_if.c: use proper names for burst handlers
Diffstat (limited to 'src/host/trxcon/trx_if.c')
-rw-r--r--src/host/trxcon/trx_if.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 1ee9440e..c387bc19 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -525,7 +525,7 @@ rsp_error:
/* 148 bytes output symbol values, 0 & 1 */
/* ------------------------------------------------------------------------ */
-static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
+static int trx_data_rx_cb(struct osmo_fd *ofd, unsigned int what)
{
struct trx_instance *trx = ofd->data;
uint8_t buf[256];
@@ -577,7 +577,7 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
return 0;
}
-int trx_if_data(struct trx_instance *trx, uint8_t tn, uint32_t fn,
+int trx_if_tx_burst(struct trx_instance *trx, uint8_t tn, uint32_t fn,
uint8_t pwr, const ubit_t *bits)
{
uint8_t buf[256];
@@ -646,7 +646,7 @@ int trx_if_open(struct trx_instance **trx, const char *host, uint16_t port)
goto error;
rc = trx_udp_open(trx_new, &trx_new->trx_ofd_data, host,
- port + 102, port + 2, trx_data_read_cb);
+ port + 102, port + 2, trx_data_rx_cb);
if (rc < 0)
goto error;