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>
This commit is contained in:
Johannes Berg
2009-04-22 17:45:38 +02:00
committed by John W. Linville
parent e255d5eb2b
commit 8e30bc55de
4 changed files with 19 additions and 2 deletions

View File

@@ -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;
};