Wifi not working i.MX8mq EVK with Android 10

cancel
Showing results for 
Search instead for 
Did you mean: 

Wifi not working i.MX8mq EVK with Android 10

372 Views
Contributor I

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

0 Kudos
4 Replies

116 Views
NXP Employee
NXP Employee

Hello,

Just to say that I am working on this problem with the internal team.

Best regards,

Diego.

0 Kudos

116 Views
NXP Employee
NXP Employee

Hello,

I apologize for the delay,

Hi, which wifi module on your evk board are you using?  1CQ or 1CX?

Best regards,

Diego.

0 Kudos

116 Views
Contributor I

Hi Diego,

We checked on our evk board and found that Wifi module 1CQ is being used.

Regards,

Sunitha

0 Kudos

66 Views
Contributor I

Hi Diego,

 

Any update on this?

 

Regards,

Sunitha

0 Kudos