Linux wireless drivers development
 help / color / mirror / Atom feed
From: Johannes Berg <johannes@sipsolutions.net>
To: Felix Fietkau <nbd@openwrt.org>
Cc: linux-wireless@vger.kernel.org
Subject: Re: [PATCH 2/3] mac80211: support active monitor interfaces
Date: Mon, 27 May 2013 10:42:38 +0200	[thread overview]
Message-ID: <1369644158.8229.5.camel@jlt4.sipsolutions.net> (raw)
In-Reply-To: <1369577107-87931-2-git-send-email-nbd@openwrt.org>

On Sun, 2013-05-26 at 16:05 +0200, Felix Fietkau wrote:
> Support them only if the driver advertises support for them via
> IEEE80211_HW_SUPPORTS_ACTIVE_MONITOR. Unlike normal monitor interfaces,
> they are added to the driver, along with their MAC address.
> 
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> ---
>  include/net/mac80211.h     |  5 +++++
>  net/mac80211/cfg.c         | 11 +++++++----
>  net/mac80211/driver-ops.h  |  3 ++-
>  net/mac80211/ieee80211_i.h |  2 +-
>  net/mac80211/iface.c       | 33 ++++++++++++++++++++++++++-------
>  net/mac80211/util.c        |  6 ++++++
>  6 files changed, 47 insertions(+), 13 deletions(-)
> 
> diff --git a/include/net/mac80211.h b/include/net/mac80211.h
> index 885898a..b80c5cd 100644
> --- a/include/net/mac80211.h
> +++ b/include/net/mac80211.h
> @@ -1455,6 +1455,10 @@ struct ieee80211_tx_control {
>   *
>   * @IEEE80211_HW_TIMING_BEACON_ONLY: Use sync timing from beacon frames
>   *	only, to allow getting TBTT of a DTIM beacon.
> + *
> + * @IEEE80211_HW_SUPPORTS_ACTIVE_MONITOR: Device supports an active monitor
> + *	interface that responds to unicast packets directed at its MAC
> + *	address.

... basically moving this to nl80211

johannes


  reply	other threads:[~2013-05-27  8:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-26 14:05 [PATCH 1/3] cfg80211: support an active monitor interface flag Felix Fietkau
2013-05-26 14:05 ` [PATCH 2/3] mac80211: support active monitor interfaces Felix Fietkau
2013-05-27  8:42   ` Johannes Berg [this message]
2013-05-27  8:50   ` Johannes Berg
2013-05-26 14:05 ` [PATCH 3/3] ath9k: advertise support for " Felix Fietkau
2013-05-27  8:42 ` [PATCH 1/3] cfg80211: support an active monitor interface flag Johannes Berg

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=1369644158.8229.5.camel@jlt4.sipsolutions.net \
    --to=johannes@sipsolutions.net \
    --cc=linux-wireless@vger.kernel.org \
    --cc=nbd@openwrt.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