mt76: mt7915: fix encap offload multicast traffic with 4-address mode

multicast packets need to be transmitted as 802.11 unicast packets

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2020-08-28 23:49:28 +02:00
parent 15391c1c94
commit 72c8a81e64
+3
View File
@@ -584,6 +584,9 @@ mt7915_mac_write_txwi_8023(struct mt7915_dev *dev, __le32 *txwi,
sta = container_of((void *)wcid, struct ieee80211_sta, drv_priv);
wmm = sta->wme;
if (test_bit(MT_WCID_FLAG_4ADDR, &wcid->flags))
multicast = false;
}
val = FIELD_PREP(MT_TXD1_HDR_FORMAT, MT_HDR_FORMAT_802_3) |