imx6d平台,移植marvell sd8787wifi

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

imx6d平台,移植marvell sd8787wifi

2,126 Views
wangsz
Contributor I

我们正在imx6d平台,安卓4.4.2系统上开发,sd8787这个wifi,现在遇到的问题是这样的android_net_wifi_wifinateive.cpp里docommand函数添加打印信息:

 

D/wifi    ( 2649): ----www------------:IFNAME=mlan0 SET model_number SABRESD-MX6DQ
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 SET serial_number
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 SET config_methods physical_display virtual_push_button
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 SET device_type 10-0050F204-5
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 RECONNECT
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 STATUS
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 SET ps 1
D/wifi    ( 2649): ----www------------:IFNAME=mlan0 DRIVER SETBAND 0
D/wifi    ( 2649): ----wwww------------
D/wifi    ( 2649): ----www------------:SET persistent_reconnect 1
D/wifi    ( 2649): ----www------------:SET device_name Android_5d83
D/wifi    ( 2649): ----www------------:SET p2p_ssid_postfix -Android_5d83
D/wifi    ( 2649): ----www------------:SET device_type 10-0050F204-5
D/wifi    ( 2649): ----www------------:SET config_methods virtual_push_button physical_display keypad
D/wifi    ( 2649): ----www------------:P2P_SET conc_pref sta
D/wifi    ( 2649): ----www------------:STATUS
D/wifi    ( 2649): ----www------------:P2P_FLUSH
D/wifi    ( 2649): ----www------------:P2P_SERVICE_FLUSH
D/wifi    ( 2649): ----www------------:LIST_NETWORKS
D/wifi    ( 2649): ----www------------:SAVE_CONFIG

发现向下发送带有ifname =mlan0的字样,这样就会造成wifi.c中wifi_send_command添加 打印会报如下信息

D/WifiHW  ( 2655): WifiHW wykfirtstcmd=IFNAME=mlan0 DRIVER MACADDR,reply=
D/WifiHW  ( 2655): WifiHW wyk.last :cmd=IFNAME=mlan0 DRIVER MACADDR,reply=UNKNOWN COMMAND

我在这个函数中添加了一个函数把IFNAME =mlan0 的字样给去掉,只剩下后半部分DRIVER MACADDR等,

D/WifiHW  ( 2649): WifiHW wykfirtstcmd=SCAN,reply=
D/WifiHW
  ( 2649): WifiHW wyk.last :cmd=SCAN,reply=OK

 

然后打印信息见附件

  1. 2.txt是我开启wifi的信息
  2. 3.txt是关闭wifi的信息

串口输入 wpa_cli scan_result都是正常的

Using interface 'mlan0'
bssid
/ frequency / signal level / flags / ssid
88:25:93:2d:06:b0
       2437    -53     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      hd001
00:90:a2:cc:4e:7d
       2437    -53     [WPA2-PSK-CCMP][ESS]    160WIFI_4E7E
14:2d:27:f8:72:57
       2462    -61     [WPA2-PSK-CCMP][ESS]    \xe7\x8c\x8e\xe8\xb1\xb9\xe5\x85\x8d\xe8\xb4\xb9WiFi162
38:59:f9:e3:85:01
       2457    -70     [WPA2-PSK-CCMP][ESS]    360WiFi-5L
00:90:a2:cc:82:7f
       2462    -62     [WPA2-PSK-CCMP][ESS]    360\xe5\x85\x8d\xe8\xb4\xb9WiFi-VW
c8:3a:35:55:c8:28
       2452    -89     [WPA-PSK-CCMP][WPA2-PSK-CCMP][ESS]      Tenda_55C828

 

请帮忙看看

 

 

Original Attachment has been moved to: 3.txt.zip

Original Attachment has been moved to: 2.txt.zip

Labels (2)
Tags (1)
0 Kudos
Reply
2 Replies

1,470 Views
igorpadykov
NXP Employee
NXP Employee

Hi

for android wifi porting one can check

Marvell 8787 based wifi module using SDIO

Re: wifi binding on imx6sl evk based board

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,470 Views
minghungliu
Contributor I

Hi, I used Marvel SD8782 module (88W8782-NAP2).

Is it compatible with 8787 driver and firmware(sd8787_uapsta.bin)?

Because I don't find any driver and firmware named "sd8782".

Thanks a lot!!

0 Kudos
Reply