diff options
author | Attila Fazekas <turul64@gmail.com> | 2012-02-23 19:50:35 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-07 13:56:37 -0500 |
commit | 41b58f189ada1a12d3c9417c3eedd5b910d8d09f (patch) | |
tree | a1ce5d4c73b1c3b5650ceef7119a28c87fe5b2c8 /drivers/net/wireless/rtl818x/rtl8187/rtl8187.h | |
parent | 0d33cd782990b13d992109d16e11205e1ac547bb (diff) | |
download | blackbird-op-linux-41b58f189ada1a12d3c9417c3eedd5b910d8d09f.tar.gz blackbird-op-linux-41b58f189ada1a12d3c9417c3eedd5b910d8d09f.zip |
rtl8187: Add AD-HOC support
Add AD-HOC support to the rtl8187 based on the rtl8180 source
Signed-off-by: Attila Fazekas <turul64@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtl818x/rtl8187/rtl8187.h')
-rw-r--r-- | drivers/net/wireless/rtl818x/rtl8187/rtl8187.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h b/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h index f1cc90751dbf..e19a20a8e955 100644 --- a/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h +++ b/drivers/net/wireless/rtl818x/rtl8187/rtl8187.h @@ -89,6 +89,14 @@ enum { DEVICE_RTL8187B }; +struct rtl8187_vif { + struct ieee80211_hw *dev; + + /* beaconing */ + struct delayed_work beacon_work; + bool enable_beacon; +}; + struct rtl8187_priv { /* common between rtl818x drivers */ struct rtl818x_csr *map; @@ -141,6 +149,7 @@ struct rtl8187_priv { __le32 bits32; } *io_dmabuf; bool rfkill_off; + u16 seqno; }; void rtl8187_write_phy(struct ieee80211_hw *dev, u8 addr, u32 data); |