aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-11 09:07:22 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-16 16:39:08 -0500
commit885a46d0f7942d76c2f3860acb45f75237d3bb42 (patch)
treef116fcc9b8204f7a113693e307de76e4098ebb36 /include
parenta619a4c0e1fd4e8c360c63d0df3fa0a401107d69 (diff)
cfg80211: add support for setting the ad-hoc multicast rate
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nl80211.h4
-rw-r--r--include/net/cfg80211.h2
2 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/nl80211.h b/include/linux/nl80211.h
index 17c5c8849250..037b4e498890 100644
--- a/include/linux/nl80211.h
+++ b/include/linux/nl80211.h
@@ -826,6 +826,8 @@ enum nl80211_commands {
826 * the hardware should not be configured to receive on this antenna. 826 * the hardware should not be configured to receive on this antenna.
827 * For a more detailed descripton see @NL80211_ATTR_WIPHY_ANTENNA_TX. 827 * For a more detailed descripton see @NL80211_ATTR_WIPHY_ANTENNA_TX.
828 * 828 *
829 * @NL80211_ATTR_MCAST_RATE: Multicast tx rate (in 100 kbps) for IBSS
830 *
829 * @NL80211_ATTR_MAX: highest attribute number currently defined 831 * @NL80211_ATTR_MAX: highest attribute number currently defined
830 * @__NL80211_ATTR_AFTER_LAST: internal use 832 * @__NL80211_ATTR_AFTER_LAST: internal use
831 */ 833 */
@@ -998,6 +1000,8 @@ enum nl80211_attrs {
998 NL80211_ATTR_WIPHY_ANTENNA_TX, 1000 NL80211_ATTR_WIPHY_ANTENNA_TX,
999 NL80211_ATTR_WIPHY_ANTENNA_RX, 1001 NL80211_ATTR_WIPHY_ANTENNA_RX,
1000 1002
1003 NL80211_ATTR_MCAST_RATE,
1004
1001 /* add attributes here, update the policy in nl80211.c */ 1005 /* add attributes here, update the policy in nl80211.c */
1002 1006
1003 __NL80211_ATTR_AFTER_LAST, 1007 __NL80211_ATTR_AFTER_LAST,
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 07425e648a09..8fd9eebd0cc9 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -923,6 +923,7 @@ struct cfg80211_disassoc_request {
923 * @privacy: this is a protected network, keys will be configured 923 * @privacy: this is a protected network, keys will be configured
924 * after joining 924 * after joining
925 * @basic_rates: bitmap of basic rates to use when creating the IBSS 925 * @basic_rates: bitmap of basic rates to use when creating the IBSS
926 * @mcast_rate: multicast tx rate (in 100 kbps)
926 */ 927 */
927struct cfg80211_ibss_params { 928struct cfg80211_ibss_params {
928 u8 *ssid; 929 u8 *ssid;
@@ -934,6 +935,7 @@ struct cfg80211_ibss_params {
934 u32 basic_rates; 935 u32 basic_rates;
935 bool channel_fixed; 936 bool channel_fixed;
936 bool privacy; 937 bool privacy;
938 int mcast_rate;
937}; 939};
938 940
939/** 941/**