From: Julius Bairaktaris <julius@bairaktaris.de>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org,
"Jeff Johnson" <jjohnson@kernel.org>,
"Felix Fietkau" <nbd@nbd.name>,
"Toke Høiland-Jørgensen" <toke@toke.dk>,
ath11k@lists.infradead.org, ath12k@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: [PATCH wireless-next 0/4] wifi: mac80211: TSO and SG for encap offload, and the TID of 802.3 RX frames
Date: Sun, 22 Nov 2026 14:42:24 +0100 [thread overview]
Message-ID: <20261122134228.956044-1-julius@bairaktaris.de> (raw)
Patch 1 lets a driver offer TSO and scatter-gather on the netdevs that
send with 802.3 encap offload, without offering them on the 802.11
path. ath11k uses it on IPQ8074 in a series for ath-next that lets the
TCL segment TCP batches, which depends on this patch.
Patches 2 to 4 count frames received in 802.3 format on their TID: the
802.3 receive path counted all of them on TID 0. Patch 2 adds the field,
3 and 4 fill it in ath11k and ath12k.
Patches 1 to 3 ran on a Xiaomi AX3600 (IPQ8074 hw2.0, firmware
WLAN.HK.2.12-01460) as part of OpenWrt's 6.18 kernel with wireless
backports 7.2, as an AP with Ethernet encap and decap.
I used Claude (Anthropic) to help write these patches.
I have reviewed the commit messages and the cover letter myself and
edited them where needed.
Julius Bairaktaris (4):
wifi: mac80211: advertise TSO and SG for encap offloaded frames
wifi: mac80211: take the TID of an 802.3 frame from the driver
wifi: ath11k: pass the TID of a received 802.3 frame to mac80211
wifi: ath12k: pass the TID of a received 802.3 frame to mac80211
drivers/net/wireless/ath/ath11k/dp_rx.c | 1 +
drivers/net/wireless/ath/ath12k/dp_rx.c | 1 +
include/net/mac80211.h | 19 +++++++++
net/mac80211/iface.c | 14 +++++++
net/mac80211/main.c | 3 +-
net/mac80211/rx.c | 3 ++
net/mac80211/tx.c | 53 ++++++++++++++++++++++++-
7 files changed, 91 insertions(+), 3 deletions(-)
base-commit: e1dd8486807c1acf9551250b7f81e116a21e6ad6
--
2.53.0
next reply other threads:[~2026-11-22 13:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 13:42 Julius Bairaktaris [this message]
2026-11-22 13:42 ` [PATCH wireless-next 1/4] wifi: mac80211: advertise TSO and SG for encap offloaded frames Julius Bairaktaris
2026-11-22 13:42 ` [PATCH wireless-next 2/4] wifi: mac80211: take the TID of an 802.3 frame from the driver Julius Bairaktaris
2026-11-22 13:42 ` [PATCH wireless-next 3/4] wifi: ath11k: pass the TID of a received 802.3 frame to mac80211 Julius Bairaktaris
2026-11-22 13:42 ` [PATCH wireless-next 4/4] wifi: ath12k: " Julius Bairaktaris
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=20261122134228.956044-1-julius@bairaktaris.de \
--to=julius@bairaktaris.de \
--cc=ath11k@lists.infradead.org \
--cc=ath12k@lists.infradead.org \
--cc=jjohnson@kernel.org \
--cc=johannes@sipsolutions.net \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-wireless@vger.kernel.org \
--cc=nbd@nbd.name \
--cc=toke@toke.dk \
/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®