qcacld-3.0: More regulatory cleanups
Remove typedef tPowerdBm. Rename and use linux style for channel
enum, channel state, channel power and country source data
structures.
Change-Id: Iebc59e6f001ccdb403c7445f4cea02c6a8141366
CRs-Fixed: 856727
diff --git a/core/mac/src/pe/lim/lim_process_sme_req_messages.c b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
index e11f9ac..47caaf8 100644
--- a/core/mac/src/pe/lim/lim_process_sme_req_messages.c
+++ b/core/mac/src/pe/lim/lim_process_sme_req_messages.c
@@ -1516,7 +1516,7 @@
tpPESession session = NULL;
uint8_t sme_session_id;
uint16_t sme_transaction_id;
- tPowerdBm local_power_constraint = 0, reg_max = 0;
+ int8_t local_power_constraint = 0, reg_max = 0;
uint16_t ie_len;
uint8_t *vendor_ie;
tSirBssDescription bss_desc;
@@ -2030,7 +2030,7 @@
}
#if defined FEATURE_WLAN_ESE || defined WLAN_FEATURE_VOWIFI
-uint8_t lim_get_max_tx_power(tPowerdBm regMax, tPowerdBm apTxPower,
+uint8_t lim_get_max_tx_power(int8_t regMax, int8_t apTxPower,
uint8_t iniTxPower)
{
uint8_t maxTxPower = 0;
@@ -2071,7 +2071,7 @@
uint8_t session_id;
uint8_t sme_session_id;
uint16_t transaction_id;
- tPowerdBm local_pwr_constraint = 0, reg_max = 0;
+ int8_t local_pwr_constraint = 0, reg_max = 0;
uint32_t tele_bcn_en = 0;
uint16_t size;
@@ -4437,7 +4437,7 @@
* @return None
*/
tSirRetStatus
-lim_send_set_max_tx_power_req(tpAniSirGlobal pMac, tPowerdBm txPower,
+lim_send_set_max_tx_power_req(tpAniSirGlobal pMac, int8_t txPower,
tpPESession pSessionEntry)
{
tpMaxTxPowerParams pMaxTxParams = NULL;
@@ -5038,7 +5038,7 @@
tpSirChanChangeRequest ch_change_req;
tpPESession session_entry;
uint8_t session_id; /* PE session_id */
- tPowerdBm max_tx_pwr;
+ int8_t max_tx_pwr;
uint32_t val = 0;
if (msg_buf == NULL) {