Hi Dan,<div><br></div><div>Thanks for your reply.</div><div>The strange thing is that I didn't find any association request is sent by firmware before I got the error return code!</div><div>But if I issue this command (0x0050) once or twice again (with the same parameters) and associate to the same AP, it will be OK.</div>
<div>I encountered this problem when I implement "roaming" function.</div><div>The sd8686 module has to issue deauthentication command to the firmware before it try to associate to another AP.</div><div>I guess the state machine in firmware maybe is in a unclear state after it loss the connection with previous AP.</div>
<div>Of course I can try to associate again, but the penalty is stiffer because the association timeout is so long and this value can't be modified...</div><div><br></div><div>Kevin</div><div><br><div class="gmail_quote">
2012/1/11 Dan Williams <span dir="ltr"><<a href="mailto:dcbw@redhat.com">dcbw@redhat.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb">
<div class="h5">On Mon, 2011-12-26 at 14:57 +0800, kevin chu wrote:<br>
> Hi all,<br>
><br>
><br>
> Did anybody know the meaning of status code 0x0002 which returned from<br>
> CMD_802_11_ASSOCIATE (0x0050).<br>
> I issued associate command to marvell sd8686 firmware, but<br>
> sometimes Sd8686 can't associate to the AP.<br>
> The firmware did not send out associate request packet to AP but<br>
> return 0x0002 to driver after timeout (about 500 ~ 600ms).<br>
> This association will successful if I retry it again after timeout.<br>
> So I just wonder what's wrong with the firmware in the first<br>
> association command.<br>
<br>
</div></div>The information I have says that a "result code" of 0x02 in a command<br>
response means CMD_STATUS_UNSUPPORTED, which could mean that the command<br>
request included some parameters that the firmware simply doesn't<br>
support, or maybe the AP's capabilities don't overlap with the SD8686's<br>
and thus an association can't be made.<br>
<span class="HOEnZb"><font color="#888888"><br>
Dan<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>