qcacld-3.0: Add SAR V2 support
Add changes to support SAR V2 power limits.
Change-Id: I35f8a194ac9c53c8fd564bd301398b78fa995bed
CRs-Fixed: 2217067
diff --git a/core/wma/inc/wma_internal.h b/core/wma/inc/wma_internal.h
index 5351a13..62dfce3 100644
--- a/core/wma/inc/wma_internal.h
+++ b/core/wma/inc/wma_internal.h
@@ -112,6 +112,11 @@
#define MAX_NUM_HW_MODE 0xff
#define MAX_NUM_PHY 0xff
+enum sar_version {
+ SAR_VERSION_1,
+ SAR_VERSION_2
+};
+
/**
* struct index_data_rate_type - non vht data rate type
* @mcs_index: mcs rate index
@@ -1061,6 +1066,16 @@
struct flashing_req_params *flashing);
#endif
+/**
+ * wma_sar_rsp_evt_handler() - process sar response event from FW.
+ * @handle: wma handle
+ * @event: event buffer
+ * @len: buffer length
+ *
+ * Return: 0 for success or error code
+ */
+int wma_sar_rsp_evt_handler(void *handle, uint8_t *event, uint32_t len);
+
#ifdef FEATURE_WLAN_CH_AVOID
QDF_STATUS wma_process_ch_avoid_update_req(tp_wma_handle wma_handle,
tSirChAvoidUpdateReq *