aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-11-02 08:27:48 -0400
committerJohannes Berg <johannes.berg@intel.com>2012-11-05 09:54:45 -0500
commitf4e583c8935c6f52f9385ee7cfbea8f65c66a737 (patch)
tree84b709ae313211a2296adce2b4de569a63cbc43a /include/net/cfg80211.h
parentba350fbc53b5798104b3fc245bb3c3461a4ef8dc (diff)
nl/cfg80211: add the NL80211_CMD_SET_MCAST_RATE command
This command triggers a new callback: set_mcast_rate(). It enables the user to change the rate used to send multicast frames for vif configured as IBSS or MESH_POINT Signed-off-by: Antonio Quartulli <ordex@autistici.org> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 8034a4268fcb..cee791fd4cff 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -1545,6 +1545,9 @@ struct cfg80211_gtk_rekey_data {
1545 * to a merge. 1545 * to a merge.
1546 * @leave_ibss: Leave the IBSS. 1546 * @leave_ibss: Leave the IBSS.
1547 * 1547 *
1548 * @set_mcast_rate: Set the specified multicast rate (only if vif is in ADHOC or
1549 * MESH mode)
1550 *
1548 * @set_wiphy_params: Notify that wiphy parameters have changed; 1551 * @set_wiphy_params: Notify that wiphy parameters have changed;
1549 * @changed bitfield (see &enum wiphy_params_flags) describes which values 1552 * @changed bitfield (see &enum wiphy_params_flags) describes which values
1550 * have changed. The actual parameter values are available in 1553 * have changed. The actual parameter values are available in
@@ -1749,6 +1752,9 @@ struct cfg80211_ops {
1749 struct cfg80211_ibss_params *params); 1752 struct cfg80211_ibss_params *params);
1750 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev); 1753 int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
1751 1754
1755 int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
1756 int rate[IEEE80211_NUM_BANDS]);
1757
1752 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed); 1758 int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
1753 1759
1754 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev, 1760 int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,