[PATCH ath-next v2 0/4] wifi: ath12k: rely on ieee80211_rx_list() to send rx packets to mac80211

Lorenzo Bianconi lorenzo.bianconi at oss.qualcomm.com
Fri Nov 13 06:51:41 PST 2026


Rework the receive path to collect processed frames on a list and
deliver them to mac80211 as a batch with ieee80211_rx_list(), feeding
the result to napi_gro_receive() at the end of the NAPI poll.

---
Changes in v2:
- Check skb length before running skb_trim().
- Move MICHAEL_MIC_LEN fix in a dedicated patch.
- Link to v1: https://lore.kernel.org/r/20261016-ath12k-rx-avoid-realloc-v1-0-0ce6cd99dd5f@oss.qualcomm.com

---
Lorenzo Bianconi (4):
      wifi: ath12k: validate RX frame length before undecapsulation
      wifi: ath12k: use MICHAEL_MIC_LEN for the TKIP Michael MIC
      wifi: ath12k: rely on pskb_trim() to trim the received skb
      wifi: ath12k: use ieee80211_rx_list() to deliver packets to mac80211

 drivers/net/wireless/ath/ath12k/dp_rx.c       | 113 +++++++---
 drivers/net/wireless/ath/ath12k/dp_rx.h       |  10 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c | 290 +++++++++++++-------------
 3 files changed, 234 insertions(+), 179 deletions(-)
---
base-commit: ff4c7359e310744a7abe53cf66d921fa2969eb19
change-id: 20261011-ath12k-rx-avoid-realloc-6c8cb3e32165

Best regards,
-- 
Lorenzo Bianconi <lorenzo.bianconi at oss.qualcomm.com>




More information about the ath12k mailing list