All of lore.kernel.org
 help / color / mirror / Atom feed
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 17:46:08 -0500	[thread overview]
Message-ID: <ee756069-16b7-d191-3333-c021303c3096@gmail.com> (raw)
In-Reply-To: CAOq732L75EHicj1NQQuE_6YLUTcFHP7vo1u0RNXLPBrOKR2W+g@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 1315 bytes --]

Hi Andrew,

> I don't remember what the reasoning was, but station_connect_cb does
> handle some mechanisms that seem desirable here also, like trying the
> next bss from the autoconnect list immediately and blacklisting BSSes.

The connect failed path is generally used if the connection simply fails. 
Either due to an invalid password, or due to handshake timeout, or some other 
reason where the status_code can be returned by netdev.  Once we're successfully 
connected, and the driver/kernel decides to disconnect us due to a firmware 
crash/bug/whatever, then I'm not sure blacklisting the bss should be done. 
Besides, we already sent the dbus message reply, etc.

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.

> In this case it seems the problem was triggered by a driver problem
> (or our misunderstanding on when the radio is free for scanning) but
> if a specific BSS always fails during netconfig then we should
> blacklist it.
> 

Sure, but then these actions should be taken in the station_disassociated path, 
or a brand new path specifically for this case.

Regards,
-Denis

             reply	other threads:[~2021-09-29 22:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 22:46 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 23:09 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=ee756069-16b7-d191-3333-c021303c3096@gmail.com \
    --to=unknown@example.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.