opened 02:18PM - 28 Jun 21 UTC
MVEBU - EspressoBin ULTRA wifi - BUGS with OpenWrt 21.02-RC
https://github.com/… NXP/mwifiex-firmware/commit/312ca028298317d2babb54080c056408cdb9448b
> PCIEUSB-8997:
> WLAN (PCIE) firmware version: W16.68.10.p159
> Bluetooth (USB) firmware version: W16.26.10.p159
> The combo image can be downloaded through WLAN only.
>
Can anyone help with this bug ?
https://github.com/kaloz/mwlwifi/issues/397
https://forum.openwrt.org/t/openwrt-21-02-0-third-release-candidate/99363/32
```
[ 8.880656] mwifiex_pcie 0000:01:00.0: info: FW download over, size 638992 bytes
[ 9.723892] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 9.805987] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.10.p159)
[ 9.814683] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.10.p159)
```
MWIFIEX bugs on EspressoBin Board MVEBU in OpenWrt 21.02 RC2 and RC3 !
Any advice will be welcome...
Yep, legacy rates need to be enabled.
That was the default in 19.07 but not anymore as unless you really need that you dont want to enable them.
Not sufficient !
opened 02:18PM - 28 Jun 21 UTC
MVEBU - EspressoBin ULTRA wifi - BUGS with OpenWrt 21.02-RC
https://github.com/… NXP/mwifiex-firmware/commit/312ca028298317d2babb54080c056408cdb9448b
> PCIEUSB-8997:
> WLAN (PCIE) firmware version: W16.68.10.p159
> Bluetooth (USB) firmware version: W16.26.10.p159
> The combo image can be downloaded through WLAN only.
>
Can anyone help with this bug ?
https://github.com/kaloz/mwlwifi/issues/397
https://forum.openwrt.org/t/openwrt-21-02-0-third-release-candidate/99363/32
```
[ 8.880656] mwifiex_pcie 0000:01:00.0: info: FW download over, size 638992 bytes
[ 9.723892] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 9.805987] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.10.p159)
[ 9.814683] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.10.p159)
```
EDIT:
Hardware used for testing:
EspressoBin-ULTRA from GlobalScaleTechnologies.
Official Product: https://globalscaletechnologies.com/product/espressobin-ultra/
CNX review: https://www.cnx-software.com/2019/12/30/espressobin-ultra-gateway-features-5-gigabit-ethernet-ports-wifi-5-supports-4g-lte-cellular-connectivity/
Block Diagram: http://espressobin.net/wp-content/uploads/2020/05/ESPRESSOBin-Ultra-V1_-Block-diagram_.pdf
OS info (from OpenWrt 21.02.x):
```
root@ultra:~# uname -ar
Linux ultra 5.4.124 #0 SMP Sun Jun 13 22:02:19 2021 aarch64 GNU/Linux
```
```
root@ultra:~# lsusb
Bus 001 Device 003: ID 1286:204e Marvell Bluetooth and Wireless LAN Composite Device
```
```
root@ultra:~# dmesg | grep pcie
[ 8.838866] mwifiex_pcie: PCI memory map Virt0: 00000000f018cccc PCI memory map Virt2: 00000000726eced0
[ 10.169604] mwifiex_pcie 0000:01:00.0: info: FW download over, size 631012 bytes
[ 11.034644] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 11.106306] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p145)
[ 11.114812] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.1.p145)
```
EDIT: A summary of my tests here:
https://github.com/NXP/mwifiex-firmware/issues/1#issuecomment-927145355
- W16.68.10.p159 = KO
- W16.68.1.p195 = KO
- V16.68.1.p145 = OK
- 16.68.1.p140 = OK
- 16.68.1.p133 = OK
- 16.68.1.p97 = OK
- 16.68.1.p70 = KO
Tests (quick tests) made only with ONE AP and TWO CLIENTS on the AP...
Config used :
cat /etc/config/wireless
```
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/d0070000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option hwmode '11g'
option channel 'auto'
option log_level '1'
option cell_density '0'
option country 'FR'
option legacy_rates '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'ACCESSPOINT'
option key 'PASSWORD'
option encryption 'psk2'
option skip_inactivity_poll '1'
```
This only help to make the Access Point visible and available...
But clients may still have issues, like Apples clients (iOS iPAD and iPhone) which get no access to the AP...
With WPA or WPA2 I get errors and without encryption I get no IP...
This is also removed by any LUCI modification of the WiFi in the 21.02...
I test it now also by removing wpad and replacing it by hostapd-openssl
# WIFI FIXME
uci set wireless.radio0.legacy_rates='1'
uci commit
wifi
# WIFI FIXME
iw wlan0 set power_save off
added in /etc/rc.local
now I have 4 clients on it...
BUT only without encryption...
If I enable WPA2 I get now only one client again, the others get faulty with dmesg error logged :
[ 63.388904] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x5e error, result=0x1
[ 63.396413] mwifiex_pcie 0000:01:00.0: crypto keys added
[ 64.764481] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x5e error, result=0x1
[ 64.771723] mwifiex_pcie 0000:01:00.0: crypto keys added
[ 66.169967] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x5e error, result=0x1
[ 66.177264] mwifiex_pcie 0000:01:00.0: crypto keys added
[ 70.810310] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x5e error, result=0x1
[ 70.817755] mwifiex_pcie 0000:01:00.0: crypto keys added
[ 75.478474] mwifiex_pcie 0000:01:00.0: CMD_RESP: cmd 0x5e error, result=0x1
[ 75.485768] mwifiex_pcie 0000:01:00.0: crypto keys added
The option is back again... since the commit https://github.com/openwrt/luci/commit/119701cce302b6475e2fe900d2fff6c5dad16416
thanks @jow -
issue https://github.com/openwrt/luci/issues/5234 resolved !
For now I am using a later firmware than the NXP !
[ 11.057868] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p195)
[ 11.066409] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.1.p195)
which looks like more stable on this...
opened 02:18PM - 28 Jun 21 UTC
MVEBU - EspressoBin ULTRA wifi - BUGS with OpenWrt 21.02-RC
https://github.com/… NXP/mwifiex-firmware/commit/312ca028298317d2babb54080c056408cdb9448b
> PCIEUSB-8997:
> WLAN (PCIE) firmware version: W16.68.10.p159
> Bluetooth (USB) firmware version: W16.26.10.p159
> The combo image can be downloaded through WLAN only.
>
Can anyone help with this bug ?
https://github.com/kaloz/mwlwifi/issues/397
https://forum.openwrt.org/t/openwrt-21-02-0-third-release-candidate/99363/32
```
[ 8.880656] mwifiex_pcie 0000:01:00.0: info: FW download over, size 638992 bytes
[ 9.723892] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 9.805987] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.10.p159)
[ 9.814683] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.10.p159)
```
EDIT:
Hardware used for testing:
EspressoBin-ULTRA from GlobalScaleTechnologies.
Official Product: https://globalscaletechnologies.com/product/espressobin-ultra/
CNX review: https://www.cnx-software.com/2019/12/30/espressobin-ultra-gateway-features-5-gigabit-ethernet-ports-wifi-5-supports-4g-lte-cellular-connectivity/
Block Diagram: http://espressobin.net/wp-content/uploads/2020/05/ESPRESSOBin-Ultra-V1_-Block-diagram_.pdf
OS info (from OpenWrt 21.02.x):
```
root@ultra:~# uname -ar
Linux ultra 5.4.124 #0 SMP Sun Jun 13 22:02:19 2021 aarch64 GNU/Linux
```
```
root@ultra:~# lsusb
Bus 001 Device 003: ID 1286:204e Marvell Bluetooth and Wireless LAN Composite Device
```
```
root@ultra:~# dmesg | grep pcie
[ 8.838866] mwifiex_pcie: PCI memory map Virt0: 00000000f018cccc PCI memory map Virt2: 00000000726eced0
[ 10.169604] mwifiex_pcie 0000:01:00.0: info: FW download over, size 631012 bytes
[ 11.034644] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 11.106306] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p145)
[ 11.114812] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.1.p145)
```
EDIT: A summary of my tests here:
https://github.com/NXP/mwifiex-firmware/issues/1#issuecomment-927145355
- W16.68.10.p159 = KO
- W16.68.1.p195 = KO
- V16.68.1.p145 = OK
- 16.68.1.p140 = OK
- 16.68.1.p133 = OK
- 16.68.1.p97 = OK
- 16.68.1.p70 = KO
Tests (quick tests) made only with ONE AP and TWO CLIENTS on the AP...
Config used :
cat /etc/config/wireless
```
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/d0070000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option hwmode '11g'
option channel 'auto'
option log_level '1'
option cell_density '0'
option country 'FR'
option legacy_rates '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'ACCESSPOINT'
option key 'PASSWORD'
option encryption 'psk2'
option skip_inactivity_poll '1'
```
partially fixed !
May need a NXP feedback on the firmware... but they not answered my mail ! nor GlobalScale (about this particularly issue)...
Still got issue while restarting network, which may hang WiFi and require a reboot !
I am now testing an older version of the firmware...
NXP give great feedback :
...
1/ NXP (who acquired Marvell Wi-Fi/BT chipsets) post official releases on codeaurora (driver part), and GitHub (firmware part):
Wifi driver CodeAurora: mwifiex
https://source.codeaurora.org/external/nxpwifi/mwifiex Lastest offical release is 8649a841364622db5cc36c71563f96f070b44142 (master)
Wifi FW GitHub - NXP/imx-firmware
https://github.com/NXP/imx-firmware
Latest offical release is 7d33d0fc437437457fb400d14ae44a02441f6167 (lf-5.10.y_2.0.0 branch)
...
2/ Open source community upstream some driver and firmware version to the Linux kernel
(unfortunately NXP does not upstream its official releases to the Linux kernel)
Wifi driver https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git drivers/net/wireless/marvell/mwifiex/
Wifi FW https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git mrvl
So I give a tests only on firmwares, and open an issue at NXP...
opened 02:18PM - 28 Jun 21 UTC
MVEBU - EspressoBin ULTRA wifi - BUGS with OpenWrt 21.02-RC
https://github.com/… NXP/mwifiex-firmware/commit/312ca028298317d2babb54080c056408cdb9448b
> PCIEUSB-8997:
> WLAN (PCIE) firmware version: W16.68.10.p159
> Bluetooth (USB) firmware version: W16.26.10.p159
> The combo image can be downloaded through WLAN only.
>
Can anyone help with this bug ?
https://github.com/kaloz/mwlwifi/issues/397
https://forum.openwrt.org/t/openwrt-21-02-0-third-release-candidate/99363/32
```
[ 8.880656] mwifiex_pcie 0000:01:00.0: info: FW download over, size 638992 bytes
[ 9.723892] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 9.805987] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.10.p159)
[ 9.814683] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.10.p159)
```
EDIT:
Hardware used for testing:
EspressoBin-ULTRA from GlobalScaleTechnologies.
Official Product: https://globalscaletechnologies.com/product/espressobin-ultra/
CNX review: https://www.cnx-software.com/2019/12/30/espressobin-ultra-gateway-features-5-gigabit-ethernet-ports-wifi-5-supports-4g-lte-cellular-connectivity/
Block Diagram: http://espressobin.net/wp-content/uploads/2020/05/ESPRESSOBin-Ultra-V1_-Block-diagram_.pdf
OS info (from OpenWrt 21.02.x):
```
root@ultra:~# uname -ar
Linux ultra 5.4.124 #0 SMP Sun Jun 13 22:02:19 2021 aarch64 GNU/Linux
```
```
root@ultra:~# lsusb
Bus 001 Device 003: ID 1286:204e Marvell Bluetooth and Wireless LAN Composite Device
```
```
root@ultra:~# dmesg | grep pcie
[ 8.838866] mwifiex_pcie: PCI memory map Virt0: 00000000f018cccc PCI memory map Virt2: 00000000726eced0
[ 10.169604] mwifiex_pcie 0000:01:00.0: info: FW download over, size 631012 bytes
[ 11.034644] mwifiex_pcie 0000:01:00.0: WLAN FW is active
[ 11.106306] mwifiex_pcie 0000:01:00.0: info: MWIFIEX VERSION: mwifiex 1.0 (16.68.1.p145)
[ 11.114812] mwifiex_pcie 0000:01:00.0: driver_version = mwifiex 1.0 (16.68.1.p145)
```
EDIT: A summary of my tests here:
https://github.com/NXP/mwifiex-firmware/issues/1#issuecomment-927145355
- W16.68.10.p159 = KO
- W16.68.1.p195 = KO
- V16.68.1.p145 = OK
- 16.68.1.p140 = OK
- 16.68.1.p133 = OK
- 16.68.1.p97 = OK
- 16.68.1.p70 = KO
Tests (quick tests) made only with ONE AP and TWO CLIENTS on the AP...
Config used :
cat /etc/config/wireless
```
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/d0070000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0'
option htmode 'HT20'
option hwmode '11g'
option channel 'auto'
option log_level '1'
option cell_density '0'
option country 'FR'
option legacy_rates '1'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'ACCESSPOINT'
option key 'PASSWORD'
option encryption 'psk2'
option skip_inactivity_poll '1'
```
resolved by using the latest imx firmware, as said and proposed by NXP :
...
Regarding supported data rates, 88W8997 is supporting the following MCS:
802.11ac: MCS 0~9
802.11n: MCS 0~15 and MCS32
...
It is expected that latest firmware from NXP official repo (https://github.com/NXP/imx-firmware ) is the most stable one, as it includes NXP latest fixes.
...
WlanCalData_ext_DB-W8997QFN-DB3A_V3.0_Rev-A.conf is not necessary for that FW.
You just need to provide "cal_data_cfg=none" when insmod'ing the moal.ko driver.
@erdoukki Nice to see that the PCI model issues are resolved.
I am having issues with the USB model, after heavy load it will just stop responding and passing traffic and there is no updated FW available.
Do you mind if I piggyback of your issue ticket?
Do, if you think it can help...
system
Closed
September 11, 2021, 2:36pm
13
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.