diff options
| author | tinlin <tinlin@codeaurora.org> | 2017-11-17 18:36:01 +0800 |
|---|---|---|
| committer | snandini <snandini@codeaurora.org> | 2017-11-28 02:07:22 -0800 |
| commit | 4fc37fcc6ac84ae00267defdd122ba44c96bc5e2 (patch) | |
| tree | 0fd2cc9ee7f466fdd3eb020418694929d21fb00d | |
| parent | 7e04eb3b8a68a9dc5bf67c544c84c605c6c10b04 (diff) | |
qcacld-2.0: CL 3133394 - Update fw common interface files
Add WMI_PDEV_PARAM_ABG_MODE_TX_CHAIN_NUM. The Location of
WMI_CTS_CBW is different from the one of firmware.
Change-Id: I65cd4250fb399df8ad6f0de6c4608f6f78d91422
CRs-fixed: 865207
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 21 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
2 files changed, 21 insertions, 2 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 62e2b79d11a2..a11aea133e4f 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -4369,7 +4369,11 @@ typedef enum { * units are microseconds */ WMI_PDEV_PARAM_ACK_TIMEOUT, - + /** Number of TX chains to use for a/b/g rates. + * bit 0~15 : 11b mode TX chain number. + * bit 16~31 : 11ag mode TX chain number. + */ + WMI_PDEV_PARAM_ABG_MODE_TX_CHAIN_NUM, } WMI_PDEV_PARAM; typedef enum { @@ -4391,6 +4395,21 @@ typedef enum { WMI_DBGLOG_REPORT_ENABLE } WMI_DBG_PARAM; +/** MACRO define to set / get 11b and 11ag mode TX chain number: + * bit 0~15 : 11b mode TX chain number. + * bit 16~31: 11ag mode TX chain number. + */ +#define WMI_PDEV_PARAM_11B_TX_CHAIN_NUM_S 0 +#define WMI_PDEV_PARAM_11B_TX_CHAIN_NUM 0x0000FFFF +#define WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM_S 16 +#define WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM 0xFFFF0000 + +#define WMI_PDEV_PARAM_GET_11B_TX_CHAIN_NUM(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_11B_TX_CHAIN_NUM) +#define WMI_PDEV_PARAM_SET_11B_TX_CHAIN_NUM(word32, value) WMI_F_RMW(word32,value,WMI_PDEV_PARAM_11B_TX_CHAIN_NUM) + +#define WMI_PDEV_PARAM_GET_11AG_TX_CHAIN_NUM(word32) WMI_F_MS(word32, WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM) +#define WMI_PDEV_PARAM_SET_11AG_TX_CHAIN_NUM(word32, value) WMI_F_RMW(word32,value,WMI_PDEV_PARAM_11AG_TX_CHAIN_NUM) + /* param_value for param_id WMI_PDEV_PARAM_CTS_CBW */ typedef enum { WMI_CTS_CBW_INVALID = 0, diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 950cfe09efe2..6e276571adb4 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/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_ 401 +#define __WMI_REVISION_ 402 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
