AnsweredAssumed Answered

imx6qQ 移植ap6441(bcm43341 wifi)

Question asked by xiaoliang guan on Oct 10, 2016
Latest reply on Oct 12, 2016 by xiaoliang guan

 大家好:

            我现在给我们板子移植bcm43341 wifi驱动,现在可以ping通手机热点。android的界面打开wifi开关

屏上可以看到搜索周围的热点但是连接的时候,终端打印如下错误

[  205.827209] Connectting with 6a:3e:34:03:0b:00 channel (2) ssid "QYAP-V2-23456-m2 note-fd", len (24)

[  205.935793] wl_iw_event: Link UP with BSSID=6A:3E:00:00:0B:00
[  205.942046] wl_bss_connect_done succeeded with 6a:3e:34:03:0b:00
[  206.066152] dhd_pno_get_for_batch : wifi location service is not supported
[  206.073382] CFG80211-ERROR) wl_is_linkdown :
[  206.077726] ANDROID-ERROR) failed to getting batching results
[  206.083883] Link down Reason : WLC_E_DEAUTH_IND
[  206.088643] link down if eth1 may call cfg80211_disconnected. event : 6, reason=3 from 6a:3e:34:03:0b:00
[  206.090870] dhd_pno_stop_for_batch : wifi location service is not supported
[  206.090880] NULL POINTER (_dhd_pno_clear_all_batch_results) : head->next is NULL
[  206.090887] NULL POINTER (_dhd_pno_clear_all_batch_results) : head->next is NULL
[  206.090893] ANDROID-ERROR) failed to stop batching scan
[  206.127908] wl_iw_event: Link Down with BSSID=6A:3E:00:00:0B:00
[  206.134411] CFG80211-ERROR) wl_is_linkdown : Link down Reason : WLC_E_LINK
[  206.143106] cfg80211: Calling CRDA to update world regulatory domain
[  206.904686] p2p0: no IPv6 routers present
[  207.704866] Connectting with 6a:3e:34:03:0b:00 channel (2) ssid "QYAP-V2-23456-m2 note-fd", len (24)
[  208.695265] connect failed event=0 e->status 3 e->reason 0
[  208.704249] CFG80211-ERROR) wl_bss_connect_done : Report connect result - connection failed

 

android上层打印的错误如下:

dhcp_do_request failed :eth1(new)

DHCP request error:Timed out waiting for DHCP to finish

现在主要是我手动

  1、加载驱动

  2、启动网卡(报个错:dhd_preinit_ioctls wl ampdu_hostreorder failed -23)

  3、扫描周围热点

  4、通过udhcp获取ip,ping手机成功

android 的界面上可以打开wifi开关,可以扫描到周围热点,但是连接的时候就一直报上面的错误。

Outcomes