mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
fw-api: CL 22808446 - update fw common interface files
WMI: add PDEV_SET_RF_PATH_RESP_EVENT msg def Change-Id: I2f605bb46628a1d0cdb3c3a7f86412e5d36ff4a6 CRs-Fixed: 2262693
This commit is contained in:
parent
a17cd059cc
commit
79b80b545e
3 changed files with 34 additions and 1 deletions
|
|
@ -1376,6 +1376,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_gpio_state_req_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_stats_struct,
|
||||
WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
/*
|
||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||
|
|
@ -2215,6 +2216,7 @@ typedef enum {
|
|||
OP(WMI_VENDOR_PDEV_EVENTID) \
|
||||
OP(WMI_VENDOR_VDEV_EVENTID) \
|
||||
OP(WMI_VENDOR_PEER_EVENTID) \
|
||||
OP(WMI_PDEV_SET_RF_PATH_RESP_EVENTID) \
|
||||
/* add new EVT_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -5818,6 +5820,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_INPUT_EVENTID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_gpio_state_res_event_fixed_param, wmi_gpio_state_res_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_GPIO_STATE_RES_EVENTID);
|
||||
|
||||
/* RF Path Res Event */
|
||||
#define WMITLV_TABLE_WMI_PDEV_SET_RF_PATH_RESP_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param, wmi_pdev_set_rf_path_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_SET_RF_PATH_RESP_EVENTID);
|
||||
|
||||
/* CSA Handling Event */
|
||||
#define WMITLV_TABLE_WMI_CSA_HANDLING_EVENTID(id,op,buf,len)\
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_csa_event_fixed_param, wmi_csa_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||
|
|
|
|||
|
|
@ -1743,6 +1743,9 @@ typedef enum {
|
|||
/* Event to send target rate to power table update status */
|
||||
WMI_PDEV_SET_TGTR2P_TABLE_EVENTID,
|
||||
|
||||
/* Event to indicate completion on RF path */
|
||||
WMI_PDEV_SET_RF_PATH_RESP_EVENTID,
|
||||
|
||||
|
||||
/* VDEV specific events */
|
||||
/** VDEV started event in response to VDEV_START request */
|
||||
|
|
@ -45244,6 +45247,29 @@ typedef struct {
|
|||
A_UINT32 rf_path;
|
||||
} wmi_pdev_set_rf_path_cmd_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
/*
|
||||
* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_set_rf_path_event_fixed_param
|
||||
*/
|
||||
A_UINT32 tlv_header;
|
||||
/* pdev_id for identifying the MAC */
|
||||
A_UINT32 pdev_id;
|
||||
/*
|
||||
* rf_path :
|
||||
* 0 - primary RF path
|
||||
* 1 - secondary RF path
|
||||
*/
|
||||
A_UINT32 rf_path;
|
||||
/*
|
||||
* status :
|
||||
* TRUE (0) - for recieved and cache the value in FW
|
||||
* FALSE (1) :
|
||||
* a. pdev_id for which secondary RF path is not available
|
||||
* b. caching of the rf_path got failed in FW
|
||||
*/
|
||||
A_UINT32 status;
|
||||
} wmi_pdev_set_rf_path_event_fixed_param;
|
||||
|
||||
#define WMI_SET_RX_PEER_STATS_RESP_TYPE(rx_params, value) \
|
||||
WMI_SET_BITS(rx_params, 0, 1, value)
|
||||
#define WMI_GET_RX_PEER_STATS_RESP_TYPE(rx_params) \
|
||||
|
|
|
|||
|
|
@ -37,7 +37,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_ 1328
|
||||
#define __WMI_REVISION_ 1329
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue