Hi everyone, i'm new on this mailing list.<br>I'm currently testing the rt2x00 driver (<a href="http://rt2x00.serialmonkey.com">http://rt2x00.serialmonkey.com</a>) wich use the devicescape stack in master mode with hostapd.
<br>I had a few issues regarding the rates (always slow in G mode)<br><br>The problem is that in driver_devicescape.c/i802_set_rate_sets() the mode is set by HOSTAPD_MODE_IEEE80211*<br>And then back in the stack in ieee80211/ieee80211_ioctl.c/ieee80211_ioctl_set_rate_sets() the mode is compared to MODE_IEEE80211*
<br><br>And both are different:<br><br>enum {<br>&nbsp;&nbsp;&nbsp; MODE_IEEE80211A = 0 /* IEEE 802.11a */,<br>&nbsp;&nbsp;&nbsp; MODE_IEEE80211B = 1 /* IEEE 802.11b only */,<br>&nbsp;&nbsp;&nbsp; MODE_ATHEROS_TURBO = 2 /* Atheros Turbo mode (2x.11a at 5 GHz) */,<br>
&nbsp;&nbsp;&nbsp; MODE_IEEE80211G = 3 /* IEEE 802.11g (and 802.11b compatibility) */,<br>&nbsp;&nbsp;&nbsp; MODE_ATHEROS_TURBOG = 4 /* Atheros Turbo mode (2x.11g at 2.4 GHz) */,<br>&nbsp;&nbsp;&nbsp; MODE_ATHEROS_PRIME = 5 /* Atheros Dynamic Turbo mode */,<br>&nbsp;&nbsp;&nbsp; MODE_ATHEROS_PRIMEG = 6 /* Atheros Dynamic Turbo mode G */,
<br>&nbsp;&nbsp;&nbsp; MODE_ATHEROS_XR = 7 /* Atheros XR mode&nbsp; */,<br>&nbsp;&nbsp;&nbsp; NUM_IEEE80211_MODES = 8<br>};<br><br>typedef enum {<br>&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211B,<br>&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211G,<br>&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211A,<br>&nbsp;&nbsp;&nbsp; NUM_HOSTAPD_MODES
<br>} hostapd_hw_mode;<br><br>So when i run hostapd in G mode, the stack will assume B mode.<br>So the easiest way to solve this is to set the hostapd values same as in the stack:<br><br>typedef enum {<br>
&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211B = 1,<br>
&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211G = 3,<br>
&nbsp;&nbsp;&nbsp; HOSTAPD_MODE_IEEE80211A = 0,<br>
&nbsp;&nbsp;&nbsp; NUM_HOSTAPD_MODES = 3<br>
} hostapd_hw_mode;<br><br>What do you think of that? Can it be include in next release?<br><br><br>Then an another issue i get with my Intel&reg; PROSet/Wireless Software v10.1. I can't sucessfully associate to the AP when WPA is enabled.
<br>It was working with the v9.<br>The problem is that the encryption for the network is reported as &quot;WPA-entreprise&quot; (sorry in french, i don't know if the english name is different)<br>But In fact it's &quot;WPA-Personel&quot;, no username or whatever needed, just the passphrase or PSK.
<br>So the new version only want to be in the mode that the network told him.<br><br>Is this a knowed issue? or can you tell me where this information is send so i can see what i can do.<br><br><br>Thank in advance<br>Olivier
<br>