硬件平台:全志A20
软件平台:android4.2.2
模块: MT7601 WIFI 模块
原来在驱动A13上面的驱动代码, 现在移植到了A20上面,驱动编译过了。
放到板子上面,没有看到加载的模块。
跟踪发现程序好像没有走到加载模块的部分就出错了。
wpa_supplicant也没有启起来
以下是我截取的关于wifi部分的log,大家能否帮忙看看是什么问题:
I/qtaguid ( 2112): Failed write_ctrl(s 0 10031) res=-1 errno=1
W/NetworkManagementSocketTagger( 2112): setKernelCountSet(10031, 0) failed with errno -1
D/WifiService( 2112): setWifiEnabled: true pid=4766, uid=1000
D/WifiHW ( 953): Enter: wifi_get_fw_path function, fw_type=0,
E/WifiStateMachine( 2112): Failed to reload STA firmware java.lang.IllegalStateException: command '10 softap fwreload wlan0 STA' failed with '400 10 Softap operation failed (No such file or directory)'
I/BluetoothAdapter( 4766): this device does not have Bluetooth support
W/CommandListener( 953): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 953): Setting iface cfg
E/WifiStateMachine( 2112): Unable to change interface settings: java.lang.IllegalStateException: command '12 interface setcfg wlan0 0.0.0.
软件平台:android4.2.2
模块: MT7601 WIFI 模块
原来在驱动A13上面的驱动代码, 现在移植到了A20上面,驱动编译过了。
放到板子上面,没有看到加载的模块。
跟踪发现程序好像没有走到加载模块的部分就出错了。
wpa_supplicant也没有启起来
以下是我截取的关于wifi部分的log,大家能否帮忙看看是什么问题:
I/qtaguid ( 2112): Failed write_ctrl(s 0 10031) res=-1 errno=1
W/NetworkManagementSocketTagger( 2112): setKernelCountSet(10031, 0) failed with errno -1
D/WifiService( 2112): setWifiEnabled: true pid=4766, uid=1000
D/WifiHW ( 953): Enter: wifi_get_fw_path function, fw_type=0,
E/WifiStateMachine( 2112): Failed to reload STA firmware java.lang.IllegalStateException: command '10 softap fwreload wlan0 STA' failed with '400 10 Softap operation failed (No such file or directory)'
I/BluetoothAdapter( 4766): this device does not have Bluetooth support
W/CommandListener( 953): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 953): Setting iface cfg
E/WifiStateMachine( 2112): Unable to change interface settings: java.lang.IllegalStateException: command '12 interface setcfg wlan0 0.0.0.