Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2020 11:51:58 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Adrian Chadd <adrian.chadd@gmail.com>
Cc:        Lars Engels <lars.engels@0x20.net>, "freebsd-wireless@freebsd.org" <wireless@freebsd.org>
Subject:   Re: open networks
Message-ID:  <af8b7ebf-8e1a-a6a9-461d-0a05efcaf0bb@FreeBSD.org>
In-Reply-To: <c0ded593-2898-24eb-8a84-c29c224ca8e0@FreeBSD.org>
References:  <91675382-a12b-21ae-3c3f-de3b1c5ec250@FreeBSD.org> <ea92e5a74ee2e352fa5db8040d7b02f0@0x20.net> <15ceb28c-e8f2-a7c4-7c58-898682168969@FreeBSD.org> <CAJ-Vmokjb7qpQ6_2ZTgckPS1DNN-2RFL=6RRamSOfmdUfMbxBg@mail.gmail.com> <b4442c74-0a9f-0fbd-57b7-f9461c0c6dee@FreeBSD.org> <CAJ-Vmo=HNUsuzffqe5A5xEEkshcr8bf84gcs-U6uRhvMxPz2wA@mail.gmail.com> <c0ded593-2898-24eb-8a84-c29c224ca8e0@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?af8b7ebf-8e1a-a6a9-461d-0a05efcaf0bb>