From: Andrej Podzimek <andrej@podzimek.org>
To: ath9k-devel@lists.ath9k.org
Subject: [ath9k-devel] Zyxel NWD-170n badly slow
Date: Fri, 17 Jul 2009 22:54:36 +0200 [thread overview]
Message-ID: <4A60E50C.5020000@podzimek.org> (raw)
In-Reply-To: <43e72e890907171059kfec2366qf7d8d8b50f67d575@mail.gmail.com>
>>> Are you using an ieee80211_regdom module parameter?
>> The ath9k module I use does not accept such a parameter. The same applies to
>> the mac80211 module. Maybe it's not in the vanilla kernel yet? Will try
>> something bleeding-edge ASAP (compat-wireless).
>
> Was just asking to see if you used it to understand better how your
> cfg80211 is coming up and with what parameters. I do not want you to
> use it but it is available through the cfg80211 module. Just ignore
> this then.
I had cfg80211 compiled into the kernel, not as a module. That's why I could not find out what module is supposed to take that parameter.
I recompiled the kernel to get the cfg80211 module, which is necessary for compat-wireless anyway. Compiled and installed today's compat-wireless afterwards. Added this to modprobe.conf:
options cfg80211 ieee80211_regdom=CZ
The device initialization now looks like this:
pcmcia_socket pcmcia_socket0: pccard: CardBus card inserted into slot 0
pci 0000:02:00.0: reg 10 32bit mmio: [0x000000-0x00ffff]
cfg80211: Calling CRDA for country: CZ
ath9k 0000:02:00.0: enabling device (0000 -> 0002)
ath9k 0000:02:00.0: PCI INT A -> Link[LNKB] -> GSI 5 (level, low) -> IRQ 5
cfg80211: Regulatory domain changed to country: CZ
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5150000 KHz - 5250000 KHz @ 40000 KHz), (N/A, 2301 mBm)
(5250000 KHz - 5350000 KHz @ 40000 KHz), (N/A, 2301 mBm)
(5470000 KHz - 5725000 KHz @ 40000 KHz), (N/A, 3000 mBm)
ath: EEPROM regdomain: 0x30
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: AM
ath: Regpair used: 0x30
phy0: Selected rate control algorithm 'ath9k_rate_control'
cfg80211: Calling CRDA for country: AM
cfg80211: Regulatory domain changed to country: AM
(start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
(2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
(5170000 KHz - 5250000 KHz @ 20000 KHz), (N/A, 1800 mBm)
(5250000 KHz - 5330000 KHz @ 20000 KHz), (N/A, 1800 mBm)
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=0xf0b80000, irq=5
Now this is how it worked:
WMM QoS off, 20 MHz channels: about 24 Mb/s, like 802.11g
WMM QoS off, 40 MHz channels: about 10 Mb/s, really bad
WMM QoS ON, 20 MHz channels: about 60 Mb/s
WMM QoS ON, 40 MHz channels: about 56 Mb/s, 60 Mb/s peaks
WMM QoS is just a checkbox in the router's web interface. ;-) I don't know what it exactly does. When I configured this WMM stuff with MadWifi and hostapd, there were at least 30 different settings, not just yes/no. I never thought WMM could influence transfer rates when one client talks to one AP. The checkbox probably does much more than just WMM.
I experimented with iw channel settings, especially HT20, HT40+ and HT40-. However, it either didn't influence the speed in any way, or killed the connection. (The latter is not surprising...) I don't know whether the AP uses HT40+ or HT40-. When wide channels are enabled on the AP, both settings work on the client.
To sum up, the current speed is better than 802.11g, but no better than Atheros' g+.
Maybe I should try the debugfs stuff to get more output data. Would that be helpful, or just loss of time?
There's one more problem I didn't mention. The router was bought here (Czech Republic) and conforms to ETSI, whereas the PCIMCIA card comes from the USA. They both conform to Draft 2.0, but it seems there's some strange compatibility issue.
Andrej
next prev parent reply other threads:[~2009-07-17 20:54 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-17 16:03 [ath9k-devel] Zyxel NWD-170n badly slow Andrej Podzimek
2009-07-17 16:30 ` Luis R. Rodriguez
2009-07-17 17:31 ` Andrej Podzimek
2009-07-17 17:59 ` Luis R. Rodriguez
2009-07-17 20:54 ` Andrej Podzimek [this message]
2009-07-17 21:24 ` Luis R. Rodriguez
2009-07-17 23:42 ` Andrej Podzimek
2009-07-17 23:46 ` Ashish Sharma
2009-07-18 0:08 ` Andrej Podzimek
2009-07-25 13:50 ` Andrej Podzimek
2009-07-25 14:16 ` [ath9k-devel] Zyxel NWD-170n warning Andrej Podzimek
2009-07-27 19:23 ` Luis R. Rodriguez
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=4A60E50C.5020000@podzimek.org \
--to=andrej@podzimek.org \
--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.