diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-05-28 11:10:41 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-05-28 11:10:41 +0000 |
commit | fbe37f1e87c47fddb562fd1cd84f1ee2240f97e5 (patch) | |
tree | c0a0e7af367d09fa9a87a2e734d4baa526cd950d /package/network/utils/iw/patches/130-monitor_active.patch | |
parent | cf58fd647b519abc38b8d3ad78260ca6921c4380 (diff) | |
download | master-187ad058-fbe37f1e87c47fddb562fd1cd84f1ee2240f97e5.tar.gz master-187ad058-fbe37f1e87c47fddb562fd1cd84f1ee2240f97e5.tar.bz2 master-187ad058-fbe37f1e87c47fddb562fd1cd84f1ee2240f97e5.zip |
mac80211: add support for "active" monitor interfaces which allow userspace tools to connect to APs via injection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36743 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iw/patches/130-monitor_active.patch')
-rw-r--r-- | package/network/utils/iw/patches/130-monitor_active.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/package/network/utils/iw/patches/130-monitor_active.patch b/package/network/utils/iw/patches/130-monitor_active.patch new file mode 100644 index 0000000000..9d19ae9a12 --- /dev/null +++ b/package/network/utils/iw/patches/130-monitor_active.patch @@ -0,0 +1,20 @@ +--- a/interface.c ++++ b/interface.c +@@ -16,7 +16,8 @@ + "fcsfail: show frames with FCS errors\n"\ + "control: show control frames\n"\ + "otherbss: show frames from other BSSes\n"\ +- "cook: use cooked mode" ++ "cook: use cooked mode\n"\ ++ "active: use active mode (ACK incoming unicast packets)" + + SECTION(interface); + +@@ -27,6 +28,7 @@ static char *mntr_flags[NL80211_MNTR_FLA + "control", + "otherbss", + "cook", ++ "active", + }; + + static int parse_mntr_flags(int *_argc, char ***_argv, |