fw-api: CL 6001178 - update fw common interface files

Change-Id: I3e4485be4a349a132e29059c61890fc2dcfe0956
WMI: peer unmap respond cmd msg def
CRs-Fixed: 2262693
This commit is contained in:
spuligil 2018-12-06 03:32:30 -08:00 • committed by nshrivas
commit 706100d91b
4 changed files with 37 additions and 2 deletions

View file

@ -364,6 +364,7 @@ typedef enum {
WMI_SERVICE_SUPPORT_EXTEND_ADDRESS=179, /* indicates firmware supports host memory addresses larger than 32 bit */
WMI_SERVICE_BEACON_RECEPTION_STATS=180, /* Support per vdev beacon stats info */
WMI_SERVICE_FETCH_TX_PN=181,
WMI_SERVICE_PEER_UNMAP_RESPONSE_SUPPORT = 182, /* support peer ids unmap response from host */
/******* ADD NEW SERVICES HERE *******/

View file

@ -949,6 +949,7 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_peer_tx_pn_request_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_tx_pn_response_event_fixed_param,
WMITLV_TAG_STRUC_wmi_tlv_arrays_len_param,
WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
@ -1338,6 +1339,7 @@ typedef enum {
OP(WMI_PDEV_PKTLOG_FILTER_CMDID) \
OP(WMI_VDEV_GET_BCN_RECEPTION_STATS_CMDID) \
OP(WMI_PEER_TX_PN_REQUEST_CMDID) \
OP(WMI_PEER_UNMAP_RESPONSE_CMDID) \
/* add new CMD_LIST elements above this line */
@ -1579,7 +1581,14 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CREATE_CMDID);
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_DELETE_CMDID);
/* Peer flush Cmd*/
/* Peer unmap response Cmd */
#define WMITLV_TABLE_WMI_PEER_UNMAP_RESPONSE_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param, wmi_peer_unmap_response_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, peer_ids, WMITLV_SIZE_VAR)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_UNMAP_RESPONSE_CMDID);
/* Peer flush Cmd */
#define WMITLV_TABLE_WMI_PEER_FLUSH_TIDS_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_flush_tids_cmd_fixed_param, wmi_peer_flush_tids_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)

View file

@ -558,6 +558,10 @@ typedef enum {
/** WMI command to fetch current tx PN for the peer */
WMI_PEER_TX_PN_REQUEST_CMDID,
/** unmap response with peer ids */
WMI_PEER_UNMAP_RESPONSE_CMDID,
/* beacon/management specific commands */
/** transmit beacon by reference . used for transmitting beacon on low latency interface like pcie */
@ -2881,6 +2885,9 @@ typedef struct {
#define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_S 19
#define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_M 0x80000
#define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_S 20
#define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_M 0x100000
A_UINT32 flag1;
/** @brief smart_ant_cap - Smart Antenna capabilities information
@ -3119,6 +3126,12 @@ typedef struct {
#define WMI_RSRC_CFG_FLAG_HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN_GET(word32) \
WMI_RSRC_CFG_FLAG_GET((word32), HTT_H2T_NO_HTC_HDR_LEN_IN_MSG_LEN)
#define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_SET(word32, value) \
WMI_RSRC_CFG_FLAG_SET((word32), PEER_UNMAP_RESPONSE_SUPPORT, (value))
#define WMI_RSRC_CFG_FLAG_PEER_UNMAP_RESPONSE_SUPPORT_GET(word32) \
WMI_RSRC_CFG_FLAG_GET((word32), PEER_UNMAP_RESPONSE_SUPPORT)
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_init_cmd_fixed_param */
@ -10258,6 +10271,16 @@ typedef struct {
wmi_mac_addr peer_macaddr;
} wmi_peer_delete_cmd_fixed_param;
typedef struct {
/** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_unmap_response_cmd_fixed_param */
A_UINT32 tlv_header;
/*
* Following this struct is the TLV:
* A_UINT32 peer_ids[]; <-- variable-length array of peer_ids
* that have been unmapped by the host
*/
} wmi_peer_unmap_response_cmd_fixed_param;
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_set_rx_blocksize_cmd_fixed_param */
/** unique id identifying the VDEV, generated by the caller */
@ -22236,6 +22259,8 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_PEER_MCAST_GROUP_CMDID);
/* request peer info from FW to get PEER_INFO_EVENTID */
WMI_RETURN_STRING(WMI_PEER_INFO_REQ_CMDID);
/* unmap response for a peer */
WMI_RETURN_STRING(WMI_PEER_UNMAP_RESPONSE_CMDID);
/* beacon/management specific commands */

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