From: Christian Lamparter <chunkeey@googlemail.com>
To: Wade Fitzpatrick <wade.fitzpatrick@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: carl9170 connect/disconnect loop
Date: Tue, 7 Dec 2010 00:32:22 +0100 [thread overview]
Message-ID: <201012070032.23135.chunkeey@googlemail.com> (raw)
In-Reply-To: <AANLkTingL2eooC2+jH6nQVADKZBFemE=6eTQ_Vhx_Swx@mail.gmail.com>
On Monday 06 December 2010 23:44:49 Wade Fitzpatrick wrote:
> On 7 December 2010 04:41, Christian Lamparter <chunkeey@googlemail.com> wrote:
> > On Monday 06 December 2010 17:34:15 Wade Fitzpatrick wrote:
> >> options mac80211 ieee80211_default_rc_algo=minstrel
> > the problem with this is that carl9170 (or any other driver
> > that relies on minstrel_ht to supply 802.11n MCS rates)
> > are limited to the legacy rates (and physpeeds of 54Mbit)
>
> I tried carl9170 with minstrel_ht and by forcing to only use minstrel.
> Both times I get the same connect/disconnect loop happening every 1-2
> seconds:
so unlike ar9170usb, carl1970 fails regardless which rate control
algorithm is selected. Now that's very interesting!
> usb 2-5: reset high speed USB device using ehci_hcd and address 6
> usbcore: registered new interface driver carl9170
> usb 2-5: driver API: 1.9.0 2010-10-29 [1-1]
> usb 2-5: firmware API: 1.9.1 2010-12-06
> ath: EEPROM regdomain: 0x0
> ath: EEPROM indicates default country code should be used
> ath: doing EEPROM country->regdmn map search
> ath: country maps to regdmn code: 0x3a
> ath: Country alpha2 being used: US
> ath: Regpair used: 0x3a
> ieee80211 phy1: Selected rate control algorithm 'minstrel'
> Registered led device: carl9170-phy1::tx
> usb 2-5: Atheros AR9170 is registered as 'phy1'
> ADDRCONF(NETDEV_UP): wlan1: link is not ready
> wlan1: authenticate with 00:22:3f:07:42:f3 (try 1)
> wlan1: authenticated
> wlan1: associate with 00:22:3f:07:42:f3 (try 1)
> wlan1: RX AssocResp from 00:22:3f:07:42:f3 (capab=0x431 status=0 aid=3)
> wlan1: associated
> # iw event -f
> wlan1 (phy #1): deauth 00:22:3f:07:42:f3 -> 00:22:3f:8d:7b:05 reason
> 2: Previous authentication no longer valid [frame: c0 00 40 01 00 22
> 3f 8d 7b 05 00 22 3f 07 42 f3 00 22 3f 07 42 f3 70 00 02 00]
> wlan1 (phy #1): disconnected (by AP) reason: 2: Previous
> authentication no longer valid
> wlan1 (phy #1): scan started
> wlan1 (phy #1): scan finished: 2412 2417 2422 2427 2432 2437 2442 2447
> 2452 2457 2462, ""
> wlan1 (phy #1): auth 00:22:3f:07:42:f3 -> 00:22:3f:8d:7b:05 status: 0:
> Successful [frame: b0 00 40 01 00 22 3f 8d 7b 05 00 22 3f 07 42 f3 00
> 22 3f 07 42 f3 00 00 00 00 02 00 00 00]
> wlan1: new station 00:22:3f:07:42:f3
> I had the router/AP set to 145Mbit mode but changed it to 300Mbit mode
> with no difference.
> Where to from here?
mac80211 comes with some powerful debug tools.
Since you get the disconnects fairly quickly, you should
setup a wlan monitor.
<http://linuxwireless.org/en/users/Documentation/iw#Adding_interfaces_with_iw>
iw dev wlan1 interface add mon type monitor flags otherbss control
ifconfig mon up
This will give you a running monitor interface. Now, all you need is to
attach a network sniffer like wireshark, tcpdump, etc... to the "mon" interface.
just two things:
- the sniffer needs network/root privileges and
- try to avoid "promiscuous" mode
next, connect "wlan1" to your network and watch what 802.11 frames the
attached network sniffer picks up. After you acquired multiple "samples"
save the dump, (compress it) and send it to me (you probably want to
switch to "personal" mail for this, since WPA-PSKs can be retrieved from
these "network dump".)
Best Regards,
Chr
P.S.: It's past 00:00 here, so good night!
next prev parent reply other threads:[~2010-12-06 23:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-06 22:44 carl9170 connect/disconnect loop Wade Fitzpatrick
2010-12-06 23:32 ` Christian Lamparter [this message]
2010-12-09 5:46 ` Wade Fitzpatrick
2010-12-09 6:50 ` Christian Lamparter
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=201012070032.23135.chunkeey@googlemail.com \
--to=chunkeey@googlemail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=wade.fitzpatrick@gmail.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 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).