Android marshmallow error while intergating SDIO Wifi Module

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

Android marshmallow error while intergating SDIO Wifi Module

1,418 Views
susangracerapak
Contributor II

Hi,

I have ported Wifi driver on Android Marshamallow sololite platfrom but I am unable to start Wifi .I am getting the following error in the logcat

01-01 00:00:33.233   700   715 I ContactDirectoryManager: Discovered 0 contact directories in 77ms
1396 01-01 00:00:33.681   444   462 D Tethering: sendTetherStateChangedBroadcast 1, 0, 0
1397 01-01 00:00:33.697   444   462 D Tethering: InitialState.processMessage what=4
1398 01-01 00:00:33.699   444   462 D Tethering: sendTetherStateChangedBroadcast 0, 0, 0
1399 01-01 00:00:33.930   139   438 E WifiHW  : Vap Creation Output:
1400 01-01 00:00:33.930   139   438 E WifiHW  : VAP created Successfully
1401 01-01 00:00:33.930   139   438 E WifiHW  :
1402 01-01 00:00:35.002   139   438 E WifiHW  : ****Inside STA wifi.c wifi_get_fw_path out_iface is

 01-01 00:00:35.558   139   438 E Netd    : exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_detect
1452 01-01 00:00:36.499   444   444 E NetdConnector: NDC Command {6 strict enable} took too long (5978ms)
1453 01-01 00:00:36.501   444   490 E NetdConnector: NDC Command {7 interface getcfg wlan0} took too long (1497ms)
1454 01-01 00:00:36.502   139   438 D CommandListener: Setting iface cfg
1455 01-01 00:00:36.502   139   438 D CommandListener: Trying to bring down wlan0
1456 01-01 00:00:36.504   139   438 D CommandListener: Clearing all IP addresses on wlan0
1457 01-01 00:00:36.528   444   490 E WifiMonitor: killSupplicant p2pfalse init.svc.wpa_supplicant=unknown init.svc.p2p_supplicant=unknown
1458 01-01 00:00:36.545   444   490 D wifi    : set interface wlan0 flags (UP)
1459 01-01 00:00:36.545   444   490 D wifi    : halHandle = 0x0, mVM = 0xb4dfc000, mCls = 0x2008e2
1460 01-01 00:00:36.545   444   490 E WifiNative-HAL: Could not start hal
1461 01-01 00:00:36.545   444   490 E WifiStateMachine: Failed to start HAL
1462 01-01 00:00:36.545   444   490 E WifiHW  : Cannot set RW to "/data/misc/wifi/entropy.bin": Operation not permitted
1463 01-01 00:00:36.545   444   490 E WifiHW  : Wi-Fi entropy file was not created
1464 01-01 00:00:36.569   444   490 D WifiMonitor: startMonitoring(wlan0) with mConnected = false
1465 01-01 00:00:36.570   444   490 E WifiHW  : Unable to open connection to supplicant on "@android:wpa_wlan0": No such file or directory
1466 01-01 00:00:36.750   786   786 D wpa_supplicant: wpa_supplicant v2.5-devel-6.0.1
1467 01-01 00:00:36.750   786   786 D wpa_supplicant: random: Trying to read entropy from /dev/random
1468 01-01 00:00:36.750   786   786 I wpa_supplicant: Successfully initialized wpa_supplicant
1469 01-01 00:00:36.750   786   786 D wpa_supplicant: Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'bsd' ctrl_interface 'N/A' bridge 'N/A'
1470 01-01 00:00:36.750   786   786 D wpa_supplicant: Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
1471 01-01 00:00:36.750   786   786 D wpa_supplicant: Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
1472 01-01 00:00:36.756   786   786 D wpa_supplicant: update_config=1
1473 01-01 00:00:36.756   786   786 D wpa_supplicant: ctrl_interface='wlan0'
1474 01-01 00:00:36.756   786   786 D wpa_supplicant: eapol_version=1
1475 01-01 00:00:36.756   786   786 D wpa_supplicant: ap_scan=1
1476 01-01 00:00:36.756   786   786 D wpa_supplicant: fast_reauth=1
1477 01-01 00:00:36.756   786   786 D wpa_supplicant: config_methods='virtual_push_button physical_display keypad'
1478 01-01 00:00:36.756   786   786 E wpa_supplicant: Line 7: unknown global field 'persistent_reconnect=1'.
1479 01-01 00:00:36.756   786   786 E wpa_supplicant: Line 7: Invalid configuration line 'persistent_reconnect=1'.
1480 01-01 00:00:36.756   786   786 D wpa_supplicant: IOCTL: bsd_ctrl_iface 296 enable = 0
1481 01-01 00:00:36.778   786   786 D wpa_supplicant: wpa_driver_bsd_capa: drivercaps=0x4401e401,cryptocaps=0x0000001b
1482 01-01 00:00:36.778   786   786 D wpa_supplicant: Add interface wlan0 to a new radio N/A

Could anyone please help me to fix this issue?

Thanks in Advance.

Regards
Susan

0 Kudos
1 Reply

716 Views
igorpadykov
NXP Employee
NXP Employee

Hi Susan

one can look at

How to Support New WiFi Card in Android  

PaNiC Random Rant (or how we used to call it: .plan): Porting WiFi drivers to Android 

often wifi module vendors provide additional documentation for porting their modules,

what module used in the case, had you installed necessary firmware for it.

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

0 Kudos