wcn36xx: Enable hardware scan offload for 5Ghz band
authorLoic Poulain <loic.poulain@linaro.org>
Mon, 18 Oct 2021 10:57:58 +0000 (12:57 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Wed, 27 Oct 2021 07:41:44 +0000 (10:41 +0300)
commit2371b15f8eeb5fb2c5f323ad4d4ea221277ac21e
treeda6742d6a8559c6499d69e29311c19d0b12cc23b
parent8a27ca39478270e07baf9c09aa0c99709769ba03
wcn36xx: Enable hardware scan offload for 5Ghz band

Until now, offload scanning for 5Ghz channels was considered broken.
However it was mostly a driver issue, caused by bad reporting of the
beacons/probe-resp bands and frequencies, which has been fixed.

We can now allow offload scan for 5GHz band, this reduces the scanning
time comparing to software driven scanning.

Note that offloaded scan is limited to 48 channels, check for this.

Signed-off-by: Loic Poulain <loic.poulain@linaro.org>
Tested-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1634554678-7993-2-git-send-email-loic.poulain@linaro.org
drivers/net/wireless/ath/wcn36xx/main.c