diff options
| -rwxr-xr-x | fw/wmi_tlv_defs.h | 6 | ||||
| -rwxr-xr-x | fw/wmi_unified.h | 20 | ||||
| -rwxr-xr-x | fw/wmi_version.h | 2 |
3 files changed, 27 insertions, 1 deletions
diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index 94016db05f23..2beca5aef1d6 100755 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -966,6 +966,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_wlm_stats_event_fixed_param, WMITLV_TAG_STRUC_wmi_key_material_ext, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_fixed_param, + WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param, } WMITLV_TAG_ID; /* @@ -1582,6 +1583,7 @@ typedef enum { OP(WMI_VDEV_GET_MWS_COEX_ANTENNA_SHARING_STATE_EVENTID) \ OP(WMI_WLM_STATS_EVENTID) \ OP(WMI_PEER_CFR_CAPTURE_EVENTID) \ + OP(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -5287,6 +5289,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_ESP_ESTIMATE_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_event_fixed_param, wmi_peer_cfr_capture_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_EVENTID); +#define WMITLV_TABLE_WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param, wmi_cold_boot_cal_data_fixed_param, fixed_param, WMITLV_SIZE_FIX) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, data, WMITLV_SIZE_VAR) +WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID); #ifdef __cplusplus } diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 39d470eea98b..7e16e088c92c 100755 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -1304,6 +1304,9 @@ typedef enum { /* Event to report the switch count in BSS color of one or more VDEVs */ WMI_PDEV_CSC_SWITCH_COUNT_STATUS_EVENTID, + /* Event to send cold boot calibration data */ + WMI_PDEV_COLD_BOOT_CAL_DATA_EVENTID, + /* VDEV specific events */ /** VDEV started event in response to VDEV_START request */ @@ -25973,6 +25976,23 @@ typedef struct { #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_TX 0x00000003 #define WMI_PEER_CFR_CAPTURE_EVT_STATUS_TX_S 0 +/** + * wmi_cold_boot_cal_data config flags + * BIT 0 : 1 means more data will come, 0 means last event + * BIT 1-31 : Reserved + */ +#define WMI_COLD_BOOT_CAL_DATA_SET_IS_MORE_DATA(flags, val) WMI_SET_BITS(flags, 0, 1, val) +#define WMI_COLD_BOOT_CAL_DATA_GET_IS_MORE_DATA(flags) WMI_GET_BITS(flags, 0, 1) + +typedef struct { + A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_cold_boot_cal_data_fixed_param */ + A_UINT32 data_len; /** length in byte of data[]. */ + A_UINT32 flags; /** config flags : Only 0th bit is used, bit 1-31 are reserved */ +/* Following this structure is the TLV: + * A_UINT8 data[]; <-- length in byte given by field data_len. + * This data array contains cold boot data calibration raw data. + */ +} wmi_cold_boot_cal_data_fixed_param; /* ADD NEW DEFS HERE */ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 0982cc8e4d50..0aa163f92a5c 100755 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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_ 633 +#define __WMI_REVISION_ 634 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
