linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Status of carl9170
@ 2011-06-16 20:13 Thomas Novin
  2011-06-16 20:49 ` Christian Lamparter
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Novin @ 2011-06-16 20:13 UTC (permalink / raw)
  To: linux-wireless

Hello

I accidentally bought two TP-Link TL-WN821N v2 (accidentally because I
was going for v3). I've tried using them with compat-wireless (just now
tested with 2011-06-15) & the carl9170-driver.

When using these to connect to my Ubiquiti Power AP-N I get terrible
performance. Using another computer with some Broadcom 802.11g chip (b43
driver) it works OK.

For example, doing a 100 packet ping towards my LAN gateway and at the
same time trying to load a webpage.

--- 10.0.0.254 ping statistics ---
100 packets transmitted, 60 received, 40% packet loss, time 99229ms
rtt min/avg/max/mdev = 0.832/93.193/1264.009/292.193 ms, pipe 2

wlan0     IEEE 802.11bgn  ESSID:"POWERAPN"  
          Mode:Managed  Frequency:2.427 GHz  Access Point:
00:15:6D:9E:D2:A0
          Bit Rate=58.5 Mb/s   Tx-Power=20 dBm   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=64/70  Signal level=-46 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:4  Invalid misc:0   Missed beacon:0

Being closer to the AP with better link quality  doesn't help at all.

Should I just get some other USB adapter or is there hope for the ones
that I have? If other, which ones are best supported? I really don't
care about GPL firmware, I just want stable & fast 802.11n performance.

Rgds//Thomas


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-16 20:13 Status of carl9170 Thomas Novin
@ 2011-06-16 20:49 ` Christian Lamparter
  2011-06-17 10:20   ` Thomas Novin
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Lamparter @ 2011-06-16 20:49 UTC (permalink / raw)
  To: Thomas Novin; +Cc: linux-wireless

On Thursday 16 June 2011 22:13:16 Thomas Novin wrote:
> When using these to connect to my Ubiquiti Power AP-N I get terrible
> performance. Using another computer with some Broadcom 802.11g chip (b43
> driver) it works OK.
> 
> For example, doing a 100 packet ping towards my LAN gateway and at the
> same time trying to load a webpage.
> 
> --- 10.0.0.254 ping statistics ---
> 100 packets transmitted, 60 received, 40% packet loss, time 99229ms
> rtt min/avg/max/mdev = 0.832/93.193/1264.009/292.193 ms, pipe 2

no problem, here's a ping -c 100 in my setup

--- 192.168.0.254 ping statistics ---
100 packets transmitted, 100 received, 0% packet loss, time 99138ms
rtt min/avg/max/mdev = 1.046/2.190/9.561/1.209 ms

But at least, you could try to disable the 11n cap by loading the module
with noht=1 and the hwcrypt by nohwcrypt=1.

Btw, do you have anything in your dmesg from the driver?

Regards,
	Chr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-16 20:49 ` Christian Lamparter
@ 2011-06-17 10:20   ` Thomas Novin
  2011-06-17 10:52     ` Christian Lamparter
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Novin @ 2011-06-17 10:20 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

On tor, 2011-06-16 at 22:49 +0200, Christian Lamparter wrote:
> But at least, you could try to disable the 11n cap by loading the module
> with noht=1 and the hwcrypt by nohwcrypt=1.
> 
> Btw, do you have anything in your dmesg from the driver?

Serious difference! Transferring files both tx/rx with scp at full speed
while doing ping results in decent transfer speeds and no packet loss.

>From dmesg: http://paste.ubuntu.com/628344/

Thanks,

Thomas




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-17 10:20   ` Thomas Novin
@ 2011-06-17 10:52     ` Christian Lamparter
  2011-06-17 14:44       ` Thomas Novin
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Lamparter @ 2011-06-17 10:52 UTC (permalink / raw)
  To: Thomas Novin; +Cc: linux-wireless

On Friday 17 June 2011 12:20:23 Thomas Novin wrote:
> On tor, 2011-06-16 at 22:49 +0200, Christian Lamparter wrote:
> > But at least, you could try to disable the 11n cap by loading the module
> > with noht=1 and the hwcrypt by nohwcrypt=1.
> > 
> > Btw, do you have anything in your dmesg from the driver?
> 
> Serious difference! Transferring files both tx/rx with scp at full speed
> while doing ping results in decent transfer speeds and no packet loss.
> 
> From dmesg: http://paste.ubuntu.com/628344/
Ok, can you please tell which option helped? If it was noht, then
you should check if there is a newer firmware for your router.

Regards,
	Chr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-17 10:52     ` Christian Lamparter
