From f9bde8477f834767d6da579b57d669dc3463017f Mon Sep 17 00:00:00 2001 From: Sreelakshmi Konamki Date: Thu, 3 Mar 2016 19:03:02 +0530 Subject: [PATCH] qcacld-3.0: CL 1465726 update fw common interface files qcacld-2.0 to qcacld-3.0 propagation. add fields to WMI pdev LED config cmd to specify blink parameters Change-Id: Icd3cf8df3f5af6eed4c7263de641a61e3560b4fc CRs-Fixed: 865207 --- target/inc/wmi_unified.h | 22 ++++++++++++++++++++++ target/inc/wmi_version.h | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/target/inc/wmi_unified.h b/target/inc/wmi_unified.h index 52de40df1fda..0204b452c853 100644 --- a/target/inc/wmi_unified.h +++ b/target/inc/wmi_unified.h @@ -10259,6 +10259,21 @@ typedef enum { WMI_CONFIG_LED_ENABLE = 1, } wmi_config_led_enable_flag; +typedef enum { + WMI_CONFIG_LED_HIGH_UNSPECIFIED = 0, + WMI_CONFIG_LED_HIGH_OFF = 1, + WMI_CONFIG_LED_HIGH_ON = 2, +} wmi_config_led_on_flag; + +typedef enum { + WMI_CONFIG_LED_UNSPECIFIED = 0, + WMI_CONFIG_LED_ON = 1, + WMI_CONFIG_LED_OFF = 2, + WMI_CONFIG_LED_DIM = 3, + WMI_CONFIG_LED_BLINK = 4, + WMI_CONFIG_LED_TXRX = 5, +} wmi_config_led_operation_type; + typedef struct { /** TLV tag and len; tag equals * WMITLV_TAG_STRUC_wmi_pdev_set_led_config_cmd_fixed_param */ @@ -10275,6 +10290,13 @@ typedef struct { * See macros starting with WMI_PDEV_ID_ for values. */ A_UINT32 pdev_id; + /* see wmi_config_led_operation_type enum */ + A_UINT32 led_operation_type; + /* see wmi_config_led_on_flag enum */ + A_UINT32 led_on_flag; /* configure high/low on/off sense */ + A_UINT32 led_on_interval; /* for blink function; unit: ms */ + A_UINT32 led_off_interval; /* for blink function; unit: ms */ + A_UINT32 led_repeat_cnt; /* for blink function: how many blinks */ } wmi_pdev_set_led_config_cmd_fixed_param; #define WMI_WNTS_CFG_GPIO_PIN_NUM_OFFSET 0 diff --git a/target/inc/wmi_version.h b/target/inc/wmi_version.h index 32f4dd42958c..ef90b9fa12a8 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_ 212 +#define __WMI_REVISION_ 213 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work