diff options
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/reg.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/reg.h | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/drivers/net/wireless/ath/ath9k/reg.h b/drivers/net/wireless/ath/ath9k/reg.h index b76c49d9c503..8fcb7e9e8399 100644 --- a/drivers/net/wireless/ath/ath9k/reg.h +++ b/drivers/net/wireless/ath/ath9k/reg.h | |||
@@ -796,9 +796,9 @@ | |||
796 | #define AR_SREV_VERSION_9340 0x300 | 796 | #define AR_SREV_VERSION_9340 0x300 |
797 | #define AR_SREV_VERSION_9580 0x1C0 | 797 | #define AR_SREV_VERSION_9580 0x1C0 |
798 | #define AR_SREV_REVISION_9580_10 4 /* AR9580 1.0 */ | 798 | #define AR_SREV_REVISION_9580_10 4 /* AR9580 1.0 */ |
799 | #define AR_SREV_VERSION_9480 0x280 | 799 | #define AR_SREV_VERSION_9462 0x280 |
800 | #define AR_SREV_REVISION_9480_10 0 | 800 | #define AR_SREV_REVISION_9462_10 0 |
801 | #define AR_SREV_REVISION_9480_20 2 | 801 | #define AR_SREV_REVISION_9462_20 2 |
802 | 802 | ||
803 | #define AR_SREV_5416(_ah) \ | 803 | #define AR_SREV_5416(_ah) \ |
804 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \ | 804 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_5416_PCI) || \ |
@@ -895,20 +895,20 @@ | |||
895 | (AR_SREV_9285_12_OR_LATER(_ah) && \ | 895 | (AR_SREV_9285_12_OR_LATER(_ah) && \ |
896 | ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) | 896 | ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) |
897 | 897 | ||
898 | #define AR_SREV_9480(_ah) \ | 898 | #define AR_SREV_9462(_ah) \ |
899 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9480)) | 899 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462)) |
900 | 900 | ||
901 | #define AR_SREV_9480_10(_ah) \ | 901 | #define AR_SREV_9462_10(_ah) \ |
902 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9480) && \ | 902 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462) && \ |
903 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9480_10)) | 903 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9462_10)) |
904 | 904 | ||
905 | #define AR_SREV_9480_20(_ah) \ | 905 | #define AR_SREV_9462_20(_ah) \ |
906 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9480) && \ | 906 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462) && \ |
907 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9480_20)) | 907 | ((_ah)->hw_version.macRev == AR_SREV_REVISION_9462_20)) |
908 | 908 | ||
909 | #define AR_SREV_9480_20_OR_LATER(_ah) \ | 909 | #define AR_SREV_9462_20_OR_LATER(_ah) \ |
910 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9480) && \ | 910 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9462) && \ |
911 | ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9480_20)) | 911 | ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9462_20)) |
912 | 912 | ||
913 | #define AR_SREV_9580(_ah) \ | 913 | #define AR_SREV_9580(_ah) \ |
914 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9580) && \ | 914 | (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9580) && \ |
@@ -1933,6 +1933,7 @@ enum { | |||
1933 | #define AR_PHY_AGC_CONTROL_NO_UPDATE_NF 0x00020000 /* don't update noise floor automatically */ | 1933 | #define AR_PHY_AGC_CONTROL_NO_UPDATE_NF 0x00020000 /* don't update noise floor automatically */ |
1934 | #define AR_PHY_AGC_CONTROL_EXT_NF_PWR_MEAS 0x00040000 /* extend noise floor power measurement */ | 1934 | #define AR_PHY_AGC_CONTROL_EXT_NF_PWR_MEAS 0x00040000 /* extend noise floor power measurement */ |
1935 | #define AR_PHY_AGC_CONTROL_CLC_SUCCESS 0x00080000 /* carrier leak calibration done */ | 1935 | #define AR_PHY_AGC_CONTROL_CLC_SUCCESS 0x00080000 /* carrier leak calibration done */ |
1936 | #define AR_PHY_AGC_CONTROL_PKDET_CAL 0x00100000 | ||
1936 | #define AR_PHY_AGC_CONTROL_YCOK_MAX 0x000003c0 | 1937 | #define AR_PHY_AGC_CONTROL_YCOK_MAX 0x000003c0 |
1937 | #define AR_PHY_AGC_CONTROL_YCOK_MAX_S 6 | 1938 | #define AR_PHY_AGC_CONTROL_YCOK_MAX_S 6 |
1938 | 1939 | ||