Re: [PATCH wireless-next v3 2/8] wifi: mac80211: change public RX API to use link stations
Devin Wittmayer <[email protected]>
| Newsgroups | org.infradead.lists.ath12k,org.infradead.lists.ath11k,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Aug 19, 2026 at 03:57:06PM +0200, Benjamin Berg wrote: > - *sta = wcid_to_sta(mstat.wcid); This moves inside the wcid check, so it no longer happens for every frame. mt76 uses one variable for a whole receive batch, so a frame with no wcid keeps the previous frame's station instead of being cleared. Frames with no wcid are normal rather than rare. On an MT7922 they were about 98% of everything received, and 16 frames out of roughly 4000 ended up carrying a leftover station. No harm that I could show. None of those 16 were data frames, and that is the only kind mac80211 reads the link station for. Clearing it when there is no wcid still looks worth doing. Devin