request fw fail

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

request fw fail

Jump to solution
3,288 Views
chengeneg
Contributor II

After the driver module is loaded, the interrupt function is successfully executed. However, when the cat /prot/interrupt command is used, the interrupt registration is not successful. As a result, the request fw fails because it seems to be in pending state

 

 

root@Localhost:/proc/mwlan# dmesg
[ 9257.301019] wlan: Loading MWLAN driver
[ 9257.304988] wlan: Register to Bus Driver...
[ 9257.309364] vendor=0x1B4B device=0x2B43 rev=3
[ 9257.313766] pci 0001:02:00.0: enabling device (0102 -> 0103)
[ 9257.319689] PCI memory map Virt0: d2300000 PCI memory map Virt2: d22c0000
[ 9257.326564] Attach moal handle ops, card interface type: 0x206
[ 9257.336566] PCIE9098: init module param from usr cfg
[ 9257.341615] card_type: PCIE9098, config block: 0
[ 9257.346300] XXXX line parse_cfg_read_block 585
[ 9257.350842] XXXX line parse_cfg_read_block 590
[ 9257.355319] cfg80211_wext=0xf
[ 9257.358374] max_vir_bss=1
[ 9257.361087] cal_data_cfg=none
[ 9257.364130] ps_mode = 1
[ 9257.366665] auto_ds = 1
[ 9257.369140] CCCCCCCCCCCCCCCC
[ 9257.372038] host_mlme=enable
[ 9257.374993] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 9257.379796] combo fw:nxp/pcieusb9098_combo.bin wlan fw:nxp/pcie9098_wlan.bin
[ 9257.379818] rx_work=1 cpu_num=2
[ 9257.383021] Attach mlan adapter operations.card_type is 0x206.
[ 9257.392575] woal_pcie_register_dev: pcie_int_mode=1
[ 9257.397583] woal_pcie_register_dev: 1413 request_irq ok =0, 18
[ 9257.403518] woal_pcie_register_dev: 1415 request_irq ok =0, 39
[ 9257.409401] woal_pcie_register_dev: 1419 request_irq ok =0, 39
[ 9257.415281] woal_pcie_register_dev: 1425 request_irq ok =0, 39
[ 9257.421169] woal_pcie_register_dev:1454 pcie_int_mode=1
[ 9257.426435] woal_pcie_register_dev:1462 pcie_int_mode=1
[ 9257.431667] woal_init_fw 4557
[ 9257.434641] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 9257.929621] woal_request_fw 4499 0 0
[ 9258.420992] FW download over, size 649768 bytes
[ 9259.256535] WLAN FW is active
[ 9259.259507] on_time is 9259095000873
[ 9259.263171] woal_init_fw_dpc 4305 0
[ 9259.266830] Init ADMA: type=0, size=7 init=1
[ 9259.271129] dma_cfg2=0x29f002
[ 9259.274107] Init ADMA: type=1, size=7 init=1
[ 9259.278386] dma_cfg2=0x4af004
[ 9259.281400] Init ADMA: type=2, size=3 init=1
[ 9259.285682] dma_cfg2=0x4a0004
[ 9259.288658] Init ADMA: type=3, size=0 init=1
[ 9259.292982] dma_cfg2=0x8f002
[ 9259.295942] Init ADMA: type=4, size=0 init=1
[ 9259.300231] dma_cfg2=0x80004
[ 9259.303138] QUEUE_CMD: FUNC_INIT [0xa9] is queued
[ 9259.307941] QUEUE_CMD: CHAN_REGION_CFG [0x242] is queued
[ 9259.313279] QUEUE_CMD: GET_HW_SPEC [0x3] is queued
[ 9259.318112] wlan_init_fw 1500 0
[ 9259.321353] DNLD_CMD (9259.154520): FUNC_INIT [0xa9], act 0x0, len 8, seqno 0x1 timeout 5000
[ 9259.329907] wlan_init_fw 1523 1
[ 9259.333144] woal_init_fw_dpc 4307 1
[ 9259.336654] woal_init_fw_dpc 4317 1 2
[ 9264.336530] Timeout cmd id (9264.169692) FUNC_INIT [0xa9], act = 0x0
[ 9264.342906] Dump Rx CMD Response Buf:
[ 9264.346572] CmdResp Buf:
[ 9264.346588] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9264.346605] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9264.346628] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9264.346644] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9264.346652] BSS type = 0 BSS role= 0
[ 9264.350227] ------------Dump info-----------
[ 9264.354495] Commmand Timeout
[ 9264.357379] pending command id: 0x242 ioctl_buf= (null)
[ 9264.362683] pending command id: 0x3 ioctl_buf= (null)
[ 9264.367812] No pending scan command
[ 9264.371300] mlan_processing =0
[ 9264.374351] main_lock_flag =0
[ 9264.377318] main_process_cnt =1
[ 9264.380451] delay_task_flag =0
[ 9264.383503] mlan_rx_processing =0
[ 9264.386824] rx_pkts_queued=0
[ 9264.389704] more_task_flag = 0
[ 9264.392758] num_cmd_timeout = 1
[ 9264.395891] last_cmd_index = 1
[ 9264.398944] last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9264.405250] last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9264.411550] last_cmd_resp_index = 0
[ 9264.415036] last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9264.421688] last_event_index = 0
[ 9264.424913] last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9264.431040] num_data_h2c_failure = 0
[ 9264.434615] num_cmd_h2c_failure = 0
[ 9264.438103] num_alloc_buffer_failure = 0
[ 9264.442024] num_pkt_dropped = 0
[ 9264.445165] num_no_cmd_node = 0
[ 9264.448298] num_event_deauth = 0
[ 9264.451525] num_event_disassoc = 0
[ 9264.454926] num_event_link_lost = 0
[ 9264.458414] num_cmd_deauth = 0
[ 9264.461468] num_cmd_assoc_success = 0
[ 9264.465129] num_cmd_assoc_failure = 0
[ 9264.468789] num_cons_assoc_failure = 0
[ 9264.472538] cmd_resp_received=0
[ 9264.475671] event_received=0
[ 9264.478551] max_tx_buf_size=4096
[ 9264.481778] tx_buf_size=2048
[ 9264.484659] curr_tx_buf_size=2048
[ 9264.487970] data_sent=0 cmd_sent=1
[ 9264.491372] ps_mode=1 ps_state=0
[ 9264.494600] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0
[ 9264.500259] hs_configured=0 hs_activated=0
[ 9264.504354] pps_uapsd_mode=0 sleep_pd=0
[ 9264.508189] tx_lock_flag = 0
[ 9264.511068] scan_processing = 0
[ 9264.514209] scan_state = 0x0
[ 9264.517090] bypass_pkt_count=0
[ 9264.520137] txbd_rdptr=0x0 txbd_wrptr=0x0
[ 9264.524146] rxbd_rdptr=0x0 rxbd_wrptr=0x80
[ 9264.528242] evtbd_rdptr=0x0 evt_wrptr=0x8
[ 9264.532251] last_wr_index:0
[ 9264.535044] txrx_bd_size = 128
[ 9264.538184] Tx pkt size:
[ 9264.540716] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.549206] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.557697] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.566192] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.574682] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.583174] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.591668] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.600158] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9264.608653] bss_index = 0, tx_pkts_queued = 0
[ 9264.613009] -------- Dump info End---------
[ 9264.617194] wlan_cmd_timeout_func 2576
[ 9264.621384] woal_init_fw_dpc 4321 1 2
[ 9264.625133] func0: Wakeup device...
[ 9264.628693] Config Space Registers:
[ 9264.632283] reg:0x00 value=0x2b431b4b
[ 9264.635963] reg:0x04 value=0x00100406
[ 9264.639700] reg:0x10 value=0x8000000c
[ 9264.643405] reg:0x18 value=0x8010000c
[ 9264.647141] reg:0x2c value=0x2b431b4b
[ 9264.650887] reg:0x3c value=0x000001ff
[ 9264.654635] reg:0x44 value=0x00000008
[ 9264.658313] reg:0x80 value=0x10110000
[ 9264.661982] reg:0x98 value=0x00000000
[ 9264.665652] reg:0x170 value=0x0001001e
[ 9264.669492] FW Scrach Registers:
[ 9264.672745] reg:0x1c90 value=0xfedcba00
[ 9264.676590] reg:0x1c98 value=0x1f007f
[ 9264.680273] reg:0x1c9c value=0x10
[ 9264.783665] reg:0x1c98 value=0x2a009d
[ 9264.787378] reg:0x1c9c value=0x10
[ 9264.890721] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 9264.896832] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 9264.902201] 00000000 00000000 0000004f 0000004f ffffffff 00000000 00000000 00000000
[ 9264.909966] 00000000 00000000 02030081 00000000 02030081 00000000 02030001 00000000
[ 9264.917754] 0f2a50c0 00000000 00000000 fedcba00 008047e3 c8701424 0009ea28 00000000
[ 9264.925653] 00000000 00000000 00000000 00000000 fedcba00 00000000 0038002f 00000010
[ 9264.933497]
[ 9264.934984] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 9264.939945] ADMA registers dump from offset 0x10000 to 0x10068
[ 9264.945875] 00005702 0e1f8000 00000000 c00259b0 00000000 00000000 00000000 00000001
[ 9264.953724] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 0029f002
[ 9264.961573] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9264.969363] 80000948 00000000 00808c8c
[ 9264.973211] ADMA registers dump from offset 0x10800 to 0x10868
[ 9264.979141] 00007702 c00269b0 00000000 0e1f7000 00000000 00000000 00000080 00000002
[ 9264.986918] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 004af004
[ 9264.994713] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9265.002500] 80000948 00000000 00808c8c
[ 9265.006349] ADMA registers dump from offset 0x10880 to 0x108e8
[ 9265.012206] 00003302 c00279b0 00000000 0e1f3000 00000000 00000000 00000008 00000002
[ 9265.019994] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 004a0004
[ 9265.027856] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9265.035721] 80000948 00000000 00000000
[ 9265.039597] ADMA registers dump from offset 0x11000 to 0x11068
[ 9265.045529] 000c0000 0e2e8080 00000000 c0015060 00000000 00000000 00000000 00000000
[ 9265.053332] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 0008f002
[ 9265.061184] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9265.069025] 80000948 00000000 00808c8c
[ 9265.072875] ADMA registers dump from offset 0x11080 to 0x110e8
[ 9265.078803] 00000000 00000000 00000000 0e1f2000 00000000 00000000 00000000 00000000
[ 9265.086580] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 00080004
[ 9265.094375] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9265.102167] 80000948 00000000 00000000
[ 9265.106043] woal_init_fw_dpc 4334 1
[ 9265.109539] woal_init_fw_dpc 4355 -1
[ 9265.113120] woal_request_fw_dpc 4398
[ 9265.116856] woal_request_fw failed
[ 9265.120254] Firmware Init Failed
[ 9265.125073] Free module params
[ 9265.128196] woal_pcie_probe: failed
[ 9265.131825] wlan_pcie: probe of 0001:03:00.0 failed with error -14
[ 9265.138130] vendor=0x1B4B device=0x2B44 rev=3
[ 9265.142698] PCI memory map Virt0: d2780000 PCI memory map Virt2: d2740000
[ 9265.149651] Attach moal handle ops, card interface type: 0x206
[ 9265.155902] PCIE9098: init module param from usr cfg
[ 9265.161003] card_type: PCIE9098, config block: 0
[ 9265.165674] XXXX line parse_cfg_read_block 585
[ 9265.170161] XXXX line parse_cfg_read_block 590
[ 9265.174637] cfg80211_wext=0xf
[ 9265.177621] max_vir_bss=1
[ 9265.180241] cal_data_cfg=none
[ 9265.183235] ps_mode = 1
[ 9265.185697] auto_ds = 1
[ 9265.188148] CCCCCCCCCCCCCCCC
[ 9265.191042] host_mlme=enable
[ 9265.193937] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 9265.198672] combo fw:nxp/pcieusb9098_combo.bin wlan fw:nxp/pcie9098_wlan.bin
[ 9265.198697] rx_work=1 cpu_num=2
[ 9265.201915] Attach mlan adapter operations.card_type is 0x206.
[ 9265.212564] woal_pcie_register_dev: pcie_int_mode=1
[ 9265.217470] woal_pcie_register_dev: 1413 request_irq ok =0, 255
[ 9265.223527] woal_pcie_register_dev: 1415 request_irq ok =0, 39
[ 9265.229443] woal_pcie_register_dev: 1419 request_irq ok =0, 39
[ 9265.235422] woal_pcie_register_dev: 1425 request_irq ok =0, 39
[ 9265.241340] woal_pcie_register_dev:1454 pcie_int_mode=1
[ 9265.246654] woal_pcie_register_dev:1458 pcie_int_mode=1
[ 9265.251958] woal_init_fw 4557
[ 9265.255008] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 9265.263858] woal_request_fw 4499 0 0
[ 9265.267487] WLAN FW already running! Skip FW download
[ 9265.272660] WLAN FW is active
[ 9265.275625] on_time is 9265111120136
[ 9265.279217] woal_init_fw_dpc 4305 0
[ 9265.282970] Init ADMA: type=0, size=7 init=1
[ 9265.287276] dma_cfg2=0x29f002
[ 9265.290255] Init ADMA: type=1, size=7 init=1
[ 9265.294567] dma_cfg2=0x4af004
[ 9265.297547] Init ADMA: type=2, size=3 init=1
[ 9265.301825] dma_cfg2=0x4a0004
[ 9265.304800] Init ADMA: type=3, size=0 init=1
[ 9265.309231] dma_cfg2=0x8f002
[ 9265.312142] Init ADMA: type=4, size=0 init=1
[ 9265.316485] dma_cfg2=0x80004
[ 9265.319395] QUEUE_CMD: FUNC_INIT [0xa9] is queued
[ 9265.324144] QUEUE_CMD: CHAN_REGION_CFG [0x242] is queued
[ 9265.329472] QUEUE_CMD: GET_HW_SPEC [0x3] is queued
[ 9265.334315] wlan_init_fw 1500 0
[ 9265.337568] DNLD_CMD (9265.170736): FUNC_INIT [0xa9], act 0x0, len 8, seqno 0x1 timeout 5000
[ 9265.346123] wlan_init_fw 1523 1
[ 9265.349351] woal_init_fw_dpc 4307 1
[ 9265.352855] woal_init_fw_dpc 4317 1 2
[ 9270.352529] Timeout cmd id (9270.185692) FUNC_INIT [0xa9], act = 0x0
[ 9270.358912] Dump Rx CMD Response Buf:
[ 9270.362579] CmdResp Buf:
[ 9270.362596] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9270.362614] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9270.362638] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9270.362653] 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ 9270.362661] BSS type = 0 BSS role= 0
[ 9270.366236] ------------Dump info-----------
[ 9270.370505] Commmand Timeout
[ 9270.373388] pending command id: 0x242 ioctl_buf= (null)
[ 9270.378693] pending command id: 0x3 ioctl_buf= (null)
[ 9270.383821] No pending scan command
[ 9270.387310] mlan_processing =0
[ 9270.390361] main_lock_flag =0
[ 9270.393327] main_process_cnt =1
[ 9270.396459] delay_task_flag =0
[ 9270.399511] mlan_rx_processing =0
[ 9270.402826] rx_pkts_queued=0
[ 9270.405707] more_task_flag = 0
[ 9270.408760] num_cmd_timeout = 1
[ 9270.411893] last_cmd_index = 1
[ 9270.414945] last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9270.421252] last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9270.427552] last_cmd_resp_index = 0
[ 9270.431038] last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9270.437689] last_event_index = 0
[ 9270.440915] last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 9270.447043] num_data_h2c_failure = 0
[ 9270.450616] num_cmd_h2c_failure = 0
[ 9270.454105] num_alloc_buffer_failure = 0
[ 9270.458026] num_pkt_dropped = 0
[ 9270.461170] num_no_cmd_node = 0
[ 9270.464303] num_event_deauth = 0
[ 9270.467529] num_event_disassoc = 0
[ 9270.470931] num_event_link_lost = 0
[ 9270.474419] num_cmd_deauth = 0
[ 9270.477473] num_cmd_assoc_success = 0
[ 9270.481134] num_cmd_assoc_failure = 0
[ 9270.484795] num_cons_assoc_failure = 0
[ 9270.488544] cmd_resp_received=0
[ 9270.491677] event_received=0
[ 9270.494557] max_tx_buf_size=4096
[ 9270.497783] tx_buf_size=2048
[ 9270.500664] curr_tx_buf_size=2048
[ 9270.503970] data_sent=0 cmd_sent=1
[ 9270.507371] ps_mode=1 ps_state=0
[ 9270.510600] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0
[ 9270.516258] hs_configured=0 hs_activated=0
[ 9270.520354] pps_uapsd_mode=0 sleep_pd=0
[ 9270.524188] tx_lock_flag = 0
[ 9270.527068] scan_processing = 0
[ 9270.530208] scan_state = 0x0
[ 9270.533089] bypass_pkt_count=0
[ 9270.536135] txbd_rdptr=0x0 txbd_wrptr=0x0
[ 9270.540144] rxbd_rdptr=0x0 rxbd_wrptr=0x80
[ 9270.544240] evtbd_rdptr=0x0 evt_wrptr=0x8
[ 9270.548249] last_wr_index:0
[ 9270.551043] txrx_bd_size = 128
[ 9270.554184] Tx pkt size:
[ 9270.556716] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.565214] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.573703] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.582194] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.590683] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.599171] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.607660] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.616150] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 9270.624645] bss_index = 0, tx_pkts_queued = 0
[ 9270.629001] -------- Dump info End---------
[ 9270.633185] wlan_cmd_timeout_func 2576
[ 9270.637378] woal_init_fw_dpc 4321 1 2
[ 9270.641073] func1: Wakeup device...
[ 9270.644574] Config Space Registers:
[ 9270.648106] reg:0x00 value=0x2b441b4b
[ 9270.651782] reg:0x04 value=0x00100406
[ 9270.655452] reg:0x10 value=0x8020000c
[ 9270.659164] reg:0x18 value=0x80300004
[ 9270.662932] reg:0x2c value=0x2b441b4b
[ 9270.666676] reg:0x3c value=0x000002ff
[ 9270.670379] reg:0x44 value=0x00000008
[ 9270.674114] reg:0x80 value=0x10110000
[ 9270.677790] reg:0x98 value=0x00000000
[ 9270.681553] reg:0x170 value=0x0001001e
[ 9270.685378] FW Scrach Registers:
[ 9270.688700] reg:0x1c90 value=0xfedcba00
[ 9270.692551] reg:0x1c98 value=0x0
[ 9270.695773] reg:0x1c9c value=0x0
[ 9270.799094] reg:0x1c98 value=0x0
[ 9270.802335] reg:0x1c9c value=0x0
[ 9270.905599] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 9270.911703] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 9270.917114] 00000000 00000000 0000004f 0000004f ffffffff 00000000 00000000 00000000
[ 9270.924887] 00000000 00000000 02030081 00000000 02030081 00000000 02030001 00000000
[ 9270.932680] 00000000 00000000 00000010 fedcba00 008047e3 c8701424 00000000 00000000
[ 9270.940497] 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000
[ 9270.948247]
[ 9270.949743] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 9270.954649] ADMA registers dump from offset 0x10000 to 0x10068
[ 9270.960504] 00005702 0e220000 00000000 c00261b0 00000000 00000000 00000000 00000001
[ 9270.968368] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 0029f002
[ 9270.976222] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9270.984064] 80000948 00000000 00808c8c
[ 9270.987979] ADMA registers dump from offset 0x10800 to 0x10868
[ 9270.993920] 00007702 c00271b0 00000000 0e221000 00000000 00000000 00000080 00000002
[ 9271.001782] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 004af004
[ 9271.009631] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9271.017470] 80000948 00000000 00808c8c
[ 9271.021328] ADMA registers dump from offset 0x10880 to 0x108e8
[ 9271.027183] 00003302 c0027a30 00000000 0e222000 00000000 00000000 00000008 00000002
[ 9271.034974] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 004a0004
[ 9271.042762] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9271.050517] 80000948 00000000 00000000
[ 9271.054382] ADMA registers dump from offset 0x11000 to 0x11068
[ 9271.060238] 000c0000 0e388080 00000000 c0015c38 00000000 00000000 00000000 00000000
[ 9271.068046] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 0008f002
[ 9271.075915] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9271.083758] 80000948 00000000 00808c8c
[ 9271.087607] ADMA registers dump from offset 0x11080 to 0x110e8
[ 9271.093536] 00000000 00000000 00000000 0d01f000 00000000 00000000 00000000 00000000
[ 9271.101382] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 00080004
[ 9271.109228] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 9271.117005] 80000948 00000000 00000000
[ 9271.120946] woal_init_fw_dpc 4334 1
[ 9271.124432] woal_init_fw_dpc 4355 -1
[ 9271.128018] woal_request_fw_dpc 4398
[ 9271.131736] woal_request_fw failed
[ 9271.135149] Firmware Init Failed
[ 9271.141095] Free module params
[ 9271.144199] woal_pcie_probe: failed
[ 9271.147735] wlan_pcie: probe of 0001:03:00.1 failed with error -14
[ 9271.154044] wlan: Register to Bus Driver Done
[ 9271.158432] wlan: Driver loaded successfully

