diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2012-01-30 10:17:59 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-02-06 14:50:39 -0500 |
commit | f1f12f9894c48dc8284762bc71e4a3ed5caf546f (patch) | |
tree | 0a99b1340bce34450b8cc8761275119efb37ad83 /drivers/net/wireless/rt2x00/rt2800.h | |
parent | 3e0c7643c561c7052430f5c033d5b1b1289c962e (diff) |
rt2800: radio 3xxxx: channel switch RX/TX calibration fixes
Synchronize code with Ralink driver:
2011_0719_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2.5.0.3_DPO
Based on functions:
RT30xx_ChipSwitchChannel
RT33xx_ChipSwitchChannel
NICInitRT3370RFRegisters
and defines from:
include/chip/rt33xx.h
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800.h b/drivers/net/wireless/rt2x00/rt2800.h index abf2ae588164..c92fb2eee920 100644 --- a/drivers/net/wireless/rt2x00/rt2800.h +++ b/drivers/net/wireless/rt2x00/rt2800.h | |||
@@ -1872,6 +1872,13 @@ struct mac_iveiv_entry { | |||
1872 | #define RFCSR23_FREQ_OFFSET FIELD8(0x7f) | 1872 | #define RFCSR23_FREQ_OFFSET FIELD8(0x7f) |
1873 | 1873 | ||
1874 | /* | 1874 | /* |
1875 | * RFCSR 24: | ||
1876 | */ | ||
1877 | #define RFCSR24_TX_AGC_FC FIELD8(0x1f) | ||
1878 | #define RFCSR24_TX_H20M FIELD8(0x20) | ||
1879 | #define RFCSR24_TX_CALIB FIELD8(0x7f) | ||
1880 | |||
1881 | /* | ||
1875 | * RFCSR 27: | 1882 | * RFCSR 27: |
1876 | */ | 1883 | */ |
1877 | #define RFCSR27_R1 FIELD8(0x03) | 1884 | #define RFCSR27_R1 FIELD8(0x03) |
@@ -1892,6 +1899,7 @@ struct mac_iveiv_entry { | |||
1892 | */ | 1899 | */ |
1893 | #define RFCSR31_RX_AGC_FC FIELD8(0x1f) | 1900 | #define RFCSR31_RX_AGC_FC FIELD8(0x1f) |
1894 | #define RFCSR31_RX_H20M FIELD8(0x20) | 1901 | #define RFCSR31_RX_H20M FIELD8(0x20) |
1902 | #define RFCSR31_RX_CALIB FIELD8(0x7f) | ||
1895 | 1903 | ||
1896 | /* | 1904 | /* |
1897 | * RFCSR 38: | 1905 | * RFCSR 38: |