<br>Sorry my first message wasn't send cause of the size limit.<br><div><span class="gmail_quote"></span><br><div><div><span class="gmail_quote">2006/8/23, Jouni Malinen &lt;<a href="mailto:jkmaline@cc.hut.fi" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jkmaline@cc.hut.fi</a>&gt;:</span></div><div><span class="q" id="q_10d3a8cf65ee3948_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, Aug 22, 2006 at 09:18:13PM +0200, Olivier H wrote:<br><br>&gt; I'm currently testing the rt2x00 driver (<a href="http://rt2x00.serialmonkey.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://rt2x00.serialmonkey.com</a>)<br>&gt; wich use the devicescape stack in master mode with hostapd.
<br>&gt; I had a few issues regarding the rates (always slow in G mode)<br>&gt;<br>&gt; The problem is that in driver_devicescape.c/i802_set_rate_sets() the mode is<br>&gt; set by HOSTAPD_MODE_IEEE80211*<br>&gt; And then back in the stack in
<br>&gt; ieee80211/ieee80211_ioctl.c/ieee80211_ioctl_set_rate_sets() the mode is<br>&gt; compared to MODE_IEEE80211*<br><br>Hmm.. that should not be the case. hostapd is supposed to use HOSTAPD_*<br>internally and convert it into MODE_* whenever interacting with the
<br>driver code.<br><br>&gt; And both are different:<br><br>Yes, by design.<br><br>&gt; So when i run hostapd in G mode, the stack will assume B mode.<br>&gt; So the easiest way to solve this is to set the hostapd values same as in the
<br>&gt; stack:<br>&gt;<br>&gt; typedef enum {<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;HOSTAPD_MODE_IEEE80211B = 1,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;HOSTAPD_MODE_IEEE80211G = 3,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;HOSTAPD_MODE_IEEE80211A = 0,<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp;NUM_HOSTAPD_MODES = 3<br>&gt; } hostapd_hw_mode;
<br>&gt;<br>&gt; What do you think of that? Can it be include in next release?<br><br>No, that is not acceptable. The correct fix would be to change<br>i802_set_rate_sets to convert mode parameter to use proper enum when
<br>
talking to the driver.</blockquote></span></div><div><div><br>I tough so, but i just picked the easiest and fastest way to make sure this was really&nbsp; the way to solve the problem.<br>modes weren't translated, so i made a patch to do it. se attached file
<br></div></div><div><span class="q"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; Then an another issue i get with my Intel(r) PROSet/Wireless Software<br>&gt; v10.1. I<br>&gt; can't sucessfully associate to the AP when WPA is enabled.<br>&gt; It was working with the v9.<br><br>Did I understand this correctly: You were able to use Intel client
<br>software version 9 with the AP that is running hostapd, but when<br>changing to Intel software version 10.1 (and without modifying AP) the<br>connection does not work?</blockquote></span></div><div><div><br>Exactly. the 
v10.1 fail on the wpa handshaking (don't remember exactly at which stage, first or second maybe)
<br></div>The v9 correctly handle the situation and work great in WPA</div><div><span class="q"><br><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; The problem is that the encryption for the network is reported as
<br>&gt; &quot;WPA-entreprise&quot; (sorry in french, i don't know if the english name is<br>&gt; different)<br>&gt; But In fact it's &quot;WPA-Personel&quot;, no username or whatever needed, just the<br>&gt; passphrase or PSK.
<br>&gt; So the new version only want to be in the mode that the network told him.<br>&gt;<br>&gt; Is this a knowed issue? or can you tell me where this information is send so<br>&gt; i can see what i can do.<br><br>I haven't heard this before. Could you please send your hostapd
<br>configuration file? If you can easily capture wireless frames, it would<br>also be interesting to see what exactly is in the Beacon and Probe<br>Response frames sent by the AP.<br><br></blockquote></span></div><br>Apparently, the encryption method of the AP is in the beacon, but when i want to configure the intel client it also start authenticating to so&nbsp; the AP to see what info are needed (auth and assoc_req).
<br>I can't capture with my windows laptop, I'll try to do it directly on the machine running hostapd.<br><br>Enclose, my configuration file you asked and the patch.<br></div><div><span class="sg"><br>Olivier<br>

</span></div></div><br>