Re: [PATCH ath-next] wifi: ath12k: drop decapped frames with a source other than the station

From: Karthikeyan Periyasamy

Date: Wed Nov 25 2026 - 03:56:34 EST




On 11/23/2026 2:38 AM, Julius Bairaktaris wrote:
With Ethernet decap, ath12k hands mac80211 an MSDU with the Ethernet
source the hardware took from the frame, which for an A-MSDU subframe
is whatever its subframe header carries, and mac80211's 802.3 receive
path takes it as the station's address. When mac80211 deaggregates an
A-MSDU itself, ieee80211_amsdu_to_8023s() drops a subframe whose source
is not the station on an access point; the decap path has no such
check.

Drop such an MSDU on an AP for a station that does not use four
addresses, as ath11k does. The address compared with is that of the
ieee80211_sta, which for a multi-link station is its MLD address, the
one mac80211 compares with too. A four-address MPDU from such a station
passes: ath12k_dp_rx_h_undecap() hands it to mac80211 as an 802.11
frame, from which mac80211 reports the station for dynamic WDS.


Can you explain the test scenario ?
How the user trigger this issue ?

--
Karthikeyan Periyasamy
--
கார்த்திகேயன் பெரியசாமி