- patches.fixes/0001-rt2x00-Remove-incorrect-led-blink.patch:
[opensuse:kernel-source.git] / patches.fixes / 0007-rt2800-document-RF_R03-register-bits-7-4.patch
1 Subject: [PATCH 1/18] rt2800: document RF_R03 register bits [7:4]
2
3 From: Stanislaw Gruszka <sgruszka@redhat.com>
4 Git-commit: 268bd858df5052f97722b123e990119c89171fd7
5 Patch-mainline: v3.4-rc1
6 References: bnc#774902
7
8 Taken from:
9 2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO
10 (based on function RT33xx_ChipSwitchChannel)
11
12 Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
13 Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
14 Signed-off-by: John W. Linville <linville@tuxdriver.com>
15 Acked-by: Chen, Chien-Chia <machen@suse.com>
16 ---
17  drivers/net/wireless/rt2x00/rt2800.h |    3 +++
18  1 files changed, 3 insertions(+), 0 deletions(-)
19
20 diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h
21 index 1aacb80..8b5d0db 100644
22 --- a/drivers/net/wireless/rt2x00/rt2800.h
23 +++ b/drivers/net/wireless/rt2x00/rt2800.h
24 @@ -1962,6 +1962,9 @@ struct mac_iveiv_entry {
25   * RFCSR 3:
26   */
27  #define RFCSR3_K                       FIELD8(0x0f)
28 +/* Bits [7-4] for RF3320 (RT3370/RT3390), on other chipsets reserved */
29 +#define RFCSR3_PA1_BIAS_CCK            FIELD8(0x70);
30 +#define RFCSR3_PA2_CASCODE_BIAS_CCKK   FIELD8(0x80);
31  
32  /*
33   * FRCSR 5:
34 -- 
35 1.6.0.2
36