AnsweredAssumed Answered

Port wifi module BCM43362 into IMX6 (Android 4.4.3)

Question asked by Jackie Chau on Sep 11, 2015
Latest reply on Feb 19, 2016 by zhanxiaozhang

After starting wpa_supplicant and running "wpa_cli", except typing "status", other commands return "UNKNOWN COMMAND", please kindly advise.

 

root@sabresd_6dq:/system/lib/modules # insmod cfg80211.ko

cfg80211: Calling CRDA to update world regulatory domain

ath=/system/etc/firmware/nvram.txt iface_name=wlan0"                          <

dhd_module_init: Enter

======== PULL WL_REG_ON HIGH! ========

=========== WLAN placed in POWER ON ========

bcmsdh_register: Linux Kernel SDIO/MMC Driver

dhd_conf_set_hw_oob_intr: Enable HW OOB for 43362

F1 signature OK, socitype:0x1 chip:0xa962 rev:0x1 pkg:0x9

DHD: dongle ram size is set to 245760(orig 245760) at 0x0

dhdsdio_probe: Disable prop_txstatus

dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm40181a2.bin

wl_create_event_handler(): thread:wl_event_handler:3a8 started

tsk Enter, tsk = 0x98401444

dhd_attach(): thread:dhd_watchdog_thread:3a9 started

dhd_attach(): thread:dhd_dpc:3aa started

dhd_attach(): thread:dhd_sysioc:3ab started

Broadcom Dongle Host Driver: register interface [wlan0] MAC: 00:90:4c:11:22:33

 

 

Dongle Host Driver, version 1.88.45.4 (r420671)

Compiled in drivers/net/wireless/bcmdhd on Sep 11 2015 at 16:12:53

======== PULL WL_REG_ON LOW! (flag = 2) ========

=========== WLAN placed in RESET ========

dhd_module_init: Exit error=0

root@sabresd_6dq:/system/lib/modules # ifconfig wlan0 up

dhd_open: Enter bcbd6000

dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm40181a2.bin

 

 

Dongle Host Driver, version 1.88.45.4 (r420671)

Compiled in drivers/net/wireless/bcmdhd on Sep 11 2015 at 16:12:53

wl_android_wifi_on in 1

wl_android_wifi_on in 2: g_wifi_on=0

======== PULL WL_REG_ON HIGH! (flag = 2) ========

=========== WLAN going back to live  ========

sdio_reset_comm():

sdio_read_cis: 2 callbacks suppressed

mmc1: queuing unknown CIS tuple 0x80 (2 bytes)

mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

mmc1: queuing unknown CIS tuple 0x80 (3 bytes)

mmc1: queuing unknown CIS tuple 0x80 (7 bytes)

 

 

 

 

dhd_bus_devreset: == WLAN ON ==

dhd_bus_devreset called when dongle is not in reset

Will call dhd_bus_start instead

dhd_conf_set_hw_oob_intr: Enable HW OOB for 43362

dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/fw_bcm40181a2.bin

dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt

Final fw_path=/system/etc/firmware/fw_bcm40181a2.bin

Final nv_path=/system/etc/firmware/nvram.txt

Final conf_path=/system/etc/firmware/config.txt

NVRAM version: AP6181_NVRAM_V1.1_01152013

dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.

dhd_bus_init: delay 100ms for BCM43362

dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)

bcmsdh_set_drvdata: Enter

bcmsdh_register_oob_intr: Enter

bcmsdh_register_oob_intr: IRQ=336 Type=414

dhd_conf_set_band: Set band 0

Firmware up: op_mode=0x0005, Broadcom Dongle Host Driver mac=98:3b:16:dd:aa:88

dhd_conf_set_country: Set country ALL, revision 0

Country code: ALL (ALL/0)

dhd_conf_set_roam: Set roam_off 1

dhd_preinit_ioctls buf_key_b4_m4 set failed -23

Firmware version = wl0: Dec 10 2012 15:10:32 version 5.90.195.89.1_edon/off_0xb8bf FWID 01-ff

  Driver: 1.88.45.4 (r420671)

  Firmware: wl0: Dec 10 2012 15:10:32 version 5.90.195.89.1_edon/off_0xb8bf FWID 01-ff

wl_android_wifi_on: Success

dhd_open: Exit ret=0

root@sabresd_6dq:/system/lib/modules # start wpa_supplicant

root@sabresd_6dq:/system/lib/modules # Connectting with 00:19:be:30:4b:a7 channel (6) ssid "asguest", len (7)

wl_bss_connect_done succeeded with 00:19:be:30:4b:a7

wl_notify_connect_status nothing

wl_bss_connect_done succeeded with 00:19:be:30:4b:a7

nf_conntrack: automatic helper assignment is deprecated and it will be removed soon. Use the iptables CT target to attach helpers instead.

 

root@sabresd_6dq:/system/lib/modules # wpa_cli

wpa_cli v2.1-devel-4.4.3

Copyright (c) 2004-2013, Jouni Malinen <j@w1.fi> and contributors

This software may be distributed under the terms of the BSD license.

See README for more details.

Using interface 'wlan0'

Interactive mode

> status

p2p_device_address=98:3b:16:dd:aa:88

p2p_state=IDLE

wifi_display=1

ifname=wlan0

address=98:3b:16:dd:aa:88

> scan

UNKNOWN COMMAND

> ifname

UNKNOWN COMMAND

>

Outcomes