aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAshok Nagarajan <ashok@cozybit.com>2013-06-03 13:33:36 -0400
committerJohannes Berg <johannes.berg@intel.com>2013-06-11 08:24:36 -0400
commitffb3cf3000aa12facdccbdfcb10bfebda7199209 (patch)
treec53a2391c5750b5e9547e9122cabb412c5d43ea6 /include
parent66de671374f003467b5ef7c65ecbe1930480c8c9 (diff)
{nl,mac,cfg}80211: Allow user to configure basic rates for mesh
Currently mesh uses mandatory rates as the default basic rates. Allow basic rates to be configured during mesh join. Basic rates are applied only if channel is also provided with mesh join command. Signed-off-by: Ashok Nagarajan <ashok@cozybit.com> [some whitespace fixes, refuse basic rates w/o channel] Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include')
-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 31ca11672ca8..6a43c34ce96f 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1176,6 +1176,7 @@ struct mesh_config {
1176 * @dtim_period: DTIM period to use 1176 * @dtim_period: DTIM period to use
1177 * @beacon_interval: beacon interval to use 1177 * @beacon_interval: beacon interval to use
1178 * @mcast_rate: multicat rate for Mesh Node [6Mbps is the default for 802.11a] 1178 * @mcast_rate: multicat rate for Mesh Node [6Mbps is the default for 802.11a]
1179 * @basic_rates: basic rates to use when creating the mesh
1179 * 1180 *
1180 * These parameters are fixed when the mesh is created. 1181 * These parameters are fixed when the mesh is created.
1181 */ 1182 */
@@ -1195,6 +1196,7 @@ struct mesh_setup {
1195 u8 dtim_period; 1196 u8 dtim_period;
1196 u16 beacon_interval; 1197 u16 beacon_interval;
1197 int mcast_rate[IEEE80211_NUM_BANDS]; 1198 int mcast_rate[IEEE80211_NUM_BANDS];
1199 u32 basic_rates;
1198}; 1200};
1199 1201
1200/** 1202/**