android_kernel_motorola_sm6225/drivers/net/wireless
Amitkumar Karwar efaaa8b841 mwifiex: use separate wait condition for each command node
Currently global wait condition (adapter->cmd_wait_q.condition)
is used while sending synchronous commands to FW. When two threads
enter in mwifiex_send_cmd_sync() routine at the same time, both the
threads wait for their command responses. Since wait condition is
same for both, they wake up simultaneously after getting response
of 1st command. After this when a thread is waiting for command
response of 3rd command, it wakes up after getting response of 2nd
command and so on. Therefore we don't wait for the response of last
command(0xaa) during unload. Hence while next time loading the driver
command time out is seen for INIT command.

This problem is resolved by having separate wait condition flag for
each command(except scan command). Since scan command is treated
differently (by maintaining scan pending q etc.), newly defined flag
(scan_wait_q_woken) is used as a scan wait condition.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-10-14 14:48:20 -04:00
..
ath ath9k: only send FCS-fail packets to mac80211 if requested 2011-10-11 16:41:30 -04:00
b43 b43: N-PHY: report signal to mac80211 2011-10-14 14:48:20 -04:00
b43legacy mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
brcm80211 net: wireless: brcm80210: include module.h 2011-10-14 14:48:20 -04:00
hostap hostap_cs: support cards with "Version 01.02" as third product ID 2011-08-08 16:04:11 -04:00
ipw2x00 Merge branch 'master' of git://git.infradead.org/users/linville/wireless 2011-09-20 14:11:55 -04:00
iwlegacy mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
iwlwifi iwlagn: fix priv->cfg->ht_params NULL pointer dereference 2011-10-14 14:48:16 -04:00
iwmc3200wifi iwmc3200wifi: add a range check to iwm_cfg80211_get_key() 2011-10-14 14:48:15 -04:00
libertas libertas: detect TX lockups and reset hardware 2011-10-03 15:22:41 -04:00
libertas_tf Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-06-30 13:34:06 -04:00
mwifiex mwifiex: use separate wait condition for each command node 2011-10-14 14:48:20 -04:00
orinoco orinoco_cs: be more careful when matching cards with ID 0x0156:0x0002 2011-08-08 16:04:12 -04:00
p54 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
prism54
rt2x00 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rtl818x mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
rtlwifi rtlwifi: rtl8192de: Updates from latest Reaktek driver - Part III 2011-10-14 14:48:15 -04:00
wl12xx wl12xx: disable AP-mode-specific quirks 2011-10-07 08:32:30 +03:00
wl1251 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
zd1211rw mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
adm8211.c mac80211: add ieee80211_vif param to tsf functions 2011-09-27 14:27:48 -04:00
adm8211.h
airo.c net: Audit drivers to identify those needing IFF_TX_SKB_SHARING cleared 2011-07-27 22:39:30 -07:00
airo.h
airo_cs.c
at76c50x-usb.c wireless: at76c50x: use native hex_pack_byte() method 2011-09-30 15:16:25 -04:00
at76c50x-usb.h
atmel.c
atmel.h
atmel_cs.c
atmel_pci.c
Kconfig net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
mac80211_hwsim.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
mac80211_hwsim.h
Makefile net: wireless: add brcm80211 drivers 2011-10-11 15:55:30 -04:00
mwl8k.c mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: remove wireless extensions inclusions 2011-08-08 14:26:18 -04:00
wl3501.h
wl3501_cs.c wl3501_cs: min_t() cast truncates high bits 2011-09-27 14:36:04 -04:00
zd1201.c
zd1201.h