linux/drivers/net/wireless/iwlwifi/mvm
Eliad Peller f4cf8680df iwlwifi: mvm/trans: abort d0i3_enter in case of held ref
Other contexts might call iwl_mvm_ref_sync() right before
we set IWL_MVM_STATUS_IN_D0I3, and then assume the fw/bus
is not in d0i3 state.

However, since we currently don't check for held references
in the d0i3_enter flow, we might enter d0i3 although there
is an active reference.

Solve it by aborting the d0i3 enter flow if there is an
active reference. Since users are assumed to use
iwl_mvm_ref_sync, which takes a ref before checking the
flag, we don't need further locking.

Signed-off-by: Eliad Peller <eliadx.peller@intel.com>
Reviewed-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
2014-11-11 17:15:04 +02:00
..
binding.c iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
coex_legacy.c iwlwifi: mvm: BT Coex - make the multiprio lut a constant 2014-10-29 12:52:27 +02:00
coex.c iwlwifi: mvm: BT Coex - make the multiprio lut a constant 2014-10-29 12:52:27 +02:00
constants.h iwlwifi: mvm: BT Coex - make the multiprio lut a constant 2014-10-29 12:52:27 +02:00
d3.c iwlwifi: mvm: change the iwl_mvm_d3_iface_iterator into a generic function 2014-10-29 12:49:13 +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: port to devcoredump framework 2014-10-29 14:13:43 +02:00
debugfs.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-coex.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-d3.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
fw-api-mac.h iwlwifi: Update Copyright to 2014 2013-12-31 19:03:53 +02:00
fw-api-power.h iwlwifi: configure the LTR 2014-10-23 21:21:47 +03: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: Set RRM_ENABLED bit in scan commands 2014-09-16 12:57:50 +03: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: configure the LTR 2014-10-23 21:21:47 +03:00
fw.c iwlwifi: mvm: handle error from iwl_trans_update_sf 2014-11-03 20:09:21 +02:00
led.c iwlwifi: mvm: don't fail completely if led mode is not supported 2014-03-16 08:59:05 +02:00
mac80211.c iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
mac-ctxt.c iwlwifi: mvm: remove mvm argument from get_queues_mask 2014-10-29 12:52:26 +02:00
Makefile iwlwifi: mvm: move TDLS code to separate file 2014-09-14 22:02:24 +03:00
mvm.h iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +02:00
nvm.c iwlwifi: make hw rev checking more readable 2014-09-14 12:56:39 +03:00
offloading.c iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
ops.c iwlwifi: mvm/trans: abort d0i3_enter in case of held ref 2014-11-11 17:15:04 +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 PSM disable during TDLS 2014-09-14 22:02:24 +03:00
quota.c iwlwifi: mvm: fix quota update avoidance 2014-09-14 22:02:23 +03:00
rs.c iwlwifi: mvm: rs: fix a WARNING in case of STBC and VHT 2014-11-11 17:15:04 +02:00
rs.h iwlwifi: mvm: rs: add Tx STBC support 2014-10-29 14:13:46 +02:00
rx.c iwlwifi: mvm: choose an initial tx rate based on rssi conditions 2014-09-21 13:25:44 +03:00
scan.c iwlwifi: mvm: unref SCAN ref on scan completion 2014-10-29 14:13:47 +02:00
sf.c iwlwifi: mvm: allow preventing dummy notifications 2014-09-14 12:56:37 +03:00
sta.c iwlwifi: mvm: use correct type for firmware status 2014-11-11 07:10:26 +02:00
sta.h iwlwifi: mvm: rs: fix logic in case of multiple TIDs 2014-09-21 13:25:49 +03:00
tdls.c iwlwifi: mvm: move TDLS code to separate file 2014-09-14 22:02:24 +03:00
testmode.h iwlwifi: add Intel Mobile Communications copyright 2014-09-03 22:49:07 +03:00
time-event.c iwlwifi: mvm: ROC - bug fixes around time events and locking 2014-10-23 21:21:48 +03:00
time-event.h iwlwifi: mvm: align CSA GO NOA time event naming with the firmware 2014-09-14 22:02:24 +03:00
tt.c iwlwifi: mvm: remove unnecessary includes in tt.c 2014-10-29 12:53:07 +02:00
tx.c iwlwifi: mvm: expose some static APIs for use by TDLS code 2014-11-11 07:12:01 +02:00
utils.c iwlwifi: mvm: change the iwl_mvm_d3_iface_iterator into a generic function 2014-10-29 12:49:13 +02:00