0 Kudos
Reply
1 Solution
3,265 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear customer

 

Could you please provide additional details on your setup ?

1/ host processor used (NXP i.MX 6/7/8/9 ? other ?)

2/ host kernel version ?

3/ Wifi driver and firwmare version (should be displayed also by driver init FW download traces)

4/ commands used to start wifi driver ?

 

Regards,

Olivier

View solution in original post

0 Kudos
Reply
15 Replies
2,992 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @chengeneg ,

 

I got the driver on ubuntu host using the following commands:

# git clone https://github.com/nxp-imx/mwifiex.git
# cd mwifiex

# git tag

android-11.0.0_2.0.0
android-11.0.0_2.2.0
android-11.0.0_2.2.0-imx8ulp-er
android-11.0.0_2.4.0
android-11.0.0_2.6.0
android-12.0.0_1.0.0
android-12.0.0_2.0.0
android-12.1.0_1.0.0
android-13.0.0_1.0.0
android-13.0.0_1.2.0
android-13.0.0_2.0.0
android-13.0.0_2.2.0
automotive-11.0.0_2.1.0
automotive-11.0.0_2.3.0
automotive-11.0.0_2.5.0
automotive-12.0.0_1.1.0
automotive-12.0.0_2.1.0
automotive-12.1.0_1.1.0
automotive-13.0.0_1.1.0
automotive-13.0.0_1.3.0
automotive-13.0.0_2.1.0
automotive-13.0.0_2.3.0
lf-5.10.35-2.0.0
lf-5.10.52-2.1.0
lf-5.10.72-2.2.0
lf-5.10.72-2.2.2
lf-5.10.72-2.2.3
lf-5.10.y-1.0.0
lf-5.15.32-2.0.0
lf-5.15.5-1.0.0
lf-5.15.52-2.1.0
lf-5.15.71-2.2.0
lf-5.15.71-2.2.1
lf-5.15.71-2.2.2
lf-6.1.1-1.0.0
lf-6.1.22-2.0.0
lf-6.1.36-2.1.0
lf-6.1.55-2.2.0
rel_imx_5.4.24_2.1.0
rel_imx_5.4.47_2.2.0
rel_imx_5.4.70_2.3.0
rel_imx_5.4.70_2.3.2

