diff options
author | RA-Jay Hung <Jay_Hung@ralinktech.com> | 2010-11-13 21:11:46 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-11-18 00:18:55 +0300 |
commit | b43d63bd69ae5464a52bf1796e84097607917b2f (patch) | |
tree | 250c4ae0481e888392dca3f24c188b6eed341a31 /drivers/net/wireless/rt2x00/rt2x00dev.c | |
parent | ef8397cfb3a385bc57a32213d0e4a5b7903a9dc6 (diff) | |
download | linux-b43d63bd69ae5464a52bf1796e84097607917b2f.tar.xz |
rt2x00: Fix rt2800 USB TX Path DMA issue
rt2800usb chips need to add 1~3 bytes zero padding after each 802.11 header & payload,
and at the end need to add 4 bytes zero padding whether doing TX bulk aggregation or not,
TXINFO_W0_USB_DMA_TX_PKT_LEN in TXINFO must include 1-3 bytes padding after 802.11 header & payload
but do not include 4 bytes end zero padding.
In rt2800usb_get_tx_data_len do not consider multiple of the USB packet size case, sometimes this will
cause USB DMA problem.
Signed-off-by: RA-Jay Hung <jay_hung@ralinktech.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00dev.c')
0 files changed, 0 insertions, 0 deletions