Skip to content

Commit 2d4f00a

Browse files
Ming Yen Hsiehgregkh
authored andcommitted
wifi: mt76: mt7925: fix missing hdr_trans_tlv command for broadcast wtbl
commit 0aa8496 upstream. Ensure that the hdr_trans_tlv command is included in the broadcast wtbl to prevent the IPv6 and multicast packet from being dropped by the chip. Cc: stable@vger.kernel.org Fixes: cb1353e ("wifi: mt76: mt7925: integrate *mlo_sta_cmd and *sta_cmd") Reported-by: Benjamin Xiao <fossben@pm.me> Tested-by: Niklas Schnelle <niks@kernel.org> Signed-off-by: Ming Yen Hsieh <mingyen.hsieh@mediatek.com> Link: https://lore.kernel.org/lkml/EmWnO5b-acRH1TXbGnkx41eJw654vmCR-8_xMBaPMwexCnfkvKCdlU5u19CGbaapJ3KRu-l3B-tSUhf8CCQwL0odjo6Cd5YG5lvNeB-vfdg=@pm.me/ Link: https://patch.msgid.link/20250509010421.403022-1-mingyen.hsieh@mediatek.com Signed-off-by: Felix Fietkau <nbd@nbd.name> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent e7bfbda commit 2d4f00a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • drivers/net/wireless/mediatek/mt76/mt7925

drivers/net/wireless/mediatek/mt76/mt7925/mcu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1867,14 +1867,14 @@ mt7925_mcu_sta_cmd(struct mt76_phy *phy,
18671867
mt7925_mcu_sta_mld_tlv(skb, info->vif, info->link_sta->sta);
18681868
mt7925_mcu_sta_eht_mld_tlv(skb, info->vif, info->link_sta->sta);
18691869
}
1870-
1871-
mt7925_mcu_sta_hdr_trans_tlv(skb, info->vif, info->link_sta);
18721870
}
18731871

18741872
if (!info->enable) {
18751873
mt7925_mcu_sta_remove_tlv(skb);
18761874
mt76_connac_mcu_add_tlv(skb, STA_REC_MLD_OFF,
18771875
sizeof(struct tlv));
1876+
} else {
1877+
mt7925_mcu_sta_hdr_trans_tlv(skb, info->vif, info->link_sta);
18781878
}
18791879

18801880
return mt76_mcu_skb_send_msg(dev, skb, info->cmd, true);

0 commit comments

Comments
 (0)