Hi All,
We have ported the driver in Android 7 platform for our wifi device. Driver is installed and while running supplicant we were not able to find the wpa_supplicant related configuration files in /system/etc/wifi/ directory and /data/misc/wifi/ driectory.
Output:
01-01 01:32:26.183 173 423 E WifiHW : VAP created Successfully
01-01 01:32:26.183 173 423 E WifiHW :
01-01 01:32:27.252 173 423 E WifiHW : ****Inside STA wifi.c wifi_get_fw_path out_iface is
01-01 01:32:27.255 427 477 E NetdConnector: NDC Command {22 softap fwreload wlan0 STA} took too long (7071ms)
01-01 01:32:27.255 427 477 E NetworkManagement: wifiFirmwareReload Error reloading wlan0 fw in STA mode: event = 0 22 Ok
01-01 01:32:27.256 427 473 E NetdConnector: NDC Command {23 bandwidth gettetherstats} took too long (1119ms)
01-01 01:32:27.296 173 423 D CommandListener: Setting iface cfg
01-01 01:32:27.296 173 423 D CommandListener: Trying to bring down wlan0
01-01 01:32:27.298 173 423 D CommandListener: Clearing all IP addresses on wlan0
01-01 01:32:27.321 427 477 E WifiMonitor: killSupplicant p2pfalse init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
01-01 01:32:27.348 427 477 E wifi : Can not initialize the vendor function pointer table
01-01 01:32:27.348 427 477 E WifiNative-HAL: Could not start hal
01-01 01:32:27.349 427 477 E WifiStateMachine: Failed to start HAL
01-01 01:32:27.349 427 477 E WifiHW : Cannot open "/system/etc/wifi/wpa_supplicant.conf": No such file or directory
01-01 01:32:27.349 427 477 E WifiHW : Wi-Fi will not be enabled
01-01 01:32:27.349 427 477 E WifiStateMachine: Failed to start supplicant!
01-01 01:32:27.361 427 427 E WifiController: WifiControllerWifi turn on failed
01-01 01:32:27.491 1054 1090 D Index : Deleting data for locale 'en_US' took 103 millis
01-01 01:32:27.522 1054 1090 D Index : Indexing locale 'en_US' took 31 millis
Please help me to get supplicant config files in corresponding directory.
Thanks....
Regards,
Raj.
Hello Raj,
Thank you for writing.
Here it is the left wpa_supplicant.conf. But, it will not work if it is not configured in the kernel. To configure the kernel, you need to set the option in the menu config before you build the Android image.
I hope this can help you.
Best Regards,
Diego.