# git checkout lf-6.1.36-2.1.0
# cd mxm_wifiex

# cd wlan_src

open Makefile, I didn't find macro CONFIG_BIG_EBDIAY , BUT "CONFIG_BIG_ENDIAN"

weidong_sun_0-1703255903425.png

what happened on your side?

 

Regards,

weidong

0 Kudos
Reply
2,995 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @chengeneg ,

 

I got the driver on ubuntu host using the following commands:

# git clone https://github.com/nxp-imx/mwifiex.git
# cd mwifiex

# git tag

android-11.0.0_2.0.0
android-11.0.0_2.2.0
android-11.0.0_2.2.0-imx8ulp-er
android-11.0.0_2.4.0
android-11.0.0_2.6.0
android-12.0.0_1.0.0
android-12.0.0_2.0.0
android-12.1.0_1.0.0
android-13.0.0_1.0.0
android-13.0.0_1.2.0
android-13.0.0_2.0.0
android-13.0.0_2.2.0
automotive-11.0.0_2.1.0
automotive-11.0.0_2.3.0
automotive-11.0.0_2.5.0
automotive-12.0.0_1.1.0
automotive-12.0.0_2.1.0
automotive-12.1.0_1.1.0
automotive-13.0.0_1.1.0
automotive-13.0.0_1.3.0
automotive-13.0.0_2.1.0
automotive-13.0.0_2.3.0
lf-5.10.35-2.0.0
lf-5.10.52-2.1.0
lf-5.10.72-2.2.0
lf-5.10.72-2.2.2
lf-5.10.72-2.2.3
lf-5.10.y-1.0.0
lf-5.15.32-2.0.0
lf-5.15.5-1.0.0
lf-5.15.52-2.1.0
lf-5.15.71-2.2.0
lf-5.15.71-2.2.1
lf-5.15.71-2.2.2
lf-6.1.1-1.0.0
lf-6.1.22-2.0.0
lf-6.1.36-2.1.0
lf-6.1.55-2.2.0
rel_imx_5.4.24_2.1.0
rel_imx_5.4.47_2.2.0
rel_imx_5.4.70_2.3.0
rel_imx_5.4.70_2.3.2

