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@xxxxxxxxxx> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx> --- 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