]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[net80211] Flip on A-MPDU, A-MSDU, A-MPDU+A-MSDU and Fast frames options.
authorAdrian Chadd <adrian@FreeBSD.org>
Sat, 6 Jun 2020 22:25:00 +0000 (22:25 +0000)
committerAdrian Chadd <adrian@FreeBSD.org>
Sat, 6 Jun 2020 22:25:00 +0000 (22:25 +0000)
commitb3d0e274bf72f2997e57aa64a1b5b051bd561602
tree8d24d8269e605c9d703a5fa9add2539b11581f76
parent3f53d62236caae648a5f04dd31076dc96fce8d45
[net80211] Flip on A-MPDU, A-MSDU, A-MPDU+A-MSDU and Fast frames options.

This updates the logic to allow:

* A-MPDU if available;
* A-MSDU if available and A-MPDU is off/NACKed;
* A-MPDU+A-MSDU if it's available and negotiated;
* Fast frames if the node is 11abg (and not HT/VHT.)

This allows for things to fail back to A-MSDU or fast frames
if A-MPDU isn't available rather than needing to be non-HT/non-VHT.
It also allows A-MPDU+A-MSDU to work if it's negotiated.

Tested:

* AR9380, STA + AP mode (A-MPDU, A-MSDU, FF, A-MPDU+A-MSDU)
* RT5350, STA mode (A-MSDU, FF)
* AR9170, STA mode (A-MSDU, FF)
sys/net80211/ieee80211_output.c