Felix Fietkau <nbd@xxxxxxxx> wrote: > When 802.3 decap offload is enabled, the hardware indicates header translation > failure, whenever either the LLC-SNAP header was not found, or a VLAN header > with an unregcognized tag is present. > In that case, the hardware inserts a 2-byte length fields after the MAC > addresses. For VLAN packets, this tag needs to be removed. However, > for 802.3 LLC packets, the length bytes should be preserved, since there > is no separate ethertype field in the data. > This fixes an issue where the length field was omitted for LLC frames, causing > them to be malformed after hardware decap. > > Fixes: 1eeff0b4c1a6 ("mt76: mt7915: fix decap offload corner case with 4-addr VLAN frames") > Reported-by: Chad Monroe <chad.monroe@xxxxxxxxxxx> > Signed-off-by: Felix Fietkau <nbd@xxxxxxxx> 2 patches applied to wireless.git, thanks. 47c44088ac08 wifi: mt76: fix receiving LLC packets on mt7615/mt7915 443dc85ad13e wifi: mt76: fix rx checksum offload on mt7615/mt7915/mt7921 -- https://patchwork.kernel.org/project/linux-wireless/patch/20221005130824.23371-1-nbd@xxxxxxxx/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches