[PATCH ath12k-ng 00/12] wifi: ath12k: Remove the Wi-Fi 7 header inclusions in common code

Alok Singh quic_aloksing at quicinc.com
Mon Nov 10 02:37:01 PST 2025


Idea here is to Remove the Wi-Fi 7 header inclusions in common code
As a precursor to the movement of Wi-Fi 7 specific .c files to
ath12k_wifi7.ko module, Remove all Wi-Fi 7 header inclusions (`wifi7/*.h`)
from the common `drivers/net/wireless/ath/ath12k/dp_mon.c`.
The common monitor functions now compile solely against the core
ath12k headers and remain part of the `ath12k.ko` module.
Move Wi-Fi 7 specific monitor implementations to a new
`drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c`.
This file is built into the `ath12k_wifi7.ko` module.

This patch series refactors the ath12k monitor functionalities
into common and Wi-Fi 7 specific code.

The series includes the following changes:

- Patches 1-11 move various monitor mode processing functions from the
  common ath12k driver to the Wi-Fi 7.

- Patch 12 removes the Wi-Fi 7 header dependencies from the main driver,
  completing the separation of concerns.

Alok Singh (12):
  wifi: ath12k: Move monitor ring processing to Wi-Fi 7 module
  wifi: ath12k: Move monitor status processing to Wi-Fi 7 module
  wifi: ath12k: Move MPDU pop functionality to Wi-Fi 7 module
  wifi: ath12k: Move RX status TLV parsing to Wi-Fi 7 module
  wifi: ath12k: Move TX monitor functionality to Wi-Fi 7 module
  wifi: ath12k: Move HT/VHT SIG processing to Wi-Fi 7 module
  wifi: ath12k: Move HE SIG processing to Wi-Fi 7 module
  wifi: ath12k: Move EHT SIG processing to Wi-Fi 7 module
  wifi: ath12k: Move remaining SIG TLV parsing to Wi-Fi 7 module
  wifi: ath12k: Move MU user processing to Wi-Fi 7 module
  wifi: ath12k: Move MSDU END TLV processing to Wi-Fi 7 module
  wifi: ath12k: Remove Wi-Fi 7 header dependencies from common ath12k
    module

 drivers/net/wireless/ath/ath12k/dp_mon.c      | 3474 +----------------
 drivers/net/wireless/ath/ath12k/dp_mon.h      |   62 +-
 drivers/net/wireless/ath/ath12k/dp_rx.h       |    9 +
 drivers/net/wireless/ath/ath12k/hal.c         |    2 +
 drivers/net/wireless/ath/ath12k/hal.h         |   33 +
 .../net/wireless/ath/ath12k/wifi7/Makefile    |    1 +
 drivers/net/wireless/ath/ath12k/wifi7/dp.c    |   16 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp.h    |    1 +
 .../net/wireless/ath/ath12k/wifi7/dp_mon.c    | 3354 ++++++++++++++++
 .../net/wireless/ath/ath12k/wifi7/dp_mon.h    |   23 +
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.c |   19 +-
 drivers/net/wireless/ath/ath12k/wifi7/dp_rx.h |   11 +-
 .../net/wireless/ath/ath12k/wifi7/hal_desc.h  |   19 -
 .../net/wireless/ath/ath12k/wifi7/hal_rx.h    |   15 -
 14 files changed, 3570 insertions(+), 3469 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/dp_mon.c
 create mode 100644 drivers/net/wireless/ath/ath12k/wifi7/dp_mon.h


base-commit: f87034a7576f918f2e60a14f17185b492e91580d
-- 
2.34.1




More information about the ath12k mailing list