# git checkout lf-6.1.36-2.1.0
# cd mxm_wifiex

# cd wlan_src

open Makefile, I didn't find macro CONFIG_BIG_EBDIAY , BUT "CONFIG_BIG_ENDIAN"

weidong_sun_0-1703255903425.png

what happened on your side?

 

Regards,

weidong

0 Kudos
Reply
3,011 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @chengeneg ,

 

>>CONFIG_BIG_EBDIAY=y ?

The item is in kernel option? if you are using cross compiler for MPC85xx, don't need to set it.

>>Big endian option in Makefile of driver

In wlan_src of driver, you can find a Makefile, open it, and check CONFIG_BIG_ENDIAN , it should be set to y.

then compile driver using MPC85XX compiler.

 

Try it again, then paste your logs here, let us see running result.

 

Regards,

weidong

 

 

0 Kudos
Reply
3,059 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @chengeneg ,

 

1. There was a customer who used 9098 on the Big endian platform, but the results were not ideal. This is why we informed you that the driver does not support the Big endian platform.

2. I have checked your log and it appears that the driver did not load successfully. Please remove the drvdbg parameter, load the driver, and show us the logs.

3.  Some customers are using the same version of driver as you on Linux 4.4 kernel without any issues. However, it is the ARM of Little endian

 

