summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2009-09-11 02:52:45 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 22:39:28 +0200
commit13b81559200b8e54473e5b140323cbb5f2bb21c0 (patch)
tree0c326b1daaa9cf73ef36b82de600f6599610dfa9 /drivers/net/wireless/ath/ath.h
parentath5k: define ath_common ops (diff)
downloadlinux-13b81559200b8e54473e5b140323cbb5f2bb21c0.tar.xz
linux-13b81559200b8e54473e5b140323cbb5f2bb21c0.zip
atheros: define shared bssidmask setting
Also make ath5k and ath9k use it, and share register definitions. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r--drivers/net/wireless/ath/ath.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h
index be68cb8cf705..0582ee4a493e 100644
--- a/drivers/net/wireless/ath/ath.h
+++ b/drivers/net/wireless/ath/ath.h
@@ -45,6 +45,7 @@ struct ath_ops {
};
struct ath_common {
+ void *ah;
u16 cachelsz;
u16 curaid;
u8 macaddr[ETH_ALEN];
@@ -58,4 +59,6 @@ struct sk_buff *ath_rxbuf_alloc(struct ath_common *common,
u32 len,
gfp_t gfp_mask);
+void ath_hw_setbssidmask(struct ath_common *common);
+
#endif /* ATH_H */