WiFi error logs suggest that either we can't reach the desired AP at all, or the connect/disconnect error happens quickly. There is a common error case where the AP asks the device to reconnect in 1024ms.
This suggests that waiting 10 seconds between WiFi connect attempts does not increase the likelihood of a successful subsequent connection. Let's change it to 5 seconds and test. This will have the secondary benefit of ever so slightly reducing battery consumption.
WiFi error logs suggest that either we can't reach the desired AP at all, or the connect/disconnect error happens quickly. There is a common error case where the AP asks the device to reconnect in 1024ms.
This suggests that waiting 10 seconds between WiFi connect attempts does not increase the likelihood of a successful subsequent connection. Let's change it to 5 seconds and test. This will have the secondary benefit of ever so slightly reducing battery consumption.