rt2x00.serialmonkey.com

Support forum for the rt2x00 project
It is currently Sat Jul 31, 2010 3:24 am

All times are UTC




Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Sep 21, 2008 12:01 pm 
Offline

Joined: Sun Sep 21, 2008 11:38 am
Posts: 8
Hello,

i compiled the rt73usb and the hostapd deamon with the latest git sources.
I can run hostapd and the wlan device switch into the master mode.
On an other PC I see the AP with the SSID name but I can't connect
to the hostapd AP.
In the hostapd Log are a lot of MGMT (TX callback) fail errors
and I asume that they are the reason why the connection fails.

I found a post on the gmane.linux.kernel.wireless.general forum
from Ivo van Doorn with the date 2008-08-15
The posting contains a conversation about the topic but without a solution.
So my question is, are there news regarding the MGMT (TX callback) fail problem?


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Sep 21, 2008 12:19 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
A solution was thought of, and it will be implemented, although the details for the implementation are at this time not completely clear yet.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Sep 21, 2008 12:33 pm 
Offline

Joined: Sun Sep 21, 2008 11:38 am
Posts: 8
Thanks for the quick reply.

But if I understand that correct, until the fix will be implemented,
within the rt73usb driver or the mac80211, the hostapd support
of the rt73usb driver is broken and will not work at the moment?

Rgeards
Markus


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Sep 21, 2008 1:00 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
that is right.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Sep 21, 2008 1:11 pm 
Offline

Joined: Sun Sep 21, 2008 11:38 am
Posts: 8
Thanks a lot for the answer.
This will save me a lot of time, I am sitting here the last two days
and try how to get these things to work :)

Regards
Markus


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sat Dec 06, 2008 6:22 pm 
Offline

Joined: Wed Dec 03, 2008 6:21 pm
Posts: 7
I have the same problem. When (days? weeks? months?) will this issue be fixed at USB chips?


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sat Dec 06, 2008 7:00 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
no idea.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Dec 07, 2008 3:21 pm 
Offline

Joined: Wed Dec 03, 2008 6:21 pm
Posts: 7
As far as I know the windows driver does support master mode and RalinkTech also encourages open source developers to do their best in improving their drivers for Linux/UNIX. This may sound stupid to You, but I need to ask: Have you contacted with Ralink with these kinds of issues?

By the way, may the windows driver of Ralink supports master mode but the one for Linux does not, I already tried. Is there any other solution to bring this device into master mode?

Thanks
stringZ


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Dec 07, 2008 3:53 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
stringZ wrote:
As far as I know the windows driver does support master mode and RalinkTech


They do? Perhaps some experimental versions...

stringZ wrote:
also encourages open source developers to do their best in improving their drivers for Linux/UNIX. This may sound stupid to You, but I need to ask: Have you contacted with Ralink with these kinds of issues?


Well if they are interested in advancing the Linux drivers then they are free to contribute their code, but they are releasing Linux drivers without Master mode support. So that means they leave it up to us to conjure up some sort of support based on guesses on how it should work for Ralink hardware.
And yes, we have contacted Ralink about more direct input from them for the in-kernel drivers, but that happen only for the next-generation wireless card they produce, and even that is not sure. Overall they prefer the release of their own out-of-kernel Linux driver which this project maintains as the "legacy driver" (which still doesn't include master mode, because Ralink didn't put it in there)

Oh and before people start complaining that I am not complete in my answer: They did develop an Master mode capable driver together with ASUS but that was for rt2560 only and was completely closed source.

stringZ wrote:
By the way, may the windows driver of Ralink supports master mode but the one for Linux does not, I already tried. Is there any other solution to bring this device into master mode?


A: Use Ad-hoc mode
B: Buy an AP and use managed mode

Also could you point me to a windows Ralink driver with Master mode support, I have several windows drivers from them and none of them support master mode.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Dec 07, 2008 5:06 pm 
Offline

Joined: Wed Dec 03, 2008 6:21 pm
Posts: 7
Thanks for your answer.

Quote:
And yes, we have contacted Ralink about more direct input from them for the in-kernel drivers, but that happen only for the next-generation wireless card they produce, and even that is not sure.

So that's their dirty business, unfortunately, I completely see that :(


Quote:
Also could you point me to a windows Ralink driver with Master mode support, I have several windows drivers from them and none of them support master mode.

