I have an AP which is broadcasting mixed TKIP/AES-CCMP, and I am having an issue connecting an RCM6600W to it. This table summarizes what I’m seeing.
----AP----::-RCM6600W-::-Can Connect
—TKIP—::–TKIP----::—Yes------
—CCMP—::–CCMP----::—Yes------
-CCMP/TKIP::–TKIP----::—Yes------
-CCMP/TKIP::–CCMP----::—No-------
It appears there was previously a fix regarding this:
https://github.com/digidotcom/DCRabbit_10/commit/8b736d61833b1bcbcca9a133e49244f9ce464dd9
Poking around that area in the code in a bit to see if I can find something related to what I’m seeing.
Fortunately TKIP works with mixed mode, so I can just swap back and forth between TKIP and CCMP when attempting to connect, but ideally I’d like to get this working without having to do that, as it means either more user configuration or introducing the chance of using TKIP when CCMP was available.
If this isn’t a known issue, I’ll make a minimal case to reproduce.
Edit: I am running the updated libraries from github.
Edit2: Was running the following in the background while posting this:
{
int result = sock_init();
while(1){
result = ifup(IF_WIFI0);
if(result == IFCTL_OK){
printf("Success!
");
break;
}
else if(result == IFCTL_FAIL){
printf(“Troubleshooting!”);
break;
}
tcp_tick(NULL);
}
}
ip_print_ifs();
It died with a memory allocation error.
Running tcp_tick(NULL) in a hard loop after connecting to see if this is only when repeatedly failing to connect.
Edit3: No issues running tcp_tick() in a loop after successfully connecting. Going to try a loop when the ssid is wrong; absence of a network being a realistic scenario.
Edit4: Day and a half running with no allocation errors. This would imply that the failure to connect with those specific settings and the allocation error may be related.