[PATCH] zd1211rw: Pass more management frame types up to host
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> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
John W. Linville
parent
99f65f25c1
commit
71eae25ece
@@ -461,10 +461,12 @@
|
|||||||
|
|
||||||
#define CR_RX_FILTER CTL_REG(0x068c)
|
#define CR_RX_FILTER CTL_REG(0x068c)
|
||||||
#define RX_FILTER_ASSOC_RESPONSE 0x0002
|
#define RX_FILTER_ASSOC_RESPONSE 0x0002
|
||||||
|
#define RX_FILTER_REASSOC_RESPONSE 0x0008
|
||||||
#define RX_FILTER_PROBE_RESPONSE 0x0020
|
#define RX_FILTER_PROBE_RESPONSE 0x0020
|
||||||
#define RX_FILTER_BEACON 0x0100
|
#define RX_FILTER_BEACON 0x0100
|
||||||
|
#define RX_FILTER_DISASSOC 0x0400
|
||||||
#define RX_FILTER_AUTH 0x0800
|
#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_ACK_TIMEOUT_EXT CTL_REG(0x0690)
|
||||||
#define CR_BCN_FIFO_SEMAPHORE CTL_REG(0x0694)
|
#define CR_BCN_FIFO_SEMAPHORE CTL_REG(0x0694)
|
||||||
|
@@ -136,8 +136,10 @@ static int reset_mode(struct zd_mac *mac)
|
|||||||
{
|
{
|
||||||
struct ieee80211_device *ieee = zd_mac_to_ieee80211(mac);
|
struct ieee80211_device *ieee = zd_mac_to_ieee80211(mac);
|
||||||
struct zd_ioreq32 ioreqs[3] = {
|
struct zd_ioreq32 ioreqs[3] = {
|
||||||
{ CR_RX_FILTER, RX_FILTER_BEACON|RX_FILTER_PROBE_RESPONSE|
|
{ CR_RX_FILTER, RX_FILTER_BEACON | RX_FILTER_PROBE_RESPONSE |
|
||||||
RX_FILTER_AUTH|RX_FILTER_ASSOC_RESPONSE },
|
RX_FILTER_AUTH | RX_FILTER_ASSOC_RESPONSE |
|
||||||
|
RX_FILTER_REASSOC_RESPONSE |
|
||||||
|
RX_FILTER_DISASSOC },
|
||||||
{ CR_SNIFFER_ON, 0U },
|
{ CR_SNIFFER_ON, 0U },
|
||||||
{ CR_ENCRYPTION_TYPE, NO_WEP },
|
{ CR_ENCRYPTION_TYPE, NO_WEP },
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user