From: Karthikeyan Periyasamy <karthikeyan.periyasamy@oss.qualcomm.com>
To: Julius Bairaktaris <julius@bairaktaris.de>
Cc: karthikeyan.periyasamy@oss.qualcomm.com, jjohnson@kernel.org,
linux-wireless@vger.kernel.org, ath12k@lists.infradead.org,
linux-kernel@vger.kernel.org,
rameshkumar.sundaram@oss.qualcomm.com,
baochen.qiang@oss.qualcomm.com, quic_cjhuang@quicinc.com,
vasanthakumar.thiagarajan@oss.qualcomm.com,
quic_bperumal@quicinc.com, kvalo@kernel.org,
quic_pradeepc@quicinc.com
Subject: Re: [PATCH ath-next] wifi: ath12k: drop decapped frames with a source other than the station
Date: Sat, 28 Nov 2026 18:54:08 +0530 [thread overview]
Message-ID: <bb9e02e9-6738-4aa3-94b5-817d01c3a747@oss.qualcomm.com> (raw)
In-Reply-To: <20261128115312.428133-1-julius@bairaktaris.de>
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
--
கார்த்திகேயன் பெரியசாமி
prev parent reply other threads:[~2026-11-28 13:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 21:08 Julius Bairaktaris
2026-11-25 8:56 ` Karthikeyan Periyasamy
2026-11-28 11:53 ` Julius Bairaktaris
2026-11-28 13:24 ` Karthikeyan Periyasamy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bb9e02e9-6738-4aa3-94b5-817d01c3a747@oss.qualcomm.com \
--to=karthikeyan.periyasamy@oss.qualcomm.com \
--cc=ath12k@lists.infradead.org \
--cc=baochen.qiang@oss.qualcomm.com \
--cc=jjohnson@kernel.org \
--cc=julius@bairaktaris.de \
--cc=kvalo@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=quic_bperumal@quicinc.com \
--cc=quic_cjhuang@quicinc.com \
--cc=quic_pradeepc@quicinc.com \
--cc=rameshkumar.sundaram@oss.qualcomm.com \
--cc=vasanthakumar.thiagarajan@oss.qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®