mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
qcacld-3.0: Fix SAP 160Mhz radar event miss issue
When SAP operated in channel 36 with 160Mhz, the primary channel 36 is non-dfs and existing checking dfs will drop the radar event if the radar detected on channel 52. Change policy mgr API to check the dfs flags instead of primary channel state. Change-Id: Ie2f242182b8df30e5d1875e278c5ebffa2e7cafd CRs-Fixed: 2865173
This commit is contained in:
parent
b64317d44b
commit
9380857123
4 changed files with 56 additions and 15 deletions
|
|
@ -3306,10 +3306,11 @@ uint32_t policy_mgr_get_dfs_beaconing_session_id(
|
|||
conn_index++) {
|
||||
conn_info = &pm_conc_connection_list[conn_index];
|
||||
if (conn_info->in_use &&
|
||||
wlan_reg_chan_has_dfs_attribute_for_freq(
|
||||
pm_ctx->pdev, conn_info->freq) &&
|
||||
WLAN_REG_IS_5GHZ_CH_FREQ(conn_info->freq) &&
|
||||
(conn_info->ch_flagext & (IEEE80211_CHAN_DFS |
|
||||
IEEE80211_CHAN_DFS_CFREQ2)) &&
|
||||
(conn_info->mode == PM_SAP_MODE ||
|
||||
conn_info->mode == PM_P2P_GO_MODE)) {
|
||||
conn_info->mode == PM_P2P_GO_MODE)) {
|
||||
session_id =
|
||||
pm_conc_connection_list[conn_index].vdev_id;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in a new issue