]> bbs.cooldavid.org Git - net-next-2.6.git/blob - drivers/staging/rt3090/mlme_ex.h
Staging: rt2860: add RT3090 chipset support
[net-next-2.6.git] / drivers / staging / rt3090 / mlme_ex.h
1 /*
2  *************************************************************************
3  * Ralink Tech Inc.
4  * 5F., No.36, Taiyuan St., Jhubei City,
5  * Hsinchu County 302,
6  * Taiwan, R.O.C.
7  *
8  * (c) Copyright 2002-2007, Ralink Technology, Inc.
9  *
10  * This program is free software; you can redistribute it and/or modify  *
11  * it under the terms of the GNU General Public License as published by  *
12  * the Free Software Foundation; either version 2 of the License, or     *
13  * (at your option) any later version.                                   *
14  *                                                                       *
15  * This program is distributed in the hope that it will be useful,       *
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of        *
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
18  * GNU General Public License for more details.                          *
19  *                                                                       *
20  * You should have received a copy of the GNU General Public License     *
21  * along with this program; if not, write to the                         *
22  * Free Software Foundation, Inc.,                                       *
23  * 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.             *
24  *                                                                       *
25  *************************************************************************
26
27     Module Name:
28     mlme_ex.h
29
30     Abstract:
31     Miniport generic portion header file
32
33     Revision History:
34     Who         When          What
35     --------    ----------    ----------------------------------------------
36         Fonchi          2007-06-25              Extend original mlme APIs to support multi-entries
37 */
38 #ifndef __MLME_EX_H__
39 #define __MLME_EX_H__
40
41 #include "mlme_ex_def.h"
42
43
44 VOID StateMachineInitEx(
45         IN STATE_MACHINE_EX *S,
46         IN STATE_MACHINE_FUNC_EX Trans[],
47         IN ULONG StNr,
48         IN ULONG MsgNr,
49         IN STATE_MACHINE_FUNC_EX DefFunc,
50         IN ULONG InitState,
51         IN ULONG Base);
52
53 VOID StateMachineSetActionEx(
54         IN STATE_MACHINE_EX *S,
55         IN ULONG St,
56         IN ULONG Msg,
57         IN STATE_MACHINE_FUNC_EX Func);
58
59 BOOLEAN isValidApCliIf(
60         SHORT Idx);
61
62 VOID StateMachinePerformActionEx(
63         IN PRTMP_ADAPTER pAd,
64         IN STATE_MACHINE_EX *S,
65         IN MLME_QUEUE_ELEM *Elem,
66         USHORT Idx,
67         PULONG pCurrState);
68
69 BOOLEAN MlmeEnqueueEx(
70         IN      PRTMP_ADAPTER pAd,
71         IN ULONG Machine,
72         IN ULONG MsgType,
73         IN ULONG MsgLen,
74         IN VOID *Msg,
75         IN USHORT Idx);
76
77 VOID DropEx(
78     IN PRTMP_ADAPTER pAd,
79     IN MLME_QUEUE_ELEM *Elem,
80         PULONG pCurrState,
81         USHORT Idx);
82
83 #endif /* __MLME_EX_H__ */