From: Johannes Berg <johannes@sipsolutions.net>
To: Jouni Malinen <j@w1.fi>
Cc: Alan Stern <stern@rowland.harvard.edu>,
linux-wireless@vger.kernel.org, hostap@lists.infradead.org
Subject: Re: WiFi constantly changes association
Date: Wed, 28 Aug 2024 09:55:09 +0200 [thread overview]
Message-ID: <f6ea69035f7ff32edc2575765641689e469f764a.camel@sipsolutions.net> (raw)
In-Reply-To: <Zs7WegloyrfZdRu9@w1.fi>
On Wed, 2024-08-28 at 10:49 +0300, Jouni Malinen wrote:
> On Wed, Aug 28, 2024 at 09:19:05AM +0200, Johannes Berg wrote:
> > On Tue, 2024-08-27 at 15:09 -0400, Alan Stern wrote:
> > > Well, I'd prefer to avoid unnecessary roaming because of the short
> > > interruptions in service that it causes.
> >
> > Right, but the interruptions for you are much longer because it _fails_.
> > Perhaps wpa_supplicant should remember that, and not attempt to use FT
> > when it keeps failing.
>
> That depends on what exactly is failing..
Agree.
> I did not bother going through
> all the details of the debug log since it seemed to be missing
> something.
Also seems that way, yes, though not sure why.
But for example:
> wpa_supplicant[5906]: wlan0: FT: RSNE mismatch between Beacon/ProbeResp and FT protocol Reassociation Response frame
is something that perhaps could result in an FT-blocklist or something
for the BSSID in question, or perhaps even the whole network since it's
likely to be a single controller/unified installation or so.
> I did notice one of the APs using comeback mechanism which is
> a sign of the STA having an older entry on it and PMF being used. That
> is actually not a failure but part of the expected behavior for
> protecting against disconnection attacks. One would need to have a full
> log from the first initial connection to the point of a failed
> reassociation.
True.
> Ideally, I'd like to see that from wpa_supplicant stdout
> with -ddt on the command line instead of syslog.
Right ... That needs more arguments to integrate with NetworkManager (or
configuration to have at least dbus), but I'm not sure how exactly
that'd work and how you'd stop the system one.
Actually if it's with systemd then that/journal will log everything from
the stdout/stderr, just not necessarily in the syslog - so perhaps
adding -t in addition to -dd and then using
journalctl -u wpa_supplicant
would work.
johannes
next prev parent reply other threads:[~2024-08-28 7:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-26 19:06 WiFi constantly changes association Alan Stern
2024-08-26 19:14 ` Johannes Berg
2024-08-26 19:19 ` Johannes Berg
2024-08-27 19:09 ` Alan Stern
2024-08-28 7:19 ` Johannes Berg
2024-08-28 7:49 ` Jouni Malinen
2024-08-28 7:55 ` Johannes Berg [this message]
2024-08-28 8:50 ` Jouni Malinen
2024-08-28 18:02 ` Alan Stern
2024-08-28 19:00 ` Jouni Malinen
2024-08-28 19:07 ` Alan Stern
2024-08-28 19:17 ` Jouni Malinen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f6ea69035f7ff32edc2575765641689e469f764a.camel@sipsolutions.net \
--to=johannes@sipsolutions.net \
--cc=hostap@lists.infradead.org \
--cc=j@w1.fi \
--cc=linux-wireless@vger.kernel.org \
--cc=stern@rowland.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox