Hello everybody,<br>
<br>
I have a server with Fedora 12 and I want to use it as access point.<br>
<br>
I bought USB Wi-fi TP-LINK TL-WN721N and installed compat-wireless-2010-03-19_with-ath9k_htc-support.tar.bz2.tar drivers.<br>
My wi-fi was identified successfully but I was not able to set it in ap mode (mode master).<br>
I found a patch for these drivers here
<a href="http://marc.info/?l=linux-wireless&amp;m=127676682202251&amp;w=3">http://marc.info/?l=linux-wireless&amp;m=127676682202251&amp;w=3</a> but no
success after pathing it.<br>
<br>
So I installed hostapd. I built the latest dev release (hostapd-0.7.2.tar.gz).<br>
The driver is &quot;nl80211&quot;. hostapd is started successfully. But I have issues when I search for the AP.<br>
Sometimes it is found, sometimes it is not, but I am not able to connect it.<br>
I started hostapd in debug mode (-dd) and<br>
when I searched for the AP (from my notebook) hostapd logged:<br>
&quot;Could not parse ProbeReq from xx:xx... (mac address)&quot;<br>
This is logged many times (maybe on every packet received).<br>
<br>
This debug is found in src/ap/beacon.c.<br>
<br>
    if (ieee802_11_parse_elems(ie, ie_len, &amp;elems, 0) == ParseFailed) {<br>
        wpa_printf(MSG_DEBUG, &quot;Could not parse ProbeReq from &quot; MACSTR,<br>
               MAC2STR(mgmt-&gt;sa));<br>
        return;<br>
    }<br>
<br>
<br>
<br>
ieee802_11_parse_elems(..) function is found in src/common/ieee802_11_common.c.<br>
<br>
I saw that the the problem is here:<br>
<br>
        if (elen &gt; left) {<br>
            if (show_errors) {<br>
                wpa_printf(MSG_DEBUG, &quot;IEEE 802.11 element &quot;<br>
                       &quot;parse failed (id=%d elen=%d &quot;<br>
                       &quot;left=%lu)&quot;,<br>
                       id, elen, (unsigned long) left);<br>
                wpa_hexdump(MSG_MSGDUMP, &quot;IEs&quot;, start, len);<br>
            }<br>
            return ParseFailed;<br>
        }<br>
<br>
Just for a test I changed &quot;return ParseFailed&quot; with &quot;return ParseOK&quot; and .., I was able to <br>
connect to the AP and even I had an internet connection :)<br>
But.. too many packet losses. Still there is a problem :(<br>
<br>
I read that the wi-fi model is supported  but... I don&#39;t know... <br>
<br>
Do you have any idea where is the problem with my wi-fi modul?<br>
Can I use it in AP mode?<br>
<br>
Thanks and Regards,<br>
Stanislav<br>
<br>