From: Denis Kenzior <denkenz at gmail.com>
To: iwd at lists.01.org
Subject: Re: [PATCH] station: Move netconfig_reset() to common path
Date: Wed, 29 Sep 2021 18:09:12 -0500 [thread overview]
Message-ID: <c545c951-dcf0-4e55-b426-65dc915dfb43@gmail.com> (raw)
In-Reply-To: CAOq732KhfeRcqU1_ss+gSQBgPY_w42s-Ac3dkOp8A2_J75EQFA@mail.gmail.com
[-- Attachment #1: Type: text/plain, Size: 1690 bytes --]
Hi Andrew,
>> Now, maybe some elements of what the connect failed path does might be needed in
>> this failure case. But to determine that we would need to know why the
>> disconnect happens? How often? Is it every time? Sometimes? Once in a blue moon,
>> etc.
>
> Unfortunately this applies to most failure modes in a connection (at
> 802.11 level or at IP level -- for the user they're the same thing)
I agree, but details matter. So what is it you're proposing exactly?
> and I think the binary blacklisted/not blacklisted model we use
> doesn't really work. IIRC my initial patches used a different model
> where the blacklist was a kind of penalty list where BSSes and/or
> networks that fail more often are pushed further in the priority list.
I remember, but we have since moved on from that model of autoconnect. We
autoconnect networks now, not individual BSSes. Eventually we will move to a
network priority model in the future where the user will specify the priority of
a given network for autoconnect. Blacklisting within the network is a different
topic. Also note that we have two levels of blacklisting, so it isn't quite as
simple as you describe.
> In the end when we've tried all the BSSes in range we have nothing to
> lose by retrying some of the ones we've already tried, we just don't
> want to put them before other BSSes. This can be done in a way that
We do that already.
> over time the list converges to sorted by how often a network/bss
> fails.
>
> This also allows you to learn from some very clear cues that we're not
> handling, like a user manually switching to another network.
Regards,
-Denis
next reply other threads:[~2021-09-29 23:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-29 23:09 Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-09-29 23:14 [PATCH] station: Move netconfig_reset() to common path Andrew Zaborowski
2021-09-29 22:46 Denis Kenzior
2021-09-29 22:20 Andrew Zaborowski
2021-09-29 22:07 Denis Kenzior
2021-09-29 22:05 Andrew Zaborowski
2021-09-29 19:51 Denis Kenzior
2021-09-29 16:42 Andrew Zaborowski
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=c545c951-dcf0-4e55-b426-65dc915dfb43@gmail.com \
--to=iwd@lists.linux.dev \
/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