全志A20 android4.2.2 MT7601 wifi移植 问题

在全志A20平台上,将原本在A13上运行的MT7601 WiFi模块驱动移植到Android4.2.2时遇到问题。驱动编译通过,但在板子上未加载模块,wpa_supplicant也无法启动。日志显示错误涉及到加载STA固件失败、无法设置接口配置和找不到设备等问题。
摘要由CSDN通过智能技术生成
硬件平台:全志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.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值