Hi,
Wifi is not working in Android 10 on imx8mq EVK board. From logcat I can see Timeout on wlan driver when trying to enable wifi.
12-23 12:36:54.004 3341 3341 E WifiHAL : Timed out waiting on Driver ready ...
12-23 12:36:54.004 3341 3341 E android.hardware.wifi@1.0-service: Timed out awaiting driver ready
12-23 12:36:54.004 3341 3341 E android.hardware.wifi@1.0-service: Failed to start legacy HAL: TIMED_OUT
The timeout is due to /sys/class/net/wlan0 not found.
Traced in file: hardware/qcom/wlan/qcwcn/wifi_hal/wifi_hal.cpp
wifi_error wifi_wait_for_driver_ready(void)
{
// This function will wait to make sure basic client netdev is created
// Function times out after 10 seconds
int count = (POLL_DRIVER_MAX_TIME_MS * 1000) / POLL_DRIVER_DURATION_US;
FILE *fd;
do {
if ((fd = fopen("/sys/class/net/wlan0", "r")) != NULL) {
fclose(fd);
return WIFI_SUCCESS;
}
usleep(POLL_DRIVER_DURATION_US);
} while(--count > 0);
ALOGE("Timed out wating on Driver ready ... ");
return WIFI_ERROR_TIMED_OUT;
}
I tried with pre-build images as well from nxp and observation the same behaviour.
Please help me to resolve this.
Regards,
Sunitha