hi,<br>    I  want to optimize roaming process for marvell wifi card. And it&#39;s seems that 4-way handshake takes about 30-200 ms  and it is too long for voip service. So I want to enable pre-authentication, but it is seems that wpa_supplicant can&#39;t do this when using WPA2-PSK. is pre-authentication only  for ieee802.1x key management?<br>
   <br>  for following code which in function rsn_preauth_candidate_process , it&#39;s return when the key_mgmt is not ieee8021x. but for wpa2-psk ,the key_mgmt is WPA_KEY_MGMT_PSK not WPA_KEY_MGMT_IEEE8021X. is it correct? does this means that can&#39;t do pre-auth when using wpa2-psk?<br>
  thanks<br><br>   wpa_msg(wpa_s, MSG_DEBUG, &quot;RSN: processing PMKSA candidate list&quot;);<br>    if (wpa_s-&gt;preauth_eapol ||<br>        wpa_s-&gt;proto != WPA_PROTO_RSN ||<br>        wpa_s-&gt;wpa_state != WPA_COMPLETED ||<br>
        wpa_s-&gt;key_mgmt != WPA_KEY_MGMT_IEEE8021X) {<br>        wpa_msg(wpa_s, MSG_DEBUG, &quot;RSN: not in suitable state for new &quot;<br>            &quot;pre-authentication&quot;);<br>        return; /* invalid state for new pre-auth */<br>
    }<br>