diff options
author | Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> | 2010-06-14 05:55:31 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-06-14 15:39:34 -0400 |
commit | fbd2c8dcbc69616d2e15b8a269a86b3a05d45aea (patch) | |
tree | 4ae08bd02d5e0d317828300f3255824df732e4b3 /include/net | |
parent | 7b9a4b001971c89f35d55180867753a612d17458 (diff) |
mac80211: Set basic rates while joining ibss network
This patch adds support to nl80211 and mac80211 to set basic rates when
joining/creating ibss network.
Original patch was posted by Johannes Berg on the linux-wireless posting list.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/cfg80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 22ab9d88cf4a..64374f4cb7c6 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h | |||
@@ -810,6 +810,7 @@ struct cfg80211_disassoc_request { | |||
810 | * @beacon_interval: beacon interval to use | 810 | * @beacon_interval: beacon interval to use |
811 | * @privacy: this is a protected network, keys will be configured | 811 | * @privacy: this is a protected network, keys will be configured |
812 | * after joining | 812 | * after joining |
813 | * @basic_rates: bitmap of basic rates to use when creating the IBSS | ||
813 | */ | 814 | */ |
814 | struct cfg80211_ibss_params { | 815 | struct cfg80211_ibss_params { |
815 | u8 *ssid; | 816 | u8 *ssid; |
@@ -818,6 +819,7 @@ struct cfg80211_ibss_params { | |||
818 | u8 *ie; | 819 | u8 *ie; |
819 | u8 ssid_len, ie_len; | 820 | u8 ssid_len, ie_len; |
820 | u16 beacon_interval; | 821 | u16 beacon_interval; |
822 | u32 basic_rates; | ||
821 | bool channel_fixed; | 823 | bool channel_fixed; |
822 | bool privacy; | 824 | bool privacy; |
823 | }; | 825 | }; |