From 68a43bd7b094eb41e611c7b3b8f0c9d160a1d708 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 2 Mar 2023 15:24:07 -0800 Subject: [PATCH] qcacld-3.0: Remove obsolete struct lim_max_tx_pwr_attr The logic that utilized struct lim_max_tx_pwr_attr was removed with: qcacld-3.0: Add TPC calculation logic to obtain max tx power Change-Id I80a2454c2ef0dbc3b1d69e8b233b1a56567ec1a1 Since this struct is obsolete, remove it. Change-Id: I5c885e5b37ee2e451a0c5474c2d6e7540ada93b9 CRs-Fixed: 3423249 --- core/mac/src/pe/lim/lim_utils.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/core/mac/src/pe/lim/lim_utils.h b/core/mac/src/pe/lim/lim_utils.h index 7976e8de35..ffef673855 100644 --- a/core/mac/src/pe/lim/lim_utils.h +++ b/core/mac/src/pe/lim/lim_utils.h @@ -137,18 +137,6 @@ typedef struct last_processed_frame { uint16_t seq_num; } last_processed_msg; -/** - * struct lim_max_tx_pwr_attr - List of tx powers from various sources - * @reg_max: power from regulatory database - * @ap_tx_power: local power constraint adjusted value - * @frequency: current operating frequency for which above powers are defined - */ -struct lim_max_tx_pwr_attr { - int8_t reg_max; - int8_t ap_tx_power; - uint32_t frequency; -}; - /* LIM utility functions */ bool lim_is_valid_frame(last_processed_msg *last_processed_frm, uint8_t *pRxPacketInfo);