TDLS: WDI layer TDLS Off Channel feature flag support
This commit adds feature flag support for TDLS Off Channel.
CRs-fixed: 799369
Change-Id: I5f7c4a7ff448dd93a34ad2cbb988489617fab5fb
diff --git a/CORE/WDI/CP/src/wlan_qct_wdi.c b/CORE/WDI/CP/src/wlan_qct_wdi.c
index 5045fc6..47e35b3 100644
--- a/CORE/WDI/CP/src/wlan_qct_wdi.c
+++ b/CORE/WDI/CP/src/wlan_qct_wdi.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -194,6 +194,13 @@
,FW_STATS //47
,WPS_PRBRSP_TMPL //48
,BCN_IE_FLT_DELTA //49
+ ,FEATURE_NOT_SUPPORTED //50
+#ifdef FEATURE_WLAN_TDLS
+ ,TDLS_OFF_CHANNEL //51
+#else
+ ,FEATURE_NOT_SUPPORTED //51
+#endif
+
};
/*--------------------------------------------------------------------------
@@ -1426,6 +1433,10 @@
pCapStr += strlen("DISA");
break;
+ case TDLS_OFF_CHANNEL: snprintf(pCapStr, sizeof("TDLS_OFF_CHANNEL"), "%s", "TDLS_OFF_CHANNEL");
+ pCapStr += strlen("TDLS_OFF_CHANNEL");
+ break;
+
}
*pCapStr++ = ',';
*pCapStr++ = ' ';