Search Linux Wireless

Re: [PATCH] wcn36xx: Set sw-scan chan to 0 when not associated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 31 Jul 2020 at 04:01, Bryan O'Donoghue
<bryan.odonoghue@xxxxxxxxxx> wrote:
>
> A patch in ath/pending rewrites the software scan for the wcn36xx to
> accommodate multiplexing with data, link monitoring and so on.
>
> However if a device disassociates from an AP then the last operating
> channel will not be re-scanned.
>
> After some discussion and testing on this topic
>
> https://www.spinics.net/lists/linux-wireless/msg201242.html
> https://www.spinics.net/lists/linux-wireless/msg201254.html
>
> this patch implements a relatively simple fix. It sets the initial software
> scan channel to 0 if we are not associated with an AP or to the current
> operating channel if we are assciated with an AP.
>
> Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@xxxxxxxxxx>
> ---
>  drivers/net/wireless/ath/wcn36xx/main.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)

That looks good to me, that will force regular scanning on all channels
when disconnected from AP.

Reviewed-by: Loic Poulain <loic.poulain@xxxxxxxxxx>



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux