88W9098 lf-6.12.34_2.1.0 firmware failure with uap_max_sta=64

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

88W9098 lf-6.12.34_2.1.0 firmware failure with uap_max_sta=64

939 Views
RPontusHedman
Contributor III

We are using the NXP 88W9098 chipset via a uBlox JODY-W377-00B module on a TI TMDS64EVM evaluation board. The intent is mostly to use it as an access point via Linux.

Specifically, we have been setting uap_max_sta=64 and max_sta_conn=64 in wifi_mod_para.conf to support more stations than the default. This used to work with earlier firmware but now fails. We now get a "woal_request_fw failed" error on bootup and no devices appear.

In short, it worked fine in lf-6.12.20_2.0.0 but no longer works with lf-6.12.34_2.1.0 with a few surprises:

- It does work if I set "uap_max_sta=48" and "max_sta_conn=48" instead of 64 in wifi_mod_para.conf . I basically did a binary search to find a working lower value.

- It also works with the if I use the new lf-6.12.34_2.1.0 mwifiex drivers but the old lf-6.12.20_2.0.0 imx-firmware

That is, the newer drivers seem to work fine, but only with the older firmware when using the higher settings.  With the newer firmware, it has to be lowered from 64 to 48.

I see that mlan/mlan_ioctl.h in branch lf-6.12.34_2.1.0 still has "#define MAX_STA_COUNT 64". So is this no longer correct? Either the newer firmware should reject settings it cannot support, or the firmware should be updated to support it again.

Best,
Pontus Hedman

Tags (1)
0 Kudos
Reply
4 Replies

885 Views
RPontusHedman
Contributor III

Hi Shaun and thanks for the reply,

We are using a Debian12 (VyOS) base system currently using Linux kernel 6.6.114 on a TI TMDS64EVM arm64 board.

The formerly working but now problematic wifi_mod_para.conf is attached (with a .txt suffix). Look for the "PSL:" lines for our changes from the https://github.com/nxp-imx/imx-firmware.git version.  It is very little.

In short "uap_max_sta = 64" in the PCIE9098_0 and PCIE9098_1 sections used to work, but now I have to use the value of "uap_max_sta = 48" or the else the firmware load fails as described in my first message.

Pontus

0 Kudos
Reply

904 Views
shaun_wu
NXP TechSupport
NXP TechSupport

Hello @RPontusHedman 

 

Which host OS you are using?

Could you help share wifi_mod_para.conf?

 

Best Regards

Shaun

0 Kudos
Reply

770 Views
RPontusHedman
Contributor III
Update... I get the same misbehaviour with the recent lf-6.12.49_2.2.0 imx-firmware and mwifiex as well.

That is, it no longer works with uap_max_sta=64 for PCIE9098_0 and PCIE9098_1 in wifi_mod_para.conf. I have to lower it to uap_max_sta=48 for the firmware to load successfully.

This is on a Debian12 arm64 system based on Linux 6.6.117.
0 Kudos
Reply

827 Views
RPontusHedman
Contributor III
Hi Shaun; any update on this?

Again, the relevant parts of wifi_mod_para.conf on our Linux Debian12 kernel 6.6.117 is below.

If you increase the value of "uap_max_sta = 48" the devices fail to function as access points. Either the devices do not appear, and/or there are errors like "IOCTL failed: 0000000033d2f3dc id=0x20000, sub_id=0x2000c action=1, status_code=0x1 [FW_NOT_READY]" and hostapd cannot use the device.

It used to work with "uap_max_sta = 64" with the lf-6.12.20_2.0.0 branch but fails with lf-6.12.34_2.1.0. Now anything above 48 fails and it seems related to the firmware as described earlier.

Pontus

wifi_mod_para.conf snippet follows:

PCIE9098_0 = {
cal_data_cfg=none
# PSL: increase connections from the default 8 (client and AP).
uap_max_sta = 48
# PSL: use only ANT1 (J3), "Path A" for 2GHz and 5GHz
antcfg = 0x101
}

PCIE9098_1 = {
cal_data_cfg=none
# PSL: increase connections from the default 8 (client and AP).
uap_max_sta = 48
# PSL: use only ANT1 (J3), "Path A" for 2GHz and 5GHz
antcfg = 0x101
}
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2253206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E88W9098%20lf-6.12.34_2.1.0%20firmware%20failure%20with%20uap_max_sta%3D64%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253206%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWe%20are%20using%20the%20NXP%2088W9098%20chipset%20via%20a%20uBlox%20JODY-W377-00B%20module%20on%20a%20TI%20TMDS64EVM%20evaluation%20board.%20The%20intent%20is%20mostly%20to%20use%20it%20as%20an%20access%20point%20via%20Linux.%3C%2FP%3E%3CP%3ESpecifically%2C%20we%20have%20been%20setting%20%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Euap_max_sta%3D64%3C%2FFONT%3E%20and%20%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Emax_sta_conn%3D64%3C%2FFONT%3E%20in%20%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Ewifi_mod_para.conf%3C%2FFONT%3E%20to%20support%20more%20stations%20than%20the%20default.%20This%20used%20to%20work%20with%20earlier%20firmware%20but%20now%20fails.%20We%20now%20get%20a%20%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Ewoal_request_fw%20failed%3C%2FFONT%3E%22%20error%20on%20bootup%20and%20no%20devices%20appear.%3C%2FP%3E%3CP%3EIn%20short%2C%20it%20worked%20fine%20in%20lf-6.12.20_2.0.0%20but%20no%20longer%20works%20with%20lf-6.12.34_2.1.0%20with%20a%20few%20surprises%3A%3C%2FP%3E%3CP%3E-%20It%20%3CEM%3Edoes%3C%2FEM%3E%20work%20if%20I%20set%20%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Euap_max_sta%3D48%3C%2FFONT%3E%22%20and%20%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Emax_sta_conn%3D48%3C%2FFONT%3E%22%20instead%20of%2064%20in%20wifi_mod_para.conf%20.%20I%20basically%20did%20a%20binary%20search%20to%20find%20a%20working%20lower%20value.%3C%2FP%3E%3CP%3E-%20It%20also%20works%20with%20the%20if%20I%20use%20the%20new%20lf-6.12.34_2.1.0%20mwifiex%20drivers%20but%20the%20old%20lf-6.12.20_2.0.0%20imx-firmware%3C%2FP%3E%3CP%3EThat%20is%2C%20the%20newer%20drivers%20seem%20to%20work%20fine%2C%20but%20only%20with%20the%20older%20firmware%20when%20using%20the%20higher%20settings.%26nbsp%3B%20With%20the%20newer%20firmware%2C%20it%20has%20to%20be%20lowered%20from%2064%20to%2048.%3C%2FP%3E%3CP%3EI%20see%20that%20mlan%2Fmlan_ioctl.h%20in%20branch%20lf-6.12.34_2.1.0%20still%20has%20%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3E%23define%20MAX_STA_COUNT%2064%3C%2FFONT%3E%22.%20So%20is%20this%20no%20longer%20correct%3F%20Either%20the%20newer%20firmware%20should%20reject%20settings%20it%20cannot%20support%2C%20or%20the%20firmware%20should%20be%20updated%20to%20support%20it%20again.%3C%2FP%3E%3CP%3EBest%2C%3CBR%20%2F%3EPontus%20Hedman%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2253638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%2088W9098%20lf-6.12.34_2.1.0%20firmware%20failure%20with%20uap_max_sta%3D64%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2253638%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F241332%22%20target%3D%22_blank%22%3E%40RPontusHedman%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWhich%20host%20OS%20you%20are%20using%3F%3C%2FP%3E%0A%3CP%3ECould%20you%20help%20share%26nbsp%3B%3CSPAN%3Ewifi_mod_para.conf%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EShaun%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2254288%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%2088W9098%20lf-6.12.34_2.1.0%20firmware%20failure%20with%20uap_max_sta%3D64%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2254288%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%20Shaun%20and%20thanks%20for%20the%20reply%2C%3C%2FP%3E%3CP%3EWe%20are%20using%20a%20Debian12%20(VyOS)%20base%20system%20currently%20using%20Linux%20kernel%206.6.114%20on%20a%20TI%20TMDS64EVM%20arm64%20board.%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20formerly%20working%20but%20now%20problematic%20wifi_mod_para.conf%20is%20attached%20(with%20a%20.txt%20suffix).%20Look%20for%20the%20%22PSL%3A%22%20lines%20for%20our%20changes%20from%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware.git%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2Fnxp-imx%2Fimx-firmware.git%3C%2FA%3E%26nbsp%3Bversion.%26nbsp%3B%20It%20is%20very%20little.%3CBR%20%2F%3E%3CBR%20%2F%3EIn%20short%20%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Euap_max_sta%20%3D%2064%3C%2FFONT%3E%22%20in%20the%20PCIE9098_0%20and%20PCIE9098_1%20sections%20used%20to%20work%2C%20but%20now%20I%20have%20to%20use%20the%20value%20of%26nbsp%3B%22%3CFONT%20face%3D%22lucida%20sans%20unicode%2Clucida%20sans%22%3Euap_max_sta%20%3D%2048%3C%2FFONT%3E%22%20or%20the%20else%20the%20firmware%20load%20fails%20as%20described%20in%20my%20first%20message.%3CBR%20%2F%3E%3CSPAN%3E%3CBR%20%2F%3EPontus%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2256151%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%2088W9098%20lf-6.12.34_2.1.0%20firmware%20failure%20with%20uap_max_sta%3D64%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2256151%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EHi%20Shaun%3B%20any%20update%20on%20this%3F%3CBR%20%2F%3E%3CBR%20%2F%3EAgain%2C%20the%20relevant%20parts%20of%20wifi_mod_para.conf%20on%20our%20Linux%20Debian12%20kernel%206.6.117%20is%20below.%3CBR%20%2F%3E%3CBR%20%2F%3EIf%20you%20increase%20the%20value%20of%20%22uap_max_sta%20%3D%2048%22%20the%20devices%20fail%20to%20function%20as%20access%20points.%20Either%20the%20devices%20do%20not%20appear%2C%20and%2For%20there%20are%20errors%20like%20%22IOCTL%20failed%3A%200000000033d2f3dc%20id%3D0x20000%2C%20sub_id%3D0x2000c%20action%3D1%2C%20status_code%3D0x1%20%5BFW_NOT_READY%5D%22%20and%20hostapd%20cannot%20use%20the%20device.%3CBR%20%2F%3E%3CBR%20%2F%3EIt%20used%20to%20work%20with%20%22uap_max_sta%20%3D%2064%22%20with%20the%20lf-6.12.20_2.0.0%20branch%20but%20fails%20with%20lf-6.12.34_2.1.0.%20Now%20anything%20above%2048%20fails%20and%20it%20seems%20related%20to%20the%20firmware%20as%20described%20earlier.%3CBR%20%2F%3E%3CBR%20%2F%3EPontus%3CBR%20%2F%3E%3CBR%20%2F%3Ewifi_mod_para.conf%20snippet%20follows%3A%3CBR%20%2F%3E%3CBR%20%2F%3EPCIE9098_0%20%3D%20%7B%3CBR%20%2F%3Ecal_data_cfg%3Dnone%3CBR%20%2F%3E%23%20PSL%3A%20increase%20connections%20from%20the%20default%208%20(client%20and%20AP).%3CBR%20%2F%3Euap_max_sta%20%3D%2048%3CBR%20%2F%3E%23%20PSL%3A%20use%20only%20ANT1%20(J3)%2C%20%22Path%20A%22%20for%202GHz%20and%205GHz%3CBR%20%2F%3Eantcfg%20%3D%200x101%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%3CBR%20%2F%3EPCIE9098_1%20%3D%20%7B%3CBR%20%2F%3Ecal_data_cfg%3Dnone%3CBR%20%2F%3E%23%20PSL%3A%20increase%20connections%20from%20the%20default%208%20(client%20and%20AP).%3CBR%20%2F%3Euap_max_sta%20%3D%2048%3CBR%20%2F%3E%23%20PSL%3A%20use%20only%20ANT1%20(J3)%2C%20%22Path%20A%22%20for%202GHz%20and%205GHz%3CBR%20%2F%3Eantcfg%20%3D%200x101%3CBR%20%2F%3E%7D%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2257345%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%2088W9098%20lf-6.12.34_2.1.0%20firmware%20failure%20with%20uap_max_sta%3D64%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2257345%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUpdate...%20I%20get%20the%20same%20misbehaviour%20with%20the%20recent%20lf-6.12.49_2.2.0%20imx-firmware%20and%20mwifiex%20as%20well.%3CBR%20%2F%3E%3CBR%20%2F%3EThat%20is%2C%20it%20no%20longer%20works%20with%20uap_max_sta%3D64%20for%20PCIE9098_0%20and%20PCIE9098_1%20in%20wifi_mod_para.conf.%20I%20have%20to%20lower%20it%20to%20uap_max_sta%3D48%20for%20the%20firmware%20to%20load%20successfully.%3CBR%20%2F%3E%3CBR%20%2F%3EThis%20is%20on%20a%20Debian12%20arm64%20system%20based%20on%20Linux%206.6.117.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E