From 6a4406c0158fe9f735d17b083357d3144a9d432d Mon Sep 17 00:00:00 2001
From: Paul Zhang <paulz@codeaurora.org>
Date: Mon, 22 Jul 2019 18:57:11 +0800
Subject: [PATCH] Add QCA vendor attributes for ELNA bypass

Add attributes QCA_WLAN_VENDOR_ATTR_CONFIG_ELNA_BYPASS under
the enum qca_wlan_vendor_attr_config to support set and get
the ELNA bypass.

Signed-off-by: Paul Zhang <paulz@codeaurora.org>
---
 src/common/qca-vendor.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h
index d496640a7..ff8c22a75 100644
--- a/src/common/qca-vendor.h
+++ b/src/common/qca-vendor.h
@@ -1874,6 +1874,11 @@ enum qca_wlan_vendor_attr_config {
 	 */
 	QCA_WLAN_VENDOR_ATTR_DISCONNECT_IES = 58,
 
+	/* 8-bit unsigned value for ELNA bypass.
+	 * 1-Enable, 0-Disable
+	 */
+	QCA_WLAN_VENDOR_ATTR_CONFIG_ELNA_BYPASS = 59,
+
 	/* keep last */
 	QCA_WLAN_VENDOR_ATTR_CONFIG_AFTER_LAST,
 	QCA_WLAN_VENDOR_ATTR_CONFIG_MAX =