<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><DIV></DIV>
<DIV>&gt; As I now allnew mac80211 based drivers are supported with hostapd's nl80211driver. b43 (Broadcom chipset; bcm4318)supports AP, ad-hoc, mesh and full monitor modes. &nbsp;The ath5k (Atheros chipset; AR5212) also supports AP, ad-hoc and mesh as well. <A href="http://linuxwireless.org/en/users/Drivers" target=_blank rel=nofollow>http://linuxwireless.org/en/users/Drivers</A><BR><BR>&gt; But for both configurations to use FT-PSK I got almost the same error. Authentication (Open) goes successfully between STA and AP but the association always fails. hostapd.conf, wpa_supplicant.conf and log files are attached. Can anyone guide me, how can I overcome the error……….and alos Please would you tell me on which chipset did you test the wpa_supplilcant and hostpad support for 802.11r.<BR><BR>You are actually not using userspace MLME due to a typo on the command<BR>line. The driver parameter is use_mlme, not usemlme (i.e.,<BR>-puse_mlme=1). In addition,
 you will need to replace the wext driver<BR>wrapper with nl80211 (-Dnl80211) in order to be able to use userspace<BR>MLME with the current mac80211 version (with the two extra patches).<BR><BR>I verified that I can complete the initial association with your<BR>configuration files once replace the wpa_supplicant arguments:<BR>wpa_supplicant -dd -Dnl80211 -iath0 -puse_mlme=1 -c wpa_supplicant.ft_psk.conf<BR><BR>I tested this with ath9k in the AP and ath5k in the client, but I would<BR>expect any other supported mac80211 driver to work here, too.<BR><BR>-- <BR>Jouni Malinen&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PGP id EFC895FA<BR></DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: times new roman, new york, times, serif">
<DIV>&nbsp;</DIV>
<DIV><STRONG>Hello Jouni Malinen, </STRONG></DIV>
<DIV><STRONG>Thanks for your all guidence and kind help</STRONG></DIV>
<DIV>Jouni I need little more help&nbsp;I am facing an other problem, driver_nl80211 works fine for hostapd,</DIV>
<DIV>But for wpa_supplicant 0.6.5<BR>For&nbsp; my wirless-testing2.6.28-rc4-wl with the following patch.<BR><A href="http://w1.fi/wireless-testing/userspace_mlme_allow_bssid_mismatch.patch" target=_blank rel=nofollow>userspace_mlme_allow_bssid_mismatch.patch</A><BR><A href="http://w1.fi/wireless-testing/vif_conf.patch" target=_blank rel=nofollow>vif_conf.patch</A><BR><A href="http://w1.fi/wireless-testing/vif_conf.patch" target=_blank rel=nofollow>enable-ap-mode.patch</A><BR>libnl1.1 etc.<BR><BR>I&nbsp; used NL_80211 for wpa_supplicant 0.6.5 (rest are defult)<BR>CONFIG_DRIVER_NL80211=y<BR>CFLAGS += -I$(LIBNL)/include<BR>LIBS += -L$(LIBNL)/lib<BR>CONFIG_CLIENT_MLME=y<BR>CFLAGS += -I$(WIRELESS_DEV)/net/mac80211<BR>CONFIG_IEEE80211R=y<BR><BR>when I run # wpa_supplicant -dd -Dnl80211 -iwlan2 -puse_mlme=1 -c wpa_supplicant.ft_psk.conf<BR>either for ath5k or ath9k, it always fails. I get the following error.........it detail in the last.<BR><STRONG><FONT
 color=#ff0000>Failed to set interface wlan2 mode<BR>Could not configure driver to use managed mode<BR>nl80211: Using user space MLME<BR>nl80211: Failed to enable userspace MLME<BR></FONT></STRONG><BR>Few days back when I was trying hostapd if I use hw_mode=b I had the almost same error. <BR>Hardware does not support configured mode<BR>wlan2: IEEE 802.11 Hardware does not support configured mode (0)<BR>Could not select hw_mode and channel. <BR>It was resoved using the hw_mode=g<BR><BR><SPAN style="FONT-WEIGHT: bold">This is a driver_nl80211 problem, How this problem can be resolved for wpa_supplicant.</SPAN> </DIV>
<DIV>lspci -k, shows me the the driver ath5k is enabled. iwconfig shows me wlan2 is using a Managed mode.</DIV>
<DIV>I have goen throug driver_nl80211.c source code. I can see there are two mode Ad-Hoc and STATION.</DIV>
<DIV>I think the Managed and STATION modes are two different name for Infrastructure mode.</DIV>
<DIV>Why It fails for wpa_supplicant, and why I can not enable the use_mlme mode.</DIV>
<DIV>Any idea,<BR><BR><SPAN style="COLOR: rgb(0,0,255)"><SPAN style="FONT-WEIGHT: bold">B</SPAN>est <SPAN style="FONT-WEIGHT: bold">R</SPAN>egards <BR><BR style="COLOR: rgb(0,0,255)"></SPAN><SPAN style="COLOR: rgb(0,0,255)"><SPAN style="FONT-WEIGHT: bold">A</SPAN>hmad <SPAN style="FONT-WEIGHT: bold">A</SPAN>li </SPAN><SPAN style="FONT-WEIGHT: bold; COLOR: rgb(0,0,255)">T</SPAN><SPAN style="COLOR: rgb(0,0,255)">abassam</SPAN><BR>Institute Industrial IT<BR>Dept. of Electrical Engineering and Computer Science</DIV></DIV><BR></DIV></DIV></div><br>

      </body></html>