summaryrefslogtreecommitdiff
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2009-04-22 19:45:38 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-23 00:57:20 +0400
commit8e30bc55de98c000b0b836cb42525c82f605f191 (patch)
tree6b413976c2064157c3268b87921d4e2a7595f831 /include/net/cfg80211.h
parente255d5eb2b478eec1416b46aea03798b64355402 (diff)
downloadlinux-8e30bc55de98c000b0b836cb42525c82f605f191.tar.xz
nl80211: allow configuring IBSS beacon interval
Make the JOIN_IBSS command look at the beacon interval attribute to see if the user requested a specific beacon interval, if not default to 100 TU (wext too). Signed-off-by: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 54bc69c83691..7f7b53b69cb2 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -733,6 +733,7 @@ struct cfg80211_disassoc_request {
* IBSSs to join on other channels.
* @ie: information element(s) to include in the beacon
* @ie_len: length of that
+ * @beacon_interval: beacon interval to use
*/
struct cfg80211_ibss_params {
u8 *ssid;
@@ -740,6 +741,7 @@ struct cfg80211_ibss_params {
struct ieee80211_channel *channel;
u8 *ie;
u8 ssid_len, ie_len;
+ u16 beacon_interval;
bool channel_fixed;
};