<HTML><BODY>
<DIV> </DIV>
<DIV>I've also encountered the same problem with you, I think you are using
Marvell 8686 with SDIO interface on linux kernel 2.4 or 2.6 ?? If 2.6, then
you could use -Dwext is suitable (wireless extension is grater than v18),
or(this way is sutible for 2.4 and 2.6) one patch file might attach in the
tar file with wpa-supplicant-0.5.7 marvell gave you, so that you can patch
it and will see driver_marvell.c, after compiler successful, you could
execute -Dmarvell to associate with your encryption AP.</DIV>
<DIV><BR>Scott Liu</DIV>
<DIV>Best regards.</DIV>
<BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px;
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">-----Original
Message-----<BR>From: RAGHAVENDRA SADARAMACHANDRA
<s.raghu@samsung.com><BR>To: hostap@shmoo.com<BR>Date: Fri, 30 Nov
2007 11:48:34 +0000 (GMT)<BR>Subject: WPA-PSK problem on Marvell 8686...Help
Plz<BR><BR>Hi All,
<DIV> I have to configure WPA-PSK on Marvell 8686. They
have given ported version of wpa supplicant 0.5.7 with the driver. Compiled
it and enabled....But no success. I am using <B>Linksys WAP54G Access
Point.</B> I tried for over 3 days...but cudn't find out the problem.</DIV>
<DIV> </DIV>
<DIV><B><U>I have following doubts</U></B></DIV>
<DIV><B><U> </U></B></DIV>
<DIV><B>1. ioctl[SIOCSIWFREQ]: Operation not supported, does this
indicate marvell driver's problem?</B></DIV>
<P class=MsoNormal><B>2.</B> <B>WPA: 4-Way Handshake failed - pre-shared key
may be incorrect, here i entered psk="data1234" which is same as that
entered in linksys AP. But still getting this junk error?</B></DIV>
<P class=MsoNormal> </DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><U>MY AP
configuration is</U></B></DIV>
<P class=MsoNormal> </DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"># iwlist eth0
scanning</B></DIV>
<P class=MsoNormal>eth0<SPAN style="mso-spacerun: yes">
</SPAN>Scan completed :</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Cell 01 -
Address: 00:0F:CB:FE:2F:5F</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>ESSID:"3Com"</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Mode:Managed</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Frequency:2.412 GHz (Channel 1)</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN><SPAN style="mso-spacerun: yes"> </SPAN>
Quality:0/100<SPAN style="mso-spacerun: yes"> </SPAN>Signal level=-45
dBm<SPAN style="mso-spacerun: yes"> </SPAN>Noise level=-96 dBm</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Encryption key:on</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Bit Rates:54 Mb/s</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>IE: WPA Version 1</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Group Cipher : TKIP</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Pairwise Ciphers (1) : TKIP</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>Authentication <?xml:namespace prefix = st1 /><st1:address w:st="on">
<st1:Street w:st="on">Suites</st1:Street> (1)</st1:address> : 802.1x</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN><B
style="mso-bidi-font-weight: normal">Cell 02 - Address: 00:90:4C:91:00:01</B>
</DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>ESSID:"linksys" [2]</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Mode:Managed</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Frequency:2.462 GHz (Channel 11)</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>
Quality:0/100<SPAN style="mso-spacerun: yes"> </SPAN>Signal level=-29
dBm<SPAN style="mso-spacerun: yes"> </SPAN>Noise level=-96 dBm</B>
</DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Encryption key:on</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Bit Rates:48 Mb/s</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>IE: WPA Version 1</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Group Cipher : TKIP</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Pairwise Ciphers (1) : TKIP</B></DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><SPAN
style="mso-spacerun: yes">
</SPAN>Authentication <st1:address w:st="on"><st1:Street w:st="on">
Suites</st1:Street> (1)</st1:address> : PSK</B></DIV>
<DIV> </DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><U>MY
wpa_supplicant.conf configuration is</U></B></DIV>
<P class=MsoNormal> </DIV>
<P class=MsoNormal>network={</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>ssid="linksys"</DIV>
<P class=MsoNormal>
scan_ssid=1</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>proto=WPA</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>key_mgmt=WPA-PSK</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>pairwise=TKIP</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>group=TKIP</DIV>
<P class=MsoNormal><SPAN style="mso-spacerun: yes">
</SPAN>psk="data1234"</DIV>
<P class=MsoNormal>}</DIV>
<P class=MsoNormal><B style="mso-bidi-font-weight: normal"><U>I enable
wpa_supplicant using below command</U></B></DIV>
<P class=MsoNormal> </DIV>
<DIV># ./wpa_supplicant -c./wpa_supplicant.conf -ieth0</DIV>
<DIV>ioctl[SIOCSIWPMKSA]: Invalid argument</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV><B>ioctl[SIOCSIWFREQ]: Operation not supported</B></DIV>
<DIV><B>Association request to the driver failed</B></DIV>
<DIV><B>Associated with 00:90:4c:91:00:01</B></DIV>
<DIV>WPA: Key negotiation completed with 00:90:4c:91:00:01 [PTK=TKIP
GTK=TKIP]</DIV>
<DIV>CTRL-EVENT-CONNECTED - Connection to 00:90:4c:91:00:01 completed (auth)
[id=0 id_str=]</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV><B>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</B></DIV>
<DIV><B>ioctl[SIOCSIWFREQ]: Operation not supported</B></DIV>
<DIV><B>ioctl[SIOCSIWESSID]: Network is down</B></DIV>
<DIV><B>ioctl[SIOCSIWAP]: Network is unreachable</B></DIV>
<DIV><B>Association request to the driver failed</B></DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Associated with 00:00:00:00:00:00</DIV>
<DIV>Authentication with 00:00:00:00:00:00 timed out.</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV>WPA: Key negotiation completed with 00:90:4c:91:00:01 [PTK=TKIP
GTK=TKIP]</DIV>
<DIV>CTRL-EVENT-CONNECTED - Connection to 00:90:4c:91:00:01 completed
(reauth) [id=0 id_str=]</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>ioctl[SIOCSIWAP]: Network is unreachable</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:00:00:00:00:00</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>WPA: No SSID info found (msg 1 of 4).</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV>WPA: Key negotiation completed with 00:90:4c:91:00:01 [PTK=TKIP
GTK=TKIP]</DIV>
<DIV>CTRL-EVENT-CONNECTED - Connection to 00:90:4c:91:00:01 completed
(reauth) [id=0 id_str=]</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV>WPA: Key negotiation completed with 00:90:4c:91:00:01 [PTK=TKIP
GTK=TKIP]</DIV>
<DIV>CTRL-EVENT-CONNECTED - Connection to 00:90:4c:91:00:01 completed
(reauth) [id=0 id_str=]</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV><B>WPA: 4-Way Handshake failed - pre-shared key may be incorrect</B>
</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV>WPA: Key negotiation completed with 00:90:4c:91:00:01 [PTK=TKIP
GTK=TKIP]</DIV>
<DIV>CTRL-EVENT-CONNECTED - Connection to 00:90:4c:91:00:01 completed
(reauth) [id=0 id_str=]</DIV>
<DIV>CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys</DIV>
<DIV>Trying to associate with 00:90:4c:91:00:01 (SSID='linksys' freq=2462
MHz)</DIV>
<DIV>ioctl[SIOCSIWFREQ]: Operation not supported</DIV>
<DIV>Association request to the driver failed</DIV>
<DIV>Associated with 00:90:4c:91:00:01</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Thanx in Advance.</DIV>
<DIV>Raghu. </DIV></BLOCKQUOTE>
</BODY></HTML>