<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15) in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563854#M87145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right!&lt;/P&gt;&lt;P&gt;after some days research, i finally got my ap6335 wifi module work....&lt;/P&gt;&lt;P&gt;the following is what I done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i download &lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DBCMDHD-L4.1.15_1.1.0%26appType%3Dfile2%26location%3Dnull%26DOWNLOAD_ID%3Dnull" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #017bba;" target="_blank"&gt;BCMDHD-L4.1.15_1.1.0&lt;/A&gt;​ and extract the new firmware, replace the old firmwares,&lt;/P&gt;&lt;P&gt;the wifi module seems work correctly ,&amp;nbsp; i can scan wifi by wl cmd&lt;/P&gt;&lt;P&gt;#wl scan&lt;/P&gt;&lt;P&gt;#wl scanresults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// i got lots results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the wifi module work on linux, it still need to adapt to android hal so android system can manager it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially,&amp;nbsp; it is always print this error,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;"&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": &lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after search this community, i find the answer this link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/394599?commentID=652788#comment" title="https://community.nxp.com/message/652788?commentID=652788#comment-652788"&gt;https://community.nxp.com/message/652788?commentID=652788#comment-652788&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is need to modify this wifi.c&amp;nbsp; like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int wifi_connect_to_supplicant()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; static char path[PATH_MAX];&lt;/P&gt;&lt;P&gt;&amp;nbsp; //tootzoe&lt;/P&gt;&lt;P&gt;// if (access(IFACE_DIR, F_OK) == 0) {&lt;/P&gt;&lt;P&gt;// snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface);&lt;/P&gt;&lt;P&gt;// } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ALOGD("wifi will connect android wpa %s\n", primary_iface);&lt;/P&gt;&lt;P&gt;snprintf(path, sizeof(path), "@android:wpa_%s", primary_iface); &lt;STRONG style="color: #e23d39;"&gt; // this line is enough&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // }&lt;/P&gt;&lt;P&gt;&amp;nbsp; return wifi_connect_on_socket_path(path);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Aug 2016 14:12:20 GMT</pubDate>
    <dc:creator>tootzoe</dc:creator>
    <dc:date>2016-08-06T14:12:20Z</dc:date>
    <item>
      <title>WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563851#M87142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i get stuck on debugging a wifi module AP6335 on our customer board based on android 6.0.1 , kernel 4.1.15,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the wifi driver comes from the wifi module supplier , (maybe this driver designed for kernel 3.X.X) ,&amp;nbsp; i integrate this driver into kernel image and&amp;nbsp; i think this driver run well , i found another person encounter the similar issues &lt;A href="https://community.nxp.com/thread/428295"&gt;Porting AP6335 WIFI to Android4.4.2&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my kernel log :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 6.334944] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA&lt;/P&gt;&lt;P&gt;[ 6.342568] /soc/aips-bus@02100000/usdhc@02198000: voltage-ranges unspecified&lt;/P&gt;&lt;P&gt;[ 6.349768] sdhci-esdhc-imx 2198000.usdhc: Got CD GPIO&lt;/P&gt;&lt;P&gt;[ 6.356193] sdhci-esdhc-imx 2198000.usdhc: No vmmc regulator found&lt;/P&gt;&lt;P&gt;[ 6.360170] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)&lt;/P&gt;&lt;P&gt;[ 6.361922] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)&lt;/P&gt;&lt;P&gt;[ 6.363676] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)&lt;/P&gt;&lt;P&gt;[ 6.366827] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)&lt;/P&gt;&lt;P&gt;[ 6.384435] sdhci-esdhc-imx 2198000.usdhc: No vqmmc regulator found&lt;/P&gt;&lt;P&gt;[ 6.435094] mmc2: SDHCI controller on 2198000.usdhc [2198000.usdhc] using ADMA&lt;/P&gt;&lt;P&gt;[ 6.437580] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)&lt;/P&gt;&lt;P&gt;[ 6.437629] mmc1: new high speed SDIO card at address 0001&lt;/P&gt;&lt;P&gt;[ 6.453905] /soc/aips-bus@02100000/usdhc@0219c000: voltage-ranges unspecified&lt;/P&gt;&lt;P&gt;[ 6.461326] sdhci-esdhc-imx 219c000.usdhc: No vmmc regulator found&lt;/P&gt;&lt;P&gt;[ 6.467547] sdhci-esdhc-imx 219c000.usdhc: No vqmmc regulator found&lt;/P&gt;&lt;P&gt;[ 6.514943] mmc3: SDHCI controller on 219c000.usdhc [219c000.usdhc] using ADMA&lt;/P&gt;&lt;P&gt;[ 6.523752] &lt;/P&gt;&lt;P&gt;&amp;nbsp; ...........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 8.883893] dhd_module_init: in&lt;/P&gt;&lt;P&gt;[ 8.887086] ======== bcm_wlan_set_plat_data ========&lt;/P&gt;&lt;P&gt;[ 8.892060] dhd_wifi_platform_load: Enter&lt;/P&gt;&lt;P&gt;[ 8.896115] Power-up adapter 'DHD generic adapter'&lt;/P&gt;&lt;P&gt;[ 8.908800] wifi_platform_set_power = 1&lt;/P&gt;&lt;P&gt;[ 8.912656] =====toot=== PULL WL_REG_ON HIGH! ========&lt;/P&gt;&lt;P&gt;[ 8.917834]&lt;/P&gt;&lt;P&gt;[ 9.235006] wifi_platform_bus_enumerate device present 1&lt;/P&gt;&lt;P&gt;[ 9.240364] ======== Card detection to detect SDIO card! ========&lt;/P&gt;&lt;P&gt;[ 9.262846] bcmsdh_register: register client driver&lt;/P&gt;&lt;P&gt;[ 9.275779] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter&lt;/P&gt;&lt;P&gt;[ 9.280889] bcmsdh_sdmmc: bcmsdh_sdmmc_probe Enter&lt;/P&gt;&lt;P&gt;[ 9.285802] bus num (host idx)=1, slot num (rca)=1&lt;/P&gt;&lt;P&gt;[ 9.290686] found adapter info 'DHD generic adapter'&lt;/P&gt;&lt;P&gt;[ 9.297276] F1 signature read @0x18000000=0x16224335&lt;/P&gt;&lt;P&gt;[ 9.309696] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2&lt;/P&gt;&lt;P&gt;[ 9.317070] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000&lt;/P&gt;&lt;P&gt;[ 9.324137] dhd_conf_set_chiprev: chip=0x4339, chiprev=1&lt;/P&gt;&lt;P&gt;[ 9.324199] dhd_conf_set_conf_path_by_nv_path: config_path=/system/etc/firmware/config.txt&lt;/P&gt;&lt;P&gt;[ 9.344446] wl_create_event_handler(): thread:wl_event_handler:b9 started&lt;/P&gt;&lt;P&gt;[ 9.344461] tsk Enter, tsk = 0xd2a6147c&lt;/P&gt;&lt;P&gt;[ 9.362354] dhd_attach(): thread:dhd_watchdog_thread:ba started&lt;/P&gt;&lt;P&gt;[ 9.372183] dhd_attach(): thread:dhd_dpc:bb started&lt;/P&gt;&lt;P&gt;[ 9.372214] dhd_dpc_thread: set dpc_cpucore 0 from config.txt&lt;/P&gt;&lt;P&gt;[ 9.386937] dhd_attach(): thread:dhd_rxf:bc started&lt;/P&gt;&lt;P&gt;[ 9.391858] dhd_deferred_work_init: work queue initialized&lt;/P&gt;&lt;P&gt;[ 9.430929] Dongle Host Driver, version 1.201.59.6 (r506368)&lt;/P&gt;&lt;P&gt;[ 9.430929] Compiled in drivers/net/wireless/bcmdhd on Jul 9 2016 at 18:09:09&lt;/P&gt;&lt;P&gt;[ 9.431692] Register interface [wlan0] MAC: 94:a1:a2:48:55:1c&lt;/P&gt;&lt;P&gt;[ 9.431692]&lt;/P&gt;&lt;P&gt;[ 9.431701] dhd_prot_ioctl : bus is down. we have nothing to do&lt;/P&gt;&lt;P&gt;[ 9.431719] dhd_txglom_enable: enable 0&lt;/P&gt;&lt;P&gt;[ 9.431722] dhd_bus_devreset: WLAN OFF DONE&lt;/P&gt;&lt;P&gt;[ 9.431961] wifi_platform_set_power = 0&lt;/P&gt;&lt;P&gt;[ 9.431964] ====toot==== PULL WL_REG_ON LOW! ========&lt;/P&gt;&lt;P&gt;[ 9.431967]&lt;/P&gt;&lt;P&gt;[ 9.432044] dhd_module_init: Exit err=0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; ..................&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[ 44.001557] init: Starting service 'wpa_supplicant'...&lt;/P&gt;&lt;P&gt;[ 44.133162] dhd_open: Enter d2937000&lt;/P&gt;&lt;P&gt;[ 44.136822]&lt;/P&gt;&lt;P&gt;[ 44.136822] Dongle Host Driver, version 1.201.59.6 (r506368)&lt;/P&gt;&lt;P&gt;[ 44.136822] Compiled in drivers/net/wireless/bcmdhd on Jul 9 2016 at 18:09:09&lt;/P&gt;&lt;P&gt;[ 44.151248] wl_android_wifi_on in 1&lt;/P&gt;&lt;P&gt;[ 44.154784] wl_android_wifi_on in 2: g_wifi_on=0&lt;/P&gt;&lt;P&gt;[ 44.160765] wifi_platform_set_power = 1&lt;/P&gt;&lt;P&gt;[ 44.164824] =====toot=== PULL WL_REG_ON HIGH! ========&lt;/P&gt;&lt;P&gt;[ 44.170136]&lt;/P&gt;&lt;P&gt;[ 44.510716] dhd_bus_devreset: == WLAN ON ==&lt;/P&gt;&lt;P&gt;[ 44.518165] F1 signature read @0x18000000=0x16224335&lt;/P&gt;&lt;P&gt;[ 44.530108] F1 signature OK, socitype:0x1 chip:0x4339 rev:0x1 pkg:0x2&lt;/P&gt;&lt;P&gt;[ 44.537593] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000&lt;/P&gt;&lt;P&gt;[ 44.554355] dhd_conf_read_config: Ignore config file /system/etc/firmware/config.txt&lt;/P&gt;&lt;P&gt;[ 44.562300] dhd_conf_set_fw_name_by_chip: firmware_path=/system/etc/firmware/bcm/fw_bcm4339a0_ag.bin&lt;/P&gt;&lt;P&gt;[ 44.571526] dhdsdio_download_firmware: set use_rxchain 1 from config.txt&lt;/P&gt;&lt;P&gt;[ 44.578376] Final fw_path=/system/etc/firmware/bcm/fw_bcm4339a0_ag.bin&lt;/P&gt;&lt;P&gt;[ 44.585293] Final nv_path=/system/etc/firmware/nvram.txt&lt;/P&gt;&lt;P&gt;[ 44.590655] Final conf_path=/system/etc/firmware/config.txt&lt;/P&gt;&lt;P&gt;[ 44.746259] NVRAM version: AP6335_NVRAM_V1.7_04102014&lt;/P&gt;&lt;P&gt;[ 44.756112] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.&lt;/P&gt;&lt;P&gt;[ 44.941025] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)&lt;/P&gt;&lt;P&gt;[ 44.957636] dhd_conf_set_band: Set band 0&lt;/P&gt;&lt;P&gt;[ 44.962985] dhd_preinit_ioctls: Set tcpack_sup_mode 0&lt;/P&gt;&lt;P&gt;[ 44.980441] Firmware up: op_mode=0x0005, MAC=94:a1:a2:48:55:1c&lt;/P&gt;&lt;P&gt;[ 44.987369] dhd_conf_set_country: Set country CN, revision 38&lt;/P&gt;&lt;P&gt;[ 45.051743] Country code: CN (CN/38)&lt;/P&gt;&lt;P&gt;[ 45.055964] dhd_conf_set_roam: Set roam_off 1&lt;/P&gt;&lt;P&gt;[ 45.086214] dhd_conf_set_txbf: set txbf 1&lt;/P&gt;&lt;P&gt;[ 45.130810] Firmware version = wl0: Apr 3 2014 12:12:42 version 6.37.32.28.2_ip (r424058)&lt;/P&gt;&lt;P&gt;[ 45.140179] Driver: 1.201.59.6 (r506368)&lt;/P&gt;&lt;P&gt;[ 45.140179] Firmware: wl0: Apr 3 2014 12:12:42 version 6.37.32.28.2_ip (r424058)&lt;/P&gt;&lt;P&gt;[ 45.167671] dhd_txglom_enable: enable 1&lt;/P&gt;&lt;P&gt;[ 45.171573] dhd_conf_set_disable_proptx: set disable_proptx 0&lt;/P&gt;&lt;P&gt;[ 45.179432] dhd_wlfc_hostreorder_init(): successful bdcv2 tlv signaling, 64&lt;/P&gt;&lt;P&gt;[ 45.189664] wl_android_wifi_on: Success&lt;/P&gt;&lt;P&gt;[ 45.262456] dhd_open: Exit ret=0&lt;/P&gt;&lt;P&gt;[ 45.432289] WLC_E_IF: NO_IF set, event Ignored&lt;/P&gt;&lt;P&gt;[ 45.439343] dhd_wlfc_init(): successfully enabled bdcv2 tlv signaling, 79&lt;/P&gt;&lt;P&gt;[ 45.458168] dhd_wlfc_init(): wlfc_mode=0x0, ret=-23&lt;/P&gt;&lt;P&gt;[ 45.477268] Register interface [p2p-dev-wlan0] MAC: 96:a1:a2:48:d5:1c&lt;/P&gt;&lt;P&gt;[ 45.477268]&lt;/P&gt;&lt;P&gt;[ 45.489340] CFG80211-ERROR) wl_cfg80211_add_virtual_iface : virtual interface(p2p-dev-wlan0) is created net attach done&lt;/P&gt;&lt;P&gt;[ 45.507713] CFG80211-ERROR) dhd_cfg80211_set_p2p_info : Set : op_mode=0x0005&lt;/P&gt;&lt;P&gt;[ 45.687039] dhd_pktfilter_offload_set: failed to add pktfilter 102 0 0 0 0xFFFFFF 0x01005E, retcode = -2&lt;/P&gt;&lt;P&gt;[ 46.114796] mtp_open&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;root@sabresd_6dq:/ #&lt;/P&gt;&lt;P&gt;root@sabresd_6dq:/ #&lt;/P&gt;&lt;P&gt;root@sabresd_6dq:/ # ifconfig&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;&amp;lt;----------- ifconfig&amp;nbsp; command get stuck here,&amp;nbsp; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;wlan0 Link encap:Ethernet HWaddr 94:A1:A2:48:55:1C&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #e23d39;"&gt;&lt;STRONG&gt;&amp;nbsp; terminal didn't response from here....&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i check the location /sys/class/net&amp;nbsp; on adb shell, &lt;/P&gt;&lt;P&gt;p2p-dev-wlan0&lt;/P&gt;&lt;P&gt;wlan0&lt;/P&gt;&lt;P&gt;&amp;nbsp; two nodes exist,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;the following is the logcat:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01-01 08:24:05.849 632-632/com.android.systemui V/SystemUIService: Starting SystemUI services.&lt;/P&gt;&lt;P&gt;01-01 08:24:05.937 555-570/system_process W/WindowManager: Keyguard drawn timeout. Setting mKeyguardDrawComplete&lt;/P&gt;&lt;P&gt;01-01 08:24:05.966 643-643/com.android.externalstorage D/ExternalStorage: After updating volumes, found 1 active roots&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01-01 08:24:06.003 618-618/? I/wpa_supplicant: rfkill: Cannot open RFKILL control device&lt;/P&gt;&lt;P&gt;01-01 08:24:06.035 643-643/com.android.externalstorage D/ExternalStorage: After updating volumes, found 1 active roots&lt;/P&gt;&lt;P&gt;01-01 08:24:06.058 643-643/com.android.externalstorage D/ExternalStorage: After updating volumes, found 1 active roots&lt;/P&gt;&lt;P&gt;01-01 08:24:06.061 555-555/system_process E/NetdConnector: NDC Command {12 bandwidth enable} took too long (821ms)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.061 555-602/system_process D/WifiConfigStore: Loading config and enabling all networks&lt;/P&gt;&lt;P&gt;01-01 08:24:06.071 555-602/system_process D/WifiConfigStore: loaded 0 passpoint configs&lt;/P&gt;&lt;P&gt;01-01 08:24:06.073 555-602/system_process E/WifiConfigStore: Error parsing configuration: java.io.FileNotFoundException: /data/misc/wifi/ipconfig.txt: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.096 555-602/system_process E/WifiConfigStore: readNetworkHistory: No config file, revert to default, java.io.FileNotFoundException: /data/misc/wifi/networkHistory.txt: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; java.io.FileNotFoundException: /data/misc/wifi/networkHistory.txt: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01-01 08:24:06.097 555-602/system_process E/WifiConfigStore: readAutoJoinStatus: Error parsing configurationjava.io.FileNotFoundException: /data/misc/wifi/autojoinconfig.txt: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.097 555-602/system_process E/WifiConfigStore: buildPnoList sortedWifiConfigurations size 0&lt;/P&gt;&lt;P&gt;01-01 08:24:06.107 555-602/system_process E/WifiConfigStore: --- Begin /data/misc/wifi/wpa_supplicant.conf ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.110 555-602/system_process E/WifiConfigStore: update_config=1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.112 555-602/system_process E/WifiConfigStore: ctrl_interface=wlan0&lt;/P&gt;&lt;P&gt;01-01 08:24:06.113 555-602/system_process E/WifiConfigStore: eapol_version=1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.115 555-602/system_process E/WifiConfigStore: ap_scan=1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.117 555-602/system_process E/WifiConfigStore: fast_reauth=1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.120 555-602/system_process E/WifiConfigStore: config_methods=virtual_push_button physical_display keypad&lt;/P&gt;&lt;P&gt;01-01 08:24:06.125 555-602/system_process E/WifiConfigStore: persistent_reconnect=1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.127 555-602/system_process E/WifiConfigStore: --- End /data/misc/wifi/wpa_supplicant.conf Contents ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.129 555-602/system_process E/WifiConfigStore: --- Begin /data/misc/wifi/wpa_supplicant.conf.tmp ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.131 555-602/system_process E/WifiConfigStore: Could not open /data/misc/wifi/wpa_supplicant.conf.tmp, java.io.FileNotFoundException: /data/misc/wifi/wpa_supplicant.conf.tmp: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.133 555-602/system_process E/WifiConfigStore: --- End /data/misc/wifi/wpa_supplicant.conf.tmp Contents ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.134 555-602/system_process E/WifiConfigStore: --- Begin /data/misc/wifi/networkHistory.txt ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.137 555-602/system_process E/WifiConfigStore: Could not open /data/misc/wifi/networkHistory.txt, java.io.FileNotFoundException: /data/misc/wifi/networkHistory.txt: open failed: ENOENT (No such file or directory)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.143 555-602/system_process E/WifiConfigStore: --- End /data/misc/wifi/networkHistory.txt Contents ---&lt;/P&gt;&lt;P&gt;01-01 08:24:06.167 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.167 555-602/system_process D/WifiNative-HAL: Setting external_sim to 1&lt;/P&gt;&lt;P&gt;01-01 08:24:06.177 555-602/system_process D/WifiStateMachine: Setting OUI to DA-A1-19&lt;/P&gt;&lt;P&gt;01-01 08:24:06.184 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.185 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -F st_penalty_log&lt;/P&gt;&lt;P&gt;01-01 08:24:06.203 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.206 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.206 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -F st_penalty_log&lt;/P&gt;&lt;P&gt;01-01 08:24:06.227 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.227 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.228 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -F st_penalty_reject&lt;/P&gt;&lt;P&gt;01-01 08:24:06.253 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.261 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.261 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -F st_penalty_reject&lt;/P&gt;&lt;P&gt;01-01 08:24:06.293 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.302 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.302 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -F st_clear_caught&lt;/P&gt;&lt;P&gt;01-01 08:24:06.322 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.323 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.323 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -F st_clear_caught&lt;/P&gt;&lt;P&gt;01-01 08:24:06.342 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.342 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.343 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -F st_clear_detect&lt;/P&gt;&lt;P&gt;01-01 08:24:06.375 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.396 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.396 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -F st_clear_detect&lt;/P&gt;&lt;P&gt;01-01 08:24:06.408 228-551/? E/OMXMaster: A component of name 'OMX.Freescale.std.parser.fsl.sw-based' already exists, ignoring this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;01-01 08:24:06.419 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.420 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.420 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_log&lt;/P&gt;&lt;P&gt;01-01 08:24:06.450 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.457 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.457 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_log&lt;/P&gt;&lt;P&gt;01-01 08:24:06.478 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.483 228-551/? I/vpu-lib: Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;01-01 08:24:06.484 228-551/? W/ACodec: do not know color format 0x7f000789 = 2130708361&lt;/P&gt;&lt;P&gt;01-01 08:24:06.484 228-551/? I/OMXPlayer: LEVEL: 1 FUNCTION: DeInitFilterComponent LINE: 2003&lt;/P&gt;&lt;P&gt;01-01 08:24:06.486 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.487 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -X st_penalty_reject&lt;/P&gt;&lt;P&gt;01-01 08:24:06.504 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.504 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.505 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -X st_penalty_reject&lt;/P&gt;&lt;P&gt;01-01 08:24:06.516 228-551/? I/vpu-lib: Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;01-01 08:24:06.517 228-551/? W/ACodec: do not know color format 0x7f000789 = 2130708361&lt;/P&gt;&lt;P&gt;01-01 08:24:06.517 228-551/? I/OMXPlayer: LEVEL: 1 FUNCTION: DeInitFilterComponent LINE: 2003&lt;/P&gt;&lt;P&gt;01-01 08:24:06.526 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.533 228-551/? I/vpu-lib: Product Info: i.MX6Q/D/S&lt;/P&gt;&lt;P&gt;01-01 08:24:06.534 228-551/? W/ACodec: do not know color format 0x7f000789 = 2130708361&lt;/P&gt;&lt;P&gt;01-01 08:24:06.534 228-551/? I/OMXPlayer: LEVEL: 1 FUNCTION: DeInitFilterComponent LINE: 2003&lt;/P&gt;&lt;P&gt;01-01 08:24:06.537 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.538 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_caught&lt;/P&gt;&lt;P&gt;01-01 08:24:06.559 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.563 228-551/? W/OMXNodeInstance: [5:Freescale.std._decoder.avc.v3.hw-based] component does not support metadata mode; using fallback&lt;/P&gt;&lt;P&gt;01-01 08:24:06.566 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.567 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_caught&lt;/P&gt;&lt;P&gt;01-01 08:24:06.582 228-551/? W/OMXNodeInstance: [6:Freescale.std._decoder.mpeg4.hw-based] component does not support metadata mode; using fallback&lt;/P&gt;&lt;P&gt;01-01 08:24:06.587 225-541/? I/iptables: iptables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.596 225-541/? I/iptables: iptables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.597 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/iptables -w -X st_clear_detect&lt;/P&gt;&lt;P&gt;01-01 08:24:06.600 638-638/android.process.media D/MtpService: starting MTP server in MTP mode&lt;/P&gt;&lt;P&gt;01-01 08:24:06.602 228-551/? W/OMXNodeInstance: [7:Freescale.std._decoder.h263.hw-based] component does not support metadata mode; using fallback&lt;/P&gt;&lt;P&gt;01-01 08:24:06.617 225-541/? I/ip6tables: ip6tables: No chain/target/match by that name.&lt;/P&gt;&lt;P&gt;01-01 08:24:06.623 228-551/? W/OMXNodeInstance: [8:Freescale.std._decoder.mpeg2.hw-based] component does not support metadata mode; using fallback&lt;/P&gt;&lt;P&gt;01-01 08:24:06.632 228-551/? E/OMXNodeInstance: getParameter(9:Freescale.std._decoder.vpx.hw-based, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.632 228-551/? W/OMXNodeInstance: [9:Freescale.std._decoder.vpx.hw-based] component does not support metadata mode; using fallback&lt;/P&gt;&lt;P&gt;01-01 08:24:06.636 225-541/? I/ip6tables: ip6tables terminated by exit(1)&lt;/P&gt;&lt;P&gt;01-01 08:24:06.637 225-541/? E/Netd: exec() res=0, status=256 for /system/bin/ip6tables -w -X st_clear_detect&lt;/P&gt;&lt;P&gt;01-01 08:24:06.668 228-551/? E/OMXNodeInstance: getParameter(a:Freescale.std._decoder.soft_hevc.sw-based, ParamVideoProfileLevelQuerySupported(0x600000f)) ERROR: UnsupportedIndex(0x8000101a)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know whether this issues caused by wifi driver&amp;nbsp; or the wpa_supplicant,&lt;/P&gt;&lt;P&gt;could anyone tell me how to get rid of this issues ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; word-wrap: break-word; color: #51626f; background-color: #ffffff;"&gt;Every help is very appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; vertical-align: baseline; word-wrap: break-word; color: #51626f; background-color: #ffffff;"&gt;toot_hzf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 03:40:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563851#M87142</guid>
      <dc:creator>tootzoe</dc:creator>
      <dc:date>2016-07-13T03:40:04Z</dc:date>
    </item>
    <item>
      <title>Re: WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563852#M87143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi huang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try bcm4339 driver which is integrated to nxp bsp, it is described in&lt;/P&gt;&lt;P&gt;attached Linux Manual Chapter 46 Wi-Fi BCM4339 Driver.&lt;/P&gt;&lt;P&gt;Check also Broadcom Firmware package&amp;nbsp; BCMDHD-L4.1.15_1.1.0&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=BCMDHD-L4.1.15_1.1.0&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null" title="https://www.nxp.com/webapp/sps/download/license.jsp?colCode=BCMDHD-L4.1.15_1.1.0&amp;amp;appType=file2&amp;amp;location=null&amp;amp;DOWNLOAD_ID=null"&gt;BCMDHD-L4.1.15_1.1.0&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Probably you may need to upgrade firmware, suggest to apply&lt;/P&gt;&lt;P&gt;to vendor support&lt;/P&gt;&lt;P&gt;&lt;A href="http://wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html" title="http://wireless.murata.com/eng/products/rf-modules-1/wi-fi-bluetooth-for-nxp-i-mx.html"&gt;Wi-Fi Bluetooth for NXP i.MX | RF Modules | Wireless Products | Murata Manufacturing&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jul 2016 12:24:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563852#M87143</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-07-13T12:24:12Z</dc:date>
    </item>
    <item>
      <title>Re: WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563853#M87144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;igor,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thanks for your replying ,&amp;nbsp; i will try you suggestion,&amp;nbsp; i only android building environment ,&amp;nbsp; so i need to setup embedded linux building environment,&amp;nbsp; i will be back when i finish my testing. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;toot_hzf&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 03:54:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563853#M87144</guid>
      <dc:creator>tootzoe</dc:creator>
      <dc:date>2016-07-14T03:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563854#M87145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right!&lt;/P&gt;&lt;P&gt;after some days research, i finally got my ap6335 wifi module work....&lt;/P&gt;&lt;P&gt;the following is what I done:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i download &lt;A class="jive-link-external-small" data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fwww.nxp.com%2Fwebapp%2Fsps%2Fdownload%2Flicense.jsp%3FcolCode%3DBCMDHD-L4.1.15_1.1.0%26appType%3Dfile2%26location%3Dnull%26DOWNLOAD_ID%3Dnull" rel="nofollow" style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #017bba;" target="_blank"&gt;BCMDHD-L4.1.15_1.1.0&lt;/A&gt;​ and extract the new firmware, replace the old firmwares,&lt;/P&gt;&lt;P&gt;the wifi module seems work correctly ,&amp;nbsp; i can scan wifi by wl cmd&lt;/P&gt;&lt;P&gt;#wl scan&lt;/P&gt;&lt;P&gt;#wl scanresults&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /// i got lots results&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now the wifi module work on linux, it still need to adapt to android hal so android system can manager it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Initially,&amp;nbsp; it is always print this error,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: bold; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;"&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Unable to open connection to supplicant on "/data/system/wpa_supplicant/wlan0": &lt;/SPAN&gt;".&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;after search this community, i find the answer this link&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.nxp.com/thread/394599?commentID=652788#comment" title="https://community.nxp.com/message/652788?commentID=652788#comment-652788"&gt;https://community.nxp.com/message/652788?commentID=652788#comment-652788&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is need to modify this wifi.c&amp;nbsp; like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;int wifi_connect_to_supplicant()&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; static char path[PATH_MAX];&lt;/P&gt;&lt;P&gt;&amp;nbsp; //tootzoe&lt;/P&gt;&lt;P&gt;// if (access(IFACE_DIR, F_OK) == 0) {&lt;/P&gt;&lt;P&gt;// snprintf(path, sizeof(path), "%s/%s", IFACE_DIR, primary_iface);&lt;/P&gt;&lt;P&gt;// } else {&lt;/P&gt;&lt;P&gt;&amp;nbsp; ALOGD("wifi will connect android wpa %s\n", primary_iface);&lt;/P&gt;&lt;P&gt;snprintf(path, sizeof(path), "@android:wpa_%s", primary_iface); &lt;STRONG style="color: #e23d39;"&gt; // this line is enough&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // }&lt;/P&gt;&lt;P&gt;&amp;nbsp; return wifi_connect_on_socket_path(path);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Aug 2016 14:12:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563854#M87145</guid>
      <dc:creator>tootzoe</dc:creator>
      <dc:date>2016-08-06T14:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: WIFI module AP6335(bcm4339) get stuck on android6.0.1(kernel 4.1.15)</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563855#M87146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;huang 工：&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 我也有同样wifi的问题，能加你的QQ聊聊吗，我的QQ是274900756，谢谢！&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2016 07:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/WIFI-module-AP6335-bcm4339-get-stuck-on-android6-0-1-kernel-4-1/m-p/563855#M87146</guid>
      <dc:creator>ygzhou</dc:creator>
      <dc:date>2016-08-10T07:40:20Z</dc:date>
    </item>
  </channel>
</rss>

