Hey everyone!
Is there anything I can do top help?
Veery interested in this.
I once saw the Marvell developer saying that the issue was with the hardware fast path on the 88W8964, whatever that means, don't know if it helps.
Thanks for your work!
1 Like
jbsky
November 9, 2023, 8:53pm
42
Hello @all .
I would like to propose a new version of the driver.
=> next3 branch
Sorry if it takes a while, but the longest thing is to identify where the bugs are coming from.
With this version, I'm pretty sure of the job.
The fixes are mainly for the WRT1900X and WRT1200AC.
It contains:
AMPDU Optimization of priority calculation.
8864/8897 fix wpa3
Add cypher suite to driver capabilities
Alignment of pcie_tx_ctrl*
"feature" normalization for all chips
Add modprobe parameters
fix monitoring
Code separation by chipset
dump_prob decommissioning
fix amsdu high ping latency
drop debug info in hostcmd_get_hw_spec()
Add wcb_base in debug info (8864)
Rewrite AMSDU packets
debug rewrite output mwl_debugfs_sta_read
Improved encryption interoperability
factorization encrypted packet test
Change 88W8864 firmware to 7.2.9.27
Fix the AMPDU session lifecycle
Remove the tx done packets mechanism
I'm not going to detail all the commits, please read their content.
If you want to test, it's available in the testing/next3 branch.
The ipks packages are available at this address:
I've also included the patches for 23.05, especially the last one : https://github.com/jbsky/mwlwifi/raw/testing/next3/openwrt/patches_23.05/005-mac80211_update.patch
If your feedback is good, we'll try to propose the release to Kaloz.
Best regards,
Jbsky
@oli
Now you'll really be doing WPA3
daemon.notice hostapd: SAE: 8 indicates support for SAE H2E, but did not use it
4 Likes
oli
November 9, 2023, 11:23pm
43
small ping in speeed test speed stability, thank you and congratulations for the work done!
BusyBox v1.36.1 (2023-11-05 11:22:47 UTC) built-in shell (ash)
-----------------------------------------------------
OpenWrt 23.05.0, r23497-6637af95aa
-----------------------------------------------------
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy1/mwlwifi/info
host_if: 2
num_antenna: 3
region_code: 48
num_wcb: 0
-----------------------=> address| address|qlen|fw_desc_cnt
wcb_base0 : c0002540 => e1a03002|38ab89b9| 0|0
wcb_base[ 0]: c0002544 => e59d101c|14bdfdef| 0|0
wcb_base[ 1]: c0002548 => e3510000|5a06b81b| 0|0
wcb_base[ 2]: c000254c => affffde|a28097b3| 0|0
wcb_base[ 3]: c0002550 => e59d1028|1f5f6582| 0|0
wcb_base[ 4]: c0002554 => e2514008|75ccb21c| 0|0
wcb_base[ 5]: c0002558 => e59d102c|9905260a| 0|0
wcb_base[ 6]: c000255c => e2c11000|363a27ae| 0|0
wcb_base[ 7]: c0002560 => e1a01101|cd9ebc81| 0|0
wcb_base[ 8]: c0002564 => e1811f24|b7e8f405| 0|0
wcb_base[ 9]: c0002568 => e1a04104|8d1cdc49| 0|0
wcb_base[10]: c000256c => e0944002|fa1d04be| 0|0
wcb_base[11]: c0002570 => e59d2010| dbf1e7c| 0|0
wcb_base[12]: c0002574 => e0a33001|a20d7250| 0|0
wcb_base[13]: c0002578 => e1520004|6170f757| 0|0
wcb_base[14]: c000257c => e59d2014|2a06f688| 0|0
wcb_base[15]: c0002580 => e0d22003|2b37b906| 0|0
wcb_base[16]: c0002584 => ba000078|7e7be9f5| 0|0
wcb_base[17]: c0002588 => e59d2018|b388bf32| 0|0
wcb_base[18]: c000258c => e154000a|5383e4ab| 0|0
num_mcast_addr: 1
permanent mac address:
fw_awake_cookie: 51857409
driver name: mwlwifi
chip type: 88W8864
hw version: 7
driver version: 10.3.9.1
firmware version: 0x0702091a
power table loaded from dts: no
firmware region code: 0x30
mac address:
2g: enable
5g: disable
antenna: 4 4
irq number: 82
ap macid support: 0000ffff
sta macid support: 00010000
macid used: 00000001
radio: enable
radio_short_preamble: enable
use_short_preamble: enable
iobase0: c107242c
iobase1: 5e5cfcea
tx limit: 768
rx limit: 256
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy1/mwlwifi/sta
macaddress|aid|ampdu|amsdu| wds|ba_hist|amsdu_cap| ht cap, ampdu, rx_mask| vht_cap| mcs|rx bw,nss|tdls|init|wme|mfp
root@OpenWrt:~# cat/sys/kernel/debug/ieee80211/phy1/mwlwifi/sta
-ash: cat/sys/kernel/debug/ieee80211/phy1/mwlwifi/sta: not found
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/sta
macaddress|aid|ampdu|amsdu| wds|ba_hist|amsdu_cap| ht cap, ampdu, rx_mask| vht_cap| mcs|rx bw,nss|tdls|init|wme|mfp
70:8a:09:b2:80:99| 1| true|false|false|disable| 0x00|0x00006f, 03-06,0xff, ff, 00, 00|0x0f8170b0|0xfffa, 0xfffa|rx 2, 2| 0| 0| 1| 0
| 2| true| true|false|disable| 0x01|0x00006f, 03-06,0xff, ff, 00, 00|0x0f8170b0|0xfffa, 0xfffa|rx 2, 2| 0| 0| 1| 0
root@OpenWrt:~# cat /sys/kernel/debug/ieee80211/phy0/mwlwifi/ampdu
debug_ampdu: 0
=================
stream|idx|state| macaddress|tid|pkts|remain|start time
0| 0| 3|f..........| 0| 0| 93|527
root@OpenWrt:~# cat /etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
option channel '36'
option band '5g'
option htmode 'VHT80'
option country 'RO'
option cell_density '0'
config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'superwrt 5Ghz'
option encryption 'sae-mixed'
option macaddr ''
option key ''
config wifi-device 'radio1'
option type 'mac80211'
option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
option channel '11'
option band '2g'
option htmode 'HT40'
option country 'RO'
option legacy_rates '1'
option cell_density '0'
option noscan '1'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid ''
option encryption 'sae-mixed'
option macaddr ''
option key ''
2 Likes
I’ve got this latest driver from next3
branch running on my WRT3200 for a few hours now. Everything is running great so far with no issues.
2 Likes
Could you provide us with a step by step guide on how to install this on our routers, I can test it on my WRT3200ACM.
jbsky
November 12, 2023, 12:54pm
46
Hello @Andredpe ,
wget https://github.com/jbsky/mwlwifi/raw/testing/next3/openwrt/ipks/kmod-mwlwifi_5.15.134%2B2023-04-29-aa4aec6-1_arm_cortex-a9_vfpv3-d16.ipk
opkg install kmod-mwlwifi_5.15.134+2023-04-29-aa4aec6-1_arm_cortex-a9_vfpv3-d16.ipk --force-downgrade
Regards,
Jbsky
I'm using version 19.07.10 comp, what would be the commands?
jbsky
November 12, 2023, 1:50pm
48
wget https://github.com/jbsky/mwlwifi/raw/testing/next3/openwrt/ipks/kmod-mwlwifi_4.14.275%2B2019-03-02-aa4aec6-1_arm_cortex-a9_vfpv3-d16.ipk
opkg install kmod-mwlwifi_4.14.275+2019-03-02-aa4aec6-1_arm_cortex-a9_vfpv3-d16.ipk --force-downgrade
jbsky
November 14, 2023, 1:11pm
49
Hello,
Good news, we're going to push the merge request, pesa1234 also validates on its side.
Regards,
Jbsky
3 Likes
does it work with snapshot kernel 6.1?
jbsky
November 16, 2023, 11:03am
51
Hello,
Normally, yes, but you have to compile in order to get the package.
Check with @pesa1234 , I think he has one available.
Best regards,
1 Like
jbsky
November 16, 2023, 11:19am
53
This is the patch for version 23.05.0, I don't know if this one is complete for the snapshot.
Yes, perfectly use patches for 6.1 to compile jbsky/mwlwifi next3 branch
committed 01:40PM - 14 Nov 23 UTC
Signed-off-by: Andrea Pesaresi <andreapesaresi82@gmail.com>
1 Like
Could you provide me with a build already compiled with these drivers? Don't be surprised, I don't have a PC to compile
Dear, I don't understand how do you have the 6.1 kernel on mvebu without compiling...
But anyway these are the package for kernel 6.1.62 chip 8864--> https://drive.google.com/drive/folders/1WEbOv6vf_pt_wkxk2_7FaDK94tD5IAun?usp=drive_link
It looks like the pull request was merged today.
I've been running this for over 5 days since v23.05.2 came out and it seems stable on my WRT32X. Does this need more testing? Since I've been compiling my own versions, I have a branch ready for a pull request for the 23.05 branch if it's ready.
3 Likes
when will the new merge will push into openwrt snapshot?
I can put in a pull request to put it into snapshot. I just made a branch with the commits and am running a test build now.
jbsky
November 22, 2023, 5:07pm
60
Hello @trinidude4 ,
Thank you for initiating the merge request.
openwrt:openwrt-23.05
← trinidude4:openwrt-23.05-jbsky
opened 02:57AM - 21 Nov 23 UTC
upstream PR 416 improvements:
-AMPDU Optimization of priority calculation. (88… 64/8897)
-8864/8897 fix wpa3
-Add cypher suite to driver capabilities (all chip)
-Alignment of pcie_tx_ctrl* (all chip)
-"feature" normalization for all chips (all chip)
-Add modprobe parameters (all chip)
-fix monitoring (all chip)
-Code separation by chipset (8864/8897 <=> 8997)
-dump_prob decommissioning (8864/8897/8997)
-fix amsdu high ping latency (8864/8897/8997)
-drop debug info in hostcmd_get_hw_spec() (8864/8897)
-Add wcb_base in debug info (8864)
-Rewrite AMSDU packets (8864/8897/8997)
-debug rewrite output mwl_debugfs_sta_read (all chip)
-Improved encryption interoperability (8864/8897/8997)
-factorization encrypted packet test (8864/8897/8997)
-Change 88W8864 firmware to 7.2.9.27 (8864/8897)
-Fix the AMPDU session lifecycle (8864/8897/8997)
-Remove the tx done packets mechanism (8864/8897)
Signed-off-by: Michael Trinidad <trinidude4@hotmail.com>
But, your merge request is closed.
Is it deliberate not to finish the job?
Best regards,
Jbsky