summaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorAntonio Quartulli <ordex@autistici.org>2012-11-02 13:27:48 +0100
committerJohannes Berg <johannes.berg@intel.com>2012-11-05 15:54:45 +0100
commitf4e583c8935c6f52f9385ee7cfbea8f65c66a737 (patch)
tree84b709ae313211a2296adce2b4de569a63cbc43a /include/net
parentba350fbc53b5798104b3fc245bb3c3461a4ef8dc (diff)
downloadblackbird-op-linux-f4e583c8935c6f52f9385ee7cfbea8f65c66a737.tar.gz
blackbird-op-linux-f4e583c8935c6f52f9385ee7cfbea8f65c66a737.zip
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')
-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 {
* to a merge.
* @leave_ibss: Leave the IBSS.
*
+ * @set_mcast_rate: Set the specified multicast rate (only if vif is in ADHOC or
+ * MESH mode)
+ *
* @set_wiphy_params: Notify that wiphy parameters have changed;
* @changed bitfield (see &enum wiphy_params_flags) describes which values
* have changed. The actual parameter values are available in
@@ -1749,6 +1752,9 @@ struct cfg80211_ops {
struct cfg80211_ibss_params *params);
int (*leave_ibss)(struct wiphy *wiphy, struct net_device *dev);
+ int (*set_mcast_rate)(struct wiphy *wiphy, struct net_device *dev,
+ int rate[IEEE80211_NUM_BANDS]);
+
int (*set_wiphy_params)(struct wiphy *wiphy, u32 changed);
int (*set_tx_power)(struct wiphy *wiphy, struct wireless_dev *wdev,
OpenPOWER on IntegriCloud