wifi: mac80211: add support for letting drivers register tc offload support
authorFelix Fietkau <nbd@nbd.name>
Tue, 21 Mar 2023 09:12:48 +0000 (10:12 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 22 Mar 2023 12:20:03 +0000 (13:20 +0100)
commit61587f1556fec39e8bafc40c8715f560639a4cf2
tree0078446a015c7acd9394b6287859c060de510832
parent9457077df49e2a637a1f1c3be42c14af604fa920
wifi: mac80211: add support for letting drivers register tc offload support

On newer MediaTek SoCs (e.g. MT7986), WLAN->WLAN or WLAN->Ethernet flows can
be offloaded by the SoC. In order to support that, the .ndo_setup_tc op is
needed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
Link: https://lore.kernel.org/r/20230321091248.30947-1-nbd@nbd.name
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/mac80211.h
net/mac80211/driver-ops.h
net/mac80211/ieee80211_i.h
net/mac80211/iface.c
net/mac80211/trace.h