aboutsummaryrefslogtreecommitdiffstats
path: root/package/mac80211/patches/520-ath0k_hw_mcast_search.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-06-10 23:12:10 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-06-10 23:12:10 +0000
commit68779160b037598bcdeba35337a2ac8b50ff0e61 (patch)
tree39f6e68ecac969bb898107eb7d81b786ea8ade28 /package/mac80211/patches/520-ath0k_hw_mcast_search.patch
parent97904a9d2f8d088cfe20c0e7311392f607910bd4 (diff)
downloadupstream-68779160b037598bcdeba35337a2ac8b50ff0e61.tar.gz
upstream-68779160b037598bcdeba35337a2ac8b50ff0e61.tar.bz2
upstream-68779160b037598bcdeba35337a2ac8b50ff0e61.zip
mac80211: update to 2010-06-10, add pending work with stability and throughput fixes for ath9k
SVN-Revision: 21756
Diffstat (limited to 'package/mac80211/patches/520-ath0k_hw_mcast_search.patch')
-rw-r--r--package/mac80211/patches/520-ath0k_hw_mcast_search.patch36
1 files changed, 0 insertions, 36 deletions
diff --git a/package/mac80211/patches/520-ath0k_hw_mcast_search.patch b/package/mac80211/patches/520-ath0k_hw_mcast_search.patch
deleted file mode 100644
index eb09da5f42..0000000000
--- a/package/mac80211/patches/520-ath0k_hw_mcast_search.patch
+++ /dev/null
@@ -1,36 +0,0 @@
---- a/drivers/net/wireless/ath/ath9k/hw.c
-+++ b/drivers/net/wireless/ath/ath9k/hw.c
-@@ -1497,6 +1497,7 @@ EXPORT_SYMBOL(ath9k_hw_keyreset);
- bool ath9k_hw_keysetmac(struct ath_hw *ah, u16 entry, const u8 *mac)
- {
- u32 macHi, macLo;
-+ u32 unicast_flag = AR_KEYTABLE_VALID;
-
- if (entry >= ah->caps.keycache_size) {
- ath_print(ath9k_hw_common(ah), ATH_DBG_FATAL,
-@@ -1505,6 +1506,16 @@ bool ath9k_hw_keysetmac(struct ath_hw *a
- }
-
- if (mac != NULL) {
-+ /*
-+ * AR_KEYTABLE_VALID indicates that the address is a unicast
-+ * address, which must match the transmitter address for
-+ * decrypting frames.
-+ * Not setting this bit allows the hardware to use the key
-+ * for multicast frame decryption.
-+ */
-+ if (mac[0] & 0x01)
-+ unicast_flag = 0;
-+
- macHi = (mac[5] << 8) | mac[4];
- macLo = (mac[3] << 24) |
- (mac[2] << 16) |
-@@ -1517,7 +1528,7 @@ bool ath9k_hw_keysetmac(struct ath_hw *a
- macLo = macHi = 0;
- }
- REG_WRITE(ah, AR_KEYTABLE_MAC0(entry), macLo);
-- REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), macHi | AR_KEYTABLE_VALID);
-+ REG_WRITE(ah, AR_KEYTABLE_MAC1(entry), macHi | unicast_flag);
-
- return true;
- }