]> git.ipfire.org Git - thirdparty/linux.git/commit
wifi: ath12k: add support for Tx Power insertion in RRM action frame
authorAditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Mon, 30 Jun 2025 04:15:15 +0000 (09:45 +0530)
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>
Mon, 7 Jul 2025 22:34:49 +0000 (15:34 -0700)
commitd45d015448fcfbb5dde7c09f2b0dffe5d689e6ca
tree4e4a410c7a452612bc8e567fc04917122cfb73f2
parenta0b963e1da5bff03a43c87b96ae3c0ed78a11960
wifi: ath12k: add support for Tx Power insertion in RRM action frame

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.

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

Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.4.1-00199-QCAHKSWPL_SILICONZ-1

Signed-off-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250630-support-for-tx-power-insertion-v1-1-77f45484d5bb@oss.qualcomm.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
drivers/net/wireless/ath/ath12k/mac.c