|
@@ -1109,6 +1109,9 @@ static int iwl_mvm_scan_umac(struct iwl_mvm *mvm, struct ieee80211_vif *vif,
|
|
cmd->uid = cpu_to_le32(uid);
|
|
cmd->uid = cpu_to_le32(uid);
|
|
cmd->general_flags = cpu_to_le32(iwl_mvm_scan_umac_flags(mvm, params));
|
|
cmd->general_flags = cpu_to_le32(iwl_mvm_scan_umac_flags(mvm, params));
|
|
|
|
|
|
|
|
+ if (type == IWL_MVM_SCAN_SCHED)
|
|
|
|
+ cmd->flags = cpu_to_le32(IWL_UMAC_SCAN_FLAG_PREEMPTIVE);
|
|
|
|
+
|
|
if (iwl_mvm_scan_use_ebs(mvm, vif, n_iterations))
|
|
if (iwl_mvm_scan_use_ebs(mvm, vif, n_iterations))
|
|
cmd->channel_flags = IWL_SCAN_CHANNEL_FLAG_EBS |
|
|
cmd->channel_flags = IWL_SCAN_CHANNEL_FLAG_EBS |
|
|
IWL_SCAN_CHANNEL_FLAG_EBS_ACCURATE |
|
|
IWL_SCAN_CHANNEL_FLAG_EBS_ACCURATE |
|