diff options
-rw-r--r-- | drivers/net/wireless/b43/Makefile | 1 | ||||
-rw-r--r-- | drivers/net/wireless/b43/phy_ht.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/b43/phy_ht.h | 6 | ||||
-rw-r--r-- | drivers/net/wireless/b43/radio_2059.c | 30 | ||||
-rw-r--r-- | drivers/net/wireless/b43/radio_2059.h | 21 |
5 files changed, 59 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/Makefile b/drivers/net/wireless/b43/Makefile index 58d614a889b9..900dc9c8c688 100644 --- a/drivers/net/wireless/b43/Makefile +++ b/drivers/net/wireless/b43/Makefile | |||
@@ -11,6 +11,7 @@ b43-$(CONFIG_B43_PHY_N) += phy_n.o | |||
11 | b43-$(CONFIG_B43_PHY_LP) += phy_lp.o | 11 | b43-$(CONFIG_B43_PHY_LP) += phy_lp.o |
12 | b43-$(CONFIG_B43_PHY_LP) += tables_lpphy.o | 12 | b43-$(CONFIG_B43_PHY_LP) += tables_lpphy.o |
13 | b43-$(CONFIG_B43_PHY_HT) += phy_ht.o | 13 | b43-$(CONFIG_B43_PHY_HT) += phy_ht.o |
14 | b43-$(CONFIG_B43_PHY_HT) += radio_2059.o | ||
14 | b43-y += sysfs.o | 15 | b43-y += sysfs.o |
15 | b43-y += xmit.o | 16 | b43-y += xmit.o |
16 | b43-y += lo.o | 17 | b43-y += lo.o |
diff --git a/drivers/net/wireless/b43/phy_ht.c b/drivers/net/wireless/b43/phy_ht.c index 008c1a96c2d3..763dbb0f4179 100644 --- a/drivers/net/wireless/b43/phy_ht.c +++ b/drivers/net/wireless/b43/phy_ht.c | |||
@@ -24,6 +24,7 @@ | |||
24 | 24 | ||
25 | #include "b43.h" | 25 | #include "b43.h" |
26 | #include "phy_ht.h" | 26 | #include "phy_ht.h" |
27 | #include "radio_2059.h" | ||
27 | #include "main.h" | 28 | #include "main.h" |
28 | 29 | ||
29 | /************************************************** | 30 | /************************************************** |
diff --git a/drivers/net/wireless/b43/phy_ht.h b/drivers/net/wireless/b43/phy_ht.h index e16d4bbeb4b6..afa448d6571e 100644 --- a/drivers/net/wireless/b43/phy_ht.h +++ b/drivers/net/wireless/b43/phy_ht.h | |||
@@ -18,6 +18,12 @@ | |||
18 | #define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119) | 18 | #define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119) |
19 | 19 | ||
20 | 20 | ||
21 | /* Values for PHY registers used on channel switching */ | ||
22 | struct b43_phy_ht_channeltab_e_phy { | ||
23 | /* TODO */ | ||
24 | }; | ||
25 | |||
26 | |||
21 | struct b43_phy_ht { | 27 | struct b43_phy_ht { |
22 | }; | 28 | }; |
23 | 29 | ||
diff --git a/drivers/net/wireless/b43/radio_2059.c b/drivers/net/wireless/b43/radio_2059.c new file mode 100644 index 000000000000..55d7da74f15a --- /dev/null +++ b/drivers/net/wireless/b43/radio_2059.c | |||
@@ -0,0 +1,30 @@ | |||
1 | /* | ||
2 | |||
3 | Broadcom B43 wireless driver | ||
4 | IEEE 802.11n 2059 radio device data tables | ||
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 "b43.h" | ||
24 | #include "radio_2059.h" | ||
25 | |||
26 | const struct b43_phy_ht_channeltab_e_radio2059 | ||
27 | *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq) | ||
28 | { | ||
29 | return NULL; | ||
30 | } | ||
diff --git a/drivers/net/wireless/b43/radio_2059.h b/drivers/net/wireless/b43/radio_2059.h new file mode 100644 index 000000000000..69eb46ee376f --- /dev/null +++ b/drivers/net/wireless/b43/radio_2059.h | |||
@@ -0,0 +1,21 @@ | |||
1 | #ifndef B43_RADIO_2059_H_ | ||
2 | #define B43_RADIO_2059_H_ | ||
3 | |||
4 | #include <linux/types.h> | ||
5 | |||
6 | #include "phy_ht.h" | ||
7 | |||
8 | /* Values for various registers uploaded on channel switching */ | ||
9 | struct b43_phy_ht_channeltab_e_radio2059 { | ||
10 | /* The channel frequency in MHz */ | ||
11 | u16 freq; | ||
12 | /* Values for radio registers */ | ||
13 | /* TODO */ | ||
14 | /* Values for PHY registers */ | ||
15 | struct b43_phy_ht_channeltab_e_phy phy_regs; | ||
16 | }; | ||
17 | |||
18 | const struct b43_phy_ht_channeltab_e_radio2059 | ||
19 | *b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq); | ||
20 | |||
21 | #endif /* B43_RADIO_2059_H_ */ | ||