AnsweredAssumed Answered

imx7d 调试ap6212 wifi不能正常使用

Question asked by 赵林海 赵 on Feb 23, 2018
Latest reply on Feb 28, 2018 by jimmychan

log如下附件:

root@imx6ul7d:~# ifconfig wlan0 up
dhd_open: Enter a82ce000

Dongle Host Driver, version 1.363.59.144.2 (r)
wl_android_wifi_on in 1
wl_android_wifi_on in 2: g_wifi_on=0
wifi_platform_set_power = 1
======== PULL WL_REG_ON HIGH! 0 ========
sdioh_start: set sd_f2_blocksize 128


dhd_bus_devreset: == WLAN ON ==
F1 signature read @0x18000000=0x1541a9a6
F1 signature OK, socitype:0x1 chip:0xa9a6 rev:0x1 pkg:0x4
DHD: dongle ram size is set to 524288(orig 524288) at 0x0
dhd_conf_read_config: Ignore config file /lib/firmware/bcm/ZP_BCM4339/config.txt
dhd_conf_set_fw_name_by_chip: firmware_path=/lib/firmware/bcm/ZP_BCM4339/fw_bcm43438a1.bin
dhdsdio_download_firmware: set use_rxchain 0
dhdsdio_download_firmware: set txglomsize 40
Final fw_path=/lib/firmware/bcm/ZP_BCM4339/fw_bcm43438a1.bin
Final nv_path=/lib/firmware/bcm/ZP_BCM4339/nvram_ap6212.txt
Final conf_path=/lib/firmware/bcm/ZP_BCM4339/config.txt
dhd_os_open_image: /lib/firmware/bcm/ZP_BCM4339/fw_bcm43438a1.bin (336323 bytes) open success
dhd_os_open_image: /lib/firmware/bcm/ZP_BCM4339/nvram_ap6212.txt (956 bytes) open success
NVRAM version: AP6212_NVRAM_V1.0_20140603
dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.
dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50
dhd_bus_init: clock state is wrong. state = 1
dhdsdio_htclk: HT Avail timeout (1000000): clkctl 0x50
dhd_net_bus_devreset: dhd_bus_devreset: -1
dhd_wl_ioctl: returning as busstate=0
dhd_net_bus_devreset: dhd_bus_devreset: -35
wifi_platform_set_power = 0
======== PULL WL_REG_ON LOW! 0 ========
wl_android_wifi_on: Failed
dhd_open : wl_android_wifi_on failed (-1)
dhd_stop: Enter a82ce000
wl_android_wifi_off in 1
wl_android_wifi_off in 2: g_wifi_on=0, on_failure=1
dhd_wl_ioctl: returning as busstate=0
dhd_net_bus_devreset: dhd_bus_devreset: -35
wifi_platform_set_power = 0
======== PULL WL_REG_ON LOW! 0 ========
wl_android_wifi_off out
dhd_stop: Exit
dhd_open: Exit ret=-1
ifconfig: SIOCSIFFLAGS: Operation not permitted
tclk: HT Avail timeout (1000000): clkctl 0x50out (1000000): clkctl 0x50dhdsdio_h
-sh: syntax error near unexpected token `('

Outcomes