diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-08-17 07:30:54 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-12-04 13:46:13 +0100 |
commit | 55f7c9b02790d2436ddbac5e6f8205ec9fa21b12 (patch) | |
tree | 526eb866f6acd44190f444f81d3cca5ab5a536c6 /drivers/net/wireless/mediatek/mt76/tx.c | |
parent | 6a618acb7e623eb721b21b129a52439d323b75f1 (diff) | |
download | linux-55f7c9b02790d2436ddbac5e6f8205ec9fa21b12.tar.bz2 |
mt76: mt7915: add 802.11 encap offload support
It is currently limited to 3-address mode AP and STA interfaces
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/tx.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/tx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/tx.c b/drivers/net/wireless/mediatek/mt76/tx.c index 44ef4bc7a46e..73624700fe44 100644 --- a/drivers/net/wireless/mediatek/mt76/tx.c +++ b/drivers/net/wireless/mediatek/mt76/tx.c @@ -272,6 +272,7 @@ mt76_tx(struct mt76_phy *phy, struct ieee80211_sta *sta, } if ((dev->drv->drv_flags & MT_DRV_HW_MGMT_TXQ) && + !(info->flags & IEEE80211_TX_CTL_HW_80211_ENCAP) && !ieee80211_is_data(hdr->frame_control) && !ieee80211_is_bufferable_mmpdu(hdr->frame_control)) { qid = MT_TXQ_PSD; |