All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jouni Malinen <jouni@qca.qualcomm.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] ath9k not connecting to one particular network..
Date: Mon, 25 Mar 2013 12:12:51 +0200	[thread overview]
Message-ID: <20130325101251.GA8819@jouni.qca.qualcomm.com> (raw)
In-Reply-To: <CA+55aFw+SGHqFvbVpZmjGAfW_G5PikGyjFqszv-Q1RX5D7b08Q@mail.gmail.com>

On Mon, Mar 25, 2013 at 02:23:52AM -0700, Linus Torvalds wrote:
> Apparently this really is NetworkManager doing something wrong.
> 
> I'm running F18, so doing
> 
>         systemctl stop NetworkManager.service
>         ifconfig wlan0 up
>         iwlist scan
>         wpa_passphrase *essid* *password* > wpa_conf.txt
>         wpa_supplicant -i wlan0 -c wpa_conf.txt
> 
> and then
> 
>         dhclient wlan0
> 
> worked.

Did you happen to notice whether wpa_supplicant showed more than one
attempt at associating with the AP?

> Presumably NetworkManager should do the same, but doesn't. Or
> more likely, does something *more*, and that "something more" ends up
> confusing the driver and resetting.

It could be helpful to get wpa_supplicant debug output from both the
successful case (running it with manual configuration) and with NM
running it. I haven't done much debugging with NM, but this page seems
to show some guidance on how to collect the latter:
https://live.gnome.org/NetworkManager/Debugging
(for the former, just add -ddt on wpa_supplicant command line)

> Interestingly, the kernel messages from doing this were different:
> 
>   wlan0: RX AssocResp from 50:46:5d:02:85:08 (capab=0x411 status=0 aid=16)
> 
> notice how now it says "aid=16" instead of "aid=10". WTF?

That is likely irrelevant to the issue here. The AP usually allocates
the next available Association ID for the station and the exact value
depends on what other stations are currently associated. The only area
where this would have an effect during the association is in power
saving (buffered frames on the AP are indicated for a specific AID).

-- 
Jouni Malinen                                            PGP id EFC895FA

  parent reply	other threads:[~2013-03-25 10:12 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-25  4:06 [ath9k-devel] ath9k not connecting to one particular network Linus Torvalds
2013-03-25  4:22 ` Outback Dingo
2013-03-25  9:05   ` Linus Torvalds
2013-03-25  4:26 ` Joel Wirāmu Pauling
2013-03-25  9:23   ` Linus Torvalds
2013-03-25  9:38     ` Linus Torvalds
2013-03-25 10:12     ` Jouni Malinen [this message]
2013-03-25 10:38       ` Linus Torvalds
2013-03-25 11:06         ` Linus Torvalds
2013-03-25 11:30           ` Jouni Malinen
2013-03-25 12:17             ` Joel Wirāmu Pauling
2013-03-25 12:46               ` Jouni Malinen
2013-03-25 16:04             ` Linus Torvalds
2013-03-25 16:35               ` Jouni Malinen
2013-03-25 16:42                 ` Linus Torvalds
2013-03-25 18:03                   ` Peter Stuge
2013-03-25 19:01                     ` Adrian Chadd
2013-03-26  2:12                   ` Linus Torvalds
2013-03-26  9:58                     ` Jouni Malinen
2013-03-26 10:28                       ` Peter Stuge
2013-03-26 13:56                       ` Dan Williams
2013-03-26 15:25                       ` Linus Torvalds
2013-03-26 15:40                         ` Jouni Malinen
2013-03-26 19:20                           ` Luis R. Rodriguez
2013-03-26 19:20                             ` Luis R. Rodriguez
2013-03-25 10:43     ` Oleksij Rempel
2013-03-25  5:38 ` Adrian Chadd

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=20130325101251.GA8819@jouni.qca.qualcomm.com \
    --to=jouni@qca.qualcomm.com \
    --cc=ath9k-devel@lists.ath9k.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 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.