|
怎么确定wifi已成功加电?
发表于 2015-11-5 11:42:00
浏览:8041
|
回复:2
打印
只看该作者
[复制链接]
楼主
我正在尝试将ap6335的驱动加到4.2版本内核中,现在有个疑问,就是往/sys/class/rkwifi/power写1之后,用什么工具检测wifi模块是否已经通电了?
或者说,怎么判断驱动开启wifi的代码是否正确?
串口输出就这些
- # echo 1 > /sys/class/rkwifi/power
- [ 373.105340] wifi_power_write: poweren = 1
- [ 373.109432] [WLAN_RFKILL]: rockchip_wifi_power: 1
- [ 373.114429] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: 1
- [ 373.119723] [WLAN_RFKILL]: rockchip_wifi_ref_voltage: wifi io reference voltage control is disabled.
- [ 373.234185] [WLAN_RFKILL]: wifi turn on power. 148
复制代码
|
|