Merge branch 'for-2.6.32' of git://linux-nfs.org/~bfields/linux
[deliverable/linux.git] / drivers / staging / rt3090 / ap_autoChSel.h
CommitLineData
36c7928c
BZ
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_autoChSel.h
29
30 Abstract:
31 Miniport generic portion header file
32
33 Revision History:
34 Who When What
35 -------- ---------- ----------------------------------------------
36*/
37
38#include "ap_autoChSel_cmm.h"
39
40#ifndef __AUTOCHSELECT_H__
41#define __AUTOCHSELECT_H__
42
43#ifdef AUTO_CH_SELECT_ENHANCE
44#define AP_AUTO_CH_SEL(__P, __O) New_APAutoSelectChannel((__P), (__O))
45#else
46#define AP_AUTO_CH_SEL(__P, __O) APAutoSelectChannel((__P), (__O))
47#endif
48
49
50ULONG AutoChBssInsertEntry(
51 IN PRTMP_ADAPTER pAd,
52 IN PUCHAR pBssid,
53 IN CHAR Ssid[],
54 IN UCHAR SsidLen,
55 IN UCHAR ChannelNo,
56 IN UCHAR ExtChOffset,
57 IN CHAR Rssi);
58
59void AutoChBssTableInit(
60 IN PRTMP_ADAPTER pAd);
61
62void ChannelInfoInit(
63 IN PRTMP_ADAPTER pAd);
64
65void AutoChBssTableDestroy(
66 IN PRTMP_ADAPTER pAd);
67
68void ChannelInfoDestroy(
69 IN PRTMP_ADAPTER pAd);
70
71UCHAR New_APAutoSelectChannel(
72 IN PRTMP_ADAPTER pAd,
73 IN BOOLEAN Optimal);
74
75UCHAR APAutoSelectChannel(
76 IN PRTMP_ADAPTER pAd,
77 IN BOOLEAN Optimal);
78
79#endif // __AUTOCHSELECT_H__ //
This page took 0.04484 seconds and 5 git commands to generate.