Re: [PATCH ath-next 0/2] wifi: ath12k: add support for Tx Power insertion

From: Vasanthakumar Thiagarajan
Date: Tue Jul 01 2025 - 04:49:36 EST




On 6/30/2025 9:45 AM, Aditya Kumar Singh wrote:
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.

---
Aditya Kumar Singh (2):
wifi: ath12k: add support for Tx Power insertion in RRM action frame
wifi: ath12k: advertise NL80211_FEATURE_TX_POWER_INSERTION support

drivers/net/wireless/ath/ath12k/mac.c | 184 ++++++++++++++++++++++++++++++++++
1 file changed, 184 insertions(+)

Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@xxxxxxxxxxxxxxxx>