OSDN Git Service

wifi: ath12k: Identify DFS channel when sending scan channel list command
authorBaochen Qiang <quic_bqiang@quicinc.com>
Thu, 16 Mar 2023 04:11:44 +0000 (12:11 +0800)
committerKalle Valo <quic_kvalo@quicinc.com>
Wed, 22 Mar 2023 10:06:09 +0000 (12:06 +0200)
commit4c26033d75e414cf0c500055ec58511f93684d87
tree8cb4317f5d8de41644bed540d0bf6fb8bf5bd9bb
parentcbc0008c9b39ea95b5125ab77fb409d9a32a42e1
wifi: ath12k: Identify DFS channel when sending scan channel list command

WMI_CHAN_INFO_DFS flag should be set when configuring a DFS channel
included in scan channel list. Without it, firmware will not send a
probe request frame which is needed in connection to an AP configured
with hidden SSID/network_id. So fix this to allow probe request frames
to be sent in cases where a beacon frame has been seen on the channel
first.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20230316041144.7770-1-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath12k/wmi.c