diff options
author | Johannes Berg <johannes.berg@intel.com> | 2016-09-19 07:44:44 (GMT) |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2016-09-26 08:23:48 (GMT) |
commit | 8564e38206de2ff005a27c8d7c2ce3869a44f0dd (patch) | |
tree | 2c6a9ae667d5bf80a6789d1201dfb9a492ea99d1 /include/net/cfg80211.h | |
parent | a7c7fbff6a408d00431c705bbe3dfc5f51e3f1c4 (diff) | |
download | linux-8564e38206de2ff005a27c8d7c2ce3869a44f0dd.tar.xz |
cfg80211: add checks for beacon rate, extend to mesh
The previous commit added support for specifying the beacon rate
for AP mode. Add features checks to this, and extend it to also
support the rate configuration for mesh networks. For IBSS it's
not as simple due to joining etc., so that's not yet supported.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r-- | include/net/cfg80211.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index e0949c8..ed37304 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -712,7 +712,7 @@ struct cfg80211_bitrate_mask { * MAC address based access control * @pbss: If set, start as a PCP instead of AP. Relevant for DMG * networks. - * @beacon_rate: masks for setting user configured beacon tx rate. + * @beacon_rate: bitrate to be used for beacons */ struct cfg80211_ap_settings { struct cfg80211_chan_def chandef; @@ -1365,6 +1365,7 @@ struct mesh_config { * @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 + * @beacon_rate: bitrate to be used for beacons * * These parameters are fixed when the mesh is created. */ @@ -1385,6 +1386,7 @@ struct mesh_setup { u16 beacon_interval; int mcast_rate[NUM_NL80211_BANDS]; u32 basic_rates; + struct cfg80211_bitrate_mask beacon_rate; }; /** |