WPA-PSK issue on windows ce 5.0
Hi All,
I'm now using device based on windows ce 5.0 and I can connect through wifi to AP which configured Open-System + no encryption or Open-System + WEP encryption. But when trying to connect to WPA-PSK + TKIP encryption, always failed. I use the netui provided by MS to configure wifi setting.
So I check the driver code, and found that when connecting, the association is successful, then AP send EAPOL-Key to start four-way handshake but the WZC (Wireless Zero Configuration) didn't react, instead WZC send EAPOL-Start to start 802.1X authentication. (Which I think only used for WPA, not WPA-PSK). So AP think the something wrong with the device and failed the connecton.
I deeply check the netui code, found when select WPA-PSK, the enable 802.1X authentication check box is forced to be checked. So I modify the code, set it as unchecked, and it turns to be WZC don't send EAPOL-Start but still no reaction to EAPOL-Key.
I think netui only configure this struct to setting WZC about WPA-PSK:
typedef struct _WZC_EAPOL_PARAMS
{
BOOL bEnable8021x;
DWORD dwEapFlags;
DWORD dwEapType;
DWORD dwAuthDataLen;
BYTE *pbAuthData; // Pointer to provider specific config blob
} WZC_EAPOL_PARAMS, *PWZC_EAPOL_PARAMS;
I tried many kinds of settings but still not work.
Does anyone know something about this and could give some information? Thanks!
victor.liu
|