Skip to contentSkip to conversation

TP-Link TL-WN 422G connection speed

ath9k-devel Markus Mÿfffffcller 3 participants 4 messages Oct 24, 2010 – Oct 25, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

i'm not sure if i?m right here. I think i found a bug in the compate-wireless driver.
I'm using a USB wireless reciver Model TP-Link TL-Wn 422G v2 on my Asus eee 701 with easypeasy 1.5 and linux kernel 2.6.32-25-generic.

I compiled the compat-wireless-2010-10-08 driver and installed it. It works fine, but if i use iwconfig the Bit Rate is every time 1Mb/s.

What can i do to increase the connection speed? with other usb recievers i get the full wifi speed.

by

#1 lore raw

Hi,
I think you are using ath9k_htc driver and this is not a
functionality issue. The rate control in ath9k_htc is done in firmware , so we are not updating the tx rate to user space .We are looking into this issue.To make sure that the tx rate is high you can look into the ath9k_htc debugging feature tgt_stats.
For this enable
CONFIG ATH_DEBUG=y
CONFIG_ATH9K_HTC_DEBUGFS=y in config.mk in your compat wireless. After the connection is established
please do
sudo cat cd /sys/kernel/debug/ath9k_htc/tgt_stats
You can see the value of txrate.
thanks,
shafi

Quoted 13 lines · Markus M?fffffcller

Hello,

i'm not sure if i?m right here. I think i found a bug in the compate-wireless driver.
I'm using a USB wireless reciver Model TP-Link TL-Wn 422G v2 on my Asus eee 701 with easypeasy 1.5 and linux kernel 2.6.32-25-generic.

I compiled the compat-wireless-2010-10-08 driver and installed it. It works fine, but if i use iwconfig the Bit Rate is every time 1Mb/s.

What can i do to increase the connection speed? with other usb recievers i get the full wifi speed.

Quoted 8 lines

by

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101025/5eecb147/attachment.htm

#2 lore raw

Hi,

i recompiled the driver and i get
sudo cat /sys/kernel/debug/ath9k_htc/phy1/tgt_stats ?? TX Short Retries :???????? 33
??? TX Long Retries :???????? 12
??????? TX Xretries :????????? 2
TX Unaggr. Xretries :????????? 0
?? TX Xretries (HT) :????????? 0 ??????????? TX Rate :????? 48000

So i think the bug is in the firmeware, right? and the connection speed is 48Mbit/s

iwconfig says

wlan3???? IEEE 802.11bgn? ESSID:"*************"?
????????? Mode:Managed? Frequency:2.427 GHz? Access Point: ******************* ? ????????? Bit Rate=1 Mb/s?? Tx-Power=20 dBm??
????????? Retry? long limit:7?? RTS thr:off?? Fragment thr:off ????????? Power Management:off
????????? Link Quality=33/70? Signal level=-77 dBm?
????????? Rx invalid nwid:0? Rx invalid crypt:0? Rx invalid frag:0 ????????? Tx excessive retries:0? Invalid misc:36?? Missed beacon:0

so where i have to report the bug ?

by

--- Mohammed Shafi <[email protected]> schrieb am Mo, 25.10.2010:

Von: Mohammed Shafi <[email protected]>
Betreff: Re: [ath9k-devel] TP-Link TL-WN 422G connection speed
An: "Markus M?fffffcller" <[email protected]>
CC: ath9k-devel-request at lists.ath9k.org, ath9k-devel at lists.ath9k.org
Datum: Montag, 25. Oktober, 2010 07:09 Uhr

Hi,
??????? I think you are? using ath9k_htc driver? and this is not a functionality issue. The rate control in ath9k_htc is done in firmware , so we are not updating the tx rate to user space .We are looking into this issue.To make sure that the tx rate is high you can look into the ath9k_htc debugging feature tgt_stats.

For this enable
CONFIG ATH_DEBUG=y
CONFIG_ATH9K_HTC_DEBUGFS=y in config.mk in your compat wireless. After the connection is established
please do
sudo cat? cd /sys/kernel/debug/ath9k_htc/tgt_stats

You can see the value of txrate.
thanks,
shafi

On Sun, Oct 24, 2010 at 2:09 PM, Markus M?fffffcller <[email protected]> wrote:

Hello,

i'm not sure if i?m right here. I think i found a bug in the compate-wireless driver.

I'm using a USB wireless reciver Model TP-Link TL-Wn 422G v2 on my Asus eee 701 with easypeasy 1.5 and linux kernel 2.6.32-25-generic.

I compiled the compat-wireless-2010-10-08 driver and installed it. It works fine, but if i use iwconfig the Bit Rate is every time 1Mb/s.

What can i do to increase the connection speed? with other usb recievers i get the full wifi speed.

by

_______________________________________________

ath9k-devel mailing list

ath9k-devel at lists.ath9k.org

https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101025/339c1de2/attachment.htm

#3 lore raw

Hi,
We will do it in the ath9k_htc driver itself.But it may not be as
good/proper when the rate control is handled by the driver.As the rate
control is handled by firmware , we have little information to send it mac80211.Hopefully I will send the patch soon.
thanks,
shafi

Quoted 93 lines · Markus M?fffffcller

Hi,

i recompiled the driver and i get
sudo cat /sys/kernel/debug/ath9k_htc/phy1/tgt_stats
TX Short Retries : 33
TX Long Retries : 12
TX Xretries : 2

TX Unaggr. Xretries : 0
TX Xretries (HT) : 0

            TX Rate :      48000

So i think the bug is in the firmeware, right? and the connection speed is 48Mbit/s

iwconfig says

wlan3 IEEE 802.11bgn ESSID:"*************"
Mode:Managed Frequency:2.427 GHz Access Point:
*******************
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=33/70 Signal level=-77 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:36 Missed beacon:0

so where i have to report the bug ?

by

--- Mohammed Shafi *<[email protected]>* schrieb am *Mo, 25.10.2010:
*

*
Von: Mohammed Shafi <[email protected]>
Betreff: Re: [ath9k-devel] TP-Link TL-WN 422G connection speed
An: "Markus M?fffffcller" <[email protected]>
CC: ath9k-devel-request at lists.ath9k.org, ath9k-devel at lists.ath9k.org
Datum: Montag, 25. Oktober, 2010 07:09 Uhr

*
*Hi,
I think you are using ath9k_htc driver and this is not a
functionality issue. The rate control in ath9k_htc is done in firmware , so we are not updating the tx rate to user space .We are looking into this issue.To make sure that the tx rate is high you can look into the ath9k_htc debugging feature tgt_stats.
For this enable
CONFIG ATH_DEBUG=y
CONFIG_ATH9K_HTC_DEBUGFS=y in config.mk in your compat wireless. After the connection is established
please do
sudo cat cd /sys/kernel/debug/ath9k_htc/tgt_stats
You can see the value of txrate.
thanks,
shafi

*
*On Sun, Oct 24, 2010 at 2:09 PM, Markus M?fffffcller < xsnoopy_2000 at yahoo.de <http://mc/[email protected]>> wrote:
*

*Hello,

i'm not sure if i?m right here. I think i found a bug in the compate-wireless driver.
I'm using a USB wireless reciver Model TP-Link TL-Wn 422G v2 on my Asus eee 701 with easypeasy 1.5 and linux kernel 2.6.32-25-generic.

I compiled the compat-wireless-2010-10-08 driver and installed it. It works fine, but if i use iwconfig the Bit Rate is every time 1Mb/s.

What can i do to increase the connection speed? with other usb recievers i get the full wifi speed.

by

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org<http://mc/[email protected]>
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
*

*
*

Quoted 6 lines

_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20101025/b614c48a/attachment.htm