Date:2015-05-20 15:00:57 (4 years 5 months ago)
Author:Stefan Schmidt
Commit:fc7551e5327de4ba94fb034f045af758b115f915
Message:atusb/fw: Use RX_AACK_ON instead of RX_ON in the firmware.

This allows to run the device in ARET networks as we handle the needed
automated ACK in hardware.
Files: atusb/fw/mac.c (2 diffs)

Change Details

atusb/fw/mac.c
182182    if (on) {
183183        mac_irq = handle_irq;
184184        reg_read(REG_IRQ_STATUS);
185        change_state(TRX_CMD_RX_ON);
185        change_state(TRX_CMD_RX_AACK_ON);
186186    } else {
187187        mac_irq = NULL;
188188        change_state(TRX_CMD_FORCE_TRX_OFF);
...... 
232232
233233    /*
234234     * Wait until we reach BUSY_TX, so that we command the transition to
235     * RX_ON which will be executed upon TX completion.
235     * RX_AACK_ON which will be executed upon TX completion.
236236     */
237    change_state(TRX_CMD_RX_ON);
237    change_state(TRX_CMD_RX_AACK_ON);
238238}
239239
240240

Archive Download the corresponding diff file



interactive