L6.6.3 iw612 load txpower_cfg fail

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

L6.6.3 iw612 load txpower_cfg fail

Jump to solution
1,209 Views
Chihyu_Lin
Contributor III

Hi

I am trying add txpwrlimit_cfg while loading WiFi driver, but got the following error, same settings/files in L6.1.55 was fine. And without set txpwrlimit_cfg parameter, WiFi driver load succesfully and working fine.

root@imx93:~# modprobe moal mod_para=nxp/wifi_mod_para.conf
[ 17.532015] mlan: loading out-of-tree module taints kernel.
[ 17.578136] wlan: Loading MWLAN driver
[ 17.585593] wlan: Register to Bus Driver...
[ 17.600828] vendor=0x0471 device=0x0205 class=0 function=1
[ 17.606578] Attach moal handle ops, card interface type: 0x109
[ 17.612532] rps set to 0 from module param
[ 17.617918] SDIW612: init module param from usr cfg
[ 17.623162] card_type: SDIW612, config block: 0
[ 17.627774] cfg80211_wext=0xf
[ 17.630789] max_vir_bss=1
[ 17.633448] cal_data_cfg=none
[ 17.636416] ps_mode = 1
[ 17.641499] auto_ds = 1
[ 17.643983] host_mlme=enable
[ 17.649504] fw_name=nxp/sduart_nw61x_v1.bin.se
[ 17.654084] txpwrlimit_cfg=nxp/txpower_QSM_US.bin
[ 17.658916] SDIO: max_segs=128 max_seg_size=65535
[ 17.663765] rx_work=1 cpu_num=2
[ 17.666995] Enable moal_recv_amsdu_packet
[ 17.671074] Attach mlan adapter operations.card_type is 0x109.
[ 17.682854] wlan: Enable TX SG mode
[ 17.686391] wlan: Enable RX SG mode
[ 17.693610] Request firmware: nxp/sduart_nw61x_v1.bin.se
[ 18.046530] Wlan: FW download over, firmwarelen=1004248 downloaded 916048
[ 18.453634] WLAN FW is active
[ 18.456624] on_time is 18307253173
[ 18.460061] Download txpwrlimit_cfg=nxp/txpower_US.bin
[ 18.487779] VDLL image: len=88200
[ 18.519055] fw_cap_info=0x487cff03, dev_cap_mask=0xffffffff
[ 18.524681] uuid: 521d887a0a925da4a1fe6a6f39966212
[ 18.529497] max_p2p_conn = 8, max_sta_conn = 16
[ 18.559956] Register NXP 802.11 Adapter mlan0
[ 18.566109] wlan: uap%d set max_mtu 2000
[ 18.574646] Register NXP 802.11 Adapter uap0
[ 18.608521] Register NXP 802.11 Adapter wfd0
[ 18.619407] wlan: version = SDIW612---18.99.2.p66.17-MM6X18437.p3-GPL-(FP92)
[ 18.636305] wlan: Register to Bus Driver Done
[ 18.645522] wlan: Driver loaded successfully
[ 21.266693] FW trigger fw dump
[ 21.269817] =====FW trigger dump====
[ 21.273726] ==== Start Receive FW dump event ====
[ 21.278586] === START DRIVER INFO DUMP===
[ 21.278825] FW in debug mode (0xe3)
[ 21.394221] Drv info total bytes = 336781 (0x5238d)
[ 21.399129] === DRIVER INFO DUMP END===
[ 22.215633] ==== FW DUMP END: 1336880 bytes ====
[ 22.224118] fw dump total length is 1336892
[ 22.228385] Start to process hanging
[ 22.232045] Cancel all pending cmd and txrx queue
[ 22.236901] WIFI auto_fw_reload: fw_reload=1
[ 22.241239] ========START IN-BAND RESET===========
[ 22.246180] woal_reset_intf: get bss info failed
[ 22.250927] Cancel all pending cmd and txrx queue
[ 22.390250] woal_close: woal_disconnect failed
[ 22.662577] FW wake up
[ 22.666271] SDIO Trigger FW In-band Reset success
[ 22.666304] SDIO: max_segs=128 max_seg_size=65535
[ 22.677190] rx_work=1 cpu_num=2
[ 22.681162] Enable moal_recv_amsdu_packet
[ 22.686153] Attach mlan adapter operations.card_type is 0x109.
[ 22.693545] wlan: Enable TX SG mode
[ 22.697059] wlan: Enable RX SG mode
[ 22.701957] Request firmware: nxp/sduart_nw61x_v1.bin.se
[ 23.067701] Wlan: FW download over, firmwarelen=1004248 downloaded 916048
[ 29.077402] Fail to poll firmware status: firmwarestat=0x0
[ 29.082928] FW failed to be active in time!
[ 29.087135] wlan_dnld_fw fail ret=0xffffffff
[ 29.091440] WLAN: Fail download FW with nowwait: 0
[ 29.096577] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
[ 29.103437] SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00
[ 29.109526] SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00
[ 29.123829] SDIO Func1 (0xe8-0xff): 00 00 00 00 50 fa 0d 00 24 14 70 c8 ab 37 80 00 00 00 00 00 01 00 00 00
[ 29.235469] SDIO Func1 (0xe8-0xff): 00 00 00 00 50 fa 0d 00 24 14 70 c8 ab 37 80 00 00 00 00 00 01 00 00 00
[ 29.245502] woal_request_fw failed
[ 29.248901] Firmware Init Failed
[ 29.252479] SDIO Func0 (0x0-0x9): 43 03 02 02 03 00 00 02 03 00
[ 29.258736] SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 00 00
[ 29.264745] SDIO Func1: (0x8) 00 (0x58) 00 (0x5c) 0d (0x5d) 00 (0x60) 01 (0x61) 00 (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00
[ 29.279066] SDIO Func1 (0xe8-0xff): 00 00 00 00 50 fa 0d 00 24 14 70 c8 ab 37 80 00 00 00 00 00 01 00 00 00
[ 29.389834] SDIO Func1 (0xe8-0xff): 00 00 00 00 50 fa 0d 00 24 14 70 c8 ab 37 80 00 00 00 00 00 01 00 00 00
[ 29.489860] Free module params
[ 29.492947] ========END IN-BAND RESET===========

Labels (3)
0 Kudos
Reply
1 Solution
999 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

Could you try 6.6.23 on this problem? We have a similar fix on 6.6.23 release.

 

Best Regards

Shaun

View solution in original post

9 Replies
1,190 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

Could you sahre the version you get these error report?

 

Best Regards

Shaun

0 Kudos
Reply
1,186 Views
Chihyu_Lin
Contributor III
Platform is i.MX 9302A1 Base on imx-6.6.3-1.0.0
NXP-wlan-sdk SRCREV=:a84df583155bad2a396a937056805550bdf655ab"
wlan: version = SDIW612---18.99.2.p66.17-MM6X18423.p6-GPL-(FP92)
And wifi_mod_para.conf setting was.
SDIW612 = {
cfg80211_wext=0xf
max_vir_bss=1
cal_data_cfg=none
ps_mode=1
auto_ds=1
host_mlme=1
fw_name=nxp/sduart_nw61x_v1.bin.se
txpwrlimit_cfg=nxp/txpower_US.bin
}
0 Kudos
Reply
1,124 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

Could you share txpower_US.bin you used?

 

Best Rergards

Shaun

0 Kudos
Reply
1,119 Views
Chihyu_Lin
Contributor III

Hi @shaun_wu 
Attached our Tx power file, system can't allow upload binary file.

0 Kudos
Reply
1,059 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

We are able to reproduce your issue, and we are internally tracking this problem. I'll update to you when we get progress. Thanks!

 

Best Regards

Shaun

0 Kudos
Reply
1,000 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

Could you try 6.6.23 on this problem? We have a similar fix on 6.6.23 release.

 

Best Regards

Shaun

989 Views
Chihyu_Lin
Contributor III

Hello @shaun_wu 

Thanks, after force change FW and driver to 6.6.23 fixed this issue.

root@quilt-imx93-qsm:~# modprobe moal mod_para=nxp/wifi_mod_para_qsm.conf
[ 22.253697] mlan: loading out-of-tree module taints kernel.
[ 22.317581] wlan: Loading MWLAN driver
[ 22.326493] wlan: Register to Bus Driver...
[ 22.338429] vendor=0x0471 device=0x0205 class=0 function=1
[ 22.344079] Attach moal handle ops, card interface type: 0x109
[ 22.349968] rps set to 0 from module param
[ 22.355413] SDIW612: init module param from usr cfg
[ 22.360371] card_type: SDIW612, config block: 0
[ 22.364935] cfg80211_wext=0xf
[ 22.367927] max_vir_bss=1
[ 22.370569] cal_data_cfg=none
[ 22.373554] ps_mode = 1
[ 22.376013] auto_ds = 1
[ 22.378482] host_mlme=enable
[ 22.381390] fw_name=nxp/sduart_nw61x_v1.bin.se
[ 22.385857] txpwrlimit_cfg=nxp/txpower_US.bin
[ 22.390616] SDIO: max_segs=128 max_seg_size=65535
[ 22.395338] rx_work=1 cpu_num=2
[ 22.398522] Enable moal_recv_amsdu_packet
[ 22.402675] Attach mlan adapter operations.card_type is 0x109.
[ 22.414743] wlan: Enable TX SG mode
[ 22.418371] wlan: Enable RX SG mode
[ 22.426370] Request firmware: nxp/sduart_nw61x_v1.bin.se
[ 22.778840] Wlan: FW download over, firmwarelen=1038668 downloaded 936668
[ 23.181312] WLAN FW is active
[ 23.184329] on_time is 22921111967
[ 23.187759] Download txpwrlimit_cfg=nxp/txpower_US.bin
[ 23.221031] VDLL image: len=102000
[ 23.265041] fw_cap_info=0x487cff03, dev_cap_mask=0xffffffff
[ 23.270673] uuid: 521d887a0a925da4a1fe6a6f39966212
[ 23.275483] max_p2p_conn = 8, max_sta_conn = 16
[ 23.410178] Register NXP 802.11 Adapter mlan0
[ 23.414909] wlan: uap%d set max_mtu 2000
[ 23.424961] Register NXP 802.11 Adapter uap0
[ 23.541433] Register NXP 802.11 Adapter wfd0
[ 23.547371] wlan: version = SDIW612---18.99.3.p10.1-MM6X18437.p21-GPL-(FP92)
[ 23.584774] wlan: Register to Bus Driver Done
[ 23.591295] wlan: Driver loaded successfully

0 Kudos
Reply
1,188 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @Chihyu_Lin 

 

The problem might be tx_pwr config already downloaded, you download again then error reported. You could try cut off power supply then reboot the system.

 

Best Regards

Shaun

0 Kudos
Reply
1,185 Views
Chihyu_Lin
Contributor III
It's only one place could to set tx power in wifi_mod_para.conf, and I upgrade nxp-wlan-sdk in L6.1.55 same initial command and txpower_US.bin without any problem.
0 Kudos
Reply