[PATCH] zd1211rw: Packet filter fix for managed (STA) mode
I had problems with my AVM Fritz!Box access point. It appeared that the AP deauthorized me and the softmac didn't reconnect me. This patch handles the problem. 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
b269825b9b
commit
fde627b54c
@@ -797,7 +797,7 @@ static int zd1211_hw_init_hmac(struct zd_chip *chip)
|
||||
{ CR_ADDA_MBIAS_WARMTIME, 0x30000808 },
|
||||
{ CR_ZD1211_RETRY_MAX, 0x2 },
|
||||
{ CR_SNIFFER_ON, 0 },
|
||||
{ CR_RX_FILTER, AP_RX_FILTER },
|
||||
{ CR_RX_FILTER, STA_RX_FILTER },
|
||||
{ CR_GROUP_HASH_P1, 0x00 },
|
||||
{ CR_GROUP_HASH_P2, 0x80000000 },
|
||||
{ CR_REG1, 0xa4 },
|
||||
@@ -844,7 +844,7 @@ static int zd1211b_hw_init_hmac(struct zd_chip *chip)
|
||||
{ CR_ZD1211B_AIFS_CTL2, 0x008C003C },
|
||||
{ CR_ZD1211B_TXOP, 0x01800824 },
|
||||
{ CR_SNIFFER_ON, 0 },
|
||||
{ CR_RX_FILTER, AP_RX_FILTER },
|
||||
{ CR_RX_FILTER, STA_RX_FILTER },
|
||||
{ CR_GROUP_HASH_P1, 0x00 },
|
||||
{ CR_GROUP_HASH_P2, 0x80000000 },
|
||||
{ CR_REG1, 0xa4 },
|
||||
|
Reference in New Issue
Block a user