diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-01-21 22:30:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:01:10 -0500 |
commit | 2134e7e724798cf8d54ae822afe235abb607d9b2 (patch) | |
tree | 3f409a1615d0d1d61dbce9242028b6249a67c8cb /include/net/mac80211.h | |
parent | e129a948c906200db87727822559c09b62278824 (diff) |
mac80211: Add documentation bits for mac80211_rate_control_flags
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/net/mac80211.h')
-rw-r--r-- | include/net/mac80211.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index c76484009baa..634c08de6acb 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
@@ -262,6 +262,26 @@ enum mac80211_tx_control_flags { | |||
262 | IEEE80211_TX_CTL_RATE_CTRL_PROBE = BIT(12), | 262 | IEEE80211_TX_CTL_RATE_CTRL_PROBE = BIT(12), |
263 | }; | 263 | }; |
264 | 264 | ||
265 | /** | ||
266 | * enum mac80211_rate_control_flags - per-rate flags set by the | ||
267 | * Rate Control algorithm. | ||
268 | * | ||
269 | * These flags are set by the Rate control algorithm for each rate during tx, | ||
270 | * in the @flags member of struct ieee80211_tx_rate. | ||
271 | * | ||
272 | * @IEEE80211_TX_RC_USE_RTS_CTS: Use RTS/CTS exchange for this rate. | ||
273 | * @IEEE80211_TX_RC_USE_CTS_PROTECT: CTS-to-self protection is required. | ||
274 | * This is set if the current BSS requires ERP protection. | ||
275 | * @IEEE80211_TX_RC_USE_SHORT_PREAMBLE: Use short preamble. | ||
276 | * @IEEE80211_TX_RC_MCS: HT rate. | ||
277 | * @IEEE80211_TX_RC_GREEN_FIELD: Indicates whether this rate should be used in | ||
278 | * Greenfield mode. | ||
279 | * @IEEE80211_TX_RC_40_MHZ_WIDTH: Indicates if the Channel Width should be 40 MHz. | ||
280 | * @IEEE80211_TX_RC_DUP_DATA: The frame should be transmitted on both of the | ||
281 | * adjacent 20 MHz channels, if the current channel type is | ||
282 | * NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS. | ||
283 | * @IEEE80211_TX_RC_SHORT_GI: Short Guard interval should be used for this rate. | ||
284 | */ | ||
265 | enum mac80211_rate_control_flags { | 285 | enum mac80211_rate_control_flags { |
266 | IEEE80211_TX_RC_USE_RTS_CTS = BIT(0), | 286 | IEEE80211_TX_RC_USE_RTS_CTS = BIT(0), |
267 | IEEE80211_TX_RC_USE_CTS_PROTECT = BIT(1), | 287 | IEEE80211_TX_RC_USE_CTS_PROTECT = BIT(1), |