diff options
author | Ashok Nagarajan <ashok@cozybit.com> | 2013-06-03 10:33:36 -0700 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2013-06-11 14:24:36 +0200 |
commit | ffb3cf3000aa12facdccbdfcb10bfebda7199209 (patch) | |
tree | c53a2391c5750b5e9547e9122cabb412c5d43ea6 /include | |
parent | 66de671374f003467b5ef7c65ecbe1930480c8c9 (diff) | |
download | linux-ffb3cf3000aa12facdccbdfcb10bfebda7199209.tar.gz linux-ffb3cf3000aa12facdccbdfcb10bfebda7199209.tar.bz2 linux-ffb3cf3000aa12facdccbdfcb10bfebda7199209.zip |
{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.h | 2 |
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 { * @dtim_period: DTIM period to use * @beacon_interval: beacon interval to use * @mcast_rate: multicat rate for Mesh Node [6Mbps is the default for 802.11a] + * @basic_rates: basic rates to use when creating the mesh * * These parameters are fixed when the mesh is created. */ @@ -1195,6 +1196,7 @@ struct mesh_setup { u8 dtim_period; u16 beacon_interval; int mcast_rate[IEEE80211_NUM_BANDS]; + u32 basic_rates; }; /** |