fw-api: CL 9274202 - update fw common interface files
Change-Id: I7fce771cb7aab96a9830665ba78aac0e58a9bb80 WMI: add PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENT msg def CRs-Fixed: 2262693
Bu işleme şunda yer alıyor:
@@ -423,6 +423,7 @@ typedef enum {
|
||||
WMI_SERVICE_AUDIO_SYNC_SUPPORT = 232, /* Indicate FW supports Audio sync feature */
|
||||
WMI_SERVICE_DUAL_STA_ROAM_SUPPORT = 233, /* Indidate FW support dual STA roaming */
|
||||
WMI_SERVICE_PEER_CREATE_CONF = 234, /* Target will send WMI_PEER_CREATE_CONF_EVENTID after WMI_PEER_CREATE_CMDID is processed */
|
||||
WMI_SERVICE_MULTIPLE_VDEV_RESTART_RESPONSE_SUPPORT = 235, /* indicates firmware supports Multiple vdev restart response */
|
||||
|
||||
|
||||
/******* ADD NEW SERVICES HERE *******/
|
||||
|
@@ -1043,6 +1043,7 @@ typedef enum {
|
||||
WMITLV_TAG_STRUC_wmi_roam_frame_info_tlv_param,
|
||||
WMITLV_TAG_STRUC_wmi_vdev_set_pcl_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_peer_create_conf_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
@@ -1712,6 +1713,7 @@ typedef enum {
|
||||
OP(WMI_VDEV_AUDIO_SYNC_START_STOP_EVENTID) \
|
||||
OP(WMI_VDEV_AUDIO_SYNC_Q_MASTER_SLAVE_OFFSET_EVENTID) \
|
||||
OP(WMI_PEER_CREATE_CONF_EVENTID) \
|
||||
OP(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID) \
|
||||
/* add new EVT_LIST elements above this line */
|
||||
|
||||
|
||||
@@ -3959,7 +3961,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_HW_DATA_FILTER_CMDID);
|
||||
#define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX)
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_channel, wmi_channel, chan, WMITLV_SIZE_FIX) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, phymode_list, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_REQUEST_CMDID);
|
||||
|
||||
#define WMITLV_TABLE_WMI_PDEV_UPDATE_PKT_ROUTING_CMDID(id,op,buf,len) \
|
||||
@@ -5739,6 +5742,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_GET_ELNA_BYPASS_EVENTID);
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_channel_ani_info_tlv_param, ani_info, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_GET_CHANNEL_ANI_EVENTID);
|
||||
|
||||
/* Multiple Vdev Restart response event */
|
||||
#define WMITLV_TABLE_WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param, wmi_pdev_multiple_vdev_restart_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_UINT32, A_UINT32, vdev_ids_bitmap, WMITLV_SIZE_VAR)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@@ -1397,6 +1397,12 @@ typedef enum {
|
||||
/** 2nd extension of SERVICE_READY msg with extra target capability info */
|
||||
WMI_SERVICE_READY_EXT2_EVENTID,
|
||||
|
||||
/**
|
||||
* vdev restart response for multiple vdevs in response to
|
||||
* MULTIPLE_VDEV_RESTART_REQUEST
|
||||
*/
|
||||
WMI_PDEV_MULTIPLE_VDEV_RESTART_RESP_EVENTID,
|
||||
|
||||
/* VDEV specific events */
|
||||
/** VDEV started event in response to VDEV_START request */
|
||||
WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
|
||||
@@ -25403,6 +25409,16 @@ typedef struct {
|
||||
A_UINT32 hw_filter_bitmap; /* see WMI_HW_DATA_FILTER_BITMAP_TYPE */
|
||||
} wmi_hw_data_filter_cmd_fixed_param;
|
||||
|
||||
/** values for multiple_vdev_restart_request flags */
|
||||
/* Host is expecting consolidated Multiple Vdev Restart Response(MVRR) event. */
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_IS_MVRR_EVENT_SUPPORT(flag) WMI_GET_BITS(flag, 0, 1)
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_MVRR_EVENT_SUPPORT(flag,val) WMI_SET_BITS(flag, 0, 1, val)
|
||||
/* Host is sending phymode_list for each vdev. */
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_IS_PHYMODE_PRESENT(flag) WMI_GET_BITS(flag, 1, 1)
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_PHYMODE_PRESENT(flag,val) WMI_SET_BITS(flag, 1, 1, val)
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_GET_PHYMODE(phymode) WMI_GET_BITS(phymode, 0, 6)
|
||||
#define WMI_MULTIPLE_VDEV_RESTART_FLAG_SET_PHYMODE(phymode, val) WMI_SET_BITS(phymode, 0, 6, val)
|
||||
|
||||
/* This command is used whenever host wants to restart multiple
|
||||
* VDEVs using single command and the VDEV that are restarted will
|
||||
* need to have same properties they had before restart except for the
|
||||
@@ -25424,10 +25440,20 @@ typedef struct {
|
||||
/* Determine the duration of CAC on the given channel 'chan' */
|
||||
A_UINT32 cac_duration_ms;
|
||||
A_UINT32 num_vdevs;
|
||||
/*
|
||||
* Flags to indicate which parameters are sent as part of the request.
|
||||
* This field is filled with the bitwise combination of the flag values
|
||||
* defined by WMI_MULTIPLE_VDEV_RESTART_FLAG_xxx
|
||||
*/
|
||||
A_UINT32 flags;
|
||||
|
||||
/* The TLVs follows this structure:
|
||||
* A_UINT32 vdev_ids[]; <--- Array of VDEV ids.
|
||||
* wmi_channel chan; <------ WMI channel
|
||||
* A_UINT32 phymode_list[]; <-- Array of Phymode list, with
|
||||
* each phymode value stored in bits 5:0 of the A_UINT32.
|
||||
* Use the WMI_MULTIPLE_VDEV_RESTART_FLAG_GET/SET_PHYMODE macros
|
||||
* to access the phymode value from within each A_UINT32 element.
|
||||
*/
|
||||
} wmi_pdev_multiple_vdev_restart_request_cmd_fixed_param;
|
||||
|
||||
@@ -29054,6 +29080,19 @@ typedef struct {
|
||||
A_UINT32 vdev_id;
|
||||
} wmi_peer_config_vlan_cmd_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
/** TLV tag and len; tag equals
|
||||
* WMITLV_TAG_STRUC_wmi_pdev_multiple_vdev_restart_resp_event_fixed_param */
|
||||
A_UINT32 tlv_header;
|
||||
A_UINT32 pdev_id; /* ID of the pdev this response belongs to */
|
||||
A_UINT32 requestor_id;
|
||||
/** Return status. As per WMI_VDEV_START_RESPONSE_XXXXX */
|
||||
A_UINT32 status;
|
||||
|
||||
/* The TLVs follows this structure:
|
||||
* A_UINT32 vdev_ids_bitmap[]; <--- Array of VDEV id bitmap.
|
||||
*/
|
||||
} wmi_pdev_multiple_vdev_restart_resp_event_fixed_param;
|
||||
|
||||
|
||||
/* ADD NEW DEFS HERE */
|
||||
|
@@ -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_ 761
|
||||
#define __WMI_REVISION_ 762
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
Yeni konuda referans
Bir kullanıcı engelle