Re: open networks
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 ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
On 26/05/2020 00:29, Adrian Chadd wrote: > Yeah, it's a bit wrong. look at the ifieee80211.c code to see. This > isn't the station in "list sta"; /there/ it's in power save. Scan it's > protection. > Interesting. 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. > On Mon, 25 May 2020 at 14:11, Andriy Gapon wrote: >> >> On 26/05/2020 00:00, Adrian Chadd wrote: >>> I though it was documented, but apparently not? It's 'P' in CAPS. >>> That's privacy. >> >> ifconfig(8) says: >> Depending on the capabilities of the stations the following >> flags >> can be included in the output: >> ... >> PPower Save. Indicates that the station is operating in >> power save mode. >> >> -- >> Andriy Gapon -- Andriy Gapon ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
Yeah, it's a bit wrong. look at the ifieee80211.c code to see. This isn't the station in "list sta"; /there/ it's in power save. Scan it's protection. -a On Mon, 25 May 2020 at 14:11, Andriy Gapon wrote: > > On 26/05/2020 00:00, Adrian Chadd wrote: > > I though it was documented, but apparently not? It's 'P' in CAPS. > > That's privacy. > > ifconfig(8) says: > Depending on the capabilities of the stations the following flags > can be included in the output: > ... > PPower Save. Indicates that the station is operating in > power save mode. > > -- > Andriy Gapon ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
On 26/05/2020 00:00, Adrian Chadd wrote: > I though it was documented, but apparently not? It's 'P' in CAPS. > That's privacy. ifconfig(8) says: Depending on the capabilities of the stations the following flags can be included in the output: ... PPower Save. Indicates that the station is operating in power save mode. -- Andriy Gapon ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
On Mon, 25 May 2020 at 12:48, Andriy Gapon wrote: > > On 25/05/2020 14:00, Lars Engels wrote: > > Am 2020-05-25 08:48, schrieb Andriy Gapon: > >> How to tell from ifconfig wlan scan output which networks are open? > >> Thanks! > > ^ > > ifconfig -v list scan > > So, still, how do I tell which of them are open? It should be documented in man ifconfig but it isn't completely in sync with getcaps() in sbin/ifconfig/ifieee80211.c . Hm. I though it was documented, but apparently not? It's 'P' in CAPS. That's privacy. -adrian > > -- > Andriy Gapon > ___ > freebsd-wireless@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org" ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
On 25/05/2020 14:00, Lars Engels wrote: > Am 2020-05-25 08:48, schrieb Andriy Gapon: >> How to tell from ifconfig wlan scan output which networks are open? >> Thanks! > ^ > ifconfig -v list scan So, still, how do I tell which of them are open? -- Andriy Gapon ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"
Re: open networks
Am 2020-05-25 08:48, schrieb Andriy Gapon: How to tell from ifconfig wlan scan output which networks are open? Thanks! ^ ifconfig -v list scan ___ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"