open networks

Andriy Gapon avg at FreeBSD.org
Wed May 27 08:52:03 UTC 2020


On 26/05/2020 11:48, Andriy Gapon wrote:
> list scan and list ap(s) produce exactly the same output, I guess that they are
> just aliases.
> 
> Okay, looking at the code I see it.
> getcaps has this:
>         if (capinfo & IEEE80211_CAPINFO_PRIVACY)
>                 *cp++ = 'P';
> 
> getflags however has this:
>         if (flags & IEEE80211_NODE_PWR_MGT)
>                 *cp++ = 'P';
> 
> getcaps is what list scan / aps uses.
> getflags is used by list sta (stations), which I guess is what you actually meant.

My attempt to improve the manual: https://reviews.freebsd.org/D25014

-- 
Andriy Gapon


More information about the freebsd-wireless mailing list