-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Rafał Miłecki
authored and
John W. Linville
committed
Jul 8, 2011
1 parent
0cd20a2
commit 1d738e6
Showing
7 changed files
with
125 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
/* | ||
Broadcom B43 wireless driver | ||
IEEE 802.11n LCN-PHY support | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; see the file COPYING. If not, write to | ||
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
Boston, MA 02110-1301, USA. | ||
*/ | ||
|
||
#include <linux/slab.h> | ||
|
||
#include "b43.h" | ||
#include "phy_lcn.h" | ||
#include "tables_phy_lcn.h" | ||
#include "main.h" | ||
|
||
/************************************************** | ||
* PHY ops struct. | ||
**************************************************/ | ||
|
||
const struct b43_phy_operations b43_phyops_lcn = { | ||
/* | ||
.allocate = b43_phy_lcn_op_allocate, | ||
.free = b43_phy_lcn_op_free, | ||
.prepare_structs = b43_phy_lcn_op_prepare_structs, | ||
.init = b43_phy_lcn_op_init, | ||
.phy_read = b43_phy_lcn_op_read, | ||
.phy_write = b43_phy_lcn_op_write, | ||
.phy_maskset = b43_phy_lcn_op_maskset, | ||
.radio_read = b43_phy_lcn_op_radio_read, | ||
.radio_write = b43_phy_lcn_op_radio_write, | ||
.software_rfkill = b43_phy_lcn_op_software_rfkill, | ||
.switch_analog = b43_phy_lcn_op_switch_analog, | ||
.switch_channel = b43_phy_lcn_op_switch_channel, | ||
.get_default_chan = b43_phy_lcn_op_get_default_chan, | ||
.recalc_txpower = b43_phy_lcn_op_recalc_txpower, | ||
.adjust_txpower = b43_phy_lcn_op_adjust_txpower, | ||
*/ | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef B43_PHY_LCN_H_ | ||
#define B43_PHY_LCN_H_ | ||
|
||
#include "phy_common.h" | ||
|
||
|
||
struct b43_phy_lcn { | ||
}; | ||
|
||
|
||
struct b43_phy_operations; | ||
extern const struct b43_phy_operations b43_phyops_lcn; | ||
|
||
#endif /* B43_PHY_LCN_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* | ||
Broadcom B43 wireless driver | ||
IEEE 802.11n LCN-PHY data tables | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 2 of the License, or | ||
(at your option) any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program; see the file COPYING. If not, write to | ||
the Free Software Foundation, Inc., 51 Franklin Steet, Fifth Floor, | ||
Boston, MA 02110-1301, USA. | ||
*/ | ||
|
||
#include "b43.h" | ||
#include "tables_phy_lcn.h" | ||
#include "phy_common.h" | ||
#include "phy_lcn.h" | ||
|
||
/************************************************** | ||
* Tables ops. | ||
**************************************************/ | ||
|
||
void b43_phy_lcn_tables_init(struct b43_wldev *dev) | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#ifndef B43_TABLES_PHY_LCN_H_ | ||
#define B43_TABLES_PHY_LCN_H_ | ||
|
||
void b43_phy_lcn_tables_init(struct b43_wldev *dev); | ||
|
||
#endif /* B43_TABLES_PHY_LCN_H_ */ |