mac80211: minstrel_ht: improve ampdu length estimation
authorFelix Fietkau <nbd@nbd.name>
Fri, 15 Jan 2021 12:02:38 +0000 (13:02 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 22 Jan 2021 08:11:37 +0000 (09:11 +0100)
commit1ae8bba9a23b6cc9efbd9b4ca485ed057d5639a6
tree1544c812a501ad793ea9744953763ec3d1af4c9f
parenteeafcb0c80c81d6f569fc72630f573ea56112f2b
mac80211: minstrel_ht: improve ampdu length estimation

If the driver does not report A-MPDU length, estimate it based on the rate.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210115120242.89616-6-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rc80211_minstrel_ht.c