From: Tamas Selmeci <tselmeci@dension.com>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Why not running at n speed?
Date: Tue, 03 Feb 2009 10:40:50 +0100 [thread overview]
Message-ID: <49881122.4070600@dension.com> (raw)
Hi all!
I'm using AR5416-based (TP-Link TL-WN861N) n-card with ath9k
(compat-wireless-2009-01-25) with 2.6.27-rc6 kernel on ARM (Intel XScal
IXP425). We have two Netgear n-routers, but the connection speed
(measured by simple FTP transfer) doesn't seem to be 'n'. ~2 weeks ago
there was a thread on this list about n speed, I made a quick compare
between my logs and the logs found on the list, and noticed that my card
never operates on 5Ghz frequencies.
(The card is switched to DE regulatory)
Do you have any idea? What is wrong?
Here are the logs:
With router Netgear WNR854T:
[...]
wlan0: RX AssocResp from c39aa02a (capab=0x411 status=0 aid=1)
wlan0: associated
ath9k: Choosing rate table for mode: 10
ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 7, cw_max: 15,
txop: 94
ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 3, cw_max: 7,
txop: 47
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 5, rx chmask: 5
ath9k: (2427 MHz) -> (2427 MHz), chanwidth: 1
ath9k: BSS Changed PREAMBLE 1
ath9k: BSS Changed CTS PROT 1
ath9k: BSS Changed ASSOC 1
ath9k: Bss Info ASSOC 1, bssid: c2dc2dc8
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
With router Netgear WNR2000:
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
(5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
(5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
ath9k: 0.1
PCI: enabling device 0000:00:02.0 (0140 -> 0142)
ath9k: Rate: 1Mbps, ratecode: 27
ath9k: Rate: 2Mbps, ratecode: 26
ath9k: Rate: 5Mbps, ratecode: 25
ath9k: Rate: 11Mbps, ratecode: 24
ath9k: Rate: 6Mbps, ratecode: 11
ath9k: Rate: 9Mbps, ratecode: 15
ath9k: Rate: 12Mbps, ratecode: 10
ath9k: Rate: 18Mbps, ratecode: 14
ath9k: Rate: 24Mbps, ratecode: 9
ath9k: Rate: 36Mbps, ratecode: 13
ath9k: Rate: 48Mbps, ratecode: 8
ath9k: Rate: 54Mbps, ratecode: 12
ath9k: Rate: 6Mbps, ratecode: 11
ath9k: Rate: 9Mbps, ratecode: 15
ath9k: Rate: 12Mbps, ratecode: 10
ath9k: Rate: 18Mbps, ratecode: 14
ath9k: Rate: 24Mbps, ratecode: 9
ath9k: Rate: 36Mbps, ratecode: 13
ath9k: Rate: 48Mbps, ratecode: 8
ath9k: Rate: 54Mbps, ratecode: 12
ath9k: tx DMA: 512 buffers 1 desc/buf
ath9k: tx DMA map: ffc09000 (73728) -> 3940000 (73728)
ath9k: beacon DMA: 1 buffers 1 desc/buf
ath9k: beacon DMA map: ffc1b000 (144) -> 395f000 (144)
ath9k: cachelsz 32 rxbufsize 3872
ath9k: rx DMA: 512 buffers 1 desc/buf
ath9k: rx DMA map: ffc1c000 (73728) -> 3960000 (73728)
phy0: Selected rate control algorithm 'ath9k_rate_control'
cfg80211: Calling CRDA for country: DE
Registered led device: ath9k-phy0:radio
Registered led device: ath9k-phy0:assoc
Registered led device: ath9k-phy0:tx
Registered led device: ath9k-phy0:rx
phy0: Atheros AR5416 MAC/BB Rev:2 AR2122 RF Rev:81: mem=0xc4900000, irq=27
ath9k: Starting driver with initial channel: 2412 MHz
ath9k: Attach a VAP of type: 2
ath9k: BSS Changed PREAMBLE 0
ath9k: BSS Changed CTS PROT 0
cfg80211: Regulatory domain changed to country: DE
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5150000 KHz - 5255000 KHz @ 40000 KHz), (N/A, 2301 mBm)
(5470000 KHz - 5650000 KHz @ 40000 KHz), (N/A, 3000 mBm)
ath9k: Set HW RX filter: 0x0
ath9k: Set channel: 2412 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0
ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 31, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 31, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [2/1], aifs: 2, cw_min: 31, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [3/0], aifs: 2, cw_min: 31, cw_max:
1023, txop: 0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x10
ath9k: Set channel: 2412 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0
ath9k: Set channel: 2417 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2417 MHz), chanwidth: 0
ath9k: Set channel: 2422 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2417 MHz) -> (2422 MHz), chanwidth: 0
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2422 MHz) -> (2427 MHz), chanwidth: 0
ath9k: Set channel: 2432 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2427 MHz) -> (2432 MHz), chanwidth: 0
ath9k: Set channel: 2437 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2432 MHz) -> (2437 MHz), chanwidth: 0
ath9k: Set channel: 2442 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2437 MHz) -> (2442 MHz), chanwidth: 0
ath9k: Set channel: 2447 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2442 MHz) -> (2447 MHz), chanwidth: 0
ath9k: Set channel: 2452 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2447 MHz) -> (2452 MHz), chanwidth: 0
ath9k: Set channel: 2457 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2452 MHz) -> (2457 MHz), chanwidth: 0
ath9k: Set channel: 2462 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2457 MHz) -> (2462 MHz), chanwidth: 0
ath9k: Set channel: 2467 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2462 MHz) -> (2467 MHz), chanwidth: 0
ath9k: Set channel: 2472 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2467 MHz) -> (2472 MHz), chanwidth: 0
ath9k: Set channel: 2412 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2472 MHz) -> (2412 MHz), chanwidth: 0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x10
ath9k: Set channel: 2412 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2412 MHz), chanwidth: 0
ath9k: Set channel: 2417 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2417 MHz), chanwidth: 0
ath9k: Set channel: 2422 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2417 MHz) -> (2422 MHz), chanwidth: 0
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2422 MHz) -> (2427 MHz), chanwidth: 0
ath9k: Set channel: 2432 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2427 MHz) -> (2432 MHz), chanwidth: 0
ath9k: Set channel: 2437 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2432 MHz) -> (2437 MHz), chanwidth: 0
ath9k: Set channel: 2442 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2437 MHz) -> (2442 MHz), chanwidth: 0
ath9k: Set channel: 2447 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2442 MHz) -> (2447 MHz), chanwidth: 0
ath9k: Set channel: 2452 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2447 MHz) -> (2452 MHz), chanwidth: 0
ath9k: Set channel: 2457 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2452 MHz) -> (2457 MHz), chanwidth: 0
ath9k: Set channel: 2462 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2457 MHz) -> (2462 MHz), chanwidth: 0
ath9k: Set channel: 2467 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2462 MHz) -> (2467 MHz), chanwidth: 0
ath9k: Set channel: 2472 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2467 MHz) -> (2472 MHz), chanwidth: 0
ath9k: Set channel: 2412 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2472 MHz) -> (2412 MHz), chanwidth: 0
ath9k: Set HW RX filter: 0x0
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2412 MHz) -> (2427 MHz), chanwidth: 0
ath9k: RX filter 0x0 bssid c2dd4dc8 aid 0x0
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 1, rx chmask: 1
ath9k: (2427 MHz) -> (2427 MHz), chanwidth: 0
ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [2/1], aifs: 2, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [3/0], aifs: 2, cw_min: 15, cw_max:
1023, txop: 0
wlan0: authenticate with AP c2c3dcc8
wlan0: authenticated
wlan0: associate with AP c2c3dcc8
wlan0: RX AssocResp from c39b002a (capab=0x431 status=0 aid=2)
wlan0: associated
ath9k: Choosing rate table for mode: 10
ath9k: Configure tx [queue/halq] [2/1], aifs: 3, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [3/0], aifs: 7, cw_min: 15, cw_max:
1023, txop: 0
ath9k: Configure tx [queue/halq] [1/2], aifs: 2, cw_min: 7, cw_max: 15,
txop: 94
ath9k: Configure tx [queue/halq] [0/3], aifs: 2, cw_min: 3, cw_max: 7,
txop: 47
ath9k: Set channel: 2427 MHz
ath9k: tx chmask: 5, rx chmask: 5
ath9k: (2427 MHz) -> (2427 MHz), chanwidth: 1
ath9k: BSS Changed PREAMBLE 1
ath9k: BSS Changed ASSOC 1
ath9k: Bss Info ASSOC 2, bssid: c2dd4dc8
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
ath9k: Set HW RX filter: 0x0
Best regards,
--
Tamas Selmeci
R&D Engineer
next reply other threads:[~2009-02-03 9:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-03 9:40 Tamas Selmeci [this message]
2009-02-03 16:49 ` [ath9k-devel] Why not running at n speed? Luis R. Rodriguez
2009-02-03 17:27 ` Stephen Gutknecht
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=49881122.4070600@dension.com \
--to=tselmeci@dension.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.