Quantcast
Channel: xda-developers - Android Software and Hacking General [Developers Only]
Viewing all articles
Browse latest Browse all 3614

Making WIFI work on a MediaTek MT6577 device

$
0
0
Hello,
I'm porting AOSP to my MT6577 (Alcatel 997D).
I got EGL working and now i want to go on with WIFI.
But I don't know how to config BoardConfig.mk. Constants like WIFI_DRIVER_FW_PATH_STA, WPA_SUPPLICANT_VERSION, etc...
Any help is appreciated.
Current logcat is as follows if i try to enable WIFI:
Code:

E/WifiStateMachine(  274): Failed to reload STA firmware java.lang.IllegalStateException: command '5 softap fwreload wlan0 STA' failed with '400 5 Softap operation failed (No such file or directory)'
W/CommandListener(  105): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener(  105): Setting iface cfg
E/WifiStateMachine(  274): Unable to change interface settings: java.lang.IllegalStateException: command '7 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 7 Failed to set address (No such device)'
E/WifiHW  (  274): Unable to open connection to supplicant on "/data/misc/wifi/sockets/wlan0": No such file or directory
E/logwrapper(  781): executing /system/bin/wpa_supplicant failed: No such file or directory
I/logwrapper(  779): /system/bin/wpa_supplicant terminated by exit(255)
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiStateMachine(  274): Failed to setup control channel, restart supplicant
E/WifiStateMachine(  274): Failed to reload STA firmware java.lang.IllegalStateException: command '8 softap fwreload wlan0 STA' failed with '400 8 Softap operation failed (No such device)'
W/CommandListener(  105): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener(  105): Setting iface cfg
E/WifiStateMachine(  274): Unable to change interface settings: java.lang.IllegalStateException: command '10 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 10 Failed to set address (No such device)'
E/WifiHW  (  274): Unable to open connection to supplicant on "/data/misc/wifi/sockets/wlan0": No such file or directory
E/logwrapper(  804): executing /system/bin/wpa_supplicant failed: No such file or directory
I/logwrapper(  802): /system/bin/wpa_supplicant terminated by exit(255)
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiHW  (  274): Supplicant not running, cannot connect
E/WifiStateMachine(  274): Failed to setup control channel, restart supplicant


Viewing all articles
Browse latest Browse all 3614

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>