Date:2016-04-22 22:21:09 (3 years 6 months ago)
Author:Stefan Schmidt
Commit:869f3c43bd70ef0e4d1869b5492ad7d5edd4d46d
Message:atusb: fw: use extended operation mode also for transmitting

With this switch we have RX as well as TX extended operation mode for the
transceiver enabled. Tested and verified for atusb as well as rzusb.

The biggest change coming with this is that the hardware no handles automatic
retransmit of frames if an ACK was requested but not received. The needed
changes to the atusb kernel driver are also done already and will be submitted
once we release version 0.3 with this change included.
Files: atusb/fw/mac.c (1 diff)

Change Details

atusb/fw/mac.c
233233        spi_send(tx_buf[i]);
234234    spi_end();
235235
236    change_state(TRX_STATUS_TX_ARET_ON);
237
236238    slp_tr();
237239
238240    txing = 1;
239241    this_seq = next_seq;
240242
241243    /*
242     * Wait until we reach BUSY_TX, so that we command the transition to
244     * Wait until we reach BUSY_TX_ARET, so that we command the transition to
243245     * RX_AACK_ON which will be executed upon TX completion.
244246     */
247    change_state(TRX_CMD_PLL_ON);
245248    change_state(TRX_CMD_RX_AACK_ON);
246249}
247250

Archive Download the corresponding diff file



interactive