aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_common.h
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2010-10-10 21:11:02 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-10-11 15:04:24 -0400
commite5c407f970ea2977600eb54cf4cc8a67a44fefeb (patch)
tree47c2b4de88a3633e29ee87a2a0eb50874b35ee1c /drivers/net/wireless/b43/phy_common.h
parenta656b6a9665dce09a8f273091f1b4aa3d5cec721 (diff)
b43: N-PHY: store info about current channel's type
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/phy_common.h')
-rw-r--r--drivers/net/wireless/b43/phy_common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/b43/phy_common.h b/drivers/net/wireless/b43/phy_common.h
index bd480b481bf..6dcd0334ed0 100644
--- a/drivers/net/wireless/b43/phy_common.h
+++ b/drivers/net/wireless/b43/phy_common.h
@@ -2,6 +2,7 @@
2#define LINUX_B43_PHY_COMMON_H_ 2#define LINUX_B43_PHY_COMMON_H_
3 3
4#include <linux/types.h> 4#include <linux/types.h>
5#include <linux/nl80211.h>
5 6
6struct b43_wldev; 7struct b43_wldev;
7 8
@@ -250,8 +251,9 @@ struct b43_phy {
250 * check is needed. */ 251 * check is needed. */
251 unsigned long next_txpwr_check_time; 252 unsigned long next_txpwr_check_time;
252 253
253 /* current channel */ 254 /* Current channel */
254 unsigned int channel; 255 unsigned int channel;
256 enum nl80211_channel_type channel_type;
255 257
256 /* PHY TX errors counter. */ 258 /* PHY TX errors counter. */
257 atomic_t txerr_cnt; 259 atomic_t txerr_cnt;