diff options
author | Venkateswara Naralasetty <quic_vnaralas@quicinc.com> | 2022-02-09 19:43:39 +0530 |
---|---|---|
committer | Kalle Valo <quic_kvalo@quicinc.com> | 2022-02-14 19:46:26 +0200 |
commit | 4f6dd92305f74c43f09e2ff867011e0029ee0e0d (patch) | |
tree | 1f98723fa72b4f65662a9f36f827b286658348f8 /drivers/usb/cdns3/cdns3-ti.c | |
parent | 5ed98fb704d97894a2c7217989fd8290e4b7b985 (diff) |
ath11k: fix radar detection in 160 Mhz
Radar detection fails in the secondary 80 MHz when the
the AP's primary 80 MHz is in non-DFS region in 160 MHz.
This is due to WMI channel flag WMI_CHAN_INFO_DFS_FREQ2 is not set
properly in case of the primary 80 MHz is in non-DFS region.
HALPHY detects the radar pulses in the secondary 80 MHz only when
WMI_CHAN_INFO_DFS_FREQ2 is set.
Fix this issue by setting WMI channel flag WMI_CHAN_INFO_DFS_FREQ2
based on the radar_enabled flag from the channel context.
Tested-on: QCN9074 hw1.0 PCI WLAN.HK.2.5.0.1-01100-QCAHKSWPL_SILICONZ-1
Signed-off-by: Venkateswara Naralasetty <quic_vnaralas@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/1644416019-820-2-git-send-email-quic_vnaralas@quicinc.com
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions