Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Sujith <Sujith.Manoharan@atheros.com>
Cc: linville@tuxdriver.com, linux-wireless@vger.kernel.org
Subject: Re: [PATCH v2] mac80211: Add documentation bits for mac80211_rate_control_flags
Date: Thu, 22 Jan 2009 11:14:55 +0100	[thread overview]
Message-ID: <1232619295.30174.0.camel@johannes.local> (raw)
In-Reply-To: <18807.59500.605111.97993@gargle.gargle.HOWL>

[-- Attachment #1: Type: text/plain, Size: 1814 bytes --]

On Thu, 2009-01-22 at 09:00 +0530, Sujith wrote:
> Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>

Thanks.
Acked-by: Johannes Berg <johannes@sipsolutions.net>

> ---
> v2:
> --
> Replace 'can' with 'should'.
> 
>  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 9a5869e..2e72a12 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -262,6 +262,26 @@ enum mac80211_tx_control_flags {
>  	IEEE80211_TX_CTL_RATE_CTRL_PROBE	= BIT(12),
>  };
>  
> +/**
> + * enum mac80211_rate_control_flags - per-rate flags set by the
> + *	Rate Control algorithm.
> + *
> + * These flags are set by the Rate control algorithm for each rate during tx,
> + * in the @flags member of struct ieee80211_tx_rate.
> + *
> + * @IEEE80211_TX_RC_USE_RTS_CTS: Use RTS/CTS exchange for this rate.
> + * @IEEE80211_TX_RC_USE_CTS_PROTECT: CTS-to-self protection is required.
> + *	This is set if the current BSS requires ERP protection.
> + * @IEEE80211_TX_RC_USE_SHORT_PREAMBLE: Use short preamble.
> + * @IEEE80211_TX_RC_MCS: HT rate.
> + * @IEEE80211_TX_RC_GREEN_FIELD: Indicates whether this rate should be used in
> + *	Greenfield mode.
> + * @IEEE80211_TX_RC_40_MHZ_WIDTH: Indicates if the Channel Width should be 40 MHz.
> + * @IEEE80211_TX_RC_DUP_DATA: The frame should be transmitted on both of the
> + *	adjacent 20 MHz channels, if the current channel type is
> + *	NL80211_CHAN_HT40MINUS or NL80211_CHAN_HT40PLUS.
> + * @IEEE80211_TX_RC_SHORT_GI: Short Guard interval should be used for this rate.
> + */
>  enum mac80211_rate_control_flags {
>  	IEEE80211_TX_RC_USE_RTS_CTS		= BIT(0),
>  	IEEE80211_TX_RC_USE_CTS_PROTECT		= BIT(1),

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2009-01-22 10:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22  3:30 [PATCH v2] mac80211: Add documentation bits for mac80211_rate_control_flags Sujith
2009-01-22 10:14 ` Johannes Berg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232619295.30174.0.camel@johannes.local \
    --to=johannes@sipsolutions.net \
    --cc=Sujith.Manoharan@atheros.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox