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@xxxxxxxxxxx> > --- > 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 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html