From 201c742996fb4218a94f38f199567c1209b3b7cf Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Wed, 18 Mar 2009 22:22:57 +0000 Subject: [mac80211] Update compat-wireless to 2009-03-18 Removing of include/net/ieee80211_radiotap.h is not needed, because it is only used by this compat-wireless. There are changes in that file and compat-wireless needs the newest version. Some more symbols are deactivated in the default config file, this will make building faster. The rt2800pci patches are up to date now. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14946 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...00-Detect-cypher-type-during-RX-rt2800usb.patch | 40 ---------------------- 1 file changed, 40 deletions(-) delete mode 100644 package/mac80211/patches/305-rt2x00-Detect-cypher-type-during-RX-rt2800usb.patch (limited to 'package/mac80211/patches/305-rt2x00-Detect-cypher-type-during-RX-rt2800usb.patch') diff --git a/package/mac80211/patches/305-rt2x00-Detect-cypher-type-during-RX-rt2800usb.patch b/package/mac80211/patches/305-rt2x00-Detect-cypher-type-during-RX-rt2800usb.patch deleted file mode 100644 index 831dda0015..0000000000 --- a/package/mac80211/patches/305-rt2x00-Detect-cypher-type-during-RX-rt2800usb.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 35c7358f5f7ba03daeecdf1fdceabd48ebcd029a Mon Sep 17 00:00:00 2001 -From: Ivo van Doorn -Date: Tue, 3 Mar 2009 20:15:17 +0100 -Subject: [PATCH] rt2x00: Detect cypher type during RX (rt2800usb) - -Use UDF field in WCID entry to pass the cipher type -to the RXWI fields. This will allow keeping track of -the number of frames received with a particular cipher type -which is exported through debugfs. - -Signed-off-by: Ivo van Doorn ---- - drivers/net/wireless/rt2x00/rt2800usb.c | 9 ++------- - 1 files changed, 2 insertions(+), 7 deletions(-) - ---- a/drivers/net/wireless/rt2x00/rt2800usb.c -+++ b/drivers/net/wireless/rt2x00/rt2800usb.c -@@ -366,7 +366,7 @@ static void rt2800usb_config_wcid_attr(s - rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_CIPHER, crypto->cipher); - rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_BSS_IDX, - (crypto->cmd == SET_KEY) * crypto->bssidx); -- rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_RX_WIUDF, 0); -+ rt2x00_set_field32(®, MAC_WCID_ATTRIBUTE_RX_WIUDF, crypto->cipher); - rt2x00usb_register_write(rt2x00dev, offset, reg); - - offset = MAC_IVEIV_ENTRY(key->hw_key_idx); -@@ -2149,12 +2149,7 @@ static void rt2800usb_fill_rxdone(struct - rxdesc->flags |= RX_FLAG_FAILED_FCS_CRC; - - if (test_bit(CONFIG_SUPPORT_HW_CRYPTO, &rt2x00dev->flags)) { -- /* -- * Unfortunately we don't know the cipher type used during -- * decryption. This prevents us from correct providing -- * correct statistics through debugfs. -- */ -- rxdesc->cipher = CIPHER_NONE; -+ rxdesc->cipher = rt2x00_get_field32(rxwi0, RXWI_W0_UDF); - rxdesc->cipher_status = - rt2x00_get_field32(rxd0, RXD_W0_CIPHER_ERROR); - } -- cgit v1.2.3