OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2008-2009 Atheros Communications Inc. | 2 * Copyright (c) 2008-2009 Atheros Communications Inc. |
3 * | 3 * |
4 * Permission to use, copy, modify, and/or distribute this software for any | 4 * Permission to use, copy, modify, and/or distribute this software for any |
5 * purpose with or without fee is hereby granted, provided that the above | 5 * purpose with or without fee is hereby granted, provided that the above |
6 * copyright notice and this permission notice appear in all copies. | 6 * copyright notice and this permission notice appear in all copies. |
7 * | 7 * |
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
893 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9300) || \ | 893 (((_ah)->hw_version.macVersion > AR_SREV_VERSION_9300) || \ |
894 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300) && \ | 894 (((_ah)->hw_version.macVersion == AR_SREV_VERSION_9300) && \ |
895 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9300_20))) | 895 ((_ah)->hw_version.macRev >= AR_SREV_REVISION_9300_20))) |
896 | 896 |
897 #define AR_SREV_9285E_20(_ah) \ | 897 #define AR_SREV_9285E_20(_ah) \ |
898 (AR_SREV_9285_12_OR_LATER(_ah) && \ | 898 (AR_SREV_9285_12_OR_LATER(_ah) && \ |
899 ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) | 899 ((REG_READ(_ah, AR_AN_SYNTH9) & 0x7) == 0x1)) |
900 | 900 |
901 #define AR_DEVID_7010(_ah) \ | 901 #define AR_DEVID_7010(_ah) \ |
902 (((_ah)->hw_version.devid == 0x7010) || \ | 902 (((_ah)->hw_version.devid == 0x7010) || \ |
| 903 ((_ah)->hw_version.devid == 0x7015) || \ |
903 ((_ah)->hw_version.devid == 0x9018)) | 904 ((_ah)->hw_version.devid == 0x9018)) |
904 | 905 |
905 #define AR_RADIO_SREV_MAJOR 0xf0 | 906 #define AR_RADIO_SREV_MAJOR 0xf0 |
906 #define AR_RAD5133_SREV_MAJOR 0xc0 | 907 #define AR_RAD5133_SREV_MAJOR 0xc0 |
907 #define AR_RAD2133_SREV_MAJOR 0xd0 | 908 #define AR_RAD2133_SREV_MAJOR 0xd0 |
908 #define AR_RAD5122_SREV_MAJOR 0xe0 | 909 #define AR_RAD5122_SREV_MAJOR 0xe0 |
909 #define AR_RAD2122_SREV_MAJOR 0xf0 | 910 #define AR_RAD2122_SREV_MAJOR 0xf0 |
910 | 911 |
911 #define AR_AHB_MODE 0x4024 | 912 #define AR_AHB_MODE 0x4024 |
912 #define AR_AHB_EXACT_WR_EN 0x00000000 | 913 #define AR_AHB_EXACT_WR_EN 0x00000000 |
(...skipping 937 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1850 #define AR_PHY_AGC_CONTROL_OFFSET_CAL 0x00000800 /* allow offset cali
bration */ | 1851 #define AR_PHY_AGC_CONTROL_OFFSET_CAL 0x00000800 /* allow offset cali
bration */ |
1851 #define AR_PHY_AGC_CONTROL_ENABLE_NF 0x00008000 /* enable noise floo
r calibration to happen */ | 1852 #define AR_PHY_AGC_CONTROL_ENABLE_NF 0x00008000 /* enable noise floo
r calibration to happen */ |
1852 #define AR_PHY_AGC_CONTROL_FLTR_CAL 0x00010000 /* allow tx filter c
alibration */ | 1853 #define AR_PHY_AGC_CONTROL_FLTR_CAL 0x00010000 /* allow tx filter c
alibration */ |
1853 #define AR_PHY_AGC_CONTROL_NO_UPDATE_NF 0x00020000 /* don't update nois
e floor automatically */ | 1854 #define AR_PHY_AGC_CONTROL_NO_UPDATE_NF 0x00020000 /* don't update nois
e floor automatically */ |
1854 #define AR_PHY_AGC_CONTROL_EXT_NF_PWR_MEAS 0x00040000 /* extend noise floo
r power measurement */ | 1855 #define AR_PHY_AGC_CONTROL_EXT_NF_PWR_MEAS 0x00040000 /* extend noise floo
r power measurement */ |
1855 #define AR_PHY_AGC_CONTROL_CLC_SUCCESS 0x00080000 /* carrier leak cali
bration done */ | 1856 #define AR_PHY_AGC_CONTROL_CLC_SUCCESS 0x00080000 /* carrier leak cali
bration done */ |
1856 #define AR_PHY_AGC_CONTROL_YCOK_MAX 0x000003c0 | 1857 #define AR_PHY_AGC_CONTROL_YCOK_MAX 0x000003c0 |
1857 #define AR_PHY_AGC_CONTROL_YCOK_MAX_S 6 | 1858 #define AR_PHY_AGC_CONTROL_YCOK_MAX_S 6 |
1858 | 1859 |
1859 #endif | 1860 #endif |
OLD | NEW |