]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFFLOAD
authorRyder Lee <ryder.lee@mediatek.com>
Thu, 17 Jun 2021 20:39:00 +0000 (04:39 +0800)
committerFelix Fietkau <nbd@nbd.name>
Wed, 20 Oct 2021 08:36:36 +0000 (10:36 +0200)
commitf17f4864504d754bcbf31e4c89412cdf9946c409
tree6c1c945b850de0646329ee3249dd776b155cbf3f
parent9aac2969fe5f8c3d7a827b73e4fe904e0abce9c2
mt76: use IEEE80211_OFFLOAD_ENCAP_ENABLED instead of MT_DRV_AMSDU_OFFLOAD

Drop MT_DRV_AMSDU_OFFLOAD after introducing IEEE80211_OFFLOAD_ENCAP_ENABLED
flag in mac80211. Driver now checks vif->offload_flags to know encap offload
status of each interface.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mac80211.c
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt7915/pci.c
drivers/net/wireless/mediatek/mt76/mt7921/pci.c