mac80211: check per vif offload_flags in Tx path
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 17 Jun 2021 20:38:59 +0000 (04:38 +0800)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jun 2021 09:29:13 +0000 (11:29 +0200)
commit4f2e3eb6c985cc8c2b88d5089b1920b831bc5ed9
treeb9551d76133fc1a970944688255e6981ef323b25
parent3187ba0cea77c8a4cdaed44fbff02c6e63e509aa
mac80211: check per vif offload_flags in Tx path

offload_flags has been introduced to indicate encap status of each interface.
An interface can encap offload at runtime, or if it has some extra limitations
it can simply override the flags, so it's more flexible to check offload_flags
in Tx path.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Link: https://lore.kernel.org/r/177785418cf407808bf3a44760302d0647076990.1623961575.git.ryder.lee@mediatek.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/tx.c