-
Notifications
You must be signed in to change notification settings - Fork 670
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tx aggregation for iwm
driver (7000/8000/9000)
#454
Conversation
Nice job! I will test it tonight if I have spare time and my friends will also test it. BTW, I just noticed that OpenBSD developer @stspdotname had also implemented Tx agg for iwm driver but there are someone reported that it will caused firmware error(https://www.mail-archive.com/tech@openbsd.org/msg58503.html), have you do some different optimize things or reproduced the same error? Maybe we need more test on it. Thank you for the contribution again. |
Tested with ac9260 and it works, although still have problems. And when I merge the changes to my |
@zxystd if you look at the commits, you will see the this work also include the partial patch coming from @stspdotname you're referring to. In your original work, there is an issue around TX_CMD_FLG_SEQ_CTL flag. There are issues around update/reset the scheduler on the tx response handling. With both fixes taken from @stspdotname's patch, this works fairly well on my Intel Wireless-AC 8265 card. Now come down to the 9000 series, I do exhibit the firmware crash with both patch sets. The firmware crash after a few packets send. After a bit trial and error, I spot a patch in iwlwifi. That's the secret sauce to make firmware happy on 9000 series. The patch mentioned it is backward compatible, and I would assume it will continue to work on 7000/8000 series. This PR #454 include all the patches above. With this patchset, I can turn on Tx AMPDU on Intel Wireless-AC 9560 card. There are still two issues are observed.
Thanks again on take time look into this patch and the great work. Looking forward to see your ht40 and vht enhancements. |
@pigworlds @zxystd |
Test complete! Tested about 10times. |
Download speed goes up to 103mb/s in AC-8265 |
How can i use this pr |
@Playragnarok This pull request will eventually get merged, please be patient and use other sources for personal help. The comment section in this PR is for reviewing only. |
I noticed the rate adaption is one of the factors impacting tx throughput. This can be either the algorithm used or the way it is plumbed through the driver. I did a simple test by using a fixed MCS 15 and avoid rate adaption. The result is amazing. On a 9560 card, it can tx sustained at 30mbps without AMPDU, 105mbps with AMPDU on 20MHz, and 195mbps with AMPDU on 40MHz. This area can be someone interesting to look. |
tested with ac3165 and ac8265, works unless, merged. thank you. |
This is the work to enable Tx aggregation (AMPDU) for
iwm
driver.This is based on the previous partial ampdu implementation by zxysd.
A test on Intel Wireless-AC 9560 card show around 30mbps tx based on iperf3 test. Other cards are untested.
Note, this change also need to use along with #453, or otherwise rate is not stable enough when tx aggregation is enabled.