[x86] add BLK_DEV_PIIX symbol needed for Virtual Box.
[openwrt.git] / package / mac80211 / patches / 313-rt2x00-Add-RT2860C-BBP-channel-init-values-rt2800u.patch
1 From fbccaabad6a109972a36bfe812d67f3678eb1187 Mon Sep 17 00:00:00 2001
2 From: Ivo van Doorn <IvDoorn@gmail.com>
3 Date: Sun, 8 Feb 2009 12:11:14 +0100
4 Subject: [PATCH] rt2x00: Add RT2860C BBP channel init values (rt2800usb)
5
6 Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
7 ---
8 drivers/net/wireless/rt2x00/rt2800usb.c | 12 ++++++++++++
9 1 files changed, 12 insertions(+), 0 deletions(-)
10
11 --- a/drivers/net/wireless/rt2x00/rt2800usb.c
12 +++ b/drivers/net/wireless/rt2x00/rt2800usb.c
13 @@ -883,6 +883,18 @@ static void rt2800usb_config_channel(str
14 rt2x00_set_field8(&bbp, BBP3_HT40_PLUS, conf_is_ht40_plus(conf));
15 rt2800usb_bbp_write(rt2x00dev, 3, bbp);
16
17 + if (rt2x00_rev(&rt2x00dev->chip) == RT2860C_VERSION) {
18 + if (conf_is_ht40(conf)) {
19 + rt2800usb_bbp_write(rt2x00dev, 69, 0x1a);
20 + rt2800usb_bbp_write(rt2x00dev, 70, 0x0a);
21 + rt2800usb_bbp_write(rt2x00dev, 73, 0x16);
22 + } else {
23 + rt2800usb_bbp_write(rt2x00dev, 69, 0x16);
24 + rt2800usb_bbp_write(rt2x00dev, 70, 0x08);
25 + rt2800usb_bbp_write(rt2x00dev, 73, 0x11);
26 + }
27 + }
28 +
29 msleep(1);
30 }
31
This page took 0.048801 seconds and 5 git commands to generate.