Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6
[pandora-kernel.git] / drivers / staging / rt2860 / ap.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     ap.h
29
30     Abstract:
31     Miniport generic portion header file
32
33     Revision History:
34     Who         When          What
35     --------    ----------    ----------------------------------------------
36     Paul Lin    08-01-2002    created
37     James Tan   09-06-2002    modified (Revise NTCRegTable)
38     John Chang  12-22-2004    modified for RT2561/2661. merge with STA driver
39 */
40 #ifndef __AP_H__
41 #define __AP_H__
42
43 // ap_mlme.c
44
45 #ifdef RT2870
46 VOID BeaconUpdateExec(
47     IN PVOID SystemSpecific1,
48     IN PVOID FunctionContext,
49     IN PVOID SystemSpecific2,
50     IN PVOID SystemSpecific3);
51 #endif // RT2870 //
52
53 VOID RTMPSetPiggyBack(
54         IN PRTMP_ADAPTER        pAd,
55         IN BOOLEAN                      bPiggyBack);
56
57 // ap.c
58
59 VOID MacTableReset(
60     IN  PRTMP_ADAPTER   pAd);
61
62 MAC_TABLE_ENTRY *MacTableInsertEntry(
63     IN  PRTMP_ADAPTER   pAd,
64     IN  PUCHAR          pAddr,
65         IN      UCHAR                   apidx,
66         IN BOOLEAN      CleanAll);
67
68 BOOLEAN MacTableDeleteEntry(
69     IN  PRTMP_ADAPTER   pAd,
70         IN USHORT wcid,
71     IN  PUCHAR          pAddr);
72
73 MAC_TABLE_ENTRY *MacTableLookup(
74     IN  PRTMP_ADAPTER   pAd,
75     IN  PUCHAR          pAddr);
76
77 #endif  // __AP_H__
78