]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: do not use low data rates for data frames with no ack flag
authorPhilipp Borgers <borgers@mi.fu-berlin.de>
Wed, 19 May 2021 12:20:18 +0000 (14:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:01:41 +0000 (11:01 +0200)
commitb98ef17d18170bf73bdf952ab119852cb79b2ba0
tree3e47779ba4058966b0e9e649a1c18e0ede279676
parent94aac39996f87848f57c0b9f82aef5dc65d536e7
mac80211: do not use low data rates for data frames with no ack flag

Data Frames with no ack flag set should be handled by the rate
controler. Make sure we reach the rate controler by returning early
from rate_control_send_low if the frame is a data frame with no ack
flag.

Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
Link: https://lore.kernel.org/r/20210519122019.92359-3-borgers@mi.fu-berlin.de
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c