diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-02-21 20:38:07 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-02-21 20:38:07 +0000 |
commit | f98d59ddd04f7be1f689cf13a198ffc156b052af (patch) | |
tree | 604aebf5ce5715e5a29605fdd5ed14473c52690b /package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch | |
parent | b72191aa74660801e0edc943852930cc0b56cf42 (diff) | |
download | upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.gz upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.tar.bz2 upstream-f98d59ddd04f7be1f689cf13a198ffc156b052af.zip |
upgrade to latest compat-wireless and rt2800 version
SVN-Revision: 14605
Diffstat (limited to 'package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch')
-rw-r--r-- | package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch b/package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch deleted file mode 100644 index 2bfaa50331..0000000000 --- a/package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch +++ /dev/null @@ -1,31 +0,0 @@ -From c223b72884576ffcbe17cef32cfa6edfe6b32e7e Mon Sep 17 00:00:00 2001 -From: Ivo van Doorn <IvDoorn@gmail.com> -Date: Sun, 8 Feb 2009 12:11:14 +0100 -Subject: [PATCH] rt2x00: Add RT2860C BBP channel init values (rt2800usb) - -Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com> ---- - drivers/net/wireless/rt2x00/rt2800usb.c | 12 ++++++++++++ - 1 files changed, 12 insertions(+), 0 deletions(-) - ---- a/drivers/net/wireless/rt2x00/rt2800usb.c -+++ b/drivers/net/wireless/rt2x00/rt2800usb.c -@@ -883,6 +883,18 @@ static void rt2800usb_config_channel(str - rt2x00_set_field8(&bbp, BBP3_HT40_PLUS, conf_is_ht40_plus(conf)); - rt2800usb_bbp_write(rt2x00dev, 3, bbp); - -+ if (rt2x00_rev(&rt2x00dev->chip) == RT2860C_VERSION) { -+ if (conf_is_ht40(conf)) { -+ rt2800usb_bbp_write(rt2x00dev, 69, 0x1a); -+ rt2800usb_bbp_write(rt2x00dev, 70, 0x0a); -+ rt2800usb_bbp_write(rt2x00dev, 73, 0x16); -+ } else { -+ rt2800usb_bbp_write(rt2x00dev, 69, 0x16); -+ rt2800usb_bbp_write(rt2x00dev, 70, 0x08); -+ rt2800usb_bbp_write(rt2x00dev, 73, 0x11); -+ } -+ } -+ - msleep(1); - } - |