mac80211: add rate control support for encap offload
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 17 Jun 2021 16:31:13 +0000 (18:31 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:29:13 +0000 (11:29 +0200)
commit3187ba0cea77c8a4cdaed44fbff02c6e63e509aa
tree283a5bb8184b27662e8dcdf2cd7ecc6d8420d76d
parent03c3911d2d67a43ad4ffd15b534a5905d6ce5c59
mac80211: add rate control support for encap offload

The software rate control cannot deal with encap offload, so fix it.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Link: https://lore.kernel.org/r/20210617163113.75815-3-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rate.c
net/mac80211/tx.c