]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
Add QCA vendor attributes for configuring Spectral DMA debug
authorShiva Krishna Pittala <spittala@codeaurora.org>
Mon, 13 May 2019 13:45:11 +0000 (19:15 +0530)
committerJouni Malinen <j@w1.fi>
Fri, 31 May 2019 20:06:29 +0000 (23:06 +0300)
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 <jouni@codeaurora.org>
src/common/qca-vendor.h

index 2cc201a0f9ab828b523ae5eee7cc2c2d3951d59d..6226cc61c42c91eb03a81cc0cd349f5e62d4d617 100644 (file)
@@ -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 =