I am having an issue with the WILC1000 firmware version 4.3.4 from asf 3.43.
The issue is in station mode with certain phone hotspots in WPA PSK mode.
#1. If I turn off the phone hotspot, I always get an auth error.
#2. If the hotspot is re enabled, the wilc will connect, but something is wrong internally, and the module will eventually return M2M_ERR_MEM_ALLOC and will not recover without restarting the module.
#3. If an attempt is made to connect to a non existent wifi ap, the next attempt to connect to the phone hotspot will typically fail with an auth error, followed by the M2M_ERR_MEM_ALLOC error.
#4. Some times the connection to the phone hotspot is successful, and DHCP gets an address, but then connectivity is lost, eventually failing with M2M_ERR_MEM_ALLOC
So my guess is something to do with the internal firmware on the wilc1000 is crashing from some aspect of the connection.