qcacld-3.0: CL 1598475 - update fw common interface files
Propagation from qcacld-2.0 to qcacld-3.0 Adding defined weightage values for WMI_PDEV_SET_PCL_CMDID Add filter configure interface in fwcommon for sniffer mode. Change-Id: Ic822863cbbaffe7303dedf7f6c16ba92c2d0a5d3 CRs-fixed: 865207
This commit is contained in:

committed by
qcabuildsw

parent
6c453d93a6
commit
11b53a140c
@@ -730,6 +730,7 @@ typedef enum {
|
|||||||
WMITLV_TAG_STRUC_wmi_peer_antdiv_info,
|
WMITLV_TAG_STRUC_wmi_peer_antdiv_info,
|
||||||
WMITLV_TAG_STRUC_wmi_pdev_get_antdiv_status_cmd_fixed_param,
|
WMITLV_TAG_STRUC_wmi_pdev_get_antdiv_status_cmd_fixed_param,
|
||||||
WMITLV_TAG_STRUC_wmi_pdev_antdiv_status_event_fixed_param,
|
WMITLV_TAG_STRUC_wmi_pdev_antdiv_status_event_fixed_param,
|
||||||
|
WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param,
|
||||||
} WMITLV_TAG_ID;
|
} WMITLV_TAG_ID;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -1028,6 +1029,7 @@ typedef enum {
|
|||||||
OP(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID) \
|
OP(WMI_PDEV_SET_WAKEUP_CONFIG_CMDID) \
|
||||||
OP(WMI_PEER_ANTDIV_INFO_REQ_CMDID) \
|
OP(WMI_PEER_ANTDIV_INFO_REQ_CMDID) \
|
||||||
OP(WMI_PDEV_GET_ANTDIV_STATUS_CMDID) \
|
OP(WMI_PDEV_GET_ANTDIV_STATUS_CMDID) \
|
||||||
|
OP(WMI_MNT_FILTER_CMDID) \
|
||||||
/* add new CMD_LIST elements above this line */
|
/* add new CMD_LIST elements above this line */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -2955,6 +2957,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_SETUP_CMDID);
|
|||||||
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param, wmi_peer_reorder_queue_remove_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_peer_reorder_queue_remove_cmd_fixed_param, wmi_peer_reorder_queue_remove_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||||
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
|
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_REORDER_QUEUE_REMOVE_CMDID);
|
||||||
|
|
||||||
|
/* Filter in monitor mode paramters Cmd */
|
||||||
|
#define WMITLV_TABLE_WMI_MNT_FILTER_CMDID(id, op, buf, len) \
|
||||||
|
WMITLV_ELEM(id, op, buf, len, WMITLV_TAG_STRUC_wmi_mnt_filter_cmd_fixed_param, wmi_mnt_filter_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||||
|
WMITLV_CREATE_PARAM_STRUC(WMI_MNT_FILTER_CMDID);
|
||||||
|
|
||||||
/************************** TLV definitions of WMI events *******************************/
|
/************************** TLV definitions of WMI events *******************************/
|
||||||
|
|
||||||
|
@@ -235,6 +235,7 @@ typedef enum {
|
|||||||
WMI_GRP_BPF_OFFLOAD, /* 0x36 Berkeley Packet Filter */
|
WMI_GRP_BPF_OFFLOAD, /* 0x36 Berkeley Packet Filter */
|
||||||
WMI_GRP_NAN_DATA, /* 0x37 */
|
WMI_GRP_NAN_DATA, /* 0x37 */
|
||||||
WMI_GRP_PROTOTYPE, /* 0x38 */
|
WMI_GRP_PROTOTYPE, /* 0x38 */
|
||||||
|
WMI_GRP_MONITOR, /* 0x39 */
|
||||||
} WMI_GRP_ID;
|
} WMI_GRP_ID;
|
||||||
|
|
||||||
#define WMI_CMD_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
|
#define WMI_CMD_GRP_START_ID(grp_id) (((grp_id) << 12) | 0x1)
|
||||||
@@ -991,6 +992,10 @@ typedef enum {
|
|||||||
WMI_BPF_GET_VDEV_STATS_CMDID,
|
WMI_BPF_GET_VDEV_STATS_CMDID,
|
||||||
WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID,
|
WMI_BPF_SET_VDEV_INSTRUCTIONS_CMDID,
|
||||||
WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID,
|
WMI_BPF_DEL_VDEV_INSTRUCTIONS_CMDID,
|
||||||
|
|
||||||
|
/** WMI commands related to monitor mode. */
|
||||||
|
WMI_MNT_FILTER_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_MONITOR),
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Nan Data commands
|
* Nan Data commands
|
||||||
* NDI - NAN Data Interface
|
* NDI - NAN Data Interface
|
||||||
@@ -8386,6 +8391,21 @@ typedef struct {
|
|||||||
A_UINT32 reason; /* refer to p2p_lo_stopped_reason_e */
|
A_UINT32 reason; /* refer to p2p_lo_stopped_reason_e */
|
||||||
} wmi_p2p_lo_stopped_event_fixed_param;
|
} wmi_p2p_lo_stopped_event_fixed_param;
|
||||||
|
|
||||||
|
typedef enum {
|
||||||
|
WMI_MNT_FILTER_CONFIG_MANAGER,
|
||||||
|
WMI_MNT_FILTER_CONFIG_CONTROL,
|
||||||
|
WMI_MNT_FILTER_CONFIG_DATA,
|
||||||
|
WMI_MNT_FILTER_CONFIG_ALL,
|
||||||
|
WMI_MNT_FILTER_CONFIG_UNKNOWN,
|
||||||
|
} WMI_MNT_FILTER_CONFIG_TYPE;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
A_UINT32 tlv_header;
|
||||||
|
A_UINT32 vdev_id;
|
||||||
|
A_UINT32 clear_or_set;
|
||||||
|
A_UINT32 configure_type; /* see WMI_MNT_FILTER_CONFIG_TYPE */
|
||||||
|
} wmi_mnt_filter_cmd_fixed_param;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
A_UINT32 time32; /* upper 32 bits of time stamp */
|
A_UINT32 time32; /* upper 32 bits of time stamp */
|
||||||
A_UINT32 time0; /* lower 32 bits of time stamp */
|
A_UINT32 time0; /* lower 32 bits of time stamp */
|
||||||
@@ -14472,6 +14492,15 @@ typedef struct {
|
|||||||
*/
|
*/
|
||||||
} wmi_soc_set_pcl_cmd_fixed_param;
|
} wmi_soc_set_pcl_cmd_fixed_param;
|
||||||
|
|
||||||
|
/* Values for channel_weight */
|
||||||
|
typedef enum {
|
||||||
|
WMI_PCL_WEIGHT_DISALLOW = 0,
|
||||||
|
WMI_PCL_WEIGHT_LOW = 1,
|
||||||
|
WMI_PCL_WEIGHT_MEDIUM = 2,
|
||||||
|
WMI_PCL_WEIGHT_HIGH = 3,
|
||||||
|
WMI_PCL_WEIGHT_VERY_HIGH = 4,
|
||||||
|
} wmi_pcl_chan_weight;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* TLV tag and len; tag equals
|
/* TLV tag and len; tag equals
|
||||||
* WMITLV_TAG_STRUC_wmi_pdev_set_pcl_cmd_fixed_param
|
* WMITLV_TAG_STRUC_wmi_pdev_set_pcl_cmd_fixed_param
|
||||||
|
@@ -36,7 +36,7 @@
|
|||||||
#define __WMI_VER_MINOR_ 0
|
#define __WMI_VER_MINOR_ 0
|
||||||
/** WMI revision number has to be incremented when there is a
|
/** WMI revision number has to be incremented when there is a
|
||||||
* change that may or may not break compatibility */
|
* change that may or may not break compatibility */
|
||||||
#define __WMI_REVISION_ 280
|
#define __WMI_REVISION_ 282
|
||||||
|
|
||||||
/** The Version Namespace should not be normally changed. Only
|
/** The Version Namespace should not be normally changed. Only
|
||||||
* host and firmware of the same WMI namespace will work
|
* host and firmware of the same WMI namespace will work
|
||||||
|
Reference in New Issue
Block a user