linux/drivers/net/wireless
Johannes Berg db662d4786 iwlwifi: extend notification wait
Sometimes, for example when we ask the uCode
for calibration, we wait for the "complete"
response while we also need the results that
are sent in other, interim, notifications.

Currently we handle this by installing an RX
handler globally, but that isn't needed as
this is the only time we want to use these
notifications.

So in order to be able to simplify at least
future code that does the same, extend the
notification wait framework to allow you to
wait for multiple commands and decide based
on the command whether the wait finished.

While at it, also fix a race that can then
become relevant -- if the wait function has
returned true once it shouldn't be called
again, today this can happen due to races
between the triggering and the wakeup.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-04-09 16:37:15 -04:00
..
ath ath9k_hw: Update rx gain initval to improve rx sensitivity 2012-04-09 16:05:56 -04:00
b43 b43: Load firmware from a work queue and not from the probe routine 2012-03-13 14:54:16 -04:00
b43legacy b43legacy: Load firmware from work queue instead of from probe routine 2012-03-13 14:54:15 -04:00
brcm80211 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-03-16 13:45:25 -04:00
hostap Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
ipw2x00 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-03-16 13:45:25 -04:00
iwlegacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2012-03-27 22:15:01 -04:00
iwlwifi iwlwifi: extend notification wait 2012-04-09 16:37:15 -04:00
iwmc3200wifi iwmc3200wifi: Fix typo in trace.h 2012-02-06 14:53:07 -05:00
libertas Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-03-16 13:45:25 -04:00
libertas_tf drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages 2012-01-31 16:20:21 -05:00
mwifiex mwifiex: add set_cqm_rssi_config handler support 2012-04-09 16:06:00 -04:00
orinoco Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-02-06 14:26:39 -05:00
p54 p54usb: Load firmware asynchronously 2012-04-09 16:07:35 -04:00
prism54 drivers/net: Remove unnecessary k.alloc/v.alloc OOM messages 2012-01-31 16:20:21 -05:00
rt2x00 rt2x00: increase led's name buffer length 2012-04-09 16:09:34 -04:00
rtl818x rtl8187: Add AD-HOC support 2012-03-07 13:56:37 -05:00
rtlwifi rtlwifi: Preallocate USB read buffers and eliminate kalloc in read routine 2012-04-09 16:12:31 -04:00
wl12xx wireless: rename ht_info to ht_operation 2012-04-09 16:05:55 -04:00
wl1251 wl1251: enable sparse endianess check by default 2012-02-15 08:38:27 +02:00
zd1211rw Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2012-03-20 21:12:50 -07:00
adm8211.c
adm8211.h
airo_cs.c
airo.c airo: fix test for FLAG_RADIO_DOWN 2012-03-06 15:16:07 -05:00
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c drivers/net: Remove alloc_etherdev error messages 2012-01-31 16:20:48 -05:00
atmel.h
Kconfig
mac80211_hwsim.c mac80211_hwsim: Fix set mactime on receiver hwsim radio 2012-03-12 14:19:35 -04:00
mac80211_hwsim.h
Makefile iwlegacy: rename remaining IWLs to ILs 2011-11-15 11:25:42 +01:00
mwl8k.c Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-02-21 15:06:35 -05:00
ray_cs.c ray_cs: Fix array bounds warnings. 2011-11-26 15:41:29 -05:00
ray_cs.h
rayctl.h ray_cs: Fix array bounds warnings. 2011-11-26 15:41:29 -05:00
rndis_wlan.c rndis_wlan: use u8 for key indexes 2012-03-05 15:23:17 -05:00
wl3501_cs.c
wl3501.h
zd1201.c USB: convert drivers/net/* to use module_usb_driver() 2011-11-18 09:44:20 -08:00
zd1201.h