summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch')
-rw-r--r--package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch b/package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch
deleted file mode 100644
index c8c54a4..0000000
--- a/package/mac80211/patches/321-rt2x00-Add-support-for-MCS32-rt2800usb.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-From 96bb01c0363ca6a33a1071d88bfd77bc2654b051 Mon Sep 17 00:00:00 2001
-From: Ivo van Doorn <IvDoorn@gmail.com>
-Date: Sun, 15 Feb 2009 20:58:57 +0100
-Subject: [PATCH] rt2x00: Add support for MCS32 (rt2800usb)
-
-Signed-off-by: Ivo van Doorn@gmail.com>
----
- drivers/net/wireless/rt2x00/rt2800usb.c | 13 ++++++++-----
- 1 files changed, 8 insertions(+), 5 deletions(-)
-
---- a/drivers/net/wireless/rt2x00/rt2800usb.c
-+++ b/drivers/net/wireless/rt2x00/rt2800usb.c
-@@ -1627,6 +1627,10 @@ static int rt2800usb_init_bbp(struct rt2
- rt2800usb_bbp_write(rt2x00dev, 73, 0x12);
- }
-
-+ if (rt2x00_rev(&rt2x00dev->chip) > RT2860D_VERSION) {
-+ rt2800usb_bbp_write(rt2x00dev, 84, 0x19);
-+ }
-+
- if (rt2x00_rev(&rt2x00dev->chip) == RT3070_VERSION) {
- rt2800usb_bbp_write(rt2x00dev, 70, 0x0a);
- rt2800usb_bbp_write(rt2x00dev, 84, 0x99);
-@@ -1658,11 +1662,9 @@ static u8 rt2800usb_init_rx_filter(struc
-
- rt2800usb_rfcsr_write(rt2x00dev, 24, rfcsr24);
-
-- if (bw40) {
-- rt2800usb_bbp_read(rt2x00dev, 4, &bbp);
-- rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2);
-- rt2800usb_bbp_write(rt2x00dev, 4, bbp);
-- }
-+ rt2800usb_bbp_read(rt2x00dev, 4, &bbp);
-+ rt2x00_set_field8(&bbp, BBP4_BANDWIDTH, 2 * bw40);
-+ rt2800usb_bbp_write(rt2x00dev, 4, bbp);
-
- rt2800usb_rfcsr_read(rt2x00dev, 22, &rfcsr);
- rt2x00_set_field8(&rfcsr, RFCSR22_BASEBAND_LOOPBACK, 1);
-@@ -2535,6 +2537,7 @@ static int rt2800usb_probe_hw_mode(struc
- spec->ht.mcs.rx_mask[1] = 0xff;
- case 1:
- spec->ht.mcs.rx_mask[0] = 0xff;
-+ spec->ht.mcs.rx_mask[4] = 0x1; /* MCS32 */
- break;
- }
-