diff options
author | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-02-10 10:49:51 +0200 |
---|---|---|
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | 2015-03-02 08:20:29 +0200 |
commit | f35d9c55cd533076e5b9b083841acba5d5e4abad (patch) | |
tree | 85dd24dc14488a652bde4561ed774cfab63fa32f /drivers/net/wireless/iwlwifi/mvm | |
parent | 9d761fd8a58360e1d81e718f4f6e6b66935cde04 (diff) | |
download | op-kernel-dev-f35d9c55cd533076e5b9b083841acba5d5e4abad.zip op-kernel-dev-f35d9c55cd533076e5b9b083841acba5d5e4abad.tar.gz |
iwlwifi: mvm: add trigger for firmware dump upon channel switch
We fire the trigger when the channel switch starts, but
the delay is configurable. That makes is easier to catch
channel switches that fail.
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/mvm')
-rw-r--r-- | drivers/net/wireless/iwlwifi/mvm/mac80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/mvm/mac80211.c b/drivers/net/wireless/iwlwifi/mvm/mac80211.c index 3b6b9f6..5a5d5c8 100644 --- a/drivers/net/wireless/iwlwifi/mvm/mac80211.c +++ b/drivers/net/wireless/iwlwifi/mvm/mac80211.c @@ -3481,6 +3481,9 @@ static int iwl_mvm_pre_channel_switch(struct ieee80211_hw *hw, IWL_DEBUG_MAC80211(mvm, "pre CSA to freq %d\n", chsw->chandef.center_freq1); + iwl_fw_dbg_trigger_simple_stop(mvm, vif, FW_DBG_TRIGGER_CHANNEL_SWITCH, + NULL, 0); + switch (vif->type) { case NL80211_IFTYPE_AP: csa_vif = |