]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mac80211: do not use low data rates for data frames with no ack flag"
authorFelix Fietkau <nbd@nbd.name>
Mon, 6 Sep 2021 08:35:59 +0000 (10:35 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 23 Sep 2021 10:59:29 +0000 (12:59 +0200)
commitde2ee44a4d2eef8773efb1902236bb24b24a4e7c
treea1f7b87f6d44ce3a0eb99ef7236a0006e67c405e
parent18599fb1d7c9db561d4a716e9724cedca1d663a7
Revert "mac80211: do not use low data rates for data frames with no ack flag"

This reverts commit 5b99418f9cb9 ("mac80211: do not use low data rates for
data frames with no ack flag").

Returning false early in rate_control_send_low breaks sending broadcast
packets, since rate control will not select a rate for it.

Before re-introducing a fixed version of this patch, we should probably also
make some changes to rate control to be more conservative in selecting rates
for no-ack packets and also prevent using probing rates on them, since we won't
get any feedback.

Fixes: 5b99418f9cb9 ("mac80211: do not use low data rates for data frames with no ack flag")
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20210906083559.9109-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c