diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-07-07 09:25:27 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-07-08 11:11:25 -0400 |
commit | 1d738e64f3d957d56c1b51e64ebdef986a8760e3 (patch) | |
tree | 15bc3db421bd44c031b58bd4953d69c91fc081eb /drivers/net/wireless/b43/phy_lcn.c | |
parent | 0cd20a278e1ef9da9f6a987942794c9d65af8c4d (diff) |
b43: LCN-PHY add place for new PHY support
LCN-PHY was found in 14e4:4727 card. It uses LCN/1 and 0x2064/1 radio.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_lcn.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_lcn.c | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_lcn.c b/drivers/net/wireless/b43/phy_lcn.c new file mode 100644 index 000000000000..9f7dbbd5ced6 --- /dev/null +++ b/drivers/net/wireless/b43/phy_lcn.c | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | |||
3 | Broadcom B43 wireless driver | ||
4 | IEEE 802.11n LCN-PHY support | ||
5 | |||
6 | This program is free software; you can redistribute it and/or modify | ||
7 | it under the terms of the GNU General Public License as published by | ||
8 | the Free Software Foundation; either version 2 of the License, or | ||
9 | (at your option) any later version. | ||
10 | |||
11 | This program is distributed in the hope that it will be useful, | ||
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | GNU General Public License for more details. | ||
15 | |||
16 | You should have received a copy of the GNU General Public License | ||
17 | along with this program; see the file COPYING. If not, write to | ||
18 | the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
19 | Boston, MA 02110-1301, USA. | ||
20 | |||
21 | */ | ||
22 | |||
23 | #include <linux/slab.h> | ||
24 | |||
25 | #include "b43.h" | ||
26 | #include "phy_lcn.h" | ||
27 | #include "tables_phy_lcn.h" | ||
28 | #include "main.h" | ||
29 | |||
30 | /************************************************** | ||
31 | * PHY ops struct. | ||
32 | **************************************************/ | ||
33 | |||
34 | const struct b43_phy_operations b43_phyops_lcn = { | ||
35 | /* | ||
36 | .allocate = b43_phy_lcn_op_allocate, | ||
37 | .free = b43_phy_lcn_op_free, | ||
38 | .prepare_structs = b43_phy_lcn_op_prepare_structs, | ||
39 | .init = b43_phy_lcn_op_init, | ||
40 | .phy_read = b43_phy_lcn_op_read, | ||
41 | .phy_write = b43_phy_lcn_op_write, | ||
42 | .phy_maskset = b43_phy_lcn_op_maskset, | ||
43 | .radio_read = b43_phy_lcn_op_radio_read, | ||
44 | .radio_write = b43_phy_lcn_op_radio_write, | ||
45 | .software_rfkill = b43_phy_lcn_op_software_rfkill, | ||
46 | .switch_analog = b43_phy_lcn_op_switch_analog, | ||
47 | .switch_channel = b43_phy_lcn_op_switch_channel, | ||
48 | .get_default_chan = b43_phy_lcn_op_get_default_chan, | ||
49 | .recalc_txpower = b43_phy_lcn_op_recalc_txpower, | ||
50 | .adjust_txpower = b43_phy_lcn_op_adjust_txpower, | ||
51 | */ | ||
52 | }; | ||