<?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: Hang when up AP6256 Wifi module in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1550654#M197335</link>
    <description>&lt;P&gt;It seems is the firmware and the driver issues. Please check with the wifi module supplier that the firmware could work on L5.15.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Nov 2022 03:15:05 GMT</pubDate>
    <dc:creator>jimmychan</dc:creator>
    <dc:date>2022-11-09T03:15:05Z</dc:date>
    <item>
      <title>Hang when up AP6256 Wifi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1550486#M197327</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to port the AP6256 Wifi module to a board that uses i.MX 8M Mini.&lt;BR /&gt;When I use in kernel 4.9, wifi module works well. But&amp;nbsp; I use it in kernel 5.15, it hang when I run&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;&lt;STRONG&gt;ifconfig wlan0 up&lt;/STRONG&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is my log with kernel 4.9 (Wifi module works well)&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;root@mys-8mmx:~# ifconfig wlan0 up&lt;BR /&gt;[ 69.855899] [dhd] dhd_open: Enter wlan0&lt;BR /&gt;[ 69.859776] [dhd] dhd_open : no mutex held. set lock&lt;BR /&gt;[ 69.864775] [dhd]&lt;BR /&gt;[ 69.864775] Dongle Host Driver, version 100.10.545.12 (r826445-20200708-1)&lt;BR /&gt;[ 69.873672] [dhd-wlan0] wl_android_wifi_on : in g_wifi_on=0&lt;BR /&gt;[ 69.879272] [dhd] wifi_platform_set_power = 1, delay: 200 msec&lt;BR /&gt;[ 69.885131] [dhd] ======== PULL WL_REG_ON(42) HIGH! ========&lt;BR /&gt;[ 70.279593] mmc0: queuing unknown CIS tuple 0x80 (2 bytes)&lt;BR /&gt;[ 70.292059] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)&lt;BR /&gt;[ 70.303921] mmc0: queuing unknown CIS tuple 0x80 (3 bytes)&lt;BR /&gt;[ 70.320842] mmc0: queuing unknown CIS tuple 0x80 (7 bytes)&lt;BR /&gt;[ 70.340306] mmc0: queuing unknown CIS tuple 0x81 (9 bytes)&lt;BR /&gt;[ 70.638913] [dhd] sdioh_start: set sd_f2_blocksize 256&lt;BR /&gt;[ 70.644964] [dhd]&lt;BR /&gt;[ 70.644964]&lt;BR /&gt;[ 70.644964] dhd_bus_devreset: == Power ON ==&lt;BR /&gt;[ 70.652862] [dhd] F1 signature read @0x18000000=0x15294345&lt;BR /&gt;[ 70.661067] [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2&lt;BR /&gt;[ 70.668487] [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000&lt;BR /&gt;[ 70.675949] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN&lt;BR /&gt;[ 70.681240] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN&lt;BR /&gt;[ 70.689418] [dhd] dhd_conf_read_config : Ignore config file /lib/firmware/bcmd/config.txt&lt;BR /&gt;[ 70.697650] [dhd] dhd_conf_set_path_params : Final fw_path=/lib/firmware/bcmd/fw_bcm43456c5_ag_apsta.bin&lt;BR /&gt;[ 70.707146] [dhd] dhd_conf_set_path_params : Final nv_path=/lib/firmware/bcmd/nvram_ap6256.txt&lt;BR /&gt;[ 70.715765] [dhd] dhd_conf_set_path_params : Final clm_path=/lib/firmware/bcmd/clm_bcm43456c5_ag.blob&lt;BR /&gt;[ 70.725012] [dhd] dhd_conf_set_path_params : Final conf_path=/lib/firmware/bcmd/config.txt&lt;BR /&gt;[ 70.733743] [dhd] dhd_os_open_image1: /lib/firmware/bcmd/fw_bcm43456c5_ag_apsta.bin (612864 bytes) open success&lt;BR /&gt;[ 70.787000] [dhd] dhd_os_open_image1: /lib/firmware/bcmd/nvram_ap6256.txt (2874 bytes) open success&lt;BR /&gt;[ 70.798461] [dhd] NVRAM version: AP6256_NVRAM_V1.4_06112021&lt;BR /&gt;[ 70.804532] [dhd] dhdsdio_write_vars: Download, Upload and compare of NVRAM succeeded.&lt;BR /&gt;[ 70.900899] [dhd] dhd_bus_init: enable 0x06, ready 0x06 (waited 0us)&lt;BR /&gt;[ 70.909093] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 2 -&amp;gt; mode 1&lt;BR /&gt;[ 70.916896] [dhd] dhd_apply_default_clm: Ignore clm file /lib/firmware/bcmd/clm_bcm43456c5_ag.blob&lt;BR /&gt;[ 70.926436] [dhd] Firmware up: op_mode=0x0002, MAC=d4:9c:dd:3d:7c:6c&lt;BR /&gt;[ 70.936159] [dhd] dhd_preinit_ioctls: event_log_max_sets: 26 ret: -23&lt;BR /&gt;[ 70.946099] [dhd] Driver: 100.10.545.12 (r826445-20200708-1)&lt;BR /&gt;[ 70.946099] Firmware: wl0: Jun 25 2021 17:13:38 version 7.45.96.94 (7bb6b14@SYNA) (r745790) FWID 01-2bdfb64c es7.c5.n4.a3&lt;BR /&gt;[ 70.946099] CLM: 9.2.9 (2016-02-03 04:34:31)&lt;BR /&gt;[ 70.967976] [dhd] dhd_txglom_enable: enable 1&lt;BR /&gt;[ 70.972353] [dhd] dhd_conf_set_txglom_params : txglom_mode=multi-desc&lt;BR /&gt;[ 70.978808] [dhd] dhd_conf_set_txglom_params : txglomsize=36, deferred_tx_len=0&lt;BR /&gt;[ 70.986144] [dhd] dhd_conf_set_txglom_params : txinrx_thres=128, dhd_txminmax=-1&lt;BR /&gt;[ 70.993608] [dhd] dhd_conf_set_txglom_params : tx_max_offset=0, txctl_tmo_fix=300&lt;BR /&gt;[ 71.001117] [dhd] dhd_conf_get_disable_proptx : fw_proptx=1, disable_proptx=-1&lt;BR /&gt;[ 71.011255] [dhd] dhd_pno_init: Support Android Location Service&lt;BR /&gt;[ 71.033819] [dhd] dhd_preinit_ioctls: Failed to get preserve log # !&lt;BR /&gt;[ 71.060560] [dhd] dhd_conf_map_country_list : CN/38&lt;BR /&gt;[ 71.060566] [dhd] dhd_wlfc_enable: ret=0&lt;BR /&gt;[ 71.060595] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created&lt;BR /&gt;[ 71.065470] [dhd] dhd_conf_set_country : set country CN, revision 38&lt;BR /&gt;[ 71.069446] [dhd] CFG80211-ERROR) wl_cfg80211_event : Event handler is not created&lt;BR /&gt;[ 71.091451] [dhd] dhd_conf_set_country : Country code: CN (CN/38)&lt;BR /&gt;[ 71.102099] [dhd-wlan0] wl_android_wifi_on : Success&lt;BR /&gt;[ 71.127522] [dhd] _dhd_wlfc_mac_entry_update():1866, entry(32)&lt;BR /&gt;[ 71.152079] [dhd] dhd_open : the lock is released.&lt;BR /&gt;[ 71.156889] [dhd] dhd_open: Exit wlan0 ret=0&lt;BR /&gt;[ 71.161181] [dhd] [wlan0] tx queue started&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;In kernel 5.15, it hang after&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;[ 71.127522] [dhd] _dhd_wlfc_mac_entry_update():1866, entry(32)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Can you help me?&lt;BR /&gt;&lt;BR /&gt;Many thank,&lt;BR /&gt;Dung Tran Anh&lt;/P&gt;</description>
      <pubDate>Tue, 08 Nov 2022 19:12:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1550486#M197327</guid>
      <dc:creator>DungTA98</dc:creator>
      <dc:date>2022-11-08T19:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hang when up AP6256 Wifi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1550654#M197335</link>
      <description>&lt;P&gt;It seems is the firmware and the driver issues. Please check with the wifi module supplier that the firmware could work on L5.15.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Nov 2022 03:15:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1550654#M197335</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2022-11-09T03:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hang when up AP6256 Wifi module</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1551971#M197426</link>
      <description>&lt;P&gt;I think the driver have not issue. When I ran&amp;nbsp;&lt;STRONG&gt;modprobe bcmdhd&lt;/STRONG&gt;, the wifi module initialized fine.&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;modprobe bcmdhd&lt;/P&gt;&lt;P&gt;6.630814] [dhd] dhd_module_init: in Dongle Host Driver, version 100.10.545.12 (r826445-20200708-1)&lt;BR /&gt;[ 6.651701] [dhd] ======== dhd_wlan_init_plat_data ========&lt;BR /&gt;[ 6.657866] [dhd] dhd_wlan_init_gpio: WL_REG_ON=42&lt;BR /&gt;[ 6.663846] [dhd] dhd_wifi_platform_load: Enter&lt;BR /&gt;[ 6.669474] [dhd] Power-up adapter 'DHD generic adapter'&lt;BR /&gt;[ 6.747286] [dhd] wifi_platform_set_power = 1, delay: 200 msec&lt;BR /&gt;[ 6.768108] [dhd] ======== PULL WL_REG_ON(42) HIGH! ========&lt;BR /&gt;[ 7.282590] [dhd] wifi_platform_bus_enumerate device present 1&lt;BR /&gt;[ 7.288506] [dhd] ======== Card detection to detect SDIO card! ========&lt;BR /&gt;[ 7.310839] [dhd] bcmsdh_register: register client driver&lt;BR /&gt;[ 7.316759] [dhd] bcmsdh_sdmmc_probe: Enter num=1&lt;BR /&gt;[ 7.321843] [dhd] bcmsdh_sdmmc_probe: Enter num=2&lt;BR /&gt;[ 7.326682] [dhd] bus num (host idx)=0, slot num (rca)=1&lt;BR /&gt;[ 7.332213] [dhd] found adapter info 'DHD generic adapter'&lt;BR /&gt;[ 7.338647] [dhd] sdioh_attach: set sd_f2_blocksize 256&lt;BR /&gt;[ 7.344040] [dhd] sdioh_attach: sd clock rate = 0&lt;BR /&gt;[ 7.349184] [dhd] dhdsdio_probe : no mutex held. set lock&lt;BR /&gt;[ 7.354745] [dhd] F1 signature read @0x18000000=0x15294345&lt;BR /&gt;[ 7.362635] [dhd] F1 signature OK, socitype:0x1 chip:0x4345 rev:0x9 pkg:0x2&lt;BR /&gt;[ 7.370097] [dhd] DHD: dongle ram size is set to 819200(orig 819200) at 0x198000&lt;BR /&gt;[ 7.377711] [dhd] dhd_conf_set_chiprev : chip=0x4345, chiprev=9&lt;BR /&gt;[ 7.384685] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing&lt;BR /&gt;[ 7.393048] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing&lt;BR /&gt;[ 7.393053] [dhd] CFG80211-ERROR) wl_cfg80211_netdev_notifier_call : wdev null. Do nothing&lt;BR /&gt;[ 7.414211] dhd_attach(): thread:dhd_watchdog_thread:257 started&lt;BR /&gt;[ 7.422768] dhd_attach(): thread:dhd_dpc:258 started&lt;BR /&gt;[ 7.428082] dhd_attach(): thread:dhd_rxf:259 started&lt;BR /&gt;[ 7.433189] [dhd] dhd_deferred_work_init: work queue initialized&lt;BR /&gt;[ 7.439271] [dhd] dhd_tcpack_suppress_set: TCP ACK Suppress mode 0 -&amp;gt; mode 2&lt;BR /&gt;[ 7.446461] [dhd] sdioh_cis_read: func_cis_ptr[0]=0x10ac&lt;BR /&gt;[ 7.457672] [dhd] dhdsdio_probe_init: making DHD_BUS_DOWN&lt;BR /&gt;[ 7.463441] [dhd] Dongle Host Driver, version 100.10.545.12 (r826445-20200708-1)&lt;BR /&gt;[ 7.471657] [dhd] Register interface [wlan0] MAC: d4:9c:dd:3d:7c:6c&lt;/P&gt;&lt;P&gt;[ 7.479834] [dhd] dhd_bus_devreset: == Power OFF ==&lt;BR /&gt;[ 7.485059] [dhd] dhd_bus_stop: making DHD_BUS_DOWN&lt;BR /&gt;[ 7.490080] [dhd] dhd_bus_devreset: making dhdpub up FALSE&lt;BR /&gt;[ 7.495607] [dhd] dhd_txglom_enable: enable 0&lt;BR /&gt;[ 7.500055] [dhd] dhd_bus_devreset: making DHD_BUS_DOWN&lt;BR /&gt;[ 7.500063] [dhd] dhd_bus_devreset: WLAN OFF DONE&lt;BR /&gt;[ 7.500229] [dhd] wifi_platform_set_power = 0, delay: 0 msec&lt;BR /&gt;[ 7.500233] [dhd] ======== PULL WL_REG_ON(42) LOW! ========&lt;BR /&gt;[ 7.500244] [dhd] dhdsdio_probe : the lock is released.&lt;BR /&gt;[ 7.500422] [dhd] dhd_module_init: Exit err=0&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And I ran&lt;STRONG&gt; iw dev&lt;/STRONG&gt;, I seen wlan0 informations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Nov 2022 12:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Hang-when-up-AP6256-Wifi-module/m-p/1551971#M197426</guid>
      <dc:creator>DungTA98</dc:creator>
      <dc:date>2022-11-10T12:36:14Z</dc:date>
    </item>
  </channel>
</rss>

