rt73 wireless card still cannot work on 54Mbps with 11g mode

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

salvage

08-08-2008 04:52:04

Here is my configure command

wlan0 RT73 WLAN ESSID"122"
ModeAd-Hoc Frequency=2.442 GHz Cell D2839FB0FCFB
Bit Rate54 Mb/s
RTS throff Fragment throff
Encryption keyoff
Link Quality=100/100 Signal level-36 dBm Noise level-79 dBm
Rx invalid nwid0 Rx invalid crypt0 Rx invalid frag0
Tx excessive retries0 Invalid misc0 Missed beacon0

However, debug infomation shows that

rt73 --->MlmeHardTransmit
rt73 - RTUSBMlmeHardTransmit Rate 1 Channel 7//**********************A*********SEE HERE!!!!************************
rt73 <---MlmeHardTransmit
rt73 --->RTUSBKickBulkOut
rt73 --->RTUSBBulkOutMLMEPacket
rt73 <---RTUSBBulkOutMLMEPacket
rt73 <---RTUSBKickBulkOut
rt73 <--- MiniportMMRequest
rt73 <== MlmePeriodicExec
rt73 --->RTUSBBulkOutMLMEPacketComplete status=0 PendingTx=0
rt73 <---RTUSBBulkOutMLMEPacketComplete
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 6
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-40dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 7
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-40dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 8
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-42dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 9
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-40dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 10
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-40dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0
rt73 --->RTUSBBulkRxComplete status=0 PendingRx=0
rt73 --->RTUSBKickBulkOut
rt73 <---RTUSBKickBulkOut
rt73 --> RTUSBRxPacket len=128, status=0
rt73 MlmeEnqueueForRecv, num=1
rt73 <---RTUSBRxPacket
rt73 RTUSBBulkReceive pAd->NextRxBulkInIndex = 11
rt73 <-- RTUSBBulkReceive Submit Rx URB ret=0
rt73 SYNC - PeerBeacon from d2839fb0fcfb - Dtim=0/0, Rssi=-40dBm
rt73 Rx My BEACON
rt73 MlmeDequeue, num=0

We can see that wireless card still works on 1 mbps. Only if I set its channel on 7 when it is just inserted into the pc and not configured up yet, I can work on channel 7.
After wireless card is up, the channel would keep working on channel 7, even if I do
iwconfig wlan0 channel 1
or iwpriv wlan0 set channel 1

That's to say, the only way to make two wireless cards connect with each other is to make them work on the same channel before they get on.

I don't know what's the reason. Can anyone do the same thing and tell me what is the result?

thank you very much!!!

salvage

08-08-2008 04:57:35

rt73 - RTUSBMlmeHardTransmit Rate 1 Channel 7
still can be seen on both pcs' screens.

salvage

08-08-2008 05:40:27

By the way, can anyone tell me what is the meaning of pAd->LatchRfRegs.Channel????
Thank you very much!!

salvage

08-08-2008 06:10:21

pAd->LatchRfRegs.Channel
pAd->PortCfg.Channel

What is the difference between them????

IvD

08-08-2008 18:12:05

Please read the iwpriv_usage.txt file which came with the driver, and you can use the "search" button on this forum to see _why_ G mode isn't possible when using adhoc mode and how you can bypass this restriction.

salvage

09-08-2008 05:02:47

Thank you for your patience. )
I am trying to finding the answers......
There is still one thing i wanna know, that is when I choose 11b/g phy mode, the default mode, with ad hoc mode, the debug infomation is
rt73 - RTUSBMlmeHardTransmit Rate 1 Channel 1
I know that it is the value of pAd->LatchRfRegs.Channel, and every time when I change the current channel using
iwconfig wlan0 channel *
I can see this infomation.
However, the value of pAd->PortCfg.Channel does change to what i set.
So, I wanna know, whether the wireless card work on LatchRfRegs.Channel, or PortCfg.Channel?
Besides, what is the meaning of LatchRfRegs.Channel?? And, its difference and relationship with PortCfg.Channel?
Thank you so much!!!

salvage

09-08-2008 06:43:34

I use the command
iwpriv rausb0 adhocOfdm 1
Successful.
iwconfig shows that
Bit Rate 54Mb/s
but dmesg still shows that
RTUSBMlmeHardTransmit Rate 1 Channel 1

Another problem is still there no matter which channel I set, I can only see
RTUSBMlmeHardTransmit Rate 1 Channel 1

Does it matter if LatchRfRegs.Channel does not change???? cry

salvage

09-08-2008 07:17:54

I got it.
Wireless card needs time to change its channels. That's why in the begining it cannot connect to another card if their original channels are not the same. While, the delay is quite awful.~~~