Date:2011-06-10 01:39:24 (9 years 2 months ago)
Author:Werner Almesberger
Commit:703ce81dfc675c5ae38537c98fa58eabcb3763b1
Message:atrf-xmit.c (xfer_one): pulse SLP_TR instead of sending TRX_CMD_TX_START

This makes sure we use SLP_TR just like the kernel does.
Files: tools/atrf-xmit/atrf-xmit.c (1 diff)

Change Details

tools/atrf-xmit/atrf-xmit.c
7272    uint8_t buf[PSDU_SIZE+1]; /* +1 for LQI */
7373    int n, i;
7474
75    atrf_reg_write(tx, REG_TRX_STATE, TRX_CMD_TX_START);
75    atrf_slp_tr(tx, 1, 1);
7676#if 0
7777    irq = wait_for_interrupt(rx, IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START,
7878        1000, 5); /* 5 ms */

Archive Download the corresponding diff file



interactive