Commit 85207c66 authored by Luca Coelho's avatar Luca Coelho

iwlwifi: mvm: use TCM data to decide scan priority

The code for changing the scan priority is already implemented, but
isn't yet in use.  Now that TCM data is available, we can base the
scan priority decision on the traffic load.
Signed-off-by: default avatarLuca Coelho <luciano.coelho@intel.com>
parent 7d9d0d56
...@@ -228,7 +228,7 @@ static void iwl_mvm_scan_condition_iterator(void *data, u8 *mac, ...@@ -228,7 +228,7 @@ static void iwl_mvm_scan_condition_iterator(void *data, u8 *mac,
static enum iwl_mvm_traffic_load iwl_mvm_get_traffic_load(struct iwl_mvm *mvm) static enum iwl_mvm_traffic_load iwl_mvm_get_traffic_load(struct iwl_mvm *mvm)
{ {
return IWL_MVM_TRAFFIC_LOW; return mvm->tcm.result.global_load;
} }
static enum static enum
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment