netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ulrich Kunitz <kune@deine-taler.de>
To: linville@tuxdriver.com
Cc: netdev@vger.kernel.org, dsd@gentoo.org
Subject: [PATCH 2/6] zd1211rw: Pass more management frame types up to host
Date: Tue, 01 Aug 2006 23:43:31 +0200	[thread overview]
Message-ID: <1154468615613-git-send-email-kune@deine-taler.de> (raw)
In-Reply-To: <1154468615618-git-send-email-kune@deine-taler.de>

From: Daniel Drake <dsd@gentoo.org>

We'll be needing these at some point...

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Ulrich Kunitz <kune@deine-taler.de>
---
 drivers/net/wireless/zd1211rw/zd_chip.h |    4 +++-
 drivers/net/wireless/zd1211rw/zd_mac.c  |    6 ++++--
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/drivers/net/wireless/zd1211rw/zd_chip.h b/drivers/net/wireless/zd1211rw/zd_chip.h
index 8051210..0eb9c8f 100644
--- a/drivers/net/wireless/zd1211rw/zd_chip.h
+++ b/drivers/net/wireless/zd1211rw/zd_chip.h
@@ -461,10 +461,12 @@ #define CR_UNDERRUN_CNT			CTL_REG(0x0688
 
 #define CR_RX_FILTER			CTL_REG(0x068c)
 #define RX_FILTER_ASSOC_RESPONSE	0x0002
+#define RX_FILTER_REASSOC_RESPONSE	0x0008
 #define RX_FILTER_PROBE_RESPONSE	0x0020
 #define RX_FILTER_BEACON		0x0100
+#define RX_FILTER_DISASSOC		0x0400
 #define RX_FILTER_AUTH			0x0800
-/* Sniff modus sets filter to 0xfffff */
+/* Monitor mode sets filter to 0xfffff */
 
 #define CR_ACK_TIMEOUT_EXT		CTL_REG(0x0690)
 #define CR_BCN_FIFO_SEMAPHORE		CTL_REG(0x0694)
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c
index b394303..1cf1fda 100644
--- a/drivers/net/wireless/zd1211rw/zd_mac.c
+++ b/drivers/net/wireless/zd1211rw/zd_mac.c
@@ -136,8 +136,10 @@ static int reset_mode(struct zd_mac *mac
 {
 	struct ieee80211_device *ieee = zd_mac_to_ieee80211(mac);
 	struct zd_ioreq32 ioreqs[3] = {
-		{ CR_RX_FILTER, RX_FILTER_BEACON|RX_FILTER_PROBE_RESPONSE|
-			        RX_FILTER_AUTH|RX_FILTER_ASSOC_RESPONSE },
+		{ CR_RX_FILTER, RX_FILTER_BEACON | RX_FILTER_PROBE_RESPONSE |
+			        RX_FILTER_AUTH | RX_FILTER_ASSOC_RESPONSE |
+				RX_FILTER_REASSOC_RESPONSE |
+				RX_FILTER_DISASSOC },
 		{ CR_SNIFFER_ON, 0U },
 		{ CR_ENCRYPTION_TYPE, NO_WEP },
 	};
-- 
1.4.1


  parent reply	other threads:[~2006-08-01 21:43 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-01 21:43 [PATCH] zd1211rw: six urgent upstream fixes Ulrich Kunitz
2006-08-01 21:43 ` [PATCH 1/6] zd1211rw: Fixes radiotap header Ulrich Kunitz
2006-08-01 21:43 ` Ulrich Kunitz [this message]
2006-08-02 21:58   ` [PATCH 2/6] zd1211rw: Pass more management frame types up to host John W. Linville
2006-08-03  6:09     ` Ulrich Kunitz
2006-08-03 13:32       ` John W. Linville
2006-08-01 21:43 ` [PATCH 3/6] zd1211rw: Fix software encryption/decryption Ulrich Kunitz
2006-08-01 21:43 ` [PATCH 4/6] zd1211rw: Remove bogus assert Ulrich Kunitz
2006-08-01 21:43 ` [PATCH 5/6] zd1211rw: Fixed endianess issue with length info tag detection Ulrich Kunitz
2006-08-01 21:43 ` [PATCH 6/6] zd1211rw: Packet filter fix for managed (STA) mode Ulrich Kunitz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1154468615613-git-send-email-kune@deine-taler.de \
    --to=kune@deine-taler.de \
    --cc=dsd@gentoo.org \
    --cc=linville@tuxdriver.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).