From 7e0a3422c25ace56909c9aebc67c678afd099bd2 Mon Sep 17 00:00:00 2001 From: spuligil Date: Wed, 21 Nov 2018 18:04:46 -0800 Subject: [PATCH] fw-api: CL 5907610 - update fw common interface files Allow host_memory_chunk TLV to support 64-bit addresses Change-Id: Ia3b9eaff1171b4dcf777bc432de8c7b516d9cdd3 CRs-Fixed: 2262693 --- fw/wlan_defs.h | 7 +++++++ fw/wmi_services.h | 1 + fw/wmi_version.h | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/fw/wlan_defs.h b/fw/wlan_defs.h index f1841e6416..e0010c92f9 100755 --- a/fw/wlan_defs.h +++ b/fw/wlan_defs.h @@ -525,6 +525,13 @@ typedef struct { A_UINT32 ptr; /** size of the chunk */ A_UINT32 size; + /** ptr_high + * most significant bits of physical address of the memory chunk + * Only applicable for addressing more than 32 bit. + * This will only be non-zero if the target has set + * WMI_SERVICE_SUPPORT_EXTEND_ADDRESS flag. + */ + A_UINT32 ptr_high; } wlan_host_memory_chunk; #define NUM_UNITS_IS_NUM_VDEVS 0x1 diff --git a/fw/wmi_services.h b/fw/wmi_services.h index a6bcaa88e9..6a4ef5a5e9 100644 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -361,6 +361,7 @@ typedef enum { * htt_ppdu_stats_user_cmpltn_common_tlv.ack_rssi; */ WMI_SERVICE_HW_DB2DBM_CONVERSION_SUPPORT = 178, + WMI_SERVICE_SUPPORT_EXTEND_ADDRESS=179, /* indicates firmware supports host memory addresses larger than 32 bit */ /******* ADD NEW SERVICES HERE *******/ diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 75c702cf47..1260f6aee4 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_ 597 +#define __WMI_REVISION_ 598 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work