Thanks!

Regards,

weidong

 

 

0 Kudos
Reply
3,266 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear customer

 

Could you please provide additional details on your setup ?

1/ host processor used (NXP i.MX 6/7/8/9 ? other ?)

2/ host kernel version ?

3/ Wifi driver and firwmare version (should be displayed also by driver init FW download traces)

4/ commands used to start wifi driver ?

 

Regards,

Olivier

0 Kudos
Reply
3,255 Views
chengeneg
Contributor II

1. The OS is based on openwrt17.01, the cpu is mpc85xx, and the kernel version is linux-4.4.50

2. The driver is mwifiex-lf-6.1.36_2.1.0.zip downloaded from the nxp official website, and the firmware is   pcie9098 in imx-firmware-lf-6.1.36_2.1.0.zip

3.insmod mlan.ko, insmod moal.ko mod_para=nxp/wifi_mod_para.conf drvdbg=0xfffff

0 Kudos
Reply
3,233 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello @chengeneg ,

 

Could you please try to add 'pci=nomsi' in u-boot environment ?

[Note]

    I'm a little curious that openwrt 17.01 seems very old, why not use the latest one? And Layerscape , such as LS1043A is supported well by openwrt, why not use it?

 

Thanks!

Regards,

weidong

0 Kudos
Reply
3,163 Views
chengeneg
Contributor II

1.os: openwrt-17.01 kernel: linux-4.4.50 cpu:mpc85xx
2. network card :88w9098

When I compile with the driver enable CONFIG_BIG_EBDIAY=y included in mwifiex-lf-6.1.36_2.1.0.zip, the following message appears: err:aggregate value used where an integer was expected, but I do not have permission to view mfg_Cmd_IEEEtypes_CtlBasicTrigHdr_t structure information, so I cannot effectively modify

 

