提交 0616c62c 编写于 作者: L Luciano Coelho 提交者: Emmanuel Grumbach

iwlwifi: mvm: add scan parameters debugging info

Add scan parameters information to make it easier to debug scan dwell
times and fragmentation.
Signed-off-by: NLuciano Coelho <luciano.coelho@intel.com>
Reviewed-by: NAlexander Bondar <alexander.bondar@intel.com>
Reviewed-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NEmmanuel Grumbach <emmanuel.grumbach@intel.com>
上级 fcc5e851
...@@ -271,6 +271,21 @@ static void iwl_mvm_scan_calc_params(struct iwl_mvm *mvm, ...@@ -271,6 +271,21 @@ static void iwl_mvm_scan_calc_params(struct iwl_mvm *mvm,
params->dwell[band].active = iwl_mvm_get_active_dwell(mvm, band, params->dwell[band].active = iwl_mvm_get_active_dwell(mvm, band,
n_ssids); n_ssids);
} }
IWL_DEBUG_SCAN(mvm,
"scan parameters: max_out_time %d, suspend_time %d, passive_fragmented %d\n",
params->max_out_time, params->suspend_time,
params->passive_fragmented);
IWL_DEBUG_SCAN(mvm,
"dwell[IEEE80211_BAND_2GHZ]: passive %d, active %d, fragmented %d\n",
params->dwell[IEEE80211_BAND_2GHZ].passive,
params->dwell[IEEE80211_BAND_2GHZ].active,
params->dwell[IEEE80211_BAND_2GHZ].fragmented);
IWL_DEBUG_SCAN(mvm,
"dwell[IEEE80211_BAND_5GHZ]: passive %d, active %d, fragmented %d\n",
params->dwell[IEEE80211_BAND_5GHZ].passive,
params->dwell[IEEE80211_BAND_5GHZ].active,
params->dwell[IEEE80211_BAND_5GHZ].fragmented);
} }
static inline bool iwl_mvm_rrm_scan_needed(struct iwl_mvm *mvm) static inline bool iwl_mvm_rrm_scan_needed(struct iwl_mvm *mvm)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册