fw-api: CL 5256109 - update fw common interface files
Add WMI_PEER_CHAN_WIDTH_SWITCH_CMDID def Change-Id: Ie59c5a0bef1b484fe984dd008565fbc7832f62dc CRs-Fixed: 2262693
This commit is contained in:
@@ -928,6 +928,8 @@ typedef enum {
|
|||||||
WMITLV_TAG_STRUC_wmi_nan_host_config_param,
|
WMITLV_TAG_STRUC_wmi_nan_host_config_param,
|
||||||
WMITLV_TAG_STRUC_wmi_spectral_bin_scaling_params,
|
WMITLV_TAG_STRUC_wmi_spectral_bin_scaling_params,
|
||||||
WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param,
|
WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param,
|
||||||
|
WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param,
|
||||||
|
WMITLV_TAG_STRUC_wmi_chan_width_peer_list,
|
||||||
} WMITLV_TAG_ID;
|
} WMITLV_TAG_ID;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -1307,6 +1309,7 @@ typedef enum {
|
|||||||
OP(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID) \
|
OP(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID) \
|
||||||
OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID) \
|
OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID) \
|
||||||
OP(WMI_PEER_CFR_CAPTURE_CMDID) \
|
OP(WMI_PEER_CFR_CAPTURE_CMDID) \
|
||||||
|
OP(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID) \
|
||||||
/* add new CMD_LIST elements above this line */
|
/* add new CMD_LIST elements above this line */
|
||||||
|
|
||||||
|
|
||||||
@@ -3765,6 +3768,12 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_CMDID);
|
|||||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param, wmi_peer_cfr_capture_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_cfr_capture_cmd_fixed_param, wmi_peer_cfr_capture_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||||
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_CMDID);
|
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CFR_CAPTURE_CMDID);
|
||||||
|
|
||||||
|
/* CHANNEL WIDTH SWITCH commands for peers. */
|
||||||
|
#define WMITLV_TABLE_WMI_PEER_CHAN_WIDTH_SWITCH_CMDID(id,op,buf,len) \
|
||||||
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param, wmi_peer_chan_width_switch_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||||
|
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_chan_width_peer_list, peer_info, WMITLV_SIZE_VAR)
|
||||||
|
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
|
||||||
|
|
||||||
|
|
||||||
/************************** TLV definitions of WMI events *******************************/
|
/************************** TLV definitions of WMI events *******************************/
|
||||||
|
|
||||||
|
@@ -543,6 +543,9 @@ typedef enum {
|
|||||||
*/
|
*/
|
||||||
WMI_PEER_CFR_CAPTURE_CMDID,
|
WMI_PEER_CFR_CAPTURE_CMDID,
|
||||||
|
|
||||||
|
/** WMI command related to AP channel width switching */
|
||||||
|
WMI_PEER_CHAN_WIDTH_SWITCH_CMDID,
|
||||||
|
|
||||||
/* beacon/management specific commands */
|
/* beacon/management specific commands */
|
||||||
|
|
||||||
/** transmit beacon by reference . used for transmitting beacon on low latency interface like pcie */
|
/** transmit beacon by reference . used for transmitting beacon on low latency interface like pcie */
|
||||||
@@ -22184,6 +22187,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||||||
WMI_RETURN_STRING(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
|
WMI_RETURN_STRING(WMI_MOTION_DET_BASE_LINE_START_STOP_CMDID);
|
||||||
WMI_RETURN_STRING(WMI_SAR_LIMITS_CMDID);
|
WMI_RETURN_STRING(WMI_SAR_LIMITS_CMDID);
|
||||||
WMI_RETURN_STRING(WMI_SAR_GET_LIMITS_CMDID);
|
WMI_RETURN_STRING(WMI_SAR_GET_LIMITS_CMDID);
|
||||||
|
WMI_RETURN_STRING(WMI_PEER_CHAN_WIDTH_SWITCH_CMDID);
|
||||||
}
|
}
|
||||||
|
|
||||||
return "Invalid WMI cmd";
|
return "Invalid WMI cmd";
|
||||||
@@ -23412,6 +23416,20 @@ typedef struct {
|
|||||||
A_UINT32 vdev_id;
|
A_UINT32 vdev_id;
|
||||||
} wmi_obss_spatial_reuse_set_cmd_fixed_param;
|
} wmi_obss_spatial_reuse_set_cmd_fixed_param;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUCT_wmi_chan_width_peer_list */
|
||||||
|
wmi_mac_addr peer_macaddr;
|
||||||
|
A_UINT32 chan_width; /* wmi_channel_width */
|
||||||
|
} wmi_chan_width_peer_list;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_peer_chan_width_switch_cmd_fixed_param */
|
||||||
|
A_UINT32 num_peers;
|
||||||
|
/*
|
||||||
|
* Following this structure is the TLV:
|
||||||
|
* struct wmi_chan_width_peer_list chan_width_peer_info[num_peers];
|
||||||
|
*/
|
||||||
|
} wmi_peer_chan_width_switch_cmd_fixed_param;
|
||||||
|
|
||||||
/* Default PE Duration subfield indicates the PE duration in units of 4 us */
|
/* Default PE Duration subfield indicates the PE duration in units of 4 us */
|
||||||
#define WMI_HEOPS_DEFPE_GET_D3(he_ops) WMI_GET_BITS(he_ops, 0, 3)
|
#define WMI_HEOPS_DEFPE_GET_D3(he_ops) WMI_GET_BITS(he_ops, 0, 3)
|
||||||
|
@@ -36,7 +36,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_ 567
|
#define __WMI_REVISION_ 568
|
||||||
|
|
||||||
/** 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