mbox series

[v2,0/3] mac80211: do not use low data rates for data frames with no ack flag

Message ID 20210519122019.92359-1-borgers@mi.fu-berlin.de (mailing list archive)
Headers show
Series mac80211: do not use low data rates for data frames with no ack flag | expand

Message

Philipp Borgers May 19, 2021, 12:20 p.m. UTC
Version 2 of this patch set adds a helper function that checks if a frame is a
data frame taking hardware encapsulation into account. Suggested by Johannes
Berg and Felix Fietkau.

The refactoring of the rc_no_data_or_no_ack_use_min function makes use of this
new function too. I added a comment about the refactoring too. Suggested by
Kalle Valo.

Best Regards

Philipp Borgers

Philipp Borgers (3):
  mac80211: add ieee80211_is_tx_data helper function
  mac80211: do not use low data rates for data frames with no ack flag
  mac80211: refactor rc_no_data_or_no_ack_use_min function

 include/net/mac80211.h | 18 ++++++++++++++++++
 net/mac80211/rate.c    | 10 +++++-----
 2 files changed, 23 insertions(+), 5 deletions(-)