diff options
author | Adrian Chadd <adrian@FreeBSD.org> | 2017-01-22 06:25:41 +0000 |
---|---|---|
committer | Adrian Chadd <adrian@FreeBSD.org> | 2017-01-22 06:25:41 +0000 |
commit | e334d5bd3f2f4d3ec7d9fe6cbbf109cc952d809d (patch) | |
tree | 5b456284078712ebff7034cacc7e63ea82ab5351 /tools/tools/ath | |
parent | 279ae8fec0c210a0d517c38790d4cb55f58b44d5 (diff) | |
download | src-e334d5bd3f2f4d3ec7d9fe6cbbf109cc952d809d.tar.gz src-e334d5bd3f2f4d3ec7d9fe6cbbf109cc952d809d.zip |
[athalq] print out unsigned tx timestamps.
Notes
Notes:
svn path=/head/; revision=312616
Diffstat (limited to 'tools/tools/ath')
-rw-r--r-- | tools/tools/ath/athalq/ar9300_ds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/tools/ath/athalq/ar9300_ds.c b/tools/tools/ath/athalq/ar9300_ds.c index 331a29011bc0..9d9e6b2922fe 100644 --- a/tools/tools/ath/athalq/ar9300_ds.c +++ b/tools/tools/ath/athalq/ar9300_ds.c @@ -62,7 +62,7 @@ ar9300_decode_txstatus(struct if_ath_alq_payload *a) /* XXX assumes txs is smaller than PAYLOAD_LEN! */ memcpy(&txs, &a->payload, sizeof(struct ar9300_txs)); - printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%d, DescId=0x%04x, QCU=%d\n", + printf("[%u.%06u] [%llu] TXSTATUS TxTimestamp=%u, DescId=0x%04x, QCU=%d\n", (unsigned int) be32toh(a->hdr.tstamp_sec), (unsigned int) be32toh(a->hdr.tstamp_usec), (unsigned long long) be64toh(a->hdr.threadid), @@ -77,7 +77,7 @@ ar9300_decode_txstatus(struct if_ath_alq_payload *a) MS(txs.ds_info, AR_ctrl_stat), MS(txs.ds_info, AR_desc_id)); - printf(" TxTimestamp: %d\n", txs.status4); + printf(" TxTimestamp: %u\n", txs.status4); printf(" TxDone=%d, SeqNo=%d, TxOpExceed=%d, TXBFStatus=%d\n", MF(txs.status8, AR_tx_done), |