aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/net/mac80211.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index e2fb5767e1fa..467eed71be22 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -338,6 +338,21 @@ enum mac80211_rate_control_flags {
338 * 338 *
339 * When used for transmit status reporting, the driver should 339 * When used for transmit status reporting, the driver should
340 * always report the rate along with the flags it used. 340 * always report the rate along with the flags it used.
341 *
342 * &struct ieee80211_tx_info contains an array of these structs
343 * in the control information, and it will be filled by the rate
344 * control algorithm according to what should be sent. For example,
345 * if this array contains, in the format { <idx>, <count> } the
346 * information
347 * { 3, 2 }, { 2, 2 }, { 1, 4 }, { -1, 0 }, { -1, 0 }
348 * then this means that the frame should be transmitted
349 * up to twice at rate 3, up to twice at rate 2, and up to four
350 * times at rate 1 if it doesn't get acknowledged. Say it gets
351 * acknowledged by the peer after the fifth attempt, the status
352 * information should then contain
353 * { 3, 2 }, { 2, 2 }, { 1, 1 }, { -1, 0 } ...
354 * since it was transmitted twice at rate 3, twice at rate 2
355 * and once at rate 1 after which we received an acknowledgement.
341 */ 356 */
342struct ieee80211_tx_rate { 357struct ieee80211_tx_rate {
343 s8 idx; 358 s8 idx;