@ 2011-06-17 14:44       ` Thomas Novin
  2011-06-17 14:57         ` Thomas Novin
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Novin @ 2011-06-17 14:44 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

On fre, 2011-06-17 at 12:52 +0200, Christian Lamparter wrote:
> On Friday 17 June 2011 12:20:23 Thomas Novin wrote:
> > On tor, 2011-06-16 at 22:49 +0200, Christian Lamparter wrote:
> > > But at least, you could try to disable the 11n cap by loading the module
> > > with noht=1 and the hwcrypt by nohwcrypt=1.
> > > 
> > > Btw, do you have anything in your dmesg from the driver?
> > 
> > Serious difference! Transferring files both tx/rx with scp at full speed
> > while doing ping results in decent transfer speeds and no packet loss.
> > 
> > From dmesg: http://paste.ubuntu.com/628344/
> Ok, can you please tell which option helped? If it was noht, then
> you should check if there is a newer firmware for your router.

Yes, it was noht that did the trick. Modprobing it with noht=1 and
nohwcrypt=0 I still had the problem.

There isn't any newer AirOS available, what is this about and how can I
describe it to the AP manufacturer if I report it as a bug?

Rgds//Thomas




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-17 14:44       ` Thomas Novin
@ 2011-06-17 14:57         ` Thomas Novin
  2011-06-17 21:10           ` Christian Lamparter
  0 siblings, 1 reply; 8+ messages in thread
From: Thomas Novin @ 2011-06-17 14:57 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

On fre, 2011-06-17 at 16:44 +0200, Thomas Novin wrote:
> > Ok, can you please tell which option helped? If it was noht, then
> > you should check if there is a newer firmware for your router.

I noticed that I only have 802.11b/g now, did noht disable 802.11n?

Rgds//Thomas


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-17 14:57         ` Thomas Novin
@ 2011-06-17 21:10           ` Christian Lamparter
  2011-06-18 10:04             ` Thomas Novin
  0 siblings, 1 reply; 8+ messages in thread
From: Christian Lamparter @ 2011-06-17 21:10 UTC (permalink / raw)
  To: Thomas Novin; +Cc: linux-wireless

On Friday 17 June 2011 16:57:59 Thomas Novin wrote:
> On fre, 2011-06-17 at 16:44 +0200, Thomas Novin wrote:
> > > Ok, can you please tell which option helped? If it was noht, then
> > > you should check if there is a newer firmware for your router.
> 
> I noticed that I only have 802.11b/g now, did noht disable 802.11n?
exactly, this switch disables 11n in case there's a problem.

http://wireless.kernel.org/en/users/Drivers/carl9170#A802.11n_Compatibility

I wonder if there's an OpenWRT port for the AP you got ;)

Regards,
	Chr

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Status of carl9170
  2011-06-17 21:10           ` Christian Lamparter
@ 2011-06-18 10:04             ` Thomas Novin
  0 siblings, 0 replies; 8+ messages in thread
From: Thomas Novin @ 2011-06-18 10:04 UTC (permalink / raw)
  To: Christian Lamparter; +Cc: linux-wireless

On Fri, Jun 17, 2011 at 11:10 PM, Christian Lamparter
<chunkeey@googlemail.com> wrote:
>> On fre, 2011-06-17 at 16:44 +0200, Thomas Novin wrote:
>> I noticed that I only have 802.11b/g now, did noht disable 802.11n?
> exactly, this switch disables 11n in case there's a problem.
>
> http://wireless.kernel.org/en/users/Drivers/carl9170#A802.11n_Compatibility
>
> I wonder if there's an OpenWRT port for the AP you got ;)
>

Ok.. I have just ordered another adapter (Sony UWA-BR100) and will try
that instead.

No OpenWRT for this AP..

Rgds//Thomas

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2011-06-18 10:04 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-16 20:13 Status of carl9170 Thomas Novin
2011-06-16 20:49 ` Christian Lamparter
2011-06-17 10:20   ` Thomas Novin
2011-06-17 10:52     ` Christian Lamparter
2011-06-17 14:44       ` Thomas Novin
2011-06-17 14:57         ` Thomas Novin
2011-06-17 21:10           ` Christian Lamparter
2011-06-18 10:04             ` Thomas Novin

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).