summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtl818x/rtl8180.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-05-06 16:49:40 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-05-07 14:57:09 -0400
commitc809e86c11a64488acc85ddf12ece3c9b879ccb6 (patch)
treeb687b263154bc6e0cf84cc35f81bb782c5677192 /drivers/net/wireless/rtl818x/rtl8180.h
parent51e080deba57437459571f26a3c6f3db03324c4c (diff)
rtl8180: add software-based support for IBSS mode
Device documentation suggests that hardware support for beaconing is available. But I implemented software-based beacon generation as an experiment and it seems better to have that working now rather than waiting for something better to materialize. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8180.h')
-rw-r--r--drivers/net/wireless/rtl818x/rtl8180.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8180.h b/drivers/net/wireless/rtl818x/rtl8180.h
index b92d678abc0..4baf0cf0826 100644
--- a/drivers/net/wireless/rtl818x/rtl8180.h
+++ b/drivers/net/wireless/rtl818x/rtl8180.h
@@ -55,6 +55,14 @@ struct rtl8180_tx_ring {
struct sk_buff_head queue;
};
+struct rtl8180_vif {
+ struct ieee80211_hw *dev;
+
+ /* beaconing */
+ struct delayed_work beacon_work;
+ bool enable_beacon;
+};
+
struct rtl8180_priv {
/* common between rtl818x drivers */
struct rtl818x_csr __iomem *map;