Date:2011-04-19 11:59:19 (12 years 11 months ago)
Author:Werner Almesberger
Commit:16b095ca08e11a0e6f430f5d22a481ea5e8df10f
Message:atrf-txrx.c (receive_message, receive_pcap): also ignore IRQ_AMI

The "raw" patterns can accidently trigger an address match, particularly
in BER test mode.
Files: tools/atrf-txrx/atrf-txrx.c (2 diffs)

Change Details

tools/atrf-txrx/atrf-txrx.c
137137    uint8_t ed, lqi;
138138
139139    fprintf(stderr, "Ready.\n");
140    wait_for_interrupt(dsc, IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START,
141        10, 0);
140    wait_for_interrupt(dsc, IRQ_TRX_END,
141        IRQ_TRX_END | IRQ_RX_START | IRQ_AMI, 10, 0);
142142    if (!run)
143143        return;
144144
...... 
216216    write_pcap_hdr(file);
217217    while (run) {
218218        wait_for_interrupt(dsc,
219            IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START,
219            IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START | IRQ_AMI,
220220            10, 0);
221221        if (!run)
222222            break;

Archive Download the corresponding diff file



interactive