From 47062ff40ecd42ce7e86f1bdaafb94e8df51be01 Mon Sep 17 00:00:00 2001 From: Nirav Shah Date: Thu, 5 Nov 2015 11:21:08 +0530 Subject: [PATCH] qcacld-3.0: CL 1409457 - update fw common interface files qcacld-2.0 to qcacld-3.0 propagation Add WMI_PDEV_PARAM_TXPOWER_DECR_DB, WMI_VDEV_PARAM_TXPOWER_SCALE, and WMI_VDEV_PARAM_TXPOWER_SCALE_DECR_DB CRs-Fixed: 934137 Change-Id: I0468afc4cb89d21bda82a6a8b14eac66ed7cc6cb --- target/inc/wmi_unified.h | 20 ++++++++++++++++++++ target/inc/wmi_version.h | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 6ad5506d2dce..cbb3cc452e8a 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -2951,6 +2951,11 @@ typedef enum { WMI_PDEV_PARAM_TX_CHAIN_MASK_1SS, /* Enable/Disable CTS2Self for P2P GO when Non-P2P Client is connected*/ WMI_PDEV_PARAM_CTS2SELF_FOR_P2P_GO_CONFIG, + /* TX power backoff in dB: tx power -= param value + * Host passes values(DB) to Halphy, Halphy reduces the power table by + * the values. Safety check will happen in Halphy + */ + WMI_PDEV_PARAM_TXPOWER_DECR_DB, } WMI_PDEV_PARAM; typedef enum { @@ -4486,6 +4491,21 @@ typedef enum { * to increase the detectability of SAP in MCC mode */ WMI_VDEV_PARAM_MCC_BROADCAST_PROBE_ENABLE, + + /* This parameter indicates the power backoff in percentage + * currently supports 100%, 50%, 25%, 12.5%, and minimum + * Host passes 0, 1, 2, 3, 4 to Firmware + * 0 --> 100% --> no changes, 1 --> 50% --> -3dB, + * 2 --> 25% --> -6dB, 3 --> 12.5% --> -9dB, 4 --> minimum --> -32dB + */ + WMI_VDEV_PARAM_TXPOWER_SCALE, + + /* TX power backoff in dB: tx power -= param value + * Host passes values(DB) to Halphy, Halphy reduces the power table + * by the values. Safety check will happen in Halphy. + */ + WMI_VDEV_PARAM_TXPOWER_SCALE_DECR_DB, + } WMI_VDEV_PARAM; /* Length of ATIM Window in TU */ diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index cbdbb2d811c5..41d427807687 100644 --- a/target/inc/wmi_version.h +++ b/target/inc/wmi_version.h @@ -36,7 +36,7 @@ #define __WMI_VER_MINOR_ 0 /** WMI revision number has to be incremented when there is a * change that may or may not break compatibility */ -#define __WMI_REVISION_ 175 +#define __WMI_REVISION_ 176 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work