Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Arik Nemtsov <arik@wizery.com>
Cc: linux-wireless@vger.kernel.org, Luciano Coelho <coelho@ti.com>
Subject: Re: [PATCH 1/2] mac80211: add flag to indicate HW only Tx-agg support
Date: Mon, 29 Aug 2011 08:21:06 +0200	[thread overview]
Message-ID: <1314598866.4562.2.camel@jlt3.sipsolutions.net> (raw)
In-Reply-To: <1314265865-20208-1-git-send-email-arik@wizery.com> (sfid-20110825_115114_645102_D5D8A23E)

On Thu, 2011-08-25 at 12:51 +0300, Arik Nemtsov wrote:
> When this flag is set, Tx aggregations will not be initiated even
> if the hardware supports A-MPDU aggregation in general. This flag
> is required for devices supporting (partial) software Rx-aggregation.
> 
> Signed-off-by: Arik Nemtsov <arik@wizery.com>
> ---
>  include/net/mac80211.h |    4 ++++
>  net/mac80211/agg-tx.c  |    3 ++-
>  net/mac80211/debugfs.c |    2 ++
>  net/mac80211/tx.c      |    3 ++-
>  4 files changed, 10 insertions(+), 2 deletions(-)
> 
> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index 2f01d84..b21a5bb 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -1094,6 +1094,9 @@ enum sta_notify_cmd {
>   *	stations based on the PM bit of incoming frames.
>   *	Use ieee80211_start_ps()/ieee8021_end_ps() to manually configure
>   *	the PS mode of connected stations.
> + *
> + * @IEEE80211_HW_TX_AMPDU_IN_HW_ONLY: The device handles TX aggregation
> + *	strictly in HW. Packets should not be aggregated in software.

In addition to the discussion with Helmut -- this is also misleading
since mac80211 doesn't, right now, aggregate anything in software -- it
just handles session setup (which is what you don't want).

johannes


  parent reply	other threads:[~2011-08-29  6:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-25  9:51 [PATCH 1/2] mac80211: add flag to indicate HW only Tx-agg support Arik Nemtsov
2011-08-25  9:51 ` [PATCH 2/2] wl12xx: set mac80211 flags for aggregation support Arik Nemtsov
2011-08-25  9:59   ` Luciano Coelho
2011-08-25 12:18 ` [PATCH 1/2] mac80211: add flag to indicate HW only Tx-agg support Helmut Schaa
2011-08-25 12:38   ` Arik Nemtsov
2011-08-25 12:54     ` Helmut Schaa
2011-08-25 13:09       ` Arik Nemtsov
2011-08-29  6:21 ` Johannes Berg [this message]
2011-08-29 19:43   ` Arik Nemtsov

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=1314598866.4562.2.camel@jlt3.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=arik@wizery.com \
    --cc=coelho@ti.com \
    --cc=linux-wireless@vger.kernel.org \
    /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