It is most likely an antenna issue, the only to debug that is by checking register settings.
I have attached a script to deump all relevant registers from debugfs.
If you could use it to create a dump of the non-working setup and a working setup with the same device I can analyze the data and try to find the problem.
For a working setup you'll most likely need the legacy driver compiled with the "make debugfs" option.
The log for rt2x00 will look differently since now the association has kicked in as well as "better" link tuning results. This also affects the antenna selection. So a new dump is very usefull.
I have just found a bug in the rt2570 legacy driver which caused the invalid csr reading.
Okay, here are some new dumps. Please let me know what you find out or if you need more information.
Any ideas on this or other testing I can do?
Not at the moment.
I have looked into the debug traces, and the antenna setup is the same for all versions. So apparently that is not the issue.
Could you try using wireshark to see if the frames are getting out (and only the response is missing).
And if they aren't getting out of the device, could you use the TX/RX frame dumping in debugfs and check what rt2500usb reports as outgoing frame?
It does not seem the packets leave the card.
If I watch the traffic using wireshark, I recieve taffic from the router and another client on the network.
To be sure I ran airodump-ng with a laptop while trying to communicate through the buggy card. There's no traffic recognized.
I am running 2.6.24 now and I don't seem to have a frame/dump entry on debugfs.
Edit Ok, I just read it's in the git. I will give it a shot now.
I captured the dump using rt2wtap and opened it with wireshark.
I just get a list of packets, their time and nothing else.
And a note from wireshark
user encap not hanlded DLT=147, check you Preferences->Protocols->DLT_USER[/quote1zqn2oyy]
I'll check with this dissector now.
I now have the readable dump opened in Wireshark.
What I see is a lot of association requests and malformed packets.
Tell me how I can help.