On Thu, Sep 15, 2011 at 13:25, Arik Nemtsov <arik@xxxxxxxxxx> wrote: > Allow TDLS operations and peers only in supporting hardware. > > Signed-off-by: Arik Nemtsov <arik@xxxxxxxxxx> > Cc: Kalyan C Gaddam <chakkal@xxxxxxx> > --- > include/net/mac80211.h | 4 ++++ > net/mac80211/cfg.c | 11 +++++++++++ > 2 files changed, 15 insertions(+), 0 deletions(-) > > diff --git a/include/net/mac80211.h b/include/net/mac80211.h > index 2f01d84..25bd038 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_SUPPORTS_TDLS: > + * This device can operate as a TDLS (802.11z) peer. > */ I think that for v2 I'll replace this with a wiphy flag that will also be propagated to usermode. An additional wiphy flag (something like TDLS_EXTERNAL_LINK_SETUP) will toggle between the full-mac mode and the mode used in mac80211. Arik -- 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