android_kernel_motorola_sm6225/drivers/net/wireless/p54
Max Filippov ff561ac84e p54spi: use firmware/DMA bug workaround that work under hight load in p54spi_rx
Under high load first data word, read after available data size
is sometimes lost in p54spi_rx. It seems to depend on frequency
of interrupts and latency of data read request relatively to
'data available' interrupt. The worst consequence of this bug
is loss of packet transmission acknowledgement, which in turn
causes overflow of tx queues and permanent link loss.

Read data size and first data word in one SPI transaction.
No packets from LMAC should have length less than 1 word,
so this shouldn't interfere with the next read transaction.

Also call p54spi_sleep if p54spi_wake succeeded.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-05-20 14:46:28 -04:00
..
Kconfig p54: Kconfig maintenance 2009-03-27 20:13:18 -04:00
Makefile p54spi: p54spi driver 2009-01-29 16:00:25 -05:00
net2280.h
p54.h p54: correct merge damage from "p54: more SoftLED updates" 2009-05-06 15:15:03 -04:00
p54common.c p54: call p54_wake_free_queues on every p54_free_skb and p54_rx_frame_sent 2009-05-06 15:15:05 -04:00
p54common.h p54: initial SoftLED support 2009-03-16 18:09:28 -04:00
p54pci.c Replace all DMA_nBIT_MASK macro with DMA_BIT_MASK(n) 2009-04-13 15:04:33 -07:00
p54pci.h
p54spi.c p54spi: use firmware/DMA bug workaround that work under hight load in p54spi_rx 2009-05-20 14:46:28 -04:00
p54spi.h p54spi: remove arch specific dependencies 2009-01-29 16:00:44 -05:00
p54spi_eeprom.h p54spi: stlc45xx eeprom blob 2009-01-29 16:00:25 -05:00
p54usb.c p54usb: Fixes compile error with CONFIG_PM=n 2009-05-06 15:15:01 -04:00
p54usb.h p54usb: rework driver for resume 2009-05-06 15:14:41 -04:00