linux/drivers/net/wireless/iwlwifi
Emmanuel Grumbach 522713c81e iwlwifi: pcie: properly reset the device
We were toggling the wrong bit when we reset the device,
fix that. Moreover, since the reset can take time, we need
to wait before we set the rfkill interrupt. Not doing so
can be racy since the driver is enabling the rfkill
interrupt while the device is resetting which will clear
all the registers including the CSR_INT_MASK.
This can basically lead to a situation where we don't
enable the rfkill interrupt. If that happens, the user will
not be able to re-enable the device when de-asserting
rfkill.

This scenario happened to the submitter of:
https://bugzilla.kernel.org/show_bug.cgi?id=87191

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-11-23 20:07:37 +02:00
..
dvm This relatively large batch of changes is comprised of the 2014-11-04 16:18:12 -05:00
mvm iwlwifi: mvm: support random MAC address for scanning 2014-11-23 20:07:15 +02:00
pcie iwlwifi: pcie: properly reset the device 2014-11-23 20:07:37 +02:00
iwl-1000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-2000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-5000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-6000.c iwlwifi: don't disable SCD chain extension on newer devices 2014-04-13 22:23:20 +03:00
iwl-7000.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-8000.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-agn-hw.h iwlwifi: mvm: fix bug with OTP memory size 2014-05-06 20:40:01 +03:00
iwl-config.h iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-csr.h iwlwifi: pcie: newer platform needs a OS alive indication 2014-11-11 17:15:10 +02:00
iwl-debug.c iwlwifi: use dev_printk instead of dev_dbg for debug logs 2014-05-13 13:52:22 +03:00
iwl-debug.h iwlwifi: mvm: add some debugging to quota allocation 2014-09-03 22:49:03 +03:00
iwl-devtrace.c iwlwifi: don't export tracepoints unnecessarily 2014-09-03 22:49:03 +03:00
iwl-devtrace.h
iwl-drv.c iwlwifi: always run the secured flow for family 8000 2014-10-29 12:52:24 +02:00
iwl-drv.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-eeprom-parse.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-eeprom-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-eeprom-read.c
iwl-eeprom-read.h
iwl-fh.h
iwl-fw-error-dump.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-fw-file.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-fw.h iwlwifi: mvm: implement UMAC scan API 2014-11-23 20:02:43 +02:00
iwl-io.c iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
iwl-io.h iwlwifi: update nmi register 2014-05-15 19:50:51 +03:00
iwl-modparams.h iwlwifi: fix inconsistency about power_save module parameter 2014-07-22 19:21:10 +03:00
iwl-notif-wait.c
iwl-notif-wait.h
iwl-nvm-parse.c iwlwifi: change max HT and VHT A-MPDU exponent 2014-11-23 19:57:30 +02:00
iwl-nvm-parse.h iwlwifi: mvm: new NVM format in family 8000 2014-02-13 13:49:37 +02:00
iwl-op-mode.h iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
iwl-phy-db.c iwlwifi: remove CMD_SYNC 2014-05-13 13:52:19 +03:00
iwl-phy-db.h
iwl-prph.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
iwl-scd.h iwlwifi: trans: configure the scheduler enable register 2014-09-03 22:49:06 +03:00
iwl-trans.h iwlwifi: mvm: port to devcoredump framework 2014-10-29 14:13:43 +02:00
Kconfig iwlwfifi: fix WANT_DEV_COREDUMP selection in Kconfig 2014-10-31 13:10:32 +02:00
Makefile