Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
radio.h
Go to the documentation of this file.
1 /*
2 
3  Broadcom B43legacy wireless driver
4 
5  Copyright (c) 2005 Martin Langer <[email protected]>,
6  Stefano Brivio <[email protected]>
7  Michael Buesch <[email protected]>
8  Danny van Dyk <[email protected]>
9  Andreas Jaggi <[email protected]>
10 
11  Some parts of the code in this file are derived from the ipw2200
12  driver Copyright(c) 2003 - 2004 Intel Corporation.
13 
14  This program is free software; you can redistribute it and/or modify
15  it under the terms of the GNU General Public License as published by
16  the Free Software Foundation; either version 2 of the License, or
17  (at your option) any later version.
18 
19  This program is distributed in the hope that it will be useful,
20  but WITHOUT ANY WARRANTY; without even the implied warranty of
21  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22  GNU General Public License for more details.
23 
24  You should have received a copy of the GNU General Public License
25  along with this program; see the file COPYING. If not, write to
26  the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor,
27  Boston, MA 02110-1301, USA.
28 
29 */
30 
31 #ifndef B43legacy_RADIO_H_
32 #define B43legacy_RADIO_H_
33 
34 #include "b43legacy.h"
35 
36 
37 #define B43legacy_RADIO_DEFAULT_CHANNEL_BG 6
38 
39 /* Force antenna 0. */
40 #define B43legacy_RADIO_TXANTENNA_0 0
41 /* Force antenna 1. */
42 #define B43legacy_RADIO_TXANTENNA_1 1
43 /* Use the RX antenna, that was selected for the most recently
44  * received good PLCP header.
45  */
46 #define B43legacy_RADIO_TXANTENNA_LASTPLCP 3
47 #define B43legacy_RADIO_TXANTENNA_DEFAULT B43legacy_RADIO_TXANTENNA_LASTPLCP
48 
49 #define B43legacy_RADIO_INTERFMODE_NONE 0
50 #define B43legacy_RADIO_INTERFMODE_NONWLAN 1
51 #define B43legacy_RADIO_INTERFMODE_MANUALWLAN 2
52 #define B43legacy_RADIO_INTERFMODE_AUTOWLAN 3
53 
54 
57 
60 
62 
65 
67  int synthetic_pu_workaround);
68 
71  u16 baseband_attenuation, u16 attenuation,
72  u16 txpower);
73 
77 
79 
81 
84 
86  int mode);
87 
94 
97 
98 #endif /* B43legacy_RADIO_H_ */