/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c: In function 'wlan_cmd_mfg_config_trigger_frame':
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
wlan_cpu_to_le64(cfg->trig_common_field);
^
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:462:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:461:27: error: incompatible types when assigning to type 'mfg_cmd_IEEEtypes_HETrigComInfo_t {aka struct _mfg_cmd_IEEEtypes_HETrigComInfo_t}' from type 'long long unsigned int'
mcmd->trig_common_field =
^
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:470:4: error: aggregate value used where an integer was expected
wlan_cpu_to_le16(cfg->basic_trig_user_info);
^
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:470:4: error: aggregate value used where an integer was expected
/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.c:469:30: error: incompatible types when assigning to type 'mfg_cmd_IEEETypes_BasicHETrigUserInfo_t {aka struct _mfg_cmd_IEEETypes_BasicHETrigUserInfo_t}' from type 'short unsigned int'
mcmd->basic_trig_user_info =
^
make[2]: *** [/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src/mlan/mlan_sta_cmd.o] 错误 1
make[1]: *** [_module_/home/cheng/Source/mwifiex-lf-6.1.36_2.1.0/mxm_wifiex/wlan_src] 错误 2
make[1]: Leaving directory `/home/cheng/Source/WAPI2/src/build_dir/target-powerpc_8540_musl-1.1.16/linux-mpc85xx_ebp8020/linux-4.4.50'
make: *** [default] 错误 2

0 Kudos
Reply
3,114 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @chengeneg 

 

When you refer to "CONFIG_BIG_EBDIAY=y", do you mean "CONFIG_BIG_ENDIAN=y" ?

 

Regards,

Olivier

0 Kudos
Reply
3,109 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @chengeneg 

 

Our driver does not support big endian mode.

 

Regards,

Olivier

0 Kudos
Reply
3,087 Views
chengeneg
Contributor II

See manual found the cat/proc/mwlan adapterX/config command can set the channel and bandwidth, spectrum (2.4 G, 5 G), I want to know the number of parameters is that through this command to set in, or can be set by normal analytical hostapd configuration files, By trying echo xx> / proc/mwlan/adapterX/config, cat/proc/mwlan adapterX/config/find the file as a read-only file does not accept the write operation, whether can provide relevant documentation

0 Kudos
Reply
3,078 Views
ocourson
NXP TechSupport
NXP TechSupport

Dear @chengeneg 

 

As stated in UM11490 document (Feature Configuration Guide for NXP-based Wireless Modules on i.MX 8M Quad EVK), /proc/mwlan/adapterX entries can be used only to configure RFtest mode. These /proc entries cannot be used to configure normal operation mode.

For normal AP/STA modes, please use hostapd.conf for AP mode or wpa_supplicant.conf for STA mode.

Please refer to UM11490 for hostapd.conf and wpa_supplicant.conf examples.

 

Regards,

Olivier

0 Kudos
Reply
3,066 Views
chengeneg
Contributor II

1. The OS is based on openwrt17.01, the cpu is mpc85xx, and the kernel version is linux-4.4.50

2. The driver is mwifiex-lf-6.1.36_2.1.0.zip downloaded from the nxp official website, and the firmware is pcie9098 in imx-firmware-lf-6.1.36_2.1.0.zip

3.insmod mlan.ko, insmod moal.ko mod_para=nxp/wifi_mod_para.conf drvdbg=0xfffff

4.I have asked you that firmware is in pending state due to no response during driver loading, resulting in timeout registration failure. If CONFIG_BIG_EBDIAY=y is enabled, the firmware responds during driver loading, and the driver can be loaded normally and successfully. You told me that your driver cannot be CONFIG_BIG_EBDIAY=y. I don't understand.

5.If CONFIG_BIG_EBDIAY=y is enabled, the firmware will respond when loading the driver. The driver can be loaded normally, but it is not guaranteed that 100% of the drivers can be loaded successfully. Moreover, ioctl commands often return failure after sending commands to the driver. Hope you can give suggestions or give the reason why the problem is wrong, after all, we do not know how to handle the firmware

0 Kudos
Reply
3,035 Views
chengeneg
Contributor II
Thank you very much for your reply. At present, I am using mpc85xx platform, so when I enable CONFIG_BIG_EBDIAY=y to compile and install the driver, the driver can be loaded randomly, but when I use it, I will find that many commands sent by the driver firmware cannot be executed successfully. But when CONFIG_BIG_EBDIAY=n

The compiled and loaded driver fails to be loaded. Attached is the log information



CONFIG_BIG_EBDIAY=n
root@Localhost:~# [ 184.661762] wlan: Loading MWLAN driver
[ 184.665735] wlan: Register to Bus Driver...
[ 184.670353] PCI memory map Virt0: d3480000 PCI memory map Virt2: d35c0000
[ 184.677177] Attach moal handle ops, card interface type: 0x206
[ 184.683270] PCIE9098: init module param from usr cfg
[ 184.688336] card_type: PCIE9098, config block: 0
[ 184.692981] cfg80211_wext=0xf
[ 184.695960] max_vir_bss=1
[ 184.698591] cal_data_cfg=none
[ 184.701553] ps_mode = 1
[ 184.704020] auto_ds = 1
[ 184.706492] host_mlme=enable
[ 184.709368] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 184.714099] rx_work=1 cpu_num=2
[ 184.717275] Attach mlan adapter operations.card_type is 0x206.
[ 184.726439] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 184.735063] WLAN FW already running! Skip FW download
[ 184.740139] WLAN FW is active
[ 184.743117] on_time is 184580853377
[ 189.762284] Timeout cmd id (189.599961) FUNC_INIT [0xa9], act = 0x0
[ 189.768556] Dump Rx CMD Response Buf:
[ 189.772305] BSS type = 0 BSS role= 0
[ 189.775880] ------------Dump info-----------
[ 189.780149] Commmand Timeout
[ 189.783033] pending command id: 0x242 ioctl_buf= (null)
[ 189.788336] pending command id: 0x3 ioctl_buf= (null)
[ 189.793465] No pending scan command
[ 189.796953] mlan_processing =0
[ 189.800003] main_lock_flag =0
[ 189.802969] main_process_cnt =1
[ 189.806102] delay_task_flag =0
[ 189.809155] mlan_rx_processing =0
[ 189.812469] rx_pkts_queued=0
[ 189.815349] more_task_flag = 0
[ 189.818402] num_cmd_timeout = 1
[ 189.821535] last_cmd_index = 1
[ 189.824588] last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 189.830894] last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 189.837198] last_cmd_resp_index = 0
[ 189.840685] last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 189.847335] last_event_index = 0
[ 189.850560] last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 189.856686] num_data_h2c_failure = 0
[ 189.860260] num_cmd_h2c_failure = 0
[ 189.863748] num_alloc_buffer_failure = 0
[ 189.867669] num_pkt_dropped = 0
[ 189.870810] num_no_cmd_node = 0
[ 189.873943] num_event_deauth = 0
[ 189.877169] num_event_disassoc = 0
[ 189.880569] num_event_link_lost = 0
[ 189.884057] num_cmd_deauth = 0
[ 189.887110] num_cmd_assoc_success = 0
[ 189.890771] num_cmd_assoc_failure = 0
[ 189.894433] num_cons_assoc_failure = 0
[ 189.898173] cmd_resp_received=0
[ 189.901312] event_received=0
[ 189.904192] max_tx_buf_size=4096
[ 189.907419] tx_buf_size=2048
[ 189.910299] curr_tx_buf_size=2048
[ 189.913606] data_sent=0 cmd_sent=1
[ 189.917007] ps_mode=1 ps_state=0
[ 189.920236] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0
[ 189.925893] hs_configured=0 hs_activated=0
[ 189.929989] pps_uapsd_mode=0 sleep_pd=0
[ 189.933824] tx_lock_flag = 0
[ 189.936708] scan_processing = 0
[ 189.939850] scan_state = 0x0
[ 189.942730] bypass_pkt_count=0
[ 189.945776] txbd_rdptr=0x0 txbd_wrptr=0x0
[ 189.949786] rxbd_rdptr=0x0 rxbd_wrptr=0x80
[ 189.953882] evtbd_rdptr=0x0 evt_wrptr=0x8
[ 189.957891] last_wr_index:0
[ 189.960683] txrx_bd_size = 128
[ 189.963823] Tx pkt size:
[ 189.966355] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 189.974849] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 189.983350] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 189.991840] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 190.000337] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 190.008834] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 190.017325] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 190.025817] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 190.034317] bss_index = 0, tx_pkts_queued = 0
[ 190.038677] -------- Dump info End---------
[ 190.042905] Config Space Registers:
[ 190.046420] reg:0x00 value=0x2b431b4b
[ 190.050081] reg:0x04 value=0x00100406
[ 190.053747] reg:0x10 value=0xa000000c
[ 190.057414] reg:0x18 value=0xa010000c
[ 190.061081] reg:0x2c value=0x2b431b4b
[ 190.064748] reg:0x3c value=0x000001ff
[ 190.068415] reg:0x44 value=0x00000008
[ 190.072082] reg:0x80 value=0x10110000
[ 190.075749] reg:0x98 value=0x00000000
[ 190.079415] reg:0x170 value=0x0001001e
[ 190.083165] FW Scrach Registers:
[ 190.086398] reg:0x1c90 value=0xfedcba00
[ 190.090228] reg:0x1c98 value=0x90070
[ 190.093807] reg:0x1c9c value=0x1000010
[ 190.197567] reg:0x1c98 value=0x130077
[ 190.201234] reg:0x1c9c value=0x1000010
[ 190.304991] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 190.311088] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 190.316424] 00000000 00000020 0000004f 0000004f ffffffff 00000020 00000000 00000000
[ 190.324190] 00000000 00000000 02030081 00000000 02030081 00000000 02030001 00000000
[ 190.331952] 0fa2f0c0 00000000 00000000 fedcba00 008047e3 c8701424 0009ea28 00000000
[ 190.339715] 00000000 00000000 00000000 00000000 fedcba00 00000000 0022002b 01000010
[ 190.347466]
[ 190.348949] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 190.353831] ADMA registers dump from offset 0x10000 to 0x10068
[ 190.359684] 00005702 0ef9e000 00000000 c00259b0 00000000 00000000 00000000 00000001
[ 190.367447] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 0029f002
[ 190.375208] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 190.382960] 80000948 00000000 00808c8c
[ 190.386800] ADMA registers dump from offset 0x10800 to 0x10868
[ 190.392651] 00007702 c00269b0 00000000 0ef9d000 00000000 00000000 00000080 00000002
[ 190.400413] 00020000 00000001 00000001 00000000 00000001 00000001 00000000 004af004
[ 190.408175] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 190.415927] 80000948 00000000 00808c8c
[ 190.419766] ADMA registers dump from offset 0x10880 to 0x108e8
[ 190.425618] 00003302 c00279b0 00000000 0ef9c000 00000000 00000000 00000008 00000002
[ 190.433379] 00000000 00000001 00000001 00000000 00000001 00000001 00000001 004a0004
[ 190.441144] 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
[ 190.448906] 80000948 00000000 00000000
[ 190.452751] ADMA registers dump from offset 0x11000 to 0x11068
[ 190.458603] 000c0000 0de00080 00000000 c0015060 00000000 00000000 00000000 00000000
[ 190.466365] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 0008f002
[ 190.474127] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 190.481879] 80000948 00000000 00808c8c
[ 190.485719] ADMA registers dump from offset 0x11080 to 0x110e8
[ 190.491571] 000c0000 00000000 00000000 0ef9b000 00000000 00000000 00000000 00000000
[ 190.499331] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 00080004
[ 190.507094] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 190.514845] 80000948 00000000 00000000
[ 190.518815] woal_request_fw failed
[ 190.522210] Firmware Init Failed
[ 190.526534] Free module params
[ 190.529612] woal_pcie_probe: failed
[ 190.533153] wlan_pcie: probe of 0000:01:00.0 failed with error -14
[ 190.539591] PCI memory map Virt0: d3700000 PCI memory map Virt2: d36c0000
[ 190.546447] Attach moal handle ops, card interface type: 0x206
[ 190.552553] PCIE9098: init module param from usr cfg
[ 190.557626] card_type: PCIE9098, config block: 0
[ 190.562296] cfg80211_wext=0xf
[ 190.565262] max_vir_bss=1
[ 190.567902] cal_data_cfg=none
[ 190.570880] ps_mode = 1
[ 190.573321] auto_ds = 1
[ 190.575792] host_mlme=enable
[ 190.578700] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 190.583437] rx_work=1 cpu_num=2
[ 190.586656] Attach mlan adapter operations.card_type is 0x206.
[ 190.594462] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 190.603105] WLAN FW already running! Skip FW download
[ 190.608193] WLAN FW is active
[ 190.611173] on_time is 190448910899
[ 195.618284] Timeout cmd id (195.455959) FUNC_INIT [0xa9], act = 0x0
[ 195.624556] Dump Rx CMD Response Buf:
[ 195.628303] BSS type = 0 BSS role= 0
[ 195.631878] ------------Dump info-----------
[ 195.636147] Commmand Timeout
[ 195.639031] pending command id: 0x242 ioctl_buf= (null)
[ 195.644334] pending command id: 0x3 ioctl_buf= (null)
[ 195.649463] No pending scan command
[ 195.652951] mlan_processing =0
[ 195.656002] main_lock_flag =0
[ 195.658967] main_process_cnt =1
[ 195.662100] delay_task_flag =0
[ 195.665153] mlan_rx_processing =0
[ 195.668466] rx_pkts_queued=0
[ 195.671346] more_task_flag = 0
[ 195.674400] num_cmd_timeout = 1
[ 195.677532] last_cmd_index = 1
[ 195.680584] last_cmd_id = 0x0 0xa9 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 195.686890] last_cmd_act = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 195.693189] last_cmd_resp_index = 0
[ 195.696675] last_cmd_resp_id = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 195.703330] last_event_index = 0
[ 195.706556] last_event = 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0
[ 195.712683] num_data_h2c_failure = 0
[ 195.716256] num_cmd_h2c_failure = 0
[ 195.719744] num_alloc_buffer_failure = 0
[ 195.723666] num_pkt_dropped = 0
[ 195.726807] num_no_cmd_node = 0
[ 195.729940] num_event_deauth = 0
[ 195.733166] num_event_disassoc = 0
[ 195.736567] num_event_link_lost = 0
[ 195.740054] num_cmd_deauth = 0
[ 195.743108] num_cmd_assoc_success = 0
[ 195.746770] num_cmd_assoc_failure = 0
[ 195.750439] num_cons_assoc_failure = 0
[ 195.754180] cmd_resp_received=0
[ 195.757319] event_received=0
[ 195.760200] max_tx_buf_size=4096
[ 195.763426] tx_buf_size=2048
[ 195.766307] curr_tx_buf_size=2048
[ 195.769613] data_sent=0 cmd_sent=1
[ 195.773014] ps_mode=1 ps_state=0
[ 195.776243] wakeup_dev_req=0 wakeup_tries=0 wakeup_timeout=0
[ 195.781902] hs_configured=0 hs_activated=0
[ 195.785998] pps_uapsd_mode=0 sleep_pd=0
[ 195.789832] tx_lock_flag = 0
[ 195.792713] scan_processing = 0
[ 195.795853] scan_state = 0x0
[ 195.798734] bypass_pkt_count=0
[ 195.801787] txbd_rdptr=0x0 txbd_wrptr=0x0
[ 195.805796] rxbd_rdptr=0x0 rxbd_wrptr=0x80
[ 195.809891] evtbd_rdptr=0x0 evt_wrptr=0x8
[ 195.813899] last_wr_index:0
[ 195.816693] txrx_bd_size = 128
[ 195.819832] Tx pkt size:
[ 195.822364] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.830864] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.839359] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.847853] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.856347] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.864843] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.873337] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.881832] 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
[ 195.890334] bss_index = 0, tx_pkts_queued = 0
[ 195.894689] -------- Dump info End---------
[ 195.898919] Config Space Registers:
[ 195.902462] reg:0x00 value=0x2b441b4b
[ 195.906122] reg:0x04 value=0x00100406
[ 195.909821] reg:0x10 value=0xa020000c
[ 195.913517] reg:0x18 value=0xa0300004
[ 195.917208] reg:0x2c value=0x2b441b4b
[ 195.920894] reg:0x3c value=0x000002ff
[ 195.924566] reg:0x44 value=0x00000008
[ 195.928236] reg:0x80 value=0x10110000
[ 195.931919] reg:0x98 value=0x00000000
[ 195.935599] reg:0x170 value=0x0001001e
[ 195.939366] FW Scrach Registers:
[ 195.942612] reg:0x1c90 value=0xfedcba00
[ 195.946488] reg:0x1c98 value=0x0
[ 195.949713] reg:0x1c9c value=0x0
[ 196.052959] reg:0x1c98 value=0x0
[ 196.056216] reg:0x1c9c value=0x0
[ 196.159471] Interface registers dump from offset 0x1c98 to 0x1c9f
[ 196.165581] PCIE registers from offset 0x1c20 to 0x1c9c:
[ 196.170924] 00000000 00000020 0000004f 0000004f ffffffff 00000020 00000000 00000000
[ 196.178707] 00000000 00000000 02030081 00000000 02030081 00000000 02030001 00000000
[ 196.186483] 00000000 00000000 00000010 fedcba00 008047e3 c8701424 00000000 00000000
[ 196.194253] 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000
[ 196.202004]
[ 196.203501] ADMA Tx/Rx/Event/Cmd/CmdResp registers:
[ 196.208389] ADMA registers dump from offset 0x10000 to 0x10068
[ 196.214248] 00005702 0d4b3000 00000000 c00261b0 00000000 00000000 00000000 00000001
[ 196.222024] 00000000 00000001 00000001 00000000 00000001 00000001 00000000 0029f002
[ 196.229796] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 196.237554] 80000948 00000000 00808c8c
[ 196.241401] ADMA registers dump from offset 0x10800 to 0x10868
[ 196.247260] 00007702 c00271b0 00000000 0d4b2000 00000000 00000000 00000080 00000002
[ 196.255028] 00020000 00000001 00000001 00000000 00000001 00000001 00000000 004af004
[ 196.262797] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 196.270555] 80000948 00000000 00808c8c
[ 196.274401] ADMA registers dump from offset 0x10880 to 0x108e8
[ 196.280260] 00003302 c0027a30 00000000 0d4b1000 00000000 00000000 00000008 00000002
[ 196.288028] 00000000 00000001 00000001 00000000 00000001 00000001 00000001 004a0004
[ 196.295797] 00000000 00000000 00000000 00000000 00000000 00000000 00000001 00000002
[ 196.303555] 80000948 00000000 00000000
[ 196.307401] ADMA registers dump from offset 0x11000 to 0x11068
[ 196.313260] 000c0000 0dca1080 00000000 c0015c38 00000000 00000000 00000000 00000000
[ 196.321028] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 0008f002
[ 196.328797] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 196.336555] 80000948 00000000 00808c8c
[ 196.340401] ADMA registers dump from offset 0x11080 to 0x110e8
[ 196.346259] 000c0000 00000000 00000000 0d4b0000 00000000 00000000 00000000 00000000
[ 196.354041] 00000000 00000001 00000001 00000000 00000000 00000000 00000000 00080004
[ 196.361809] 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002
[ 196.369568] 80000948 00000000 00000000
[ 196.373551] woal_request_fw failed
[ 196.376970] Firmware Init Failed
[ 196.382870] Free module params
[ 196.385944] woal_pcie_probe: failed
[ 196.389491] wlan_pcie: probe of 0000:01:00.1 failed with error -14
[ 196.395792] wlan: Register to Bus Driver Done
[ 196.400173] wlan: Driver loaded successfully



CONFIG_BIG_EBDIAY=y
[ 6708.246997] wlan: Loading MWLAN driver
[ 6708.250966] wlan: Register to Bus Driver...
[ 6708.255538] PCI memory map Virt0: d2600000 PCI memory map Virt2: d25c0000
[ 6708.262388] Attach moal handle ops, card interface type: 0x206
[ 6708.273085] PCIE9098: init module param from usr cfg
[ 6708.278147] card_type: PCIE9098, config block: 0
[ 6708.282788] cfg80211_wext=0xf
[ 6708.285772] max_vir_bss=1
[ 6708.288390] cal_data_cfg=none
[ 6708.291365] ps_mode = 1
[ 6708.293819] auto_ds = 1
[ 6708.296271] host_mlme=enable
[ 6708.299162] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 6708.303889] rx_work=1 cpu_num=2
[ 6708.307069] Attach mlan adapter operations.card_type is 0x206.
[ 6708.316929] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 6709.287573] FW download over, size 649768 bytes
[ 6710.136780] WLAN FW is active
[ 6710.139748] on_time is 6709978993984
[ 6710.153495] VDLL image: len=125900
[ 6710.157049] fw_cap_info=0x48fcffa3, dev_cap_mask=0xffffffff
[ 6710.162693] max_p2p_conn = 8, max_sta_conn = 64
[ 6710.168160] moal_recv_event: priv is null
[ 6710.172232] moal_recv_event: priv is null
[ 6710.176263] moal_recv_event: priv is null
[ 6710.180465] moal_recv_event: priv is null
[ 6710.184596] moal_recv_event: priv is null
[ 6710.188713] moal_recv_event: priv is null
[ 6710.192845] moal_recv_event: priv is null
[ 6710.202759] Register NXP 802.11 Adapter mlan0
[ 6710.210292] Register NXP 802.11 Adapter uap0
[ 6710.217792] Register NXP 802.11 Adapter wfd0
[ 6710.222140] wlan: version = PCIE9098--68.17.195.p0-MM6X17408.p2-GPL-(FP92)
[ 6710.229606] PCI memory map Virt0: d2a80000 PCI memory map Virt2: d2bc0000
[ 6710.236467] Attach moal handle ops, card interface type: 0x206
[ 6710.242617] PCIE9098: init module param from usr cfg
[ 6710.247710] card_type: PCIE9098, config block: 1
[ 6710.252437] cfg80211_wext=0xf
[ 6710.255429] max_vir_bss=1
[ 6710.258071] cal_data_cfg=none
[ 6710.261064] ps_mode = 1
[ 6710.263507] auto_ds = 1
[ 6710.265991] host_mlme=enable
[ 6710.268940] fw_name=nxp/pcieuart9098_combo_v1.bin
[ 6710.273703] rx_work=1 cpu_num=2
[ 6710.279358] Attach mlan adapter operations.card_type is 0x206.
[ 6710.293046] Request firmware: nxp/pcieuart9098_combo_v1.bin
[ 6710.303091] WLAN FW already running! Skip FW download
[ 6710.308227] WLAN FW is active
[ 6710.311252] on_time is 6710150492983
[ 6710.317680] VDLL image: len=125900
[ 6710.321296] fw_cap_info=0x68fcffa3, dev_cap_mask=0xffffffff
[ 6710.326951] max_p2p_conn = 8, max_sta_conn = 64
[ 6710.338112] Register NXP 802.11 Adapter mmlan0
[ 6710.345468] Register NXP 802.11 Adapter muap0
[ 6710.352225] Register NXP 802.11 Adapter mwfd0
[ 6710.356731] wlan: version = PCIE9098--68.17.195.p0-MM6X17408.p2-GPL-(FP92)
[ 6710.363997] wlan: Register to Bus Driver Done
[ 6710.368408] wlan: Driver loaded successfully
Tags (1)
0 Kudos
Reply
3,004 Views
chengeneg
Contributor II

1) There is a macro setting CONFIG_BIG_EBDIAY in the Makefile under the wlan_src directory. The default value of this option is CONFIG_BIG_EBDIAY=n. In this way, the driver cannot be loaded successfully after compiling using the mpc85xx compilation chain. The driver is in pending state,It appears that the interrupt cannot receive a firmware response message

 

2) There is a macro setting CONFIG_BIG_EBDIAY in the Makefile under the wlan_src directory. The default option is CONFIG_BIG_EBDIAY=y. In this way, the driver can be loaded successfully after compiling using the mpc85xx compilation chain, but there is a high probability that it will not be loaded. Even if the driver is successfully loaded, there are still many commands sent by ioctrl to the firmware that fail during use

 

 

The attachment nxp_ok,log is printed to the wlan_src directory Makefile CONFIG_BIG_EBDIAY=y is the driver loaded successfully

The attachment nxp_err,log is printed in the wlan_src directory Makefile CONFIG_BIG_EBDIAY=n Yes driver loading failure

Tags (1)
0 Kudos
Reply