c59c60678d44b30209b2a4948eea18f2c512e17a
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / rockchip_wlan / combo_mt66xx / mt6628 / wlan / include / nic / p2p_cmd_buf.h
1 /*
2 ** $Id:
3 */
4
5 /*! \file   "p2p_cmd_buf.h"
6     \brief  In this file we define the structure for Command Packet.
7
8                 In this file we define the structure for Command Packet and the control unit
9     of MGMT Memory Pool.
10 */
11
12
13
14 /*
15 ** $Log: p2p_cmd_buf.h $
16  *
17  * 07 17 2012 yuche.tsai
18  * NULL
19  * Compile no error before trial run.
20  *
21  * 12 22 2010 cp.wu
22  * [WCXRP00000283] [MT6620 Wi-Fi][Driver][Wi-Fi Direct] Implementation of interface for supporting Wi-Fi Direct Service Discovery
23  * 1. header file restructure for more clear module isolation
24  * 2. add function interface definition for implementing Service Discovery callbacks
25 */
26
27 #ifndef _P2P_CMD_BUF_H
28 #define _P2P_CMD_BUF_H
29
30 /*******************************************************************************
31 *                         C O M P I L E R   F L A G S
32 ********************************************************************************
33 */
34
35 /*******************************************************************************
36 *                    E X T E R N A L   R E F E R E N C E S
37 ********************************************************************************
38 */
39
40 /*******************************************************************************
41 *                              C O N S T A N T S
42 ********************************************************************************
43 */
44
45 /*******************************************************************************
46 *                             D A T A   T Y P E S
47 ********************************************************************************
48 */
49
50 /*******************************************************************************
51 *                            P U B L I C   D A T A
52 ********************************************************************************
53 */
54
55 /*******************************************************************************
56 *                           P R I V A T E   D A T A
57 ********************************************************************************
58 */
59
60 /*******************************************************************************
61 *                                 M A C R O S
62 ********************************************************************************
63 */
64
65 /*******************************************************************************
66 *                   F U N C T I O N   D E C L A R A T I O N S
67 ********************************************************************************
68 */
69
70 /*--------------------------------------------------------------*/
71 /* Firmware Command Packer                                      */
72 /*--------------------------------------------------------------*/
73 WLAN_STATUS
74 wlanoidSendSetQueryP2PCmd (
75     IN P_ADAPTER_T  prAdapter,
76     UINT_8          ucCID,
77     BOOLEAN         fgSetQuery,
78     BOOLEAN         fgNeedResp,
79     BOOLEAN         fgIsOid,
80     PFN_CMD_DONE_HANDLER pfCmdDoneHandler,
81     PFN_CMD_TIMEOUT_HANDLER pfCmdTimeoutHandler,
82     UINT_32         u4SetQueryInfoLen,
83     PUINT_8         pucInfoBuffer,
84     OUT PVOID       pvSetQueryBuffer,
85     IN UINT_32      u4SetQueryBufferLen
86     );
87
88
89
90
91 #endif /* _P2P_CMD_BUF_H */
92
93