diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-02-14 13:19:25 +0100 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2021-10-23 18:51:19 +0200 |
commit | d2c9d41253cb72f17f4ff86a730544e92dadb8c0 (patch) | |
tree | 8df41ed45bf96537f8bdd0547b1a118ad0166bd3 | |
parent | 6116aae8b26b52ec9c87156e62b3420b81860811 (diff) |
transceiver: Fix RSP SETSLOT format
According to osmo-trx README:
SETSLOT sets the format of the uplink timeslots in the ARFCN.
The <timeslot> indicates the timeslot of interest.
The <chantype> indicates the type of channel that occupies the timeslot.
A chantype of zero indicates the timeslot is off.
CMD SETSLOT <timeslot> <chantype>
RSP SETSLOT <status> <timeslot> <chantype>
Change-Id: I63c81155c84fc35cff1704734fd8d2732235c5a4
Related: OS#2944
-rw-r--r-- | src/host/layer23/src/transceiver/trx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/host/layer23/src/transceiver/trx.c b/src/host/layer23/src/transceiver/trx.c index 8432dcae..3f519289 100644 --- a/src/host/layer23/src/transceiver/trx.c +++ b/src/host/layer23/src/transceiver/trx.c @@ -340,7 +340,7 @@ _trx_ctrl_cmd_setslot(struct trx *trx, const char *cmd, const char *args) if (trx->l1l[tn]) l1ctl_tx_bts_mode(trx->l1l[tn], 1, trx->type, trx->bsic, trx->arfcn, trx->gain, trx->l1l[tn]->tx_mask, trx->l1l[tn]->rx_mask, trx->handover); - return _trx_ctrl_send_resp(trx, cmd, "%d %d", 0, type); + return _trx_ctrl_send_resp(trx, cmd, "%d %d %d", 0, tn, type); } static int |