]> www.infradead.org Git - users/dwmw2/linux.git/commit
mac80211: do not convert to A-MSDU if frag/subframe limited
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Wed, 29 Aug 2018 19:03:25 +0000 (21:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Oct 2018 06:55:54 +0000 (08:55 +0200)
commit511edc415c6cc3df8896f84cfdf80a39c189ee4e
tree0c934896ccbdd8bbece658700ac7fbeacbd6bdb1
parent6f01b1a3c4ad4b9048d676b6cd2a8df9b6b49c0b
mac80211: do not convert to A-MSDU if frag/subframe limited

[ Upstream commit 1eb507903665442360a959136dfa3234c43db085 ]

Do not start to aggregate packets in a A-MSDU frame (converting the
first subframe to A-MSDU, adding the header) if max_tx_fragments or
max_amsdu_subframes limits are already exceeded by it. In particular,
this happens when drivers set the limit to 1 to avoid A-MSDUs at all.

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
[reword commit message to be more precise]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/tx.c