Link quality

Live forum: http://rt2x00.serialmonkey.com/viewtopic.php?t=5104

jhcarande

01-12-2008 13:24:47

Hi guys.

I have a problem with the driver rt73. The link quality tells me that N/A in rutilt. I remember that It tells me the correct the link quality. Any suggestions?

Thanks.

IvD

01-12-2008 17:08:07

IMPORTANT READ BEFORE POSTING!!![/url2wxjjo0r]

jhcarande

01-12-2008 21:56:31

I have read before writing the before post. I downloaded the drivers from here and I tell that this driver does not support the link quality to me. I don't know because you say that.

What can I do to fix it?

Thanks.

IvD

01-12-2008 22:02:01

Good to hear that you read it, so now the obvious question is where is the additional information?
To quote an important part of the sticky post
[quoteohlcox89]
To repeat the previous point Please read the README, TESTING and iwpriv_usage.txt files, when requesting support then those files will tell you what information should be provided in that support request. When that information is missing, you will have less chance at a usefull response.
[/quoteohlcox89]

Without information, you won't get an usefull response.

jhcarande

01-12-2008 22:43:11

Ok. Thank you... I'm sorry... hehe..

Additional information

I have Debian Lenny. I have deleted the other driver by default (rt73usb, rt2x00usb, rt2x00lib) and blacklisted, and then I have compiled the rt73 driver (rt73-cvs-2008120106).

The output of iwconfig is

[code1ehib71l]
wlan0 RT73 WLAN ESSID: "MY_ESSID"
Mode: Managed Frequency = 2447 GHz Access Point: XX: XX: XX: XX: X: XX
Bit Rate = 54 Mb / s
RTS thr: off Fragment thr: off
Encryption key: XXXXX
Link Quality = 0 / 100 Signal level: -80 dBm Noise level: -111 dBm
Rx invalid nwid: 0 Rx invalid crypt: 0 Rx invalid frag: 0
Tx excessive retries: 0 Invalid misc: 0 Missed beacon: 0
[/code1ehib71l]

The output of dmesg | grep rt73
[code1ehib71l]
[ 14.415943] rt73: init
[ 14.431785] rt73: idVendor = 0xdb0, idProduct = 0x6877
[ 14.448400] firmware: requesting rt73.bin
[ 15.401660] rt73: using permanent MAC addr
[ 15.419748] rt73: Active MAC addr: XX:XX:XX:XX:XX:XX
[ 15.435420] rt73: Local MAC = XX:XX:XX:XX:XX:XX
[ 15.493897] usbcore: registered new interface driver rt73
[ 38.484157] rt73: driver version - 1.0.3.6 CVS
[ 38.533631] rt73: using net dev supplied MAC addr
[ 38.533631] rt73: Active MAC addr: XX:XX:XX:XX:XX:XX
[ 38.533631] rt73: Local MAC = XX:XX:XX:XX:XX:XX
[ 1582.965248] rt73: closed
[ 1585.480593] usbcore: deregistering interface driver rt73
[ 1585.493680] rt73: disconnected
[ 1585.493680] rt73: exit
[ 1585.565943] rt73: init
[ 1585.565943] rt73: idVendor = 0xdb0, idProduct = 0x6877
[ 1585.565943] firmware: requesting rt73.bin
[ 1585.778811] rt73: using permanent MAC addr
[ 1585.778827] rt73: Active MAC addr: XX:XX:XX:XX:XX:XX
[ 1585.778833] rt73: Local MAC = XX:XX:XX:XX:XX:XX
[ 1585.780139] usbcore: registered new interface driver rt73
[ 1585.798261] rt73: driver version - 1.0.3.6 CVS
[ 1585.829409] rt73: using net dev supplied MAC addr
[ 1585.829409] rt73: Active MAC addr: XX:XX:XX:XX:XX:XX
[ 1585.829409] rt73: Local MAC = XX:XX:XX:XX:XX:XX
[/code1ehib71l]
I should say that I'm connected, but the only thing that happens is that I don't get the link quality.

Something else?

Thanks.

IvD

01-12-2008 23:22:43

Are the signal level and noise level correct?
(in other words, do they change over time, and are they realistic with your setup?)

jhcarande

01-12-2008 23:37:26

I think yes.

I don't sure if the values are ok whit my setup. I'm to 3 meters from the router. Anyway, the values are changing over time.

It's strange, right?

IvD

02-12-2008 10:14:53

Well if the other values are changing, that is good enough for me, since it at least means they are being measured. )

Rutilt is probably reporting the N/A because iwconfig seems to report 0 (which is an invalid value).
Is there any negative side-effect when this value is 0?
Are not all features of Rutilt possible because of the invalid value? Or do you have problems with the connection?

jhcarande

02-12-2008 15:50:38

There isn't problem with the connection. Everything seems to work perfectly. The problem is that in other versions of the driver, I remember it showed me the link quality. The truth, which is only one aspect aesthetic. I don't know what I'd do.

Where could I get other driver version? So, I can do some tests...

Thanks.

EDIT

I've seen that it connects (bit rate) at 11MB/s. .. when it should be 54Mb/s

[codeqzdvdrbv]
javier@javier-laptop:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 RT73 WLAN ESSID:"MY_ESSID"
Mode:Managed Frequency=2.447 GHz Access Point: XX:XX:XX:XX:XX
Bit Rate=11 Mb/s
RTS thr:off Fragment thr:off
Encryption key:"MY_KEY"
Link Quality=0/100 Signal level:-78 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

