fw-api: CL 14704928 - update fw common interface files

Change-Id: I7d98b79a83f62984f5c710b3bf5eccc30faf80a3
WMI: add [VDEV,PEER]_ENABLE_DISABLE_INTRA_BSS_CMD msg defs
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2021-07-10 06:00:38 -07:00
parent 64b28bffac
commit 4cef4fea0a
3 changed files with 51 additions and 1 deletions

View File

@@ -1186,6 +1186,8 @@ typedef enum {
WMITLV_TAG_STRUC_wmi_ctrl_path_dfs_channel_stats_struct,
WMITLV_TAG_STRUC_wmi_twt_ack_event_fixed_param,
WMITLV_TAG_STRUC_wmi_twt_caps_param,
WMITLV_TAG_STRUC_wmi_vdev_enable_disable_intra_bss_cmd_fixed_param,
WMITLV_TAG_STRUC_wmi_peer_enable_disable_intra_bss_cmd_fixed_param,
} WMITLV_TAG_ID;
/*
@@ -1657,6 +1659,8 @@ typedef enum {
OP(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID) \
OP(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID) \
OP(WMI_PEER_CONFIG_PPE_DS_CMDID) \
OP(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID) \
OP(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID) \
/* add new CMD_LIST elements above this line */
@@ -4756,6 +4760,16 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_config_ppe_ds_cmd_fixed_param, wmi_peer_config_ppe_ds_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_CONFIG_PPE_DS_CMDID);
/* Enable/Disable Intra Bss for the vdev */
#define WMITLV_TABLE_WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_enable_disable_intra_bss_cmd_fixed_param, wmi_vdev_enable_disable_intra_bss_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID);
/* Enable/Disable Intra Bss for the peer */
#define WMITLV_TABLE_WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID(id,op,buf,len) \
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_enable_disable_intra_bss_cmd_fixed_param, wmi_peer_enable_disable_intra_bss_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID);
/************************** TLV definitions of WMI events *******************************/

View File

@@ -549,6 +549,8 @@ typedef enum {
WMI_VDEV_SET_TPC_POWER_CMDID,
/** IGMP OFFLOAD */
WMI_VDEV_IGMP_OFFLOAD_CMDID,
/** Enable/Disable Intra Bss for each vdev */
WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID,
/* peer specific commands */
@@ -657,6 +659,9 @@ typedef enum {
/** WMI command for per-peer configuration of PPE DS */
WMI_PEER_CONFIG_PPE_DS_CMDID,
/** Enable/Disable Intra Bss for the peer */
WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID,
/* beacon/management specific commands */
@@ -28946,6 +28951,8 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_PDEV_MULTIPLE_VDEV_SET_PARAM_CMDID);
WMI_RETURN_STRING(WMI_PDEV_MEC_AGING_TIMER_CONFIG_CMDID);
WMI_RETURN_STRING(WMI_PEER_CONFIG_PPE_DS_CMDID);
WMI_RETURN_STRING(WMI_VDEV_ENABLE_DISABLE_INTRA_BSS_CMDID);
WMI_RETURN_STRING(WMI_PEER_ENABLE_DISABLE_INTRA_BSS_CMDID);
}
return "Invalid WMI cmd";
@@ -29110,6 +29117,35 @@ typedef struct {
*/
} afc_spectrum_inquiry_resp_bin_type;
typedef struct {
/** TLV tag and len; tag equals
* WMITLV_TAG_STRUC_wmi_vdev_enable_disable_intra_bss_cmd_fixed_param
*/
A_UINT32 tlv_header;
/** The corresponding vdev_id.
*/
A_UINT32 vdev_id;
/* Enable/Disable intra_bss.
*/
A_UINT32 enable;
} wmi_vdev_enable_disable_intra_bss_cmd_fixed_param;
typedef struct {
/** TLV tag and len; tag equals
* WMITLV_TAG_STRUC_wmi_peer_enable_disable_intra_bss_cmd_fixed_param
*/
A_UINT32 tlv_header;
/** Mac Address of the peer.
*/
wmi_mac_addr mac_addr;
/** The corresponding vdev_id.
*/
A_UINT32 vdev_id;
/* Enable/Disable intra_bss.
*/
A_UINT32 enable;
} wmi_peer_enable_disable_intra_bss_cmd_fixed_param;
/* Freq units in MHz */
#define WMI_REG_RULE_START_FREQ_GET(freq_info) WMI_GET_BITS(freq_info, 0, 16)
#define WMI_REG_RULE_START_FREQ_SET(freq_info, value) WMI_SET_BITS(freq_info, 0, 16, value)

View File

@@ -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_ 1024
#define __WMI_REVISION_ 1025
/** The Version Namespace should not be normally changed. Only
* host and firmware of the same WMI namespace will work