From 6ca1ec40d368c7a0a1ef30edd683a1014c4d6aff Mon Sep 17 00:00:00 2001 From: spuligil Date: Thu, 7 Oct 2021 12:01:48 -0700 Subject: [PATCH] fw-api: CL 15949447 - update fw common interface files Change-Id: I33c1841b7aa6a09df65b20a2b51bffdc6fb481dc WMI: define sw2rxdma + additional rxdma2xxx rings CRs-Fixed: 2262693 --- fw/wmi_unified.h | 23 +++++++++++++++++++---- fw/wmi_version.h | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index 17b148e539b0..7151c84bf44e 100644 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -14698,17 +14698,32 @@ typedef struct { * mcast or not (value 1 is enabled, value 0 is disabled) * bit 11 is for ring selection enabled for filter-pass * BAR or not (value 1 is enabled, value 0 is disabled) - * bit 12-13 is for source ring selection value + * bit 12-14 is for source ring selection value * (value 0 for wbm2rxdma buf ring, * value 1 for fw2rxdma buf ring, * value 2 for sw2rxdma buf ring, - * value 3 for no buf ring) - * bit 14-15 is for destination ring selection value + * value 3 for no buf ring, + * value 4 for sw2rxdma_exception buf ring, + * value 5 for fw2rxdma buf ring) + * bit 15-17 is for destination ring selection value * (value 0 for wbm release ring, * value 1 for rxdma2fw ring, * value 2 for rxdma2sw ring, - * value 3 for rxdma2reo ring) + * value 3 for rxdma2reo ring, + * value 4 for rxdma2fw_pmac1_ring, + * value 5 for rxdma2reo_remote0_ring, + * value 6 for rxdma2reo_remote1_ring) */ +#define WMI_PEER_HASH_BASED_ROUTING_GET(value32) WMI_GET_BITS(value32, 0x0, 1) +#define WMI_PEER_ROUTING_RING_ID_GET(value32) WMI_GET_BITS(value32, 0x1, 5) +#define WMI_PEER_LMAC_BASED_ROUTING_GET(value32) WMI_GET_BITS(value32, 0x6, 2) +#define WMI_PEER_BASED_RING_SELECTION_GET(value32) WMI_GET_BITS(value32, 0x8, 1) +#define WMI_PEER_FILTER_PASS_UNICAST_GET(value32) WMI_GET_BITS(value32, 0x9, 1) +#define WMI_PEER_FILTER_PASS_MCAST_GET(value32) WMI_GET_BITS(value32, 0xA, 1) +#define WMI_PEER_FILTER_PASS_BAR_GET(value32) WMI_GET_BITS(value32, 0xB, 1) +#define WMI_PEER_FILTER_PASS_SRC_RING_VAL_GET(value32) WMI_GET_BITS(value32, 0xC, 3) +#define WMI_PEER_FILTER_PASS_DEST_RING_VAL_GET(value32) WMI_GET_BITS(value32, 0xF, 3) + #define WMI_PEER_SET_DEFAULT_ROUTING 0x13 /* peer NSS for VHT160 - Extended NSS support */ #define WMI_PEER_NSS_VHT160 0x14 diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 827c4700a296..cd2df11cf802 100644 --- 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_ 1065 +#define __WMI_REVISION_ 1066 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work