linux-pinenote/drivers/net/wireless/iwlwifi/mvm
Emmanuel Grumbach 90ea15c114 iwlwifi: mvm: abort scheduled scan upon RFKILL
When we have an active scheduled scan, and the RFKILL
interrupt kicks in, the stack will cancel the scheduled
scan as part of the down flow. But cancelling scheduled
scan usually implies sending a command to the firwmare
which has been killed as part of the RFKILL interrupt
handling.
Because of that, we returned an error to mac80211 when
it asked to stop the scheduled scan and didn't notify the
end of the scheduled scan. Besides a fat warning, this led
to a situation in which cfg80211 would refuse any new scan
request.

To disentangle this, fake that the scheduled scan has been
stopped without sending the command to the firwmare, return
0 after having properly let cfg80211 know that the scan
has been cancelled.

This is basically the same as:
commit 9b520d8495
Author: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Date:   Tue Nov 4 15:54:11 2014 +0200

    iwlwifi: mvm: abort scan upon RFKILL

    This code existed but not for all the different FW APIs
    we support.
    Fix this.

but for the scheduled scan case.

Link: http://permalink.gmane.org/gmane.linux.kernel.wireless.general/133232
Reported-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2015-01-18 22:04:37 +02:00
..
binding.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
coex.c iwlwifi: mvm: rs - don't use the shared antenna when BT load is high 2014-11-11 17:15:06 +02:00
coex_legacy.c iwlwifi: mvm: BT Coex - add support for TTC / RRC 2014-11-23 20:05:06 +02:00
constants.h iwlwifi: mvm: BT Coex - change the MPLUT registers' value 2014-12-01 12:04:39 +02:00
d3.c iwlwifi: mvm: add channel information to the netdetect notifications 2014-12-01 12:04:42 +02:00
debugfs-vif.c Merge remote-tracking branch 'iwlwifi-fixes/master' into NEXT 2014-09-14 12:54:42 +03:00
debugfs.c iwlwifi: mvm: add missing mvm ref debug print 2014-12-01 12:04:40 +02:00
debugfs.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-coex.h iwlwifi: mvm: BT Coex - add support for TTC / RRC 2014-11-23 20:05:06 +02:00
fw-api-d3.h iwlwifi: mvm: remove IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID 2014-12-01 12:04:38 +02:00
fw-api-mac.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
fw-api-power.h iwlwifi: mvm: disable beacon filtering escape timer 2014-11-23 20:09:49 +02:00
fw-api-rs.h iwlwifi: mvm: add lq_cmd/tx_resp reduced_tpc field 2014-04-09 19:29:36 +03:00
fw-api-scan.h iwlwifi: mvm: fix EBS on single scan 2015-01-12 09:56:19 +02:00
fw-api-sta.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-tx.h iwlwifi: mvm: Update TX power in TPC reports 2014-09-16 12:57:50 +03:00
fw-api.h iwlwifi: mvm: update values for Smart Fifo 2014-12-02 12:36:52 +02:00
fw.c iwlwifi: mvm: Ability to work with packed usniffer image 2014-12-02 16:51:56 +02:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac-ctxt.c iwlwifi: mvm: remove IWL_UCODE_TLV_CAPA_EXTENDED_BEACON 2014-12-01 12:04:37 +02:00
mac80211.c iwlwifi: mvm: drop non VO frames when flushing 2015-01-12 16:34:26 +02:00
Makefile iwlwifi: mvm: move TDLS code to separate file 2014-09-14 22:02:24 +03:00
mvm.h iwlwifi: mvm: send dbg config hcmds to fw if set in tlv 2014-12-02 16:51:55 +02:00
nvm.c iwlwifi: mvm: support NVM file with header 2014-12-01 12:04:43 +02:00
offloading.c iwlwifi: mvm: remove IWL_UCODE_TLV_API_WOWLAN_CONFIG_TID 2014-12-01 12:04:38 +02:00
ops.c iwlwifi: pcie: config regs according to fw tlv 2014-12-02 16:51:55 +02:00
phy-ctxt.c iwlwifi: mvm: expose some static APIs for use by TDLS code 2014-11-11 07:12:01 +02:00
power.c iwlwifi: mvm: Fix the keep_alive calculation 2014-11-23 19:59:19 +02:00
quota.c iwlwifi: mvm: fix quota update avoidance 2014-09-14 22:02:23 +03:00
rs.c iwlwifi: mvm: rs: consider a missing BA as a single tx failure 2014-11-23 20:05:32 +02:00
rs.h iwlwifi: mvm: rs: add Tx STBC support 2014-10-29 14:13:46 +02:00
rx.c iwlwifi: mvm: pull SNAP header into skb->head 2014-11-24 08:30:18 +02:00
scan.c iwlwifi: mvm: abort scheduled scan upon RFKILL 2015-01-18 22:04:37 +02:00
sf.c iwlwifi: mvm: allow preventing dummy notifications 2014-09-14 12:56:37 +03:00
sta.c iwlwifi: mvm: add CSA absent time event for clients 2014-11-24 08:30:31 +02:00
sta.h iwlwifi: mvm: add CSA absent time event for clients 2014-11-24 08:30:31 +02:00
tdls.c iwlwifi: mvm: implement mac80211 TDLS channel-switch APIs 2014-11-24 08:30:24 +02:00
testmode.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.c iwlwifi: mvm: clear TE data if CSA time event fails to start 2014-11-24 08:30:35 +02:00
time-event.h iwlwifi: mvm: add remove flow for AUX ROC time events 2014-11-24 08:30:14 +02:00
tt.c iwlwifi: mvm: handle unsolicited DTS_MEASUREMENT_NOTIFICATIONs 2014-11-11 17:15:08 +02:00
tx.c iwlwifi: mvm: set the tx cmd tid for BAR frame correctly 2015-01-13 08:53:23 +02:00
utils.c iwlwifi: mvm: fix Rx with both chains 2015-01-05 11:02:34 +02:00