linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jouni Malinen <j@w1.fi>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Adrian Chadd <adrian@freebsd.org>,
	"Luis R. Rodriguez" <mcgrof@do-not-panic.com>,
	Kalle Valo <kvalo@codeaurora.org>,
	QCA ath9k Development <ath9k-devel@qca.qualcomm.com>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>,
	Linux Wireless List <linux-wireless@vger.kernel.org>
Subject: Re: AR9462 problems connecting again..
Date: Tue, 24 Feb 2015 01:13:23 +0200	[thread overview]
Message-ID: <20150223231323.GA31115@w1.fi> (raw)
In-Reply-To: <CA+55aFzpmD+XOF4PTePgi6WnRTyXbVUQxc7kgwvmFbfG_2VoTg@mail.gmail.com>

On Mon, Feb 23, 2015 at 03:00:39PM -0800, Linus Torvalds wrote:
> On Mon, Feb 23, 2015 at 2:43 PM, Jouni Malinen <j@w1.fi> wrote:
> >
> > This did not get exactly supportive response when this was proposed last
> > time (Sep 2013). Anyway, for a quick test, this can be done with the
> > following one-liner:
> 
> fwiw, that one-liner seems to work fine for me.

Good to know. That seems to confirm that the issue is most likely in
some of the higher HT rates not working with that AP for some reason at
least for EAPOL frames immediately following the association. This
should really have worked since I'm pretty sure minstrel will add a
lower MCS index as a fallback rate, but maybe there are some interop
issues or just close enough to being below the required signal strength
(though, I'd find that somewhat unlikely unless there is something
messed up with the antennas etc. taken into account your description on
how close the devices are and what's between them).

> Side note: I've done the "turn off wifi and turn it back on" several
> times to test that patch, and it has worked every time. BUT I also see
> this odd behavior where the logs show that it tries to authenticate
> twice: the first time it does that "send auth to 20:9f .." thing three
> times (looks like 100ms apart), and nothing happens so it does
> "authentication with 20:9f .. timed out". Then it waits three seconds
> and tries again, and now it succeeds on the first try.
> 
> The only downside of that seems to be that it takes an extra 3s to
> connect to the network - but it does now seem to *reliably* connect -
> so it's not a big problem, but I wonder why it should be that
> repeatable. Is there some difference between the first and the second
> time it tries to authenticate?

There have been some issues in this area in the past, but it is a bit
difficult to say what could have caused it here without a wireless
capture from the operating channel of the AP. It is possible that those
Authentication frames were not actually transmitted due to some issue or
they could have even been sent out on incorrect channel, etc. That
shouldn't really happen that frequently (i.e., others should be seeing
and reporting this as well..), but it's possible something gets messed
up in channel configuration.

> Anyway, even if people don't like that particular patch, it does seem
> like *something* like that should be done.

Agreed. Just need to figure out a suitable compromise somewhere in the
middle of the minimum and close-to-maximum rates. As far as ath9k is
concerned, it would actually support four different rates for retry
series where minstrel uses only three, so it would be easy even for that
driver on its own to add a lower rate at the end if we cannot find
consensus on something more generic in mac80211. That said, I'd rather
see minstrel getting more conservative for EAPOL frames.

-- 
Jouni Malinen                                            PGP id EFC895FA

  reply	other threads:[~2015-02-23 23:13 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-21 23:34 AR9462 problems connecting again Linus Torvalds
2015-02-22  6:50 ` Sujith Manoharan
2015-02-22 17:55   ` Linus Torvalds
2015-02-22 18:24 ` Adrian Chadd
2015-02-22 18:30   ` Linus Torvalds
2015-02-22 18:58     ` [ath9k-devel] " Dave Taht
2015-02-22 21:45       ` Linus Torvalds
     [not found]         ` <CAM9PttgYK3e75c2XZ6G2nPXw=UR95-xVwO0LBqrXRPFcABkgTA@mail.gmail.com>
2015-02-22 21:56           ` Kyle Bassett
2015-02-22 19:39     ` Adrian Chadd
2015-02-22 21:50       ` Linus Torvalds
2015-02-22 23:00         ` Linus Torvalds
2015-02-23  0:54           ` Adrian Chadd
2015-02-23  1:41             ` Linus Torvalds
2015-02-23  1:55               ` Adrian Chadd
2015-02-23  1:59                 ` Linus Torvalds
2015-02-23  2:05                 ` Adrian Chadd
2015-02-23  5:46               ` [ath9k-devel] " Sujith Manoharan
2015-02-23  6:01                 ` Sujith Manoharan
2015-02-23 10:37               ` Jouni Malinen
2015-02-23 10:55                 ` wim torfs
2015-02-23 11:05                   ` Jouni Malinen
2015-02-23 17:17               ` Jouni Malinen
2015-02-23 18:00                 ` Emmanuel Grumbach
2015-02-23 20:06                 ` Linus Torvalds
2015-02-23 20:11                   ` Linus Torvalds
2015-02-23 21:30                   ` Jouni Malinen
2015-02-23 21:53                     ` Linus Torvalds
2015-02-23 22:22                       ` Adrian Chadd
2015-02-23 22:43                         ` Jouni Malinen
2015-02-23 23:00                           ` Linus Torvalds
2015-02-23 23:13                             ` Jouni Malinen [this message]
2015-02-24  0:29                           ` Sujith Manoharan
     [not found]                             ` <CAA_e5Z4zuDMS+CJvFbw4F5M9OZxgS-NZzL2E3d3GSvpRr_TbQw@mail.gmail.com>
2015-02-24  2:29                               ` Andrew McGregor
2015-02-24 10:26                                 ` Jouni Malinen
2015-02-24 16:58                                   ` [ath9k-devel] " Dave Taht
2015-02-24 17:54                                   ` Thomas Hühn
2015-02-24 18:14                                     ` Jouni Malinen
2015-02-24 22:38                                       ` Thomas Hühn
2015-02-24 22:50                                         ` Adrian Chadd
2015-02-25 14:53                                         ` Jouni Malinen
2015-02-25 20:52                                           ` Thomas Hühn
2015-02-25  5:00                                       ` Felix Fietkau
2015-02-25 14:47                                         ` Jouni Malinen
2015-02-25 18:14                                           ` Linus Torvalds
2015-02-25 18:25                                             ` Peter Stuge
2015-02-25 20:22                                             ` Adrian Chadd
2015-02-26  5:02                                               ` Andrew McGregor
2015-02-26  5:55                                             ` Linus Torvalds
2015-02-26 10:01                                               ` Arend van Spriel
2015-02-26 10:20                                             ` Jouni Malinen
2015-02-26 16:04                                               ` Peter Stuge
2015-02-26 19:03                                               ` Adrian Chadd
2015-02-23  1:24           ` Sujith Manoharan

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=20150223231323.GA31115@w1.fi \
    --to=j@w1.fi \
    --cc=adrian@freebsd.org \
    --cc=ath9k-devel@lists.ath9k.org \
    --cc=ath9k-devel@qca.qualcomm.com \
    --cc=kvalo@codeaurora.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mcgrof@do-not-panic.com \
    --cc=torvalds@linux-foundation.org \
    /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;
as well as URLs for NNTP newsgroup(s).