]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] zd1211rw: monitor all packets
authorUlrich Kunitz <kune@deine-taler.de>
Sat, 21 Jul 2007 21:42:13 +0000 (22:42 +0100)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 10 Oct 2007 23:49:34 +0000 (16:49 -0700)
commit1ab830de488dc2b23ad44ee5ae7e920666691050
tree9ef5650cca1e85fce72c8d441036cd15dad62e0c
parent018a52979a0db1c286487d822198793f2b3ade93
[PATCH] zd1211rw: monitor all packets

While in monitor mode the zd1211rw received only a limited
set of packets. This patch forwards now all packets the device
receives. Notify that while monitoring no FCS checks are done; so
strange packets might appear in the network sniffer of your
choice.

ATTENTION: Support for multiple interfaces on a single ZD1211
device is currently broken. So this code works only on the first
interface.

Here is an example to put the device in monitor mode.

iwconfig wlan0 mode monitor
ifconfig wlan0 up
iwconfig wlan0 channel 10

[dsd@gentoo.org: backport to mainline]
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/zd1211rw/zd_chip.h
drivers/net/wireless/zd1211rw/zd_mac.c