1
linux/drivers/net/wireless/ath/ath9k
Ming Lei ce9426d190 ath9k: fix dma sync in rx path
If buffer is to be accessed by cpu after dma is over, but
between dma mapping and dma unmapping, we should use
dma_sync_single_for_cpu to sync the buffer between cpu with
device. And dma_sync_single_for_device is used to let
device gain the buffer again.

v2: Felix pointed out dma_sync_single_for_device is needed to return
buffer to device if an unsuccessful status bit check is found.

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-06-04 14:55:09 -04:00
..
ahb.c
ani.c ath9k_htc: Handle host RX disable 2010-06-03 14:14:41 -04:00
ani.h
ar5008_initvals.h
ar5008_phy.c ath9k_hw: Fix async fifo for AR9287 2010-06-03 14:10:46 -04:00
ar9001_initvals.h
ar9002_calib.c
ar9002_hw.c ath9k_hw: Fix async fifo for AR9287 2010-06-03 14:10:46 -04:00
ar9002_initvals.h ath9k_htc: Initvals update for AR9271 2010-06-02 16:13:14 -04:00
ar9002_mac.c
ar9002_phy.c
ar9002_phy.h
ar9003_2p0_initvals.h ath9k_hw: rename the ar9003_initvals.h to ar9003_2p0_initvals.h 2010-06-02 16:02:54 -04:00
ar9003_2p2_initvals.h ath9k_hw: add support for the AR9003 2.2 2010-06-02 16:02:54 -04:00
ar9003_calib.c ath9k_hw: Enable TX IQ calibration on AR9003 2010-06-02 16:13:28 -04:00
ar9003_eeprom.c ath9k_hw: clean up EEPROM endian handling on AR9003 2010-05-12 16:39:07 -04:00
ar9003_eeprom.h ath9k_hw: clean up EEPROM endian handling on AR9003 2010-05-12 16:39:07 -04:00
ar9003_hw.c ath9k_hw: rename the ar9003_initvals.h to ar9003_2p0_initvals.h 2010-06-02 16:02:54 -04:00
ar9003_mac.c ath9k_hw: add support for the AR9003 baseband watchdog 2010-06-02 16:13:00 -04:00
ar9003_mac.h ath9k_hw: add support for the AR9003 baseband watchdog 2010-06-02 16:13:00 -04:00
ar9003_phy.c ath9k_hw: add support for the AR9003 baseband watchdog 2010-06-02 16:13:00 -04:00
ar9003_phy.h ath9k_hw: add support for the AR9003 baseband watchdog 2010-06-02 16:13:00 -04:00
ath9k.h ath9k: fix queue stop/start based on the number of pending frames 2010-06-03 14:14:41 -04:00
beacon.c ath9k: remove VEOL support for ad-hoc 2010-05-25 11:12:54 -04:00
btcoex.c
btcoex.h
calib.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
calib.h
common.c ath9k_common: use allocated key cache entries for multi BSS crypto support 2010-06-03 14:10:44 -04:00
common.h ath9k: Move driver specific structures 2010-06-02 16:13:30 -04:00
debug.c ath9k/debug: fixup the return codes 2010-06-02 16:13:08 -04:00
debug.h ath9k: enable the baseband watchdog events for AR9003 2010-06-02 16:13:00 -04:00
eeprom_4k.c
eeprom_9287.c ath9k_hw: Cleanup TX power calculation for AR9287 2010-06-03 14:10:46 -04:00
eeprom_def.c drivers/net: Remove unnecessary returns from void function()s 2010-05-14 00:19:28 -07:00
eeprom.c ath9k_hw: Cleanup TX power calculation for AR9287 2010-06-03 14:10:46 -04:00
eeprom.h ath9k_hw: Cleanup TX power calculation for AR9287 2010-06-03 14:10:46 -04:00
gpio.c
hif_usb.c drivers/net/wireless/ath/ath9k: Use kmemdup 2010-06-02 16:13:11 -04:00
hif_usb.h
htc_drv_beacon.c ath9k_htc: Fix fair beacon distribution 2010-06-03 14:14:41 -04:00
htc_drv_init.c ath9k_htc: Enable RX STBC for AR9271 2010-06-02 16:13:17 -04:00
htc_drv_main.c ath9k_htc: Fix fair beacon distribution 2010-06-03 14:14:41 -04:00
htc_drv_txrx.c ath9k_htc: Remove HW queue translation 2010-06-02 16:13:03 -04:00
htc_hst.c ath9k_htc: Increase credit size 2010-06-02 16:13:04 -04:00
htc_hst.h
htc.h ath9k_htc: Fix fair beacon distribution 2010-06-03 14:14:41 -04:00
hw-ops.h
hw.c ath9k_hw: Fix async fifo for AR9287 2010-06-03 14:10:46 -04:00
hw.h ath9k_hw: Fix async fifo for AR9287 2010-06-03 14:10:46 -04:00
init.c ath9k: Enable Short GI in 20 Mhz for ar9287 and later chips 2010-06-02 16:13:01 -04:00
Kconfig
mac.c
mac.h
main.c ath9k: fix queue stop/start based on the number of pending frames 2010-06-03 14:14:41 -04:00
Makefile
pci.c ath9k: remove AR9003 from PCI IDs for now 2010-05-21 14:40:00 -04:00
phy.h
rc.c ath9k: Enable Short GI in 20 Mhz for ar9287 and later chips 2010-06-02 16:13:01 -04:00
rc.h
recv.c ath9k: fix dma sync in rx path 2010-06-04 14:55:09 -04:00
reg.h ath9k_hw: Fix async fifo for AR9287 2010-06-03 14:10:46 -04:00
virtual.c
wmi.c ath9k: cleanup: remove unneeded null check 2010-06-02 16:13:33 -04:00
wmi.h
xmit.c ath9k: fix queue stop/start based on the number of pending frames 2010-06-03 14:14:41 -04:00