summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/zd1211rw/zd_chip.h
diff options
context:
space:
mode:
authorUlrich Kunitz <kune@deine-taler.de>2007-07-21 22:42:13 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:34 -0700
commitc5691235cf70ae2bd71c1f445eb991191530ec6c (patch)
tree9ef5650cca1e85fce72c8d441036cd15dad62e0c /drivers/net/wireless/zd1211rw/zd_chip.h
parentcc0b88cf5ecf13cdd750f08e201ce8fadcdb601f (diff)
downloadop-kernel-dev-c5691235cf70ae2bd71c1f445eb991191530ec6c.zip
op-kernel-dev-c5691235cf70ae2bd71c1f445eb991191530ec6c.tar.gz
[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>
Diffstat (limited to 'drivers/net/wireless/zd1211rw/zd_chip.h')
-rw-r--r--drivers/net/wireless/zd1211rw/zd_chip.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h
index f469857..8009b70 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.h
+++ b/drivers/net/wireless/zd1211rw/zd_chip.h
@@ -871,11 +871,6 @@ static inline int zd_chip_set_basic_rates(struct zd_chip *chip, u16 cr_rates)
return r;
}
-static inline int zd_chip_set_rx_filter(struct zd_chip *chip, u32 filter)
-{
- return zd_iowrite32(chip, CR_RX_FILTER, filter);
-}
-
int zd_chip_lock_phy_regs(struct zd_chip *chip);
int zd_chip_unlock_phy_regs(struct zd_chip *chip);
OpenPOWER on IntegriCloud