From efbe2e9b3ebe341626d38425afb47b8d612adc41 Mon Sep 17 00:00:00 2001 From: Shiva Krishna Pittala Date: Thu, 6 Jun 2019 15:26:55 +0530 Subject: [PATCH] qcacmn: Add QCA vendor attributes for configuring Spectral DMA debug Add the following vendor attributes under the enum qca_wlan_vendor_attr_spectral_scan to support the configuration of Spectral DMA debug. 1. QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_RING_DEBUG Enable/disable debug of the Spectral DMA ring 2. QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_BUFFER_DEBUG Enable/disable debug of the Spectral DMA buffers CRs-Fixed: 2466432 Change-Id: If61ecb085534cbde5410c5a2b91aa1922579d902 --- os_if/linux/qca_vendor.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/os_if/linux/qca_vendor.h b/os_if/linux/qca_vendor.h index ce8a256a53f7..163ab6e14af5 100644 --- a/os_if/linux/qca_vendor.h +++ b/os_if/linux/qca_vendor.h @@ -5781,6 +5781,16 @@ enum qca_wlan_vendor_attr_spectral_scan { * This attribute is included only in failure scenarios. */ QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_ERROR_CODE = 26, + /* 8-bit unsigned value to enable/disable debug of the + * Spectral DMA ring. + * 1-enable, 0-disable + */ + QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_RING_DEBUG = 27, + /* 8-bit unsigned value to enable/disable debug of the + * Spectral DMA buffers. + * 1-enable, 0-disable + */ + QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_DMA_BUFFER_DEBUG = 28, QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_AFTER_LAST, QCA_WLAN_VENDOR_ATTR_SPECTRAL_SCAN_CONFIG_MAX =