Official drivers from Ralink, like the one I use on Windows IS_AP_STA_7x (can be reached from http://www.ralinktech.com/ralink/Home/Support/Windows.html - the second one from the top) do support AP mode. There's a tool (Ralink configuration Tool - replaces Wireless Zero Configuration) that gets installed along with the driver and loads into the system tray, so when I right click on it there's a shortcut menu item "Switch to AP mode". When I click it I get an options dialog where I can configure my USB Dongle to be an access point.

Here are a little detailed information which comfirm the presence of AP mode...

Attachment:
File comment: The SoftAP directory looks like this.
ralink-softap-directory.png
ralink-softap-directory.png [ 5.01 KiB | Viewed 3141 times ]


Attachment:
File comment: The drivers directory (rt2500 and rt73).
ralink-drivers-directory.png
ralink-drivers-directory.png [ 5.77 KiB | Viewed 3140 times ]


Attachment:
File comment: This is APui, the Access Point utility window, where you can specify the settings.
ralink-apui.png
ralink-apui.png [ 5.96 KiB | Viewed 3138 times ]


Greets,
stringZ


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Sun Dec 07, 2008 6:28 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
Hmm apparently that was added recently when they merged the drivers for rt73 and rt2570.
Well their legacy driver still lacks master mode support, and that is where the in-kernel drivers is based on.

But the legacy drivers don't fit into the kernel/mac80211 design so their trick to determining if a frame was send succesfully or not would probably not work. Additionally I doubt that their solution would work with hostapd which could cause a lot of people complaining about that as well.

Other drivers (from other manufacturers) have the same issue with determining TX status as well with USB hardware, so I hope a generic solution will be found and merged into the kernel soon.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Mon Dec 08, 2008 2:22 am 
Offline
User avatar

Joined: Sat Jan 14, 2006 6:29 pm
Posts: 897
Location: Carlsbad, California
stringZ:

What is your interest in master mode support?

Thanks,

_________________
Yr Hmbl Obt Svt & c
Bryan - In favor of Big Oil. Big fan of General Grievous.


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Mon Dec 08, 2008 10:10 am 
Offline

Joined: Wed Dec 03, 2008 6:21 pm
Posts: 7
Quote:
Other drivers (from other manufacturers) have the same issue with determining TX status as well with USB hardware, so I hope a generic solution will be found and merged into the kernel soon.


I'm eagerly waiting for that moment :)

Quote:
What is your interest in master mode support?


I have a homeserver which is also a gateway and a router with two ethernet cards (one connected to the internet, the other connected to the LAN) runing Debian Linux. This manages my LAN and NAT. I would like to extend this to wireless and make an access point out of my homeserver, that's why. Since my motherboard (Pentium I / Gigabyte) is not PCI 2.2 compliant, only PCI 2.1 devices run properly and manufacturers don't give a shit about writing it down in their specifications what kinds of PCI slots would their product be working in (e.g. I have another card, Linksys Wireless.G, with Broadcom chipset (bcm43xx) and it's not working in this machine, it's listed in `lspci` as an Unknown Device and I can't do anything about it), so the only way I can connect a wireless device to my homeserver is USB.

Greets
stringZ


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Wed Dec 10, 2008 9:51 pm 
Offline

Joined: Tue Dec 09, 2008 9:17 pm
Posts: 10
Howdy,

I'm curious about when this will work because I'm trying to create an access point for a product and we're trying to use the Ralink chipset.

One of their PDF advertisements says that linux host AP support exists.

We don't have the ability to use PCI, so we're kind of pushed into using the USB stuff by schedule and hardware.

Thanks,

-mgessner


Top
 Profile  
 
 Post subject: Re: Problem with rt73 and hostapd error MGMT (TX callback) fail
PostPosted: Wed Dec 10, 2008 10:43 pm 
Offline
Site Admin

Joined: Sun Jun 05, 2005 1:01 pm
Posts: 5876
Location: Haarlem, The Netherlands
As I said, Ralink might have some solution for the USB TX status reporting, but I doubt it is a correct behavior. Secondly I have serious doubts if their AP mode implementation would work with hostapd.

_________________
Regards,
Ivo van Doorn
Project Administrator
http://rt2x00.serialmonkey.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group