[/codeqzdvdrbv]

IvD

02-12-2008 16:32:53

For earlier snapshots of the driver you need to use our SF.net CVS repository and checkout a particular date using the -D option.

jhcarande

02-12-2008 16:50:46

Could you explain, please?

Thanks.

IvD

02-12-2008 17:02:22

The nightly snapshots on our website are generated from CVS.
You can find information regarding the repository here http//sourceforge.net/cvs/?group_id=107832

When you do a complete checkout like mentioned on that page, you can later revert it to a particular date using
"cvs update -D <date>"

After that you can compile the driver as usual.

jhcarande

02-12-2008 17:46:45

Sorry... I don't know what I have to do...
[code3lc8vguf]
javier@javier-portatil:~/Programas/Wifi/rt73-cvs-2008120106/Module$ cvs -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/cvsroot/rt2400/source/rt73/Module login
Logging in to :pserver:anonymous@rt2400.cvs.sourceforge.net:2401/cvsroot/rt2400/source/rt73/Module
CVS password:
cvs login: authorization failed: server rt2400.cvs.sourceforge.net rejected access to /cvsroot/rt2400/source/rt73/Module for user anonymous

javier@javier-portatil:~/Programas/Wifi/rt73-cvs-2008120106/Module$ cvs -z3 -d:pserver:anonymous@rt2400.cvs.sourceforge.net:/rt73/module update
/rt73/module: no such repository
[/code3lc8vguf]

Any sugestions?

Thanks.

IvD

02-12-2008 19:05:01

Hmm, I have the advantage of a login for the CVS so it usually works better with me P
Anyway, I noticed that I haven't updated my CVS snapshot in a loooong time, so would the version from March 24 2008 be good for you?

jhcarande

02-12-2008 19:41:06

Yes. I think It's OK. At least I do the test.

Thanks. I'll write a MP to you.

jhcarande

02-12-2008 19:57:32

YOU ARE THE BEST!!!! -)

Everything is going OK!!!

[code28vugtut]
javier@javier-portatil:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 RT73 WLAN ESSID:"MY_ESSID"
Mode:Managed Frequency=2.447 GHz Access Point: XX:XX:XX:XX:XX
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:MY_KEY
Link Quality=91/100 Signal level:-50 dBm Noise level:-79 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code28vugtut]

And now... Is it a bug from the new driver release?

Thanks!

IvD

02-12-2008 20:01:40

Probably, I'll point the maintainer of rt73 to this topic, perhaps he has an idea. (I only work on the in-kernel drivers)

jhcarande

02-12-2008 20:04:14

Ok. Thanks.

I'm waiting... -)

Vern

03-12-2008 02:53:08

Hi jhcarande,

Ivo pointed me here. Call me dense, but could you summarize exactly what the problem is?

From the earlier posts, it sounds like there's a link quality reporting problem, but my own system - using the latest CVS - shows AOK in that regard once a link is established.

Thanks,

jhcarande

03-12-2008 18:31:44

Hi.

Well. I compiled the latest driver available (1-Dec-2008), but I am NOT a reported link quality. I had used another driver, in times, provided from rt2x00.serialmonkeys.com, but I have to format the computer. And everything worked OK. So, I asked Ivo to send me a snapshot of the old driver, and then, it got me back to see the link quality.

I don't know if I've explained. If you need anything, let me know. For example, if you want to I try other driver's version.

Thanks.

Vern

03-12-2008 21:08:16

Hi

What is the sequence of commands that you've done - beginning with modprobe - by the time you get around to doing "sudo iwconfig"?

Using the version of the driver you're satisfied with, could you provide the output of "ifconfig wlan0; iwconfig wlan0" to a post here?

Could you do the same with the current CVS version?

Thanks,

jhcarande

03-12-2008 22:19:10

Hi
[quote11x4rh3w]What is the sequence of commands that you've done - beginning with modprobe - by the time you get around to doing "sudo iwconfig"?[/quote11x4rh3w]
Only rutilt whit my profile

[quote11x4rh3w]Using the version of the driver you're satisfied with, could you provide the output of "ifconfig wlan0; iwconfig wlan0" to a post here?[/quote11x4rh3w]
[code11x4rh3w]
javier@javier-portatil:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 RT73 WLAN ESSID:"MY_ESSID"
Mode:Managed Frequency=2.447 GHz Access Point: XX:XX:XX:XX:XX
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:MY_KEY
Link Quality=91/100 Signal level:-50 dBm Noise level:-79 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code11x4rh3w]
[quote11x4rh3w]Could you do the same with the current CVS version?[/quote11x4rh3w]
[code11x4rh3w]javier@javier-portatil:~$ sudo iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

wlan0 RT73 WLAN ESSID:"MY_ESSID"
Mode:Managed Frequency=2.447 GHz Access Point: XX:XX:XX:XX:XX
Bit Rate=54 Mb/s
RTS thr:off Fragment thr:off
Encryption key:MY_PASS
Link Quality=0/100 Signal level:-84 dBm Noise level:-111 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[/code11x4rh3w]

Any else?

Thanks.

Vern

04-12-2008 16:23:03

Hi jhcarande,

Thanks for the efforts, but could you please provide all the information requested in the order requested?

Thanks,