summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/tdlsCommand.h
diff options
context:
space:
mode:
authorAmarnath Hullur Subramanyam <amarnath@codeaurora.org>2015-05-05 14:54:52 +0530
committerAmarnath Hullur Subramanyam <amarnath@codeaurora.org>2015-05-07 11:44:15 -0700
commit6988c4d041b04106a2325a075b2b69a82c1cc6c0 (patch)
tree86371c5e531339e55799ae2a305d2c004239c70d /qcwcn/wifi_hal/tdlsCommand.h
parent0910ea7ebdb95e00b3173dee28a2f0b34f2a0233 (diff)
downloadwlan-6988c4d041b04106a2325a075b2b69a82c1cc6c0.tar.gz
Wi-Fi HAL: Add support to get tdls capabilities
Issue a vendor command to get the tdls capabilities from driver. Parse the response message and get the capabilities. Change-Id: If1dba8cb5dda9e57d010b1af314caf53542bd9b6
Diffstat (limited to 'qcwcn/wifi_hal/tdlsCommand.h')
-rwxr-xr-xqcwcn/wifi_hal/tdlsCommand.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/tdlsCommand.h b/qcwcn/wifi_hal/tdlsCommand.h
index 48524bd..1ee9e32 100755
--- a/qcwcn/wifi_hal/tdlsCommand.h
+++ b/qcwcn/wifi_hal/tdlsCommand.h
@@ -66,6 +66,15 @@ extern "C"
{
#endif /* __cplusplus */
+#define IS_GLOBAL_TDLS_SUPPORTED BIT(0)
+#define IS_PER_MAC_TDLS_SUPPORTED BIT(1)
+#define IS_OFF_CHANNEL_TDLS_SUPPORTED BIT(2)
+
+typedef struct {
+ int maxConcurrentTdlsSessionNum;
+ u32 tdlsSupportedFeatures;
+} wifiTdlsCapabilities;
+
class TdlsCommand: public WifiVendorCommand
{
private:
@@ -73,6 +82,7 @@ private:
wifi_tdls_status mTDLSgetStatusRspParams;
wifi_request_id mRequestId;
wifi_tdls_handler mHandler;
+ wifiTdlsCapabilities mTDLSgetCaps;
TdlsCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
@@ -93,6 +103,8 @@ public:
virtual void unregisterHandler(u32 subCmd);
virtual void getStatusRspParams(wifi_tdls_status *status);
+
+ virtual void getCapsRspParams(wifi_tdls_capabilities *caps);
};
#ifdef __cplusplus