imx6qQ 移植ap6441(bcm43341 wifi)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6qQ 移植ap6441(bcm43341 wifi)

8,825 Views
xiaoliangguan
Contributor I

 大家好:

            我现在给我们板子移植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开关,可以扫描到周围热点,但是连接的时候就一直报上面的错误。

Labels (1)
0 Kudos
8 Replies

4,397 Views
zhubin1
Contributor I

我也遇到了同样的问题,问题怎么解决的?

0 Kudos

4,397 Views
xiaoliangguan
Contributor I

连接上了不知道什么原因,又断了,底层打印显示不支持一个什么本地服务,等!

0 Kudos

4,397 Views
赵振业
Contributor I

问题解决了么

0 Kudos

4,397 Views
xiaoliangguan
Contributor I

问题早解决

在 2018-06-22 16:33:35,"赵振业" <admin@community.nxp.com> 写道:

|

|

NXP Community

|

|

Re: imx6qQ 移植ap6441(bcm43341 wifi)

reply from 赵 振业 in i.MX Community - View the full discussion

问题解决了么

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in i.MX Community by email or at NXP Community

Following Re: imx6qQ 移植ap6441(bcm43341 wifi) in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

|

|

0 Kudos

4,397 Views
wangtsungli
Contributor IV

請問你是如何解決的呢?

我在 ubuntu 16.04 lxde 上面用 networkmanager 連接wifi 也遇到一樣的問題。

0 Kudos

4,397 Views
xiaoliangguan
Contributor I

是因为厂家的给的驱动包不是最新的造成的,最后厂家更新了一个驱动包,问题解决。

在 2019-03-14 15:06:16,"wangtsungli" <admin@community.nxp.com> 写道:

|

|

NXP Community

|

|

Re: imx6qQ 移植ap6441(bcm43341 wifi)

reply from tsung li wang in i.MX Processors - View the full discussion

請問你是如何解決的呢?

我在 ubuntu 16.04 lxde 上面用 networkmanager 連接wifi 也遇到一樣的問題。

Reply to this message by replying to this email, or go to the message on NXP Community

Start a new discussion in i.MX Processors by email or at NXP Community

Following Re: imx6qQ 移植ap6441(bcm43341 wifi) in these streams: Inbox

This email was sent by NXP Community because you are a registered user.

You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences

|

|

0 Kudos

4,397 Views
xiaoliangguan
Contributor I

上层的打印

/wpa_supplicant( 3390): eth1: Associated with 28:6c:07:56:f9:25

D/Ethernet( 2642): Interface eth1 link up

D/Ethernet( 2642): Interface eth1 link up

D/Ethernet( 2642): Interface eth1 link up

D/Ethernet( 2642): Interface eth1 link up

D/Ethernet( 2642): Interface eth1 link up

I/wpa_supplicant( 3390): eth1: WPA: Key negotiation completed with 28:6c:07:56:f9:25 [PTK=CCMP GTK=TKIP]

I/wpa_supplicant( 3390): eth1: CTRL-EVENT-CONNECTED - Connection to 28:6c:07:56:f9:25 completed (auth) [id=0 id_str=]

D/Ethernet( 2642): Interface eth1 link up

E/wpa_supplicant( 3390): wpa_driver_nl80211_driver_cmd: failed to issue private commands

E/WifiStateMachine( 2642): Unexpected BatchedScanResults :null

E/wpa_supplicant( 3390): wpa_driver_nl80211_driver_cmd: failed to issue private commands

I/wpa_supplicant( 3390): eth1: WPA: Key negotiation completed with 28:6c:07:56:f9:25 [PTK=CCMP GTK=TKIP]
D/WifiStateMachine( 2642): VerifyingLinkState enter

D/WifiStateMachine( 2642): VerifyingLinkState GOOD_LINK_DETECTED: transition to captive portal check

D/WifiStateMachine( 2642): CaptivePortalCheckState enter

D/WifiStateMachine( 2642): CaptivePortalCheckState CMD_CAPTIVE_CHECK_COMPLETE

D/ConnectivityService( 2642): Captive portal check NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "lovensMIWIFI", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false

D/ConnectivityService( 2642): handleCaptivePortalTrackerCheck: call captivePortalCheckComplete ni=NetworkInfo: type: WIFI[], state: CONNECTING/CAPTIVE_PORTAL_CHECK, reason: (unspecified), extra: "lovensMIWIFI", roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false

D/ConnectivityService( 2642): ConnectivityChange for WIFI: CONNECTED/CONNECTED

E/ConnectivityService( 2642): Unexpected mtu value: android.net.wifi.WifiStateTracker@41965b70

D/Nat464Xlat( 2642): requiresClat: netType=1, hasIPv4Address=true

D/ConnectivityService( 2642): ConnectivityChange for ETHERNET: CONNECTED/CONNECTED

D/ConnectivityService( 2642): Policy requires WIFI teardown
I/wpa_supplicant( 3390): eth1: CTRL-EVENT-DISCONNECTED bssid=28:6c:07:56:f9:25 reason=3 locally_generated=1

E/ConnectivityService( 2642): Unexpected mtu value: android.net.EthernetDataTracker@41ae41d0

D/Ethernet( 2642): Interface eth1 link up

D/NetUtils( 2642): dhcp_do_request failed : eth1 (new)

E/Ethernet( 2642): DHCP request error:Timed out waiting for DHCP to finish

0 Kudos

4,397 Views
igorpadykov
NXP Employee
NXP Employee

Hi xiaoliang

one can check android guide

wireless.murata.com/datasheet?/RFM/data/murata_quick_start_guide_android.pdf

and request additional help on vendor support

wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-freescale-i-mx.html

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos