OMAP3: SR: Replace printk's with pr_* calls
[linux-ginger.git] / drivers / staging / rt3090 / ap_autoChSel.h
blob46881ff857ac843b11ed4c1cefbac497cb10c76d
1 /*
2 *************************************************************************
3 * Ralink Tech Inc.
4 * 5F., No.36, Taiyuan St., Jhubei City,
5 * Hsinchu County 302,
6 * Taiwan, R.O.C.
8 * (c) Copyright 2002-2007, Ralink Technology, Inc.
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 *************************************************************************
27 Module Name:
28 ap_autoChSel.h
30 Abstract:
31 Miniport generic portion header file
33 Revision History:
34 Who When What
35 -------- ---------- ----------------------------------------------
38 #include "ap_autoChSel_cmm.h"
40 #ifndef __AUTOCHSELECT_H__
41 #define __AUTOCHSELECT_H__
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
50 ULONG 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);
59 void AutoChBssTableInit(
60 IN PRTMP_ADAPTER pAd);
62 void ChannelInfoInit(
63 IN PRTMP_ADAPTER pAd);
65 void AutoChBssTableDestroy(
66 IN PRTMP_ADAPTER pAd);
68 void ChannelInfoDestroy(
69 IN PRTMP_ADAPTER pAd);
71 UCHAR New_APAutoSelectChannel(
72 IN PRTMP_ADAPTER pAd,
73 IN BOOLEAN Optimal);
75 UCHAR APAutoSelectChannel(
76 IN PRTMP_ADAPTER pAd,
77 IN BOOLEAN Optimal);
79 #endif // __AUTOCHSELECT_H__ //