Re: [PATCH] ACS: cover not-offloaded-ACS with hw_mode=any

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

 



The cleanup and fixes are better than that I wrote at the first. Learn
from this and thanks for kind guidance.

BR,
Neo Jou

Jouni Malinen <j@xxxxx>
>
> On Mon, Jan 13, 2020 at 04:31:28PM +0800, neojou@xxxxxxxxx wrote:
> > This patch is to extend the existing hw_mode=any to cover
> > the not-offloaded-ACS case.
> >
> > We DONOT duplicate for the mode HOSTAPD_MODE_IEEE80211ANY in
> > wpa_driver_nl80211_postprocess_modes(), so hostapd_select_hw_mode()
> > cannot find suitable hw_mode and iface->current_mode is NULL. Thus,
> > ACS code combine channels from multiple hw_mode lists, to determine
> > which channel needs to be surveyed. Thus, there are some patches in
> > src/ap/acs.c to handle the case that iface->current_mode is NULL,
> > and to combine channels.
> >
> > Also in hostapd_is_usable_chans() called by hostapd_check_chans(),
> > it updates the hw_mode, based on the frequency channel ACS picked.
> >
> > By this way, "hw_mode=any" can be used for not-offloaded-ACS case.
>
> Thanks, applied with some cleanup and fixes.
>
> --
> Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux