[PATCH] iw: support skip TX monitor flag

Alex Gavin <[email protected]>
Newsgroups org.kernel.vger.linux-wireless
Message-ID <[email protected]>
Usage:
iw dev wlan0 set monitor skiptx

Signed-off-by: Alex Gavin <[email protected]>
---
 interface.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/interface.c b/interface.c
index 65a4006..c01fc61 100644
--- a/interface.c
+++ b/interface.c
@@ -17,6 +17,7 @@
 			"otherbss: show frames from other BSSes\n"\
 			"cook:     use cooked mode\n"\
 			"active:   use active mode (ACK incoming unicast packets)\n"\
+			"skiptx:   do not pass local TX packets\n"\
 			"mumimo-groupid <GROUP_ID>: use MUMIMO according to a group id\n"\
 			"mumimo-follow-mac <MAC_ADDRESS>: use MUMIMO according to a MAC address"
 
@@ -30,6 +31,7 @@ static char *mntr_flags[NL80211_MNTR_FLAG_MAX + 1] = {
 	"otherbss",
 	"cook",
 	"active",
+	"skiptx",
 };
 
 static int parse_mumimo_options(int *_argc, char ***_argv, struct nl_msg *msg)
-- 
2.54.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.