linux_dsm_epyc7002/drivers/net/wireless
Johannes Berg 98d4bf0c49 iwlwifi: fix uCode event tracing
Fix multiple bugs in event tracing:

1) If you enable uCode tracing with the device down,
   it will still attempt to access the device and
   continuously log "MAC is in deep sleep!" errors.
   Fix this by only starting logging when the device
   is actually alive.

2) Now you can set the flag when the device is down,
   but logging doesn't happen when you bring it up.
   To fix that, start logging when the device comes
   alive. This means we don't log before -- we could
   do that but I don't need it right now.

3) For some reason we read the error instead of the
   event log -- use the right pointer.

4) Optimise SRAM reading of event log header.

5) Fix reading write pointer == capacity, which can
   happen due to racy SRAM access

6) Most importantly: fix an error where we would try
   to read WAY too many events (like 2^32-300) when
   we read the wrap counter before it is updated by
   the uCode -- this does happen in practice and will
   cause the driver to hang the machine.

7) Finally, change the timer to 10ms instead of 100ms
   as 100ms is too slow to capture all data with a
   normal event log and with 100ms the log will wrap
   multiple times before we have a chance to read it.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
2012-01-28 08:08:13 -08:00
..
ath carl9170: allow users to lower output power level 2012-01-27 14:56:57 -05:00
b43 b43: N-PHY: trivial: change save&rest order in RSSI polling 2012-01-24 14:06:06 -05:00
b43legacy Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next into for-davem 2012-01-05 10:13:24 -05:00
brcm80211 brcmfmac: Trivial typo of "couldn" to "could" fix 2012-01-24 14:21:14 -05:00
hostap hostap_cs: add ID for Canon K30225 2011-11-28 14:44:00 -05:00
ipw2x00 ipw2x00: signedness bug handling frame length 2012-01-13 14:40:56 -05:00
iwlegacy iwlegacy: 3945: fix hw passive scan on radar channels 2012-01-04 14:30:45 -05:00
iwlwifi iwlwifi: fix uCode event tracing 2012-01-28 08:08:13 -08:00
iwmc3200wifi module_param: make bool parameters really bool (net & drivers/net) 2011-12-19 22:27:29 -05:00
libertas Merge branch 'for-linus2' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs 2012-01-08 12:19:57 -08:00
libertas_tf Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
mwifiex mwifiex: update BSS parameters in dump_station_info() 2012-01-27 14:57:03 -05:00
orinoco orinoco_usb: remove version definition 2012-01-24 15:03:04 -05:00
p54 mac80211: make beacon filtering per virtual interface 2012-01-27 14:56:53 -05:00
prism54 Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless 2011-12-02 15:44:03 -05:00
rt2x00 rt2800usb: remove PWR_PIN_CFG=0x3 during init 2012-01-27 14:57:01 -05:00
rtl818x
rtlwifi mac80211: make beacon filtering per virtual interface 2012-01-27 14:56:53 -05:00
wl12xx mac80211: make CQM RSSI support per virtual interface 2012-01-27 14:56:54 -05:00
wl1251 mac80211: make CQM RSSI support per virtual interface 2012-01-27 14:56:54 -05:00
zd1211rw
adm8211.c
adm8211.h
airo_cs.c
airo.c
airo.h
at76c50x-usb.c
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
Kconfig
mac80211_hwsim.c net: fix assignment of 0/1 to bool variables. 2011-12-19 22:27:29 -05:00
mac80211_hwsim.h
Makefile
mwl8k.c mwl8k: Configuring correct MAC address in broadcast key 2012-01-27 14:57:07 -05:00
ray_cs.c
ray_cs.h
rayctl.h
rndis_wlan.c Merge branch 'driver-core-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core 2012-01-07 12:03:30 -08:00
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h