]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
wifi: ath11k: cleanup struct ath11k_reg_tpc_power_info
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 11 Nov 2024 07:01:50 +0000 (10:01 +0300)
committerJeff Johnson <quic_jjohnson@quicinc.com>
Thu, 21 Nov 2024 15:52:49 +0000 (07:52 -0800)
Remove unused 'ap_constraint_power' field of 'struct
ath11k_reg_tpc_power_info' and adjust related comment.
Compile tested only.

Fixes: 6f4e235be655 ("wifi: ath11k: add parse of transmit power envelope element")
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20241111070152.85140-2-dmantipov@yandex.ru
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
drivers/net/wireless/ath/ath11k/core.h

index 5ab1fdd2114462d9cf30b5c1d799d8d3244edb69..b1440a70a886bf1ecaf3aad12cfc70d7a650c6e1 100644 (file)
@@ -340,7 +340,6 @@ struct ath11k_chan_power_info {
  * @ap_power_type: type of power (SP/LPI/VLP)
  * @num_pwr_levels: number of power levels
  * @reg_max: Array of maximum TX power (dBm) per PSD value
- * @ap_constraint_power: AP constraint power (dBm)
  * @tpe: TPE values processed from TPE IE
  * @chan_power_info: power info to send to firmware
  */
@@ -350,7 +349,6 @@ struct ath11k_reg_tpc_power_info {
        enum wmi_reg_6ghz_ap_type ap_power_type;
        u8 num_pwr_levels;
        u8 reg_max[ATH11K_NUM_PWR_LEVELS];
-       u8 ap_constraint_power;
        s8 tpe[ATH11K_NUM_PWR_LEVELS];
        struct ath11k_chan_power_info chan_power_info[ATH11K_NUM_PWR_LEVELS];
 };