[PATCH v3] wcn36xx: Fix software-driven scan

Bryan O'Donoghue bryan.odonoghue at linaro.org
Tue Aug 25 07:09:35 EDT 2020


On 24/08/2020 17:53, Loic Poulain wrote:
> For software-driven scan, rely on mac80211 software scan instead
> of internal driver implementation. The internal implementation
> cause connection trouble since it keep the antenna busy during
> the entire scan duration, moreover it's only a passive scanning
> (no probe request). Therefore, let mac80211 manages sw scan.
> 
> Note: we fallback to software scan if firmware does not report
> scan offload support or if we need to scan the 5Ghz band (currently
> not supported by the offload scan...).
> 
> Signed-off-by: Loic Poulain <loic.poulain at linaro.org>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue at linaro.org>
> ---
>   v2: rebased on ath master and squashed with Bryan's fix:
>       wcn36xx: Set sw-scan chan to 0 when not associated
>   v3: finish_scan(): Always restore channel to operating chan

lgtm




More information about the wcn36xx mailing list