Return-path: Received: from nbd.name ([46.4.11.11]:51402 "EHLO nbd.name" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753243Ab3EZOFM (ORCPT ); Sun, 26 May 2013 10:05:12 -0400 From: Felix Fietkau To: linux-wireless@vger.kernel.org Cc: johannes@sipsolutions.net Subject: [PATCH 1/3] cfg80211: support an active monitor interface flag Date: Sun, 26 May 2013 16:05:05 +0200 Message-Id: <1369577107-87931-1-git-send-email-nbd@openwrt.org> (sfid-20130526_160533_930934_4479AD62) Sender: linux-wireless-owner@vger.kernel.org List-ID: An active monitor interface is one that is used for communication (via injection). It is expected to ACK incoming unicast packets. This is useful for running various 802.11 testing utilities that associate to an AP via injection and manage the state in user space. Signed-off-by: Felix Fietkau --- include/net/cfg80211.h | 1 + include/uapi/linux/nl80211.h | 3 +++ net/wireless/nl80211.c | 1 + 3 files changed, 5 insertions(+) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 26b5b69..489821f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -954,6 +954,7 @@ enum monitor_flags { MONITOR_FLAG_CONTROL = 1<