mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 01:55:51 +02:00
wifi: iwlwifi: mld: set fast-balance scan for active EMLSR
While associated to MLD AP with active EMLSR, set all scan operations as fast-balance scans. The only exception is when a fragmented scan is planned (high traffic or low latency), in which case the fragmented scan is preserved. Signed-off-by: Pagadala Yesu Anjaneyulu <pagadala.yesu.anjaneyulu@intel.com> Link: https://patch.msgid.link/20260527230313.32d278842b0e.Ia3d73e4085eefc4d3921e93de4107b2d6a6f922e@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
This commit is contained in:
parent
13676ae3cf
commit
a9505106c9
|
|
@ -1,6 +1,6 @@
|
|||
// SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
|
||||
/*
|
||||
* Copyright (C) 2024-2025 Intel Corporation
|
||||
* Copyright (C) 2024-2026 Intel Corporation
|
||||
*/
|
||||
#include <linux/crc32.h>
|
||||
|
||||
|
|
@ -237,6 +237,12 @@ iwl_mld_scan_type iwl_mld_get_scan_type(struct iwl_mld *mld,
|
|||
vif->type != NL80211_IFTYPE_P2P_DEVICE)
|
||||
return IWL_SCAN_TYPE_FRAGMENTED;
|
||||
|
||||
/* While associated to MLD AP with active EMLSR, set all scan
|
||||
* operations as fast-balance scans.
|
||||
*/
|
||||
if (iwl_mld_emlsr_active(vif))
|
||||
return IWL_SCAN_TYPE_FAST_BALANCE;
|
||||
|
||||
/* In case of DCM with P2P GO set all scan requests as
|
||||
* fast-balance scan
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user