I am facing issue while making wlan0 up. Below are the details.
I have board made up from imx8mq. This board has imx8m nxp chip but the bluetooth wifi chip has been changed from qualcom to broadcom.
1. wifi drivers has been updated
2. DTS files have been updated as per new interfaces.
Kernal version used is : 4.14.76, wifi is getting up on linux properly. The wpa_supplicant configuration file is updated for ssid and password and when the connection established successfully.
Now I want same to be reflected in Android Pie, 1.0.4. (same linux kernal version 4.14.76)
I have followed below steps.
1. Wifi drivers updated as per above.
2. DTS files are also updated
3. android configuration + Buildconfig.mk updated properly
Now I can observe the prints for Wifi firmware to be properly installed. When I run a command for wpa_supplicant or try to up the wlan0 using ifconfig up command below error is coming.
Could not set interface wlan0 flags (UP): Unknown error 132
09-25 08:56:51.311 4234 4234 E wpa_supplicant: nl80211: Could not set interface 'wlan0' UP
09-25 08:56:51.311 4234 4234 I wpa_supplicant: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
09-25 08:56:51.314 4234 4234 E wpa_supplicant: wlan0: Failed to initialize driver interface
When I strace the same I got below error:
ifr_flags=IFF_UP|IFF_BROADCAST|IFF_MULTICAST}) = -1 ERFKILL (Unknown error 132) <0.000034> error..
Do any one have any idea on this. Also I have obsered rfkill permission denied error.
The wifi drivers are not added as kernel module instead has been updated to be as static kernel driver.