]> git.baikalelectronics.ru Git - kernel.git/commit
ath11k: change to use dynamic memory for channel list of scan
authorWen Gong <quic_wgong@quicinc.com>
Mon, 29 Nov 2021 11:09:39 +0000 (06:09 -0500)
committerKalle Valo <quic_kvalo@quicinc.com>
Tue, 7 Dec 2021 15:20:29 +0000 (17:20 +0200)
commit6f3abc72e70069910dc1d42aecc250b75305607b
treee3b79bfa1b1a11b875569466dec1fefb194dffec
parent04b932348f15203c57caf4d24402be3dc38bd040
ath11k: change to use dynamic memory for channel list of scan

Currently there are about 60 channels for 6 GHz, then the size of
chan_list in struct scan_req_params which is 40 is not enough to
fill all the channel list of 6 GHz.

Use dynamic memory to save the channel list of scan.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-01720.1-QCAHSPSWPL_V1_V2_SILICONZ_LITE-1

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211129110939.15711-1-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath11k/mac.c
drivers/net/wireless/ath/ath11k/wmi.h