summaryrefslogtreecommitdiff
path: root/qcwcn/wifi_hal/nancommand.h
diff options
context:
space:
mode:
authorSubhani Shaik <subhanis@codeaurora.org>2016-11-11 17:17:51 -0800
committerSubhani Shaik <subhanis@codeaurora.org>2016-11-11 19:26:19 -0800
commitad90a3eeb5acc5f53db457e66d06205de96d144d (patch)
tree44c8a7059e9b5426a32be1fe4872795d6d14f03f /qcwcn/wifi_hal/nancommand.h
parentbc33454e666a54f0a0a5bc6de2f4b30ada072063 (diff)
downloadwlan-ad90a3eeb5acc5f53db457e66d06205de96d144d.tar.gz
WifiHal: Fix the APIs as per prototype
1) Remove schedule update implementation. 2) Cleanup vendor definitions. Change-Id: Ie5c4bc8d8e507f5213525b2d5c6769445d2e5d54
Diffstat (limited to 'qcwcn/wifi_hal/nancommand.h')
-rw-r--r--qcwcn/wifi_hal/nancommand.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/qcwcn/wifi_hal/nancommand.h b/qcwcn/wifi_hal/nancommand.h
index f6311c8..aed3fac 100644
--- a/qcwcn/wifi_hal/nancommand.h
+++ b/qcwcn/wifi_hal/nancommand.h
@@ -20,6 +20,8 @@
#include "common.h"
#include "cpp_bindings.h"
#include "wifi_hal.h"
+#include "qca-vendor.h"
+#include "vendor_definitions.h"
class NanCommand : public WifiVendorCommand
{
@@ -89,6 +91,12 @@ private:
char* rspBuf,
NanStatsResponse *pRsp);
+ //Function which unparses the data and calls the NotifyResponse
+ int handleNdpResponse(NanResponseType ndpCmdtyp, struct nlattr **tb_vendor);
+ int handleNdpIndication(u32 ndpCmdType, struct nlattr **tb_vendor);
+ int getNdpRequest(struct nlattr **tb_vendor, NanDataPathRequestInd *event);
+ int getNdpConfirm(struct nlattr **tb_vendor, NanDataPathConfirmInd *event);
+ int getNdpEnd(struct nlattr **tb_vendor, NanDataPathEndInd *event);
public:
NanCommand(wifi_handle handle, int id, u32 vendor_id, u32 subcmd);
static NanCommand* instance(wifi_handle handle);