From 4273cb269aa1f4086374b3ab41b97aa4345678f7 Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 20 Jul 2023 06:01:38 -0700 Subject: [PATCH] fw-api: CL 23872196 - update fw common interface files Change-Id: Icfd5cc2cbb821f6e3d5c8fcb9401d04132fea43c WMI: DISABLE_WDS_PEER svc flag + DISABLE_WDS_PEER flag for MAP_UNMAP_EVENT CRs-Fixed: 2262693 --- fw/wmi_services.h | 1 + fw/wmi_unified.h | 16 +++++++++++++++- fw/wmi_version.h | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/fw/wmi_services.h b/fw/wmi_services.h index aff03e214736..80e30b975c5d 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -637,6 +637,7 @@ typedef enum { WMI_SERVICE_BRIDGE_VDEV_SUPPORT = 384, /* Indicated FW supports Bridge VDEV */ WMI_SERVICE_MLO_MODE1_RECOVERY_SUPPORTED = 385, /* Indicate fw support for mlo mode1 recovery */ WMI_SERVICE_TX_PWR_PER_PPDU_STATS_SUPPORT = 386, /* FW support to check tx power stats per PPDU */ + WMI_SERVICE_DISABLE_WDS_PEER_MAP_UNMAP_EVENT_SUPPORT = 387, /* Indicate FW support to disable wds peer map/unmap events */ WMI_MAX_EXT2_SERVICE diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index befd15ce2523..088fa78e6fc2 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -4480,8 +4480,17 @@ typedef struct { * 0 - Primary * 1 - Secondary * Refer to WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_GET/SET macros. + * Bit 18 - disable_wds_peer_map_unmap_event + * Flag to indicate whether the WDS peer map/unmap event should be + * processed or ignored. + * 0 - leave the WDS peer map/unmap event enabled + * 1 - disable the WDS peer map/unmap event + * This flag shall only be set if the target has set the + * WMI_SERVICE_DISABLE_WDS_PEER_MAP_UNMAP_EVENT_SUPPORT flag. + * Refer to WMI_RSRC_CFG_FLAGS2_DISABLE_WDS_PEER_MAP_UNMAP_EVENT_GET + * and _SET macros. * - * Bits 31:18 - Reserved + * Bits 31:19 - Reserved */ A_UINT32 flags2; /** @brief host_service_flags - can be used by Host to indicate @@ -4947,6 +4956,11 @@ typedef struct { #define WMI_RSRC_CFG_FLAGS2_RF_PATH_MODE_SET(flags2, value) \ WMI_SET_BITS(flags2, 17, 1, value) +#define WMI_RSRC_CFG_FLAGS2_DISABLE_WDS_PEER_MAP_UNMAP_EVENT_GET(flags2) \ + WMI_GET_BITS(flags2, 18, 1) +#define WMI_RSRC_CFG_FLAGS2_DISABLE_WDS_PEER_MAP_UNMAP_EVENT_SET(flags2, value) \ + WMI_SET_BITS(flags2, 18, 1, value) + #define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \ WMI_GET_BITS(host_service_flags, 0, 1) diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 9881f74da9fd..25f2dc073797 100644 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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_ 1367 +#define __WMI_REVISION_ 1368 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work