mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
qcacmn: Reduce time for scan when miracast is active
Scan can cause issues in video streaming when miracast session is active. Reduce the scan time by removing the DFS channels from scan list during the active miracast session. Change-Id: I14666ebccabaf373a67f396fb7f85c2f7ee34449 CRs-Fixed: 2603528
This commit is contained in:
parent
4842f87b82
commit
9019baa26d
1 changed files with 3 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -1106,7 +1106,8 @@ scm_update_channel_list(struct scan_start_request *req,
|
|||
if ((scan_obj->scan_def.allow_dfs_chan_in_scan &&
|
||||
(scan_obj->scan_def.allow_dfs_chan_in_first_scan ||
|
||||
first_scan_done)) &&
|
||||
!(scan_obj->scan_def.skip_dfs_chan_in_p2p_search && p2p_search))
|
||||
!(scan_obj->scan_def.skip_dfs_chan_in_p2p_search && p2p_search) &&
|
||||
!scan_obj->miracast_enabled)
|
||||
skip_dfs_ch = false;
|
||||
|
||||
for (i = 0; i < req->scan_req.chan_list.num_chan; i++) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue