Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ath9k: Identify duplicate AR9565 v1.0 initvals

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

authored by

Sujith Manoharan and committed by
John W. Linville
ca488b92 ceb1512f

+6 -79
+6 -79
drivers/net/wireless/ath/ath9k/ar9565_1p0_initvals.h
··· 20 20 21 21 /* AR9565 1.0 */ 22 22 23 + #define ar9565_1p0_mac_postamble ar9331_1p1_mac_postamble 24 + 25 + #define ar9565_1p0_Modes_lowest_ob_db_tx_gain_table ar9565_1p0_modes_low_ob_db_tx_gain_table 26 + 27 + #define ar9565_1p0_baseband_core_txfir_coeff_japan_2484 ar9300_2p2_baseband_core_txfir_coeff_japan_2484 28 + 23 29 static const u32 ar9565_1p0_mac_core[][2] = { 24 30 /* Addr allmodes */ 25 31 {0x00000008, 0x00000000}, ··· 186 180 {0x000083c8, 0x00000000}, 187 181 {0x000083cc, 0x00000200}, 188 182 {0x000083d0, 0x800301ff}, 189 - }; 190 - 191 - static const u32 ar9565_1p0_mac_postamble[][5] = { 192 - /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ 193 - {0x00001030, 0x00000230, 0x00000460, 0x000002c0, 0x00000160}, 194 - {0x00001070, 0x00000168, 0x000002d0, 0x00000318, 0x0000018c}, 195 - {0x000010b0, 0x00000e60, 0x00001cc0, 0x00007c70, 0x00003e38}, 196 - {0x00008014, 0x03e803e8, 0x07d007d0, 0x10801600, 0x08400b00}, 197 - {0x0000801c, 0x128d8027, 0x128d804f, 0x12e00057, 0x12e0002b}, 198 - {0x00008120, 0x08f04800, 0x08f04800, 0x08f04810, 0x08f04810}, 199 - {0x000081d0, 0x00003210, 0x00003210, 0x0000320a, 0x0000320a}, 200 - {0x00008318, 0x00003e80, 0x00007d00, 0x00006880, 0x00003440}, 201 183 }; 202 184 203 185 static const u32 ar9565_1p0_baseband_core[][2] = { ··· 705 711 {0x0000b1fc, 0x00000196}, 706 712 }; 707 713 708 - static const u32 ar9565_1p0_Modes_lowest_ob_db_tx_gain_table[][5] = { 709 - /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ 710 - {0x0000a2dc, 0xfc0a9380, 0xfc0a9380, 0xfdab5b52, 0xfdab5b52}, 711 - {0x0000a2e0, 0xffecec00, 0xffecec00, 0xfd339c84, 0xfd339c84}, 712 - {0x0000a2e4, 0xfc0f0000, 0xfc0f0000, 0xfec3e000, 0xfec3e000}, 713 - {0x0000a2e8, 0xfc100000, 0xfc100000, 0xfffc0000, 0xfffc0000}, 714 - {0x0000a410, 0x000050d9, 0x000050d9, 0x000050d9, 0x000050d9}, 715 - {0x0000a500, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 716 - {0x0000a504, 0x06000003, 0x06000003, 0x04000002, 0x04000002}, 717 - {0x0000a508, 0x0a000020, 0x0a000020, 0x08000004, 0x08000004}, 718 - {0x0000a50c, 0x10000023, 0x10000023, 0x0b000200, 0x0b000200}, 719 - {0x0000a510, 0x16000220, 0x16000220, 0x0f000202, 0x0f000202}, 720 - {0x0000a514, 0x1c000223, 0x1c000223, 0x12000400, 0x12000400}, 721 - {0x0000a518, 0x21020220, 0x21020220, 0x16000402, 0x16000402}, 722 - {0x0000a51c, 0x27020223, 0x27020223, 0x19000404, 0x19000404}, 723 - {0x0000a520, 0x2b022220, 0x2b022220, 0x1c000603, 0x1c000603}, 724 - {0x0000a524, 0x2f022222, 0x2f022222, 0x21000a02, 0x21000a02}, 725 - {0x0000a528, 0x34022225, 0x34022225, 0x25000a04, 0x25000a04}, 726 - {0x0000a52c, 0x3a02222a, 0x3a02222a, 0x28000a20, 0x28000a20}, 727 - {0x0000a530, 0x3e02222c, 0x3e02222c, 0x2c000e20, 0x2c000e20}, 728 - {0x0000a534, 0x4202242a, 0x4202242a, 0x30000e22, 0x30000e22}, 729 - {0x0000a538, 0x4702244a, 0x4702244a, 0x34000e24, 0x34000e24}, 730 - {0x0000a53c, 0x4b02244c, 0x4b02244c, 0x38001640, 0x38001640}, 731 - {0x0000a540, 0x4e02246c, 0x4e02246c, 0x3c001660, 0x3c001660}, 732 - {0x0000a544, 0x5302266c, 0x5302266c, 0x3f001861, 0x3f001861}, 733 - {0x0000a548, 0x5702286c, 0x5702286c, 0x43001a81, 0x43001a81}, 734 - {0x0000a54c, 0x5c04286b, 0x5c04286b, 0x47001a83, 0x47001a83}, 735 - {0x0000a550, 0x61042a6c, 0x61042a6c, 0x4a001c84, 0x4a001c84}, 736 - {0x0000a554, 0x66062a6c, 0x66062a6c, 0x4e001ce3, 0x4e001ce3}, 737 - {0x0000a558, 0x6b062e6c, 0x6b062e6c, 0x52001ce5, 0x52001ce5}, 738 - {0x0000a55c, 0x7006308c, 0x7006308c, 0x56001ce9, 0x56001ce9}, 739 - {0x0000a560, 0x730a308a, 0x730a308a, 0x5a001ceb, 0x5a001ceb}, 740 - {0x0000a564, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 741 - {0x0000a568, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 742 - {0x0000a56c, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 743 - {0x0000a570, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 744 - {0x0000a574, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 745 - {0x0000a578, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 746 - {0x0000a57c, 0x770a308c, 0x770a308c, 0x5d001eec, 0x5d001eec}, 747 - {0x0000a600, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 748 - {0x0000a604, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 749 - {0x0000a608, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 750 - {0x0000a60c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 751 - {0x0000a610, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 752 - {0x0000a614, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 753 - {0x0000a618, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 754 - {0x0000a61c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 755 - {0x0000a620, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 756 - {0x0000a624, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 757 - {0x0000a628, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 758 - {0x0000a62c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 759 - {0x0000a630, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 760 - {0x0000a634, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 761 - {0x0000a638, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 762 - {0x0000a63c, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 763 - {0x00016044, 0x012482d4, 0x012482d4, 0x012482d4, 0x012482d4}, 764 - {0x00016048, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 765 - {0x00016054, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 766 - }; 767 - 768 714 static const u32 ar9565_1p0_pciephy_clkreq_disable_L1[][2] = { 769 715 /* Addr allmodes */ 770 716 {0x00018c00, 0x18212ede}, ··· 1163 1229 {0x00016044, 0x056d82e6, 0x056d82e6, 0x056d82e6, 0x056d82e6}, 1164 1230 {0x00016048, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 1165 1231 {0x00016054, 0x00000000, 0x00000000, 0x00000000, 0x00000000}, 1166 - }; 1167 - 1168 - static const u32 ar9565_1p0_baseband_core_txfir_coeff_japan_2484[][2] = { 1169 - /* Addr allmodes */ 1170 - {0x0000a398, 0x00000000}, 1171 - {0x0000a39c, 0x6f7f0301}, 1172 - {0x0000a3a0, 0xca9228ee}, 1173 1232 }; 1174 1233 1175 1234 #endif /* INITVALS_9565_1P0_H */