Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wcmd.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 1996, 2003 VIA Networking Technologies, Inc.
3  * All rights reserved.
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License along
16  * with this program; if not, write to the Free Software Foundation, Inc.,
17  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18  *
19  * File: wcmd.h
20  *
21  * Purpose: Handles the management command interface functions
22  *
23  * Author: Lyndon Chen
24  *
25  * Date: May 8, 2002
26  *
27  */
28 
29 #ifndef __WCMD_H__
30 #define __WCMD_H__
31 
32 #include "ttype.h"
33 #include "80211hdr.h"
34 #include "80211mgr.h"
35 
36 /*--------------------- Export Definitions -------------------------*/
37 
38 
39 
40 #define AUTHENTICATE_TIMEOUT 1000 //ms
41 #define ASSOCIATE_TIMEOUT 1000 //ms
42 
43 
44 // Command code
45 typedef enum tagCMD_CODE {
62 
63 #define CMD_Q_SIZE 32
64 
65 typedef enum tagCMD_STATUS {
66 
72 
74 
75 typedef struct tagCMD_ITEM {
76  CMD_CODE eCmd;
83 
84 // Command state
85 typedef enum tagCMD_STATE {
107 
108 /*--------------------- Export Classes ----------------------------*/
109 
110 /*--------------------- Export Variables --------------------------*/
111 
112 /*--------------------- Export Types ------------------------------*/
113 
114 /*--------------------- Export Functions --------------------------*/
115 
116 void vResetCommandTimer(void *hDeviceContext);
117 
118 BOOL bScheduleCommand(void *hDeviceContext,
119  CMD_CODE eCommand,
120  PBYTE pbyItem0);
121 
122 void vRunCommand(void *hDeviceContext);
123 
124 /*
125 void
126 WCMDvCommandThread(
127  void * Context
128  );
129 */
130 
131 void BSSvSecondTxData(void *hDeviceContext);
132 
133 #endif /* __WCMD_H__ */