From 1006c4be2dc5ea0ad15f16087bf9d0ad9674da70 Mon Sep 17 00:00:00 2001 From: Shiva Krishna Pittala Date: Mon, 13 May 2019 19:15:11 +0530 Subject: [PATCH] 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 Signed-off-by: Jouni Malinen --- src/common/qca-vendor.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 2cc201a0f..6226cc61c 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -4585,6 +4585,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 =