OSDN Git Service

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)
commitcea7f78d85f3f6ba05f43754600426b0e84abbbd
treee3b79bfa1b1a11b875569466dec1fefb194dffec
parent18ae1ab04525507ae5528245a6df004cacd0d39a
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