fw-api: CL 25672910 - update fw common interface files
WMI: add PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENT msg def Change-Id: I08e6f2edb544a0fc336438c5386c619ac731fa27 CRs-Fixed: 2262693
This commit is contained in:
@@ -1426,6 +1426,7 @@ typedef enum {
|
|||||||
WMITLV_TAG_STRUC_wmi_dma_buf_release_wifi_radar_meta_data,
|
WMITLV_TAG_STRUC_wmi_dma_buf_release_wifi_radar_meta_data,
|
||||||
WMITLV_TAG_STRUC_wmi_mlo_link_info,
|
WMITLV_TAG_STRUC_wmi_mlo_link_info,
|
||||||
WMITLV_TAG_STRUC_wmi_dcs_obss_int_t,
|
WMITLV_TAG_STRUC_wmi_dcs_obss_int_t,
|
||||||
|
WMITLV_TAG_STRUC_wmi_pdev_wifi_radar_cal_completion_status_event_param,
|
||||||
} WMITLV_TAG_ID;
|
} WMITLV_TAG_ID;
|
||||||
/*
|
/*
|
||||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||||
@@ -2290,6 +2291,7 @@ typedef enum {
|
|||||||
OP(WMI_VDEV_SCHED_MODE_PROBE_RESP_EVENTID) \
|
OP(WMI_VDEV_SCHED_MODE_PROBE_RESP_EVENTID) \
|
||||||
OP(WMI_VDEV_OOB_CONNECTION_RESP_EVENTID) \
|
OP(WMI_VDEV_OOB_CONNECTION_RESP_EVENTID) \
|
||||||
OP(WMI_AUDIO_TRANSPORT_SWITCH_TYPE_EVENTID) \
|
OP(WMI_AUDIO_TRANSPORT_SWITCH_TYPE_EVENTID) \
|
||||||
|
OP(WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENTID) \
|
||||||
/* add new EVT_LIST elements above this line */
|
/* add new EVT_LIST elements above this line */
|
||||||
|
|
||||||
|
|
||||||
@@ -7587,6 +7589,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SCHED_MODE_PROBE_RESP_EVENTID);
|
|||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_oob_connection_resp_event_fixed_param, wmi_vdev_oob_connection_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_oob_connection_resp_event_fixed_param, wmi_vdev_oob_connection_resp_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||||
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_OOB_CONNECTION_RESP_EVENTID);
|
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_OOB_CONNECTION_RESP_EVENTID);
|
||||||
|
|
||||||
|
/* WiFi Radar calibration status event */
|
||||||
|
#define WMITLV_TABLE_WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENTID(id,op,buf,len) \
|
||||||
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_wifi_radar_cal_completion_status_event_param, wmi_pdev_wifi_radar_cal_completion_status_event_param, cal_completion_status_event_param, WMITLV_SIZE_FIX)
|
||||||
|
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENTID);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -1780,6 +1780,9 @@ typedef enum {
|
|||||||
/* Event to get AOA phasedelta values for all gain tables from HALPHY */
|
/* Event to get AOA phasedelta values for all gain tables from HALPHY */
|
||||||
WMI_PDEV_ENHANCED_AOA_PHASEDELTA_EVENTID,
|
WMI_PDEV_ENHANCED_AOA_PHASEDELTA_EVENTID,
|
||||||
|
|
||||||
|
/* Event to indicate the status of WiFi Radar calibration */
|
||||||
|
WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_EVENTID,
|
||||||
|
|
||||||
/* VDEV specific events */
|
/* VDEV specific events */
|
||||||
/** VDEV started event in response to VDEV_START request */
|
/** VDEV started event in response to VDEV_START request */
|
||||||
WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
|
WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV),
|
||||||
@@ -47712,6 +47715,54 @@ typedef struct {
|
|||||||
A_UINT32 capture_interval_ms;
|
A_UINT32 capture_interval_ms;
|
||||||
} wmi_pdev_enable_wifi_radar_cmd_fixed_param;
|
} wmi_pdev_enable_wifi_radar_cmd_fixed_param;
|
||||||
|
|
||||||
|
#define WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_GET(cal_status_array, txchnIdx, rxchnIdx) WMI_GET_BITS(*(cal_status_array + txchnIdx), rxchnIdx, 1)
|
||||||
|
#define WMI_PDEV_WIFI_RADAR_CAL_COMPLETION_STATUS_SET(cal_status_array, txchnIdx, rxchnIdx, value) WMI_SET_BITS(*(cal_status_array + txchnIdx), rxchnIdx, 1, value)
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
/** TLV tag and len; tag equals
|
||||||
|
* WMITLV_TAG_STRUC_wmi_wifi_radar_cal_configuration
|
||||||
|
*/
|
||||||
|
A_UINT32 tlv_header;
|
||||||
|
/* ID of pdev for which the calibration is completed */
|
||||||
|
A_UINT32 pdev_id;
|
||||||
|
/* Packet bandwidth of WiFi Radar packet used for calibration
|
||||||
|
* 0 = 20 MHz
|
||||||
|
* 1 = 40 MHz
|
||||||
|
* 2 = 80 MHz
|
||||||
|
* 3 = 160 MHz
|
||||||
|
* 4 = 320 MHz
|
||||||
|
*/
|
||||||
|
A_UINT32 wifi_radar_pkt_bw;
|
||||||
|
/* Channel bandwidth
|
||||||
|
* 0 = 20 MHz
|
||||||
|
* 1 = 40 MHz
|
||||||
|
* 2 = 80 MHz
|
||||||
|
* 3 = 160 MHz
|
||||||
|
* 4 = 320 MHz
|
||||||
|
*/
|
||||||
|
A_UINT32 channel_bw;
|
||||||
|
/* Channel Center frequency in MHz */
|
||||||
|
A_UINT32 band_center_freq;
|
||||||
|
/* Number of LTF configured in the WiFi Radar Tx packet during calibration */
|
||||||
|
A_UINT32 num_ltf_tx;
|
||||||
|
/* Number of LTF skipped during Rx of the calibration packet */
|
||||||
|
A_UINT32 num_skip_ltf_rx;
|
||||||
|
/* Number of LTF accumulated during Rx of the calibration packet */
|
||||||
|
A_UINT32 num_ltf_accumulation;
|
||||||
|
/* Calibration status for each chain combination
|
||||||
|
* Word 0: tx chain 0 cal statuses:
|
||||||
|
* Bit 0: rx chain 0 cal status
|
||||||
|
* Bit 1: rx chain 1 cal status
|
||||||
|
* etc.
|
||||||
|
* Word 1: tx chain 1 cal statuses:
|
||||||
|
* Bit 0: rx chain 0 cal status
|
||||||
|
* Bit 1: rx chain 1 cal status
|
||||||
|
* etc.
|
||||||
|
* etc.
|
||||||
|
* Cal status values: success = 1, Failure = 0
|
||||||
|
*/
|
||||||
|
A_UINT32 per_chain_cal_status[WMI_MAX_CHAINS];
|
||||||
|
} wmi_pdev_wifi_radar_cal_completion_status_event_param;
|
||||||
|
|
||||||
|
|
||||||
/* ADD NEW DEFS HERE */
|
/* ADD NEW DEFS HERE */
|
||||||
|
@@ -37,7 +37,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_ 1433
|
#define __WMI_REVISION_ 1434
|
||||||
|
|
||||||
/** 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