Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 255855
b: refs/heads/master
c: 5192bf5
h: refs/heads/master
i:
  255853: d952c6d
  255851: 6beacbe
  255847: 8a5cb8e
  255839: 54cdac6
v: v3
  • Loading branch information
Rafał Miłecki authored and John W. Linville committed Jun 22, 2011
1 parent a27adec commit 7d9a93c
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1a3f71ae669a599139165c7ae6d8e7908fe12e64
refs/heads/master: 5192bf56b9bb0d90c9aa08e5593ea4897309fc07
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/b43/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ b43-$(CONFIG_B43_PHY_N) += phy_n.o
b43-$(CONFIG_B43_PHY_LP) += phy_lp.o
b43-$(CONFIG_B43_PHY_LP) += tables_lpphy.o
b43-$(CONFIG_B43_PHY_HT) += phy_ht.o
b43-$(CONFIG_B43_PHY_HT) += radio_2059.o
b43-y += sysfs.o
b43-y += xmit.o
b43-y += lo.o
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/net/wireless/b43/phy_ht.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

#include "b43.h"
#include "phy_ht.h"
#include "radio_2059.h"
#include "main.h"

/**************************************************
Expand Down
6 changes: 6 additions & 0 deletions trunk/drivers/net/wireless/b43/phy_ht.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
#define B43_PHY_HT_AFE_CTL6 B43_PHY_EXTG(0x119)


/* Values for PHY registers used on channel switching */
struct b43_phy_ht_channeltab_e_phy {
/* TODO */
};


struct b43_phy_ht {
};

Expand Down
30 changes: 30 additions & 0 deletions trunk/drivers/net/wireless/b43/radio_2059.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
Broadcom B43 wireless driver
IEEE 802.11n 2059 radio device 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 "radio_2059.h"

const struct b43_phy_ht_channeltab_e_radio2059
*b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq)
{
return NULL;
}
21 changes: 21 additions & 0 deletions trunk/drivers/net/wireless/b43/radio_2059.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#ifndef B43_RADIO_2059_H_
#define B43_RADIO_2059_H_

#include <linux/types.h>

#include "phy_ht.h"

/* Values for various registers uploaded on channel switching */
struct b43_phy_ht_channeltab_e_radio2059 {
/* The channel frequency in MHz */
u16 freq;
/* Values for radio registers */
/* TODO */
/* Values for PHY registers */
struct b43_phy_ht_channeltab_e_phy phy_regs;
};

const struct b43_phy_ht_channeltab_e_radio2059
*b43_phy_ht_get_channeltab_e_r2059(struct b43_wldev *dev, u16 freq);

#endif /* B43_RADIO_2059_H_ */

0 comments on commit 7d9a93c

Please sign in to comment.