qcacld-3.0: CL 1469034 - update fw common interface files

qcacld-2.0 to qcacld-3.0 propagation

add a wmi command to enable/disable channel
avoidance report event from firmware

Change-Id: Ic84728b315b4729470238098a91ef6bb629b3f7b
CRs-Fixed: 865207
This commit is contained in:
Sandeep Puligilla 2016-03-09 12:54:23 -08:00 • committed by Gerrit - the friendly Code Review server
commit ff55fecd91
3 changed files with 31 additions and 2 deletions

View file

@ -689,6 +689,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_pdev_set_mac_config_response_event_fixed_param,
WMITLV_TAG_STRUC_WMI_COEX_CONFIG_CMD_fixed_param,
WMITLV_TAG_STRUC_wmi_config_enhanced_mcast_filter_fixed_param,
WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param,
} WMITLV_TAG_ID;
/*
@ -966,7 +967,8 @@ typedef enum {
OP(WMI_PDEV_SET_ANTENNA_MODE_CMDID) \
OP(WMI_VDEV_SET_QUIET_MODE_CMDID) \
OP(WMI_COEX_CONFIG_CMDID) \
OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID)
OP(WMI_CONFIG_ENHANCED_MCAST_FILTER_CMDID) \
OP(WMI_CHAN_AVOID_RPT_ALLOW_CMDID)
/*
* IMPORTANT: Please add _ALL_ WMI Events Here.
@ -2403,6 +2405,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_TPC_CHAINMASK_CONFIG_CMDID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_chan_avoid_update_cmd_param, wmi_chan_avoid_update_cmd_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_UPDATE_CMDID);
/* Ch avoidance report allow/disallow cmd*/
#define WMITLV_TABLE_WMI_CHAN_AVOID_RPT_ALLOW_CMDID(id, op, buf, len) \
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param, WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_CHAN_AVOID_RPT_ALLOW_CMDID);
/* D0-WOW Enable Disable Cmd */
#define WMITLV_TABLE_WMI_D0_WOW_ENABLE_DISABLE_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_d0_wow_enable_disable_cmd_fixed_param, wmi_d0_wow_enable_disable_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

View file

@ -861,6 +861,7 @@ typedef enum {
WMI_CMD_GRP_START_ID(WMI_GRP_COEX),
WMI_CHAN_AVOID_UPDATE_CMDID,
WMI_COEX_CONFIG_CMDID,
WMI_CHAN_AVOID_RPT_ALLOW_CMDID,
/**
* OBSS scan offload enable/disable commands
@ -15044,6 +15045,26 @@ typedef struct {
A_UINT32 config_arg2;
} WMI_COEX_CONFIG_CMD_fixed_param;
/**
* This command is sent from WLAN host driver to firmware to
* request firmware to enable/disable channel avoidance report
* to host.
*/
enum {
WMI_MWSCOEX_CHAN_AVD_RPT_DISALLOW = 0,
WMI_MWSCOEX_CHAN_AVD_RPT_ALLOW = 1
};
typedef struct {
/*
* TLV tag and len; tag equals
* WMITLV_TAG_STRUC_WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param
*/
A_UINT32 tlv_header;
/* Allow/disallow flag - see WMI_MWSCOEX_CHAN_AVD_RPT enum */
A_UINT32 rpt_allow;
} WMI_CHAN_AVOID_RPT_ALLOW_CMD_fixed_param;
/* ADD NEW DEFS HERE */
/*****************************************************************************

View file

@ -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_ 214
#define __WMI_REVISION_ 215
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work