[PATCH wireless-next 0/4] wifi: mac80211: TSO and SG for encap offload, and the TID of 802.3 RX frames

From: Julius Bairaktaris

Date: Sun Nov 22 2026 - 08:42:35 EST


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