aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/mac80211.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-11-11 09:07:23 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-11-16 16:39:08 -0500
commit8f0729b16ae354f9db89394fc1d2d65003455d56 (patch)
tree260a562d0c0079ebfc1c507c9aa50e55a1592b6d /include/net/mac80211.h
parent885a46d0f7942d76c2f3860acb45f75237d3bb42 (diff)
mac80211: 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/net/mac80211.h')
-rw-r--r--include/net/mac80211.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index af7e84199e62..1248369a7c30 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -205,6 +205,7 @@ enum ieee80211_bss_change {
205 * @basic_rates: bitmap of basic rates, each bit stands for an 205 * @basic_rates: bitmap of basic rates, each bit stands for an
206 * index into the rate table configured by the driver in 206 * index into the rate table configured by the driver in
207 * the current band. 207 * the current band.
208 * @mcast_rate: multicast rate for AP and Ad-Hoc (in 100 kbps)
208 * @bssid: The BSSID for this BSS 209 * @bssid: The BSSID for this BSS
209 * @enable_beacon: whether beaconing should be enabled or not 210 * @enable_beacon: whether beaconing should be enabled or not
210 * @channel_type: Channel type for this BSS -- the hardware might be 211 * @channel_type: Channel type for this BSS -- the hardware might be
@@ -244,6 +245,7 @@ struct ieee80211_bss_conf {
244 u16 assoc_capability; 245 u16 assoc_capability;
245 u64 timestamp; 246 u64 timestamp;
246 u32 basic_rates; 247 u32 basic_rates;
248 u32 mcast_rate;
247 u16 ht_operation_mode; 249 u16 ht_operation_mode;
248 s32 cqm_rssi_thold; 250 s32 cqm_rssi_thold;
249 u32 cqm_rssi_hyst; 251 u32 cqm_rssi_hyst;
@@ -2663,7 +2665,7 @@ enum rate_control_changed {
2663 * @rate_idx_mask: user-requested rate mask (not MCS for now) 2665 * @rate_idx_mask: user-requested rate mask (not MCS for now)
2664 * @skb: the skb that will be transmitted, the control information in it needs 2666 * @skb: the skb that will be transmitted, the control information in it needs
2665 * to be filled in 2667 * to be filled in
2666 * @ap: whether this frame is sent out in AP mode 2668 * @bss: whether this frame is sent out in AP or IBSS mode
2667 */ 2669 */
2668struct ieee80211_tx_rate_control { 2670struct ieee80211_tx_rate_control {
2669 struct ieee80211_hw *hw; 2671 struct ieee80211_hw *hw;
@@ -2674,7 +2676,7 @@ struct ieee80211_tx_rate_control {
2674 bool rts, short_preamble; 2676 bool rts, short_preamble;
2675 u8 max_rate_idx; 2677 u8 max_rate_idx;
2676 u32 rate_idx_mask; 2678 u32 rate_idx_mask;
2677 bool ap; 2679 bool bss;
2678}; 2680};
2679 2681
2680struct rate_control_ops { 2682struct rate_control_ops {