diff options
author | John W. Linville <linville@tuxdriver.com> | 2011-05-05 13:32:35 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-05-05 13:32:35 -0400 |
commit | a70171dce9cd44cb06c7d299eba9fa87a8933045 (patch) | |
tree | 5425df5f33fadc617c7dec99578d06f0d933578e /include/net/mac80211.h | |
parent | 5a412ad7f4c95bb5b756aa12b52646e857e7c75d (diff) | |
parent | eaef6a93bd52a2cc47b9fce201310010707afdb4 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem
Conflicts:
drivers/net/wireless/libertas/if_cs.c
drivers/net/wireless/rtlwifi/pci.c
net/bluetooth/l2cap_sock.c
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index d23dd6c1329c..db4b6b9f3977 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -1822,6 +1822,10 @@ enum ieee80211_ampdu_mlme_action { | |||
1822 | * | 1822 | * |
1823 | * @tx_frames_pending: Check if there is any pending frame in the hardware | 1823 | * @tx_frames_pending: Check if there is any pending frame in the hardware |
1824 | * queues before entering power save. | 1824 | * queues before entering power save. |
1825 | * | ||
1826 | * @set_bitrate_mask: Set a mask of rates to be used for rate control selection | ||
1827 | * when transmitting a frame. Currently only legacy rates are handled. | ||
1828 | * The callback can sleep. | ||
1825 | */ | 1829 | */ |
1826 | struct ieee80211_ops { | 1830 | struct ieee80211_ops { |
1827 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); | 1831 | void (*tx)(struct ieee80211_hw *hw, struct sk_buff *skb); |
@@ -1910,6 +1914,8 @@ struct ieee80211_ops { | |||
1910 | void (*get_ringparam)(struct ieee80211_hw *hw, | 1914 | void (*get_ringparam)(struct ieee80211_hw *hw, |
1911 | u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); | 1915 | u32 *tx, u32 *tx_max, u32 *rx, u32 *rx_max); |
1912 | bool (*tx_frames_pending)(struct ieee80211_hw *hw); | 1916 | bool (*tx_frames_pending)(struct ieee80211_hw *hw); |
1917 | int (*set_bitrate_mask)(struct ieee80211_hw *hw, struct ieee80211_vif *vif, | ||
1918 | const struct cfg80211_bitrate_mask *mask); | ||
1913 | }; | 1919 | }; |
1914 | 1920 | ||
1915 | /** | 1921 | /** |
@@ -2292,6 +2298,17 @@ void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw, | |||
2292 | struct sk_buff *skb); | 2298 | struct sk_buff *skb); |
2293 | 2299 | ||
2294 | /** | 2300 | /** |
2301 | * ieee80211_report_low_ack - report non-responding station | ||
2302 | * | ||
2303 | * When operating in AP-mode, call this function to report a non-responding | ||
2304 | * connected STA. | ||
2305 | * | ||
2306 | * @sta: the non-responding connected sta | ||
2307 | * @num_packets: number of packets sent to @sta without a response | ||
2308 | */ | ||
2309 | void ieee80211_report_low_ack(struct ieee80211_sta *sta, u32 num_packets); | ||
2310 | |||
2311 | /** | ||
2295 | * ieee80211_beacon_get_tim - beacon generation function | 2312 | * ieee80211_beacon_get_tim - beacon generation function |
2296 | * @hw: pointer obtained from ieee80211_alloc_hw(). | 2313 | * @hw: pointer obtained from ieee80211_alloc_hw(). |
2297 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. | 2314 | * @vif: &struct ieee80211_vif pointer from the add_interface callback. |