[PATCH ath-next] wifi: ath12k: drop decapped frames with a source other than the station
Karthikeyan Periyasamy
karthikeyan.periyasamy at oss.qualcomm.com
Sat Nov 28 05:24:08 PST 2026
On 11/28/2026 5:23 PM, Julius Bairaktaris wrote:
> On 11/25/2026 2:26 PM, Karthikeyan Periyasamy wrote:
>> Can you explain the test scenario ?
>
> There is none: I have no ath12k hardware to test with.
> Found by an LLM review (Claude) of the code, comparing the decap path
> with ieee80211_amsdu_to_8023s(), which drops such a subframe.
>
>> How the user trigger this issue ?
>
> A station associated to an ath12k AP with Ethernet decap, without
> 4-address mode, sends a 3-address A-MSDU whose subframe header carries
> another host's MAC address as source. If the hardware writes that
> address into the decapped header, ath12k_dp_rx_h_undecap() sets
> RX_FLAG_8023, ieee80211_rx_8023() delivers the frame under it, and the
> bridge learns the other host on the Wi-Fi port (br_handle_frame_finish()),
> so traffic for that host goes to the station.
>
This frame report as address mismatch error
"HAL_REO_ENTR_RING_RXDMA_ECODE_AMSDU_MISMATCH_ERR" in the WBM error Rx
data path. So no need this code change in the regular Rx data path.
--
Karthikeyan Periyasamy
--
கார்த்திகேயன் பெரியசாமி
More information about the ath12k
mailing list