We have observed (in Wireshark traces) that when calling wiced_wifi_join_specific() (Broadcom BCM943362WCD4/WICED SDK version 2.3.1) the radio firmware appears to wait about three seconds after receiving the probe response from the AP before starting association. We do not see a delay when calling wiced_wifi_join(). Ive attached a zip file containing our test program and instructions for reporducing the condition.
On the first association after a download, the WPA2 PSK must be calculated.The calculation takes 2+ seconds.The resulting PMK is stored in the DCT. Future associations use the PMK instead to avoid wasting time doing the calculation.