diff options
author | Simon Wunderlich <simon.wunderlich@s2003.tu-chemnitz.de> | 2012-03-07 15:31:13 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-03-08 14:05:07 -0500 |
commit | f44d4eb54432a0109ff15b2669c91f061428ff39 (patch) | |
tree | 6ba6fa01e54a595f3da88ad8d53536938c6a40c4 /include/net | |
parent | 1353a7ba7ebe62dedc60a5ba75c434cfad960ede (diff) |
mac80211: update ieee80211_tx_rate_control kerneldoc
* add entry for rate_idx_mcs_mask
* fix order of entries to represent the structs' order
Signed-off-by: Simon Wunderlich <siwu@hrz.tu-chemnitz.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/mac80211.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index c06974accfa6..f7917f765cbc 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -3568,6 +3568,8 @@ enum rate_control_changed { | |||
3568 | * @hw: The hardware the algorithm is invoked for. | 3568 | * @hw: The hardware the algorithm is invoked for. |
3569 | * @sband: The band this frame is being transmitted on. | 3569 | * @sband: The band this frame is being transmitted on. |
3570 | * @bss_conf: the current BSS configuration | 3570 | * @bss_conf: the current BSS configuration |
3571 | * @skb: the skb that will be transmitted, the control information in it needs | ||
3572 | * to be filled in | ||
3571 | * @reported_rate: The rate control algorithm can fill this in to indicate | 3573 | * @reported_rate: The rate control algorithm can fill this in to indicate |
3572 | * which rate should be reported to userspace as the current rate and | 3574 | * which rate should be reported to userspace as the current rate and |
3573 | * used for rate calculations in the mesh network. | 3575 | * used for rate calculations in the mesh network. |
@@ -3575,12 +3577,11 @@ enum rate_control_changed { | |||
3575 | * RTS threshold | 3577 | * RTS threshold |
3576 | * @short_preamble: whether mac80211 will request short-preamble transmission | 3578 | * @short_preamble: whether mac80211 will request short-preamble transmission |
3577 | * if the selected rate supports it | 3579 | * if the selected rate supports it |
3578 | * @max_rate_idx: user-requested maximum rate (not MCS for now) | 3580 | * @max_rate_idx: user-requested maximum (legacy) rate |
3579 | * (deprecated; this will be removed once drivers get updated to use | 3581 | * (deprecated; this will be removed once drivers get updated to use |
3580 | * rate_idx_mask) | 3582 | * rate_idx_mask) |
3581 | * @rate_idx_mask: user-requested rate mask (not MCS for now) | 3583 | * @rate_idx_mask: user-requested (legacy) rate mask |
3582 | * @skb: the skb that will be transmitted, the control information in it needs | 3584 | * @rate_idx_mcs_mask: user-requested MCS rate mask |
3583 | * to be filled in | ||
3584 | * @bss: whether this frame is sent out in AP or IBSS mode | 3585 | * @bss: whether this frame is sent out in AP or IBSS mode |
3585 | */ | 3586 | */ |
3586 | struct ieee80211_tx_rate_control { | 3587 | struct ieee80211_tx_rate_control { |