Re: [PATCH] wifi: mt76: mt7925: fix mt7925_reverse_frag0_hdr_trans() for MLO

From: Ziheng Wei

Date: Sun Nov 15 2026 - 18:19:48 EST


On Mon, Nov 16, 2026 at 03:27:25AM +0800, Zhao Li wrote:
> Not every entry is a station link. mt792x_init_wcid() reserves index 0
> for beacons and management frames and installs dev->mt76.global_wcid
> there, a bare struct mt76_wcid inside struct mt76_dev, immediately
> followed by the wcid[] table.

You're right, I missed that the unicast branch returns the entry unchecked.
Only station links set wcid->sta (mt7925_mac_link_sta_add() does, the
global wcid never does), so your check covers every entry. I'll send a
v2 with it and without the redundant !sta test.

Thanks for the review,
Ziheng