summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen <juuso.oikarinen@nokia.com>2010-03-26 13:53:25 +0300
committerJohn W. Linville <linville@tuxdriver.com>2010-03-31 22:39:15 +0400
commit60e84c2ebb7b04361cf1ba0d325cc93366bd04a6 (patch)
treebbe48b596b33bdb009cd8215b7d0e653b92d8425 /drivers/net/wireless/wl12xx/wl1271.h
parent5da11dcde3d2a91688e02f032062fa26877eacb0 (diff)
downloadlinux-60e84c2ebb7b04361cf1ba0d325cc93366bd04a6.tar.xz
wl1271: Update beacon interval properly for ad-hoc
Configure the hardware beacon interval to whatever requested by the mac80211. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 37ad5cd0b82f..c5559efcf5a7 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -452,6 +452,9 @@ struct wl1271 {
/* The current band */
enum ieee80211_band band;
+ /* Beaconing interval (needed for ad-hoc) */
+ u32 beacon_int;
+
/* Default key (for WEP) */
u32 default_key;