]> git.baikalelectronics.ru Git - kernel.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)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Aug 2018 07:59:22 +0000 (09:59 +0200)
commita15de15c2b69399aa4db2726c657b2138c7151bd
tree7fceb0a1530338e60f7c767e5b510ef82f108af0
parent44704b68dc8630165ddf3495952b9bfb74461099
mac80211: do not convert to A-MSDU if frag/subframe limited

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>
net/mac80211/tx.c