diff options
Diffstat (limited to 'drivers/net/wireless/b43/radio_2056.c')
-rw-r--r-- | drivers/net/wireless/b43/radio_2056.c | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/radio_2056.c b/drivers/net/wireless/b43/radio_2056.c new file mode 100644 index 000000000000..d8563192ce56 --- /dev/null +++ b/drivers/net/wireless/b43/radio_2056.c | |||
@@ -0,0 +1,43 @@ | |||
1 | /* | ||
2 | |||
3 | Broadcom B43 wireless driver | ||
4 | IEEE 802.11n 2056 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_2056.h" | ||
25 | #include "phy_common.h" | ||
26 | |||
27 | static const struct b43_nphy_channeltab_entry_rev3 b43_nphy_channeltab_rev3[] = { | ||
28 | }; | ||
29 | |||
30 | const struct b43_nphy_channeltab_entry_rev3 * | ||
31 | b43_nphy_get_chantabent_rev3(struct b43_wldev *dev, u16 freq) | ||
32 | { | ||
33 | const struct b43_nphy_channeltab_entry_rev3 *e; | ||
34 | unsigned int i; | ||
35 | |||
36 | for (i = 0; i < ARRAY_SIZE(b43_nphy_channeltab_rev3); i++) { | ||
37 | e = &(b43_nphy_channeltab_rev3[i]); | ||
38 | if (e->freq == freq) | ||
39 | return e; | ||
40 | } | ||
41 | |||
42 | return NULL; | ||
43 | } | ||