Skip to content

wifi: ath11k: add support for Tx Power insertion

Aditya Kumar Singh ath11k linux-wireless lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am 20251017-add_tx_power_insertion_support-v1-0-f08feacfca93@oss.qualcomm.com change-id 20251008-add_tx_power_insertion_support-e5225e924bfd

Versions newest first

  1. v1 Latest4 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/4wifi: ath11k: relocate some Tx power related functions in mac.cdrivers/net/wireless/ath/ath11k/mac.c+135 -1350 replies
2/4wifi: ath11k: wrap ath11k_mac_op_get_txpower() with lock-aware internal helperdrivers/net/wireless/ath/ath11k/mac.c+20 -110 replies
3/4wifi: ath11k: add support for Tx Power insertion in RRM action framedrivers/net/wireless/ath/ath11k/mac.c+166 -00 replies
4/4wifi: ath11k: advertise NL80211_FEATURE_TX_POWER_INSERTIONdrivers/net/wireless/ath/ath11k/mac.c+2 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBaochen QiangVasanthakumar Thiagarajan
SeriesR-b R-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH ath-next 0/4] wifi: ath11k: add support for Tx Power insertion

For certain action frames like the TPC Report IE in the spectrum management TPC Report action frame, and in the Radio Measurement Link Measurement Report action frame there is a requirement to fill in the current and max Tx power of the device in the packet.

Add support to populate these fields in the relevant packets. Advertise this capability from the driver using the feature flag NL80211_FEATURE_TX_POWER_INSERTION.

In software-encrypted cases such as PMF, skip insertion since the packets are already encrypted and cannot be modified.

Patch Overview:
Patches 1 and 2 serve as preparatory groundwork. Patches 3 and 4 implement the core changes described.

For context, this ath11k implementation is adapted from prior ath12k work [1].

Reference:
[1] https://lore.kernel.org/linux-wireless/20250630-support-for-tx-power-insertion-v1-0-77f45484d5bb@oss.qualcomm.com/

---
Aditya Kumar Singh (4):
wifi: ath11k: relocate some Tx power related functions in mac.c
wifi: ath11k: wrap ath11k_mac_op_get_txpower() with lock-aware internal helper
wifi: ath11k: add support for Tx Power insertion in RRM action frame
wifi: ath11k: advertise NL80211_FEATURE_TX_POWER_INSERTION

 drivers/net/wireless/ath/ath11k/mac.c | 447 ++++++++++++++++++++++++----------
 1 file changed, 312 insertions(+), 135 deletions(-)

---
base-commit: d5ce93f136fbee2b7afbe221f34ca881036f8de3
change-id: 20251008-add_tx_power_insertion_support-e5225e924bfd