TRX: Rename trx_if_data() -> trx_if_send_burst()
The new name makes it clear what the function actually does: Send burst data via the trx interface. Change-Id: I5031541d4ae4244a62a18acf71139db2874927fa
This commit is contained in:
parent
bb71947829
commit
cdf20fec7c
|
@ -1398,7 +1398,7 @@ static int trx_sched_fn(struct gsm_bts *bts, uint32_t fn)
|
|||
} else
|
||||
gain = 0;
|
||||
if (nbits)
|
||||
trx_if_data(l1h, tn, fn, gain, bits, nbits);
|
||||
trx_if_send_burst(l1h, tn, fn, gain, bits, nbits);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -498,7 +498,7 @@ static int trx_data_read_cb(struct osmo_fd *ofd, unsigned int what)
|
|||
* \param[in] bits Unpacked bits to be transmitted
|
||||
* \param[in] nbits Number of \a bits
|
||||
* \returns 0 on success; negative on error */
|
||||
int trx_if_data(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, uint8_t pwr,
|
||||
int trx_if_send_burst(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, uint8_t pwr,
|
||||
const ubit_t *bits, uint16_t nbits)
|
||||
{
|
||||
uint8_t buf[TRX_MAX_BURST_LEN];
|
||||
|
|
|
@ -29,7 +29,7 @@ int trx_if_cmd_rxtune(struct trx_l1h *l1h, uint16_t arfcn);
|
|||
int trx_if_cmd_txtune(struct trx_l1h *l1h, uint16_t arfcn);
|
||||
int trx_if_cmd_handover(struct trx_l1h *l1h, uint8_t tn, uint8_t ss);
|
||||
int trx_if_cmd_nohandover(struct trx_l1h *l1h, uint8_t tn, uint8_t ss);
|
||||
int trx_if_data(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, uint8_t pwr,
|
||||
int trx_if_send_burst(struct trx_l1h *l1h, uint8_t tn, uint32_t fn, uint8_t pwr,
|
||||
const ubit_t *bits, uint16_t nbits);
|
||||
int trx_if_open(struct trx_l1h *l1h);
|
||||
void trx_if_flush(struct trx_l1h *l1h);
|
||||
|
|
Loading…
Reference in New Issue