diff options
author | John W. Linville <linville@tuxdriver.com> | 2010-05-06 16:49:40 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-05-07 14:57:09 -0400 |
commit | c809e86c11a64488acc85ddf12ece3c9b879ccb6 (patch) | |
tree | b687b263154bc6e0cf84cc35f81bb782c5677192 /drivers/net/wireless/rtl818x/rtl8180.h | |
parent | 51e080deba57437459571f26a3c6f3db03324c4c (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.h | 8 |
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; |