diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-02-16 19:55:09 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-02-16 19:55:09 +0000 |
commit | 0a7eafa89e8252c6b56633445651888735ea73d3 (patch) | |
tree | e802a8a2def0efbb8d4f098b125b3f27a0d45dcd /package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch | |
parent | b234ca85f19e0edfe7db759fd8d7a33a82909119 (diff) | |
download | mtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.zip mtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.tar.gz mtk-20170518-0a7eafa89e8252c6b56633445651888735ea73d3.tar.bz2 |
mac80211: add more patches from the rt2x00 git repository
SVN-Revision: 14534
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, 31 insertions, 0 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 new file mode 100644 index 0000000..2bfaa50 --- /dev/null +++ b/package/mac80211/patches/314-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch @@ -0,0 +1,31 @@ +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); + } + |