OpenCloudOS-Kernel/drivers/net/wireless/ath/ath9k
Sujith 0d36d71da2 ath9k_htc: Fix WMI command race
My patch "ath9k_htc: Handle WMI timeouts properly" introduced
a race condition in WMI command processing. The last issued command
should be stored _before_ issuing a WMI command. Not doing this
would result in the WMI event IRQ dropping correct command responses
as invalid.

Fix this race by storing the command id correctly.

Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2010-04-26 14:21:21 -04:00
..
Kconfig ath9k_htc: Support for AR9271 chipset. 2010-03-23 16:50:17 -04:00
Makefile ath9k_hw: move AR9002 mac ops to its own file 2010-04-16 15:43:45 -04:00
ahb.c ath: Add a bus type field 2010-04-06 16:55:09 -04:00
ani.c ath9k_hw: Remove pointless ANI deinit 2010-04-26 14:21:18 -04:00
ani.h ath9k_hw: Remove pointless ANI deinit 2010-04-26 14:21:18 -04:00
ar5008_initvals.h ath9k_hw: split initvals.h by hardware family 2010-04-16 15:43:24 -04:00
ar5008_phy.c ath9k_hw: Use buffered register writes 2010-04-16 15:47:09 -04:00
ar9001_initvals.h ath9k_hw: make two initvals consto for the AR9001 family 2010-04-21 14:15:18 -04:00
ar9002_calib.c ath9k_hw: Use buffered register writes 2010-04-16 15:47:09 -04:00
ar9002_hw.c ath9k_htc: Use multiple register writes 2010-04-26 14:21:17 -04:00
ar9002_initvals.h ath9k_hw: make all AR9002 initvals use u32 2010-04-21 14:15:18 -04:00
ar9002_mac.c ath9k_hw: move AR9002 mac ops to its own file 2010-04-16 15:43:45 -04:00
ar9002_phy.c ath9k_hw: Use buffered register writes 2010-04-16 15:47:09 -04:00
ar9002_phy.h ath9k_hw: add OFDM spur mitigation for AR9003 2010-04-16 15:43:38 -04:00
ar9003_calib.c ath9k_hw: complete AR9003 calibration 2010-04-16 15:43:35 -04:00
ar9003_eeprom.c ath9k_hw: add TX/RX gain register initialization for AR9003 2010-04-16 15:43:43 -04:00
ar9003_eeprom.h ath9k_hw: add TX/RX gain register initialization for AR9003 2010-04-16 15:43:43 -04:00
ar9003_hw.c ath9k_hw: move AR9002 mac ops to its own file 2010-04-16 15:43:45 -04:00
ar9003_initvals.h ath9k_hw: add initvals for the AR9003 hardware family 2010-04-16 15:43:24 -04:00
ar9003_mac.c ath9k_hw: add LDPC support for AR9003 2010-04-16 15:43:48 -04:00
ar9003_mac.h ath9k_hw: Fill descriptor abstrations for AR9003 2010-04-16 15:43:45 -04:00
ar9003_phy.c ath9k_hw: add OFDM spur mitigation for AR9003 2010-04-16 15:43:38 -04:00
ar9003_phy.h ath9k_hw: add OFDM spur mitigation for AR9003 2010-04-16 15:43:38 -04:00
ath9k.h ath9k: Add Tx EDMA support 2010-04-16 15:43:48 -04:00
beacon.c ath9k_hw: Define abstraction for tx desc access 2010-04-16 15:43:44 -04:00
btcoex.c ath9k: move hw code to its own module 2009-10-07 16:39:41 -04:00
btcoex.h ath9k: Fix wifi disconnection when collocated bt scan is active 2010-01-22 16:11:32 -05:00
calib.c ath9k_hw: abstract loading noisefloor 2010-04-16 15:43:34 -04:00
calib.h ath9k_hw: fill in the callbacks for calibration for AR9003 2010-04-16 15:43:35 -04:00
common.c ath9k: Do not indicate RX_FLAG_DECRYPTED for unprotected frames 2010-03-31 14:46:42 -04:00
common.h ath9k: Make bf_desc of ath_buf opaque 2010-04-16 15:43:26 -04:00
debug.c ath9k: add RXLP and RXHP to debugfs counters 2010-04-16 15:43:46 -04:00
debug.h ath9k: add RXLP and RXHP to debugfs counters 2010-04-16 15:43:46 -04:00
eeprom.c ath9k_hw: Implement AR9003 eeprom callbacks 2010-04-16 15:43:37 -04:00
eeprom.h ath9k_hw: Implement AR9003 eeprom callbacks 2010-04-16 15:43:37 -04:00
eeprom_4k.c ath9k_hw: Use buffered register writes 2010-04-16 15:47:09 -04:00
eeprom_9287.c ath9k_hw: restore mac address reading logic 2010-04-16 15:43:36 -04:00
eeprom_def.c ath9k_hw: move AR9280 PCI EEPROM fix to eeprom_def.c 2010-04-16 15:43:40 -04:00
gpio.c wireless/ath: remove trailing space in messages 2010-04-08 15:20:44 -04:00
hif_usb.c ath9k_htc: Process command data properly 2010-04-26 14:21:20 -04:00
hif_usb.h ath9k_htc: Simplify TX URB management 2010-04-26 14:21:16 -04:00
htc.h ath9k_htc: Handle device unplug properly 2010-04-26 14:21:16 -04:00
htc_drv_beacon.c ath9k_htc: Fix sparse endian warnings 2010-04-16 15:47:13 -04:00
htc_drv_init.c ath9k_htc: Handle device unplug properly 2010-04-26 14:21:16 -04:00
htc_drv_main.c ath9k_htc: Cancel running timers before disabling HW 2010-04-26 14:21:17 -04:00
htc_drv_txrx.c ath9k_htc: Fix sparse endian warnings 2010-04-16 15:47:13 -04:00
htc_hst.c ath9k_htc: Pass correct private pointer 2010-04-26 14:21:18 -04:00
htc_hst.h ath9k_htc: Fix sparse endian warnings 2010-04-16 15:47:13 -04:00
hw-ops.h ath9k_hw: Define abstraction for tx desc access 2010-04-16 15:43:44 -04:00
hw.c ath9k_hw: Remove pointless ANI deinit 2010-04-26 14:21:18 -04:00
hw.h ath9k: check for specific rx stuck conditions and recover from them 2010-04-20 11:50:52 -04:00
init.c ath9k: add support for Tx and Rx STBC 2010-04-20 11:52:36 -04:00
mac.c ath9k_hw: Use buffered register writes 2010-04-16 15:47:09 -04:00
mac.h ath9k: add support for Tx and Rx STBC 2010-04-20 11:52:36 -04:00
main.c ath9k: check for specific rx stuck conditions and recover from them 2010-04-20 11:50:52 -04:00
pci.c ath9k_hw: add the PCI ID for the first AR9300 device 2010-04-16 15:43:49 -04:00
phy.h ath9k_hw: add OFDM spur mitigation for AR9003 2010-04-16 15:43:38 -04:00
rc.c ath9k: set the STBC flag in rate control if the peer supports it 2010-04-20 11:52:39 -04:00
rc.h ath9k: rename symbols in enum ath9k_internal_frame_type to avoid confusion 2010-04-06 16:55:08 -04:00
recv.c ath9k: Setup appropriate tx desc for regular dma and edma 2010-04-16 15:43:47 -04:00
reg.h ath9k_hw: enable CRC check of descriptors for AR9003 2010-04-16 15:43:46 -04:00
virtual.c ath9k: rename symbols in enum ath9k_internal_frame_type to avoid confusion 2010-04-06 16:55:08 -04:00
wmi.c ath9k_htc: Fix WMI command race 2010-04-26 14:21:21 -04:00
wmi.h ath9k_htc: Increase WMI timeout value 2010-04-26 14:21:20 -04:00
xmit.c ath9k: add support for Tx and Rx STBC 2010-04-20 11:52:36 -04:00