Skip to content

Sync openbsd net80211#453

Merged
zxystd merged 13 commits into
OpenIntelWireless:masterfrom
pigworlds:syncopenbsd
Dec 17, 2020
Merged

Sync openbsd net80211#453
zxystd merged 13 commits into
OpenIntelWireless:masterfrom
pigworlds:syncopenbsd

Conversation

@pigworlds
Copy link
Copy Markdown
Contributor

Sync latest patches from openbsd net80211

@zxystd
Copy link
Copy Markdown
Collaborator

zxystd commented Dec 16, 2020

Thank you for the update. I have sync the code in my private branch too and haven't push to the repo.
image
About our driver, iwn needs AMSDU enabling and others not, so I added a capability flag on it, just enable AMSDU inside AMPDU on iwn.
image

@zxystd
Copy link
Copy Markdown
Collaborator

zxystd commented Dec 16, 2020

Update: for mvm cards which are before 9000 series, there are bugs in the firmware when enabling AMSDU inside AMPDU, so this flag is necessary I think.

I will take sometime to review and see how to deal with it.

@pigworlds
Copy link
Copy Markdown
Contributor Author

The AMSDU isn't enabled in net80211 globally. I've test enabling AMSDU in iwn and see slight speed increase. Conditionally enable AMSDU is a better approach.

According to your logs, you haven't pick up this patch that disable AMSDU globally again. The comment says need more work for iwm 9k and iwx to be done.

@zxystd zxystd merged commit 36c2df9 into OpenIntelWireless:master Dec 17, 2020
DexterSLamb pushed a commit to DexterSLamb/itlwm that referenced this pull request May 3, 2026
* Sync changes from openbsd

* Kill unused IEEE80211_RADIOTAP_HWQUEUE.

* The command value of the _IOC() macro is limited to values [0..255].

* Add missing #if's to fix build without bpf(4).

* The IEEE80211_F_HIDENWID flag is now part of ic_userflags, not ic_flags.

* Improve processing of lost frames during 802.11 Rx aggregation.

* Use BA agreement immediately after it is requested by the AP.

* Fix gapwait accounting.

* Fix 802.11 RSN capabilities announced to peers.

* Flush reorder buffer after gap timeout, otherwise the frames remain in the buffer until the next frame is received.

* Disable A-MSDU support again.

* Ignore trailing data in A-MSDU frame buffers if it is smaller than the Ethernet header size.

* Fix double-free on error in ieee80211_amsdu_decap().
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants