From: Sujith <m.sujith@gmail.com>
To: Mats Johannesson <spamcan1@abrasax.se>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [ath9k] 2.6.28-rc7-wl Kernel panic when "iwlist ath0 scan" as root
Date: Sun, 7 Dec 2008 20:53:51 +0530 [thread overview]
Message-ID: <18747.60039.401701.441103@localhost.localdomain> (raw)
In-Reply-To: <20081207150420.0f688772@loke.fish.not>
Mats Johannesson wrote:
> I've seen you asking this from other users, and like them I don't know
> about that HT-prefix. All i can give you is the configuration of my AP:
>
> _D-Link DIR-655 Access Point_
> Security Mode: WPA-Personal
> WPA Mode: WPA2 Only
> Cipher Type: AES
> 802.11 Mode : 802.11n only
> Wireless Channel : 2.412 GHz - CH 1
> Transmission Rate: Best (automatic)
> Channel Width: Auto 20/40 MHz
>
> So if it's the channel width you're asking about, then I have no user
> control of the 40 MHz. I can only choose 20 MHz or this Auto 20/40 MHz.
> The AP calls the shots here...
>
Right, and from the log below, it does choose HT40.
> The max throughput is not good, as you do know. 25 Mbits/sec on a sunny
> day with a good driver, 4.7 metres (15.4 feet) from the AP. And yes, I
> do have:
>
> CONFIG_MAC80211_RC_MINSTREL=y
> CONFIG_MAC80211_RC_DEFAULT_MINSTREL=y
> CONFIG_MAC80211_RC_DEFAULT="minstrel"
>
This shouldn't matter since ath9k doesn't use minstrel.
> Booted machine at 13:24:23. Pinged local and external machines around
> 13:25:10. Another ping session at 13:29:00 just to make sure the net
> still was ok. "iwlist ath0 scan" around 13:31:00. Tried ping
> unsuccessfully after that. Waited another five minutes, but nothing
> else showed up in the logs.
>
Yep, ping won't work after that. :)
> 13:24:30 : ath0: authenticate with AP 00:1b:11:60:7a:3d
> 13:24:30 : ath0: authenticated
> 13:24:30 : ath0: associate with AP 00:1b:11:60:7a:3d
> 13:24:30 : ath0: RX AssocResp from 00:1b:11:60:7a:3d (capab=0x431 status=0 aid=4)
> 13:24:30 : ath0: associated
> 13:24:30 : ath9k: Choosing rate table for mode: 10
> 13:24:30 : ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: 15, cw_max: 1023, txop: 0
> 13:24:30 : ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: 15, cw_max: 1023, txop: 0
> 13:24:30 : ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 7, cw_max: 15, txop: 94
> 13:24:30 : ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 3, cw_max: 7, txop: 47
> 13:24:30 : ath9k: tx chmask: 5, rx chmask: 5
> 13:24:30 : ath9k: BSS Changed PREAMBLE 1
> 13:24:30 : ath9k: BSS Changed HT, chanwidth: 1
> 13:24:30 : ath9k: BSS Changed ASSOC 1
> 13:24:30 : ath9k: Bss Info ASSOC 4
> 13:24:30 : ath9k: tx chmask: 5, rx chmask: 5
> 13:24:30 : ath9k: bssid 00:1b:11:60:7a:3d aid 0x4
> 13:24:30 : ath9k: (2412 MHz) -> (2412 MHz), cflags:300e0, chanwidth: 1
This indicates that HT40 has been chosen.
The problem is this:
After association, ath9k has to set the appropriate channel width on doing
a scan and mac80211 comes back to the home channel. Currently there is no
such means to do that, and this why pinging fails.
We'll work on a solution, but until then you would have to choose HT20 in your AP.
Sujith
next prev parent reply other threads:[~2008-12-07 15:26 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-06 10:34 [ath9k] 2.6.28-rc7-wl Kernel panic when "iwlist ath0 scan" as root Mats Johannesson
2008-12-06 12:45 ` Mats Johannesson
2008-12-06 14:25 ` John W. Linville
2008-12-06 15:13 ` Mats Johannesson
2008-12-06 14:52 ` Sujith
2008-12-06 17:05 ` Mats Johannesson
2008-12-06 17:52 ` Sujith
2008-12-06 19:22 ` Mats Johannesson
2008-12-07 3:02 ` Sujith
2008-12-07 14:04 ` Mats Johannesson
2008-12-07 15:23 ` Sujith [this message]
2008-12-07 16:29 ` Mats Johannesson
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=18747.60039.401701.441103@localhost.localdomain \
--to=m.sujith@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=spamcan1@abrasax.se \
/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