linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Lamparter <chunkeey@googlemail.com>
To: Wade Fitzpatrick <wade.fitzpatrick@gmail.com>
Cc: linux-wireless@vger.kernel.org
Subject: Re: ar9170usb slow / poor performance
Date: Mon, 6 Dec 2010 14:14:27 +0100	[thread overview]
Message-ID: <201012061414.27159.chunkeey@googlemail.com> (raw)
In-Reply-To: <4CFCA416.1010505@gmail.com>

On Monday 06 December 2010 09:51:34 Wade Fitzpatrick wrote:
> I have 2 USB wireless dongles:
>   - Generic Realtek RTL8187 using rtl8187 driver
>   - Netgear WN111v2 [Atheros AR9001-U(2)NG] using ar9170usb driver
> 
> Performance of the Netgear has degraded severely since updating to Arch 
> Linux kernel 2.6.36.1-3 from 2.6.35.4-2, also reported by 
> http://article.gmane.org/gmane.linux.kernel.wireless.general/59911

here's a list of all changes to ar9170usb during 2.6.35-2.6.36:

git log v2.6.35..v2.6.36 --format=oneline drivers/net/wireless/ath/ar9170/ ->
5db5584441c drivers/net/wireless: Restore upper case words in wiphy_<level> messages
a55427e8284 ar9170: add get_survey callback in order to get channel noise
c96c31e499b drivers/net/wireless: Use wiphy_<level>

I don't think any of these changes would cause such problems.

> # iwconfig
Don't use iwconfig. iwconfig and other tools like iwlist, iwspy and
iwevent are obsolete and deprecated.

What you want is: "iw dev wlanX link" instead.
<http://wireless.kernel.org/en/users/Documentation/iw/replace-iwconfig>
<http://wireless.kernel.org/en/users/Documentation/iw>
> wlan0     IEEE 802.11bgn  ESSID:"waddles"
>            Mode:Managed  Frequency:2.412 GHz  Access Point: 00:22:3F:07:42:F3
>            Bit Rate=117 Mb/s   Tx-Power=20 dBm
>            Link Quality=34/70  Signal level=-76 dBm
117 MBits/s, so ar9170usb? must be sending with 802.11n MCS rates. 

> wlan1     IEEE 802.11bg  ESSID:"waddles"
>            Mode:Managed  Frequency:2.412 GHz  Access Point: 00:22:3F:07:42:F3
>            Bit Rate=36 Mb/s   Tx-Power=20 dBm
>            Link Quality=44/70  Signal level=-66 dBm
where as rtl8187 only sticks to b/g rates.

for a fair comparison, I would recommend that both drivers should
stick to b/g. So you could either disable minstrel_ht, or patch
the driver (patch attached... just scroll down).

Or is it the other way round and ar9170usb is wlan1?
> I have also tried using the carl9170 driver (2010_12_02) with 
> compat-wireless and carl9170-fw (1.9.1-1) but I found 'iwconfig' would 
> segfault when it tried to display ath0.
ath0? neither ar9170usb nor carl9170 (in fact no mac80211 driver)
names the interface "ath0". Only the original vendor driver "otus"
did that.

Regards,
	Chr

---
diff --git a/drivers/net/wireless/ath/ar9170/main.c b/drivers/net/wireless/ath/ar9170/main.c
index 32bf79e..cb2d1a7 100644
--- a/drivers/net/wireless/ath/ar9170/main.c
+++ b/drivers/net/wireless/ath/ar9170/main.c
@@ -145,7 +145,7 @@ static struct ieee80211_channel ar9170_5ghz_chantable[] = {
 
 #define AR9170_HT_CAP							\
 {									\
-	.ht_supported	= true,						\
+	.ht_supported	= false,					\
 	.cap		= IEEE80211_HT_CAP_MAX_AMSDU |			\
 			  IEEE80211_HT_CAP_SUP_WIDTH_20_40 |		\
 			  IEEE80211_HT_CAP_SGI_40 |			\

  parent reply	other threads:[~2010-12-06 13:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  8:51 ar9170usb slow / poor performance Wade Fitzpatrick
2010-12-06  9:39 ` Mohammed Shafi
2010-12-06 13:14 ` Christian Lamparter [this message]
2010-12-06 15:15   ` Wade Fitzpatrick
     [not found]   ` <4CFCFD6A.8040700@gmail.com>
2010-12-06 15:32     ` 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=201012061414.27159.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).