summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/radio_2059.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-06-19 12:17:19 +0200
committerJohn W. Linville <linville@tuxdriver.com>2011-06-22 16:09:42 -0400
commit5192bf56b9bb0d90c9aa08e5593ea4897309fc07 (patch)
tree8210c0c38d7442cc24386ac30fdd564e502f742b /drivers/net/wireless/b43/radio_2059.h
parent1a3f71ae669a599139165c7ae6d8e7908fe12e64 (diff)
downloadlinux-5192bf56b9bb0d90c9aa08e5593ea4897309fc07.tar.bz2
b43: HT-PHY: define standard structs for channel switching
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/radio_2059.h')
-rw-r--r--drivers/net/wireless/b43/radio_2059.h21
1 files changed, 21 insertions, 0 deletions
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 @@
+#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_ */