]> asedeno.scripts.mit.edu Git - 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)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 30 Aug 2018 07:59:22 +0000 (09:59 +0200)
commit1eb507903665442360a959136dfa3234c43db085
tree7fceb0a1530338e60f7c767e5b510ef82f108af0
parent4f0223bfe9c3e62d8f45a85f1ef1b18a8a263ef9
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