Hello,
I’ve been trying to get my RCM5600W to connect to a WPA2-PSK (CCMP) network for a few days now with no luck. I can connect fine to an open AP, WEP, or WPA-TKIP network, just not WPA2.
I’ve tried both compile-time and runtime config, but the results seem to be the same. Here’s how I was doing the runtime configuration:
ret = ifconfig(IF_WIFI0,
IFS_DOWN,
IFS_DHCP, 1,
IFS_WIFI_SSID, strlen("wetlabs-n"), "wetlabs-n",
IFS_WIFI_REGION, IFPARAM_WIFI_REGION_AMERICAS,
IFS_WIFI_MODE, IFPARAM_WIFI_INFRASTRUCTURE,
IFS_WIFI_ENCRYPTION, IFPARAM_WIFI_ENCR_CCMP,
IFS_WIFI_WPA_PSK_PASSPHRASE, "",
IFS_WIFI_WPA_PROTOCOL, IFPARAM_WIFI_WPA_PROTOCOL_ALL,
IFS_UP,
IFS_END);
ifconfig() returns a 0 (success), but sock_init_or_exit() just sits and spins forever while attempting to connect. However, just by changing the IFS_WIFI_ENCRYPTION settings to IFPARAM_WIFI_ENCR_TKIP and the SSID to a WPA/TKIP router, I can connect fine (using the same passphrase).
Any ideas what I’m doing wrong here?
Thanks!
- Taj