linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Adrian Chadd <adrian@freebsd.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: "Luis R. Rodriguez" <mcgrof@do-not-panic.com>,
	Kalle Valo <kvalo@codeaurora.org>,
	QCA ath9k Development <ath9k-devel@qca.qualcomm.com>,
	Linux Wireless List <linux-wireless@vger.kernel.org>,
	"ath9k-devel@lists.ath9k.org" <ath9k-devel@lists.ath9k.org>
Subject: Re: AR9462 problems connecting again..
Date: Sun, 22 Feb 2015 16:54:58 -0800	[thread overview]
Message-ID: <CAJ-VmomoWa_tC4ytbLp=3CbVDCv5XCyQai3X8R3TqJtCm=s91w@mail.gmail.com> (raw)
In-Reply-To: <CA+55aFwxqnLCcfaW36pa4aFW_S3EtLvAb4Z6NowjUV6btog+6w@mail.gmail.com>

On 22 February 2015 at 15:00, Linus Torvalds
<torvalds@linux-foundation.org> wrote:
> On Sun, Feb 22, 2015 at 1:50 PM, Linus Torvalds
> <torvalds@linux-foundation.org> wrote:
>>
>> Ugh. When I add "-dd" to the command line, it has now worked three
>> times in a row, when before it worked once out of ten tries.
>>
>> So my guess is that it's something timing-dependent.
>
> So it stays working with -dd, but I do get *occasional* failures that
> then seem to clear up on retry. So it ends up working in the end, but
> I think I have a few example failures in the logs.
>
> So for example, from my dmesg, I get this:
>
> [14:07:15] wlp1s0: authenticate with 20:9f:db:e7:80:80
> [14:07:15] wlp1s0: send auth to 20:9f:db:e7:80:80 (try 1/3)
> [14:07:15] wlp1s0: send auth to 20:9f:db:e7:80:80 (try 2/3)
> [14:07:15] wlp1s0: send auth to 20:9f:db:e7:80:80 (try 3/3)
> [14:07:15] wlp1s0: authentication with 20:9f:db:e7:80:80 timed out
> [14:07:18] wlp1s0: authenticate with 20:9f:db:e7:80:80
> [14:07:18] wlp1s0: send auth to 20:9f:db:e7:80:80 (try 1/3)
> [14:07:18] wlp1s0: authenticated
> [14:07:18] wlp1s0: associate with 20:9f:db:e7:80:80 (try 1/3)
> [14:07:18] wlp1s0: RX AssocResp from 20:9f:db:e7:80:80 (capab=0x431
> status=0 aid=16)
> [14:07:18] wlp1s0: associated
> [14:07:22] wlp1s0: deauthenticated from 20:9f:db:e7:80:80 (Reason:
> 2=PREV_AUTH_NOT_VALID)
>
> with another failure at 14:07:22, but then it ends up working a bit
> later at 14:07:33.
>
> I've got the wpa supplicant log for this timeframe, but I'd rather not
> send it out in public. I see "[REMOVED] for what looks like the key
> data, but there's a lot of other hex data. Is any of it sensitive?

I /think/ it's okay? The removed stuff is the pre-shared key pieces.

So if I were debugging this (on any OS); I'd start by looking at
what's going on over the air. I'd be worried that there's something
failing to transmit right / be heard by the recipient. In the past
it's been things like EAPOL frames not going out at basic rate (and
listening to the rate control code for what rate it should be
transmitted at) and that makes it transmit at rates wholly unsuited
for the initial handshake.

Do you have another laptop with an atheros NIC in it that you could
use in monitor mode to capture all the frames?

(Also, you can email me the log file privately if you'd like.)



-adrian

  reply	other threads:[~2015-02-23  0:54 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 [this message]
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
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='CAJ-VmomoWa_tC4ytbLp=3CbVDCv5XCyQai3X8R3TqJtCm=s91w@mail.gmail.com' \
    --to=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).