RTL88x2BU-Linux-Driver/hal/phydm/halrf/rtl8822b/halrf_rfk_init_8822b.c
2019-09-21 05:30:30 -04:00

1058 lines
23 KiB
C

/******************************************************************************
*
* Copyright(c) 2007 - 2017 Realtek Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of version 2 of the GNU General Public License as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
*****************************************************************************/
#include "mp_precomp.h"
#if (DM_ODM_SUPPORT_TYPE == ODM_WIN)
#if RT_PLATFORM == PLATFORM_MACOSX
#include "phydm_precomp.h"
#else
#include "../phydm_precomp.h"
#endif
#else
#include "../../phydm_precomp.h"
#endif
#if 0
u32 array_mp_8822b_cal_init[] = {
0x1B00, 0xF8000008,
0x1B00, 0xF80A7008,
0x1B00, 0xF8015008,
0x1B00, 0xF8000008,
0x1B04, 0xE24629D2,
0x1B08, 0x00000080,
0x1B0C, 0x00000000,
0x1B10, 0x00011C00,
0x1B14, 0x00000000,
0x1B18, 0x00292903,
0x1B1C, 0xA2193C32,
0x1B20, 0x01840008,
0x1B24, 0x01860008,
0x1B28, 0x80060300,
0x1B2C, 0x00000003,
0x1B30, 0x20000000,
0x1B34, 0x00000800,
0x1B3C, 0x20000000,
0x1BC0, 0x01000000,
0x1BCC, 0x00000000,
0x1B00, 0xF800000A,
0x1B1C, 0xA2193C32,
0x1B20, 0x01840008,
0x1B24, 0x01860008,
0x1B28, 0x80060300,
0x1B2C, 0x00000003,
0x1B30, 0x20000000,
0x1B34, 0x00000800,
0x1B3C, 0x20000000,
0x1BC0, 0x01000000,
0x1BCC, 0x00000000,
0x1B00, 0xF8000000,
0x1B80, 0x00000007,
0x1B80, 0x090A0005,
0x1B80, 0x090A0007,
0x1B80, 0x0FFE0015,
0x1B80, 0x0FFE0017,
0x1B80, 0x00220025,
0x1B80, 0x00220027,
0x1B80, 0x00040035,
0x1B80, 0x00040037,
0x1B80, 0x05C00045,
0x1B80, 0x05C00047,
0x1B80, 0x00070055,
0x1B80, 0x00070057,
0x1B80, 0x64000065,
0x1B80, 0x64000067,
0x1B80, 0x00020075,
0x1B80, 0x00020077,
0x1B80, 0x00080085,
0x1B80, 0x00080087,
0x1B80, 0x80000095,
0x1B80, 0x80000097,
0x1B80, 0x090800A5,
0x1B80, 0x090800A7,
0x1B80, 0x0F0200B5,
0x1B80, 0x0F0200B7,
0x1B80, 0x002200C5,
0x1B80, 0x002200C7,
0x1B80, 0x000400D5,
0x1B80, 0x000400D7,
0x1B80, 0x05C000E5,
0x1B80, 0x05C000E7,
0x1B80, 0x000700F5,
0x1B80, 0x000700F7,
0x1B80, 0x64020105,
0x1B80, 0x64020107,
0x1B80, 0x00020115,
0x1B80, 0x00020117,
0x1B80, 0x00040125,
0x1B80, 0x00040127,
0x1B80, 0x4A000135,
0x1B80, 0x4A000137,
0x1B80, 0x4B040145,
0x1B80, 0x4B040147,
0x1B80, 0x85030155,
0x1B80, 0x85030157,
0x1B80, 0x40090165,
0x1B80, 0x40090167,
0x1B80, 0xE0280175,
0x1B80, 0xE0280177,
0x1B80, 0x4B050185,
0x1B80, 0x4B050187,
0x1B80, 0x86030195,
0x1B80, 0x86030197,
0x1B80, 0x400B01A5,
0x1B80, 0x400B01A7,
0x1B80, 0xE02801B5,
0x1B80, 0xE02801B7,
0x1B80, 0x4B0001C5,
0x1B80, 0x4B0001C7,
0x1B80, 0x000701D5,
0x1B80, 0x000701D7,
0x1B80, 0x4C0001E5,
0x1B80, 0x4C0001E7,
0x1B80, 0x000401F5,
0x1B80, 0x000401F7,
0x1B80, 0x4D040205,
0x1B80, 0x4D040207,
0x1B80, 0x2EF00215,
0x1B80, 0x2EF00217,
0x1B80, 0x00000225,
0x1B80, 0x00000227,
0x1B80, 0x20810235,
0x1B80, 0x20810237,
0x1B80, 0x23450245,
0x1B80, 0x23450247,
0x1B80, 0x4D000255,
0x1B80, 0x4D000257,
0x1B80, 0x00040265,
0x1B80, 0x00040267,
0x1B80, 0x30000275,
0x1B80, 0x30000277,
0x1B80, 0xE1D80285,
0x1B80, 0xE1D80287,
0x1B80, 0xF0110295,
0x1B80, 0xF0110297,
0x1B80, 0xF11102A5,
0x1B80, 0xF11102A7,
0x1B80, 0xF21102B5,
0x1B80, 0xF21102B7,
0x1B80, 0xF31102C5,
0x1B80, 0xF31102C7,
0x1B80, 0xF41102D5,
0x1B80, 0xF41102D7,
0x1B80, 0xF51102E5,
0x1B80, 0xF51102E7,
0x1B80, 0xF61102F5,
0x1B80, 0xF61102F7,
0x1B80, 0xF7110305,
0x1B80, 0xF7110307,
0x1B80, 0xF8110315,
0x1B80, 0xF8110317,
0x1B80, 0xF9110325,
0x1B80, 0xF9110327,
0x1B80, 0xFA110335,
0x1B80, 0xFA110337,
0x1B80, 0xFB110345,
0x1B80, 0xFB110347,
0x1B80, 0xFC110355,
0x1B80, 0xFC110357,
0x1B80, 0xFD110365,
0x1B80, 0xFD110367,
0x1B80, 0xFE110375,
0x1B80, 0xFE110377,
0x1B80, 0xFF110385,
0x1B80, 0xFF110387,
0x1B80, 0x00010395,
0x1B80, 0x00010397,
0x1B80, 0x305103A5,
0x1B80, 0x305103A7,
0x1B80, 0x306903B5,
0x1B80, 0x306903B7,
0x1B80, 0x30B403C5,
0x1B80, 0x30B403C7,
0x1B80, 0x30B703D5,
0x1B80, 0x30B703D7,
0x1B80, 0x306B03E5,
0x1B80, 0x306B03E7,
0x1B80, 0x307603F5,
0x1B80, 0x307603F7,
0x1B80, 0x30810405,
0x1B80, 0x30810407,
0x1B80, 0x30C10415,
0x1B80, 0x30C10417,
0x1B80, 0x30BB0425,
0x1B80, 0x30BB0427,
0x1B80, 0x30CF0435,
0x1B80, 0x30CF0437,
0x1B80, 0x30DA0445,
0x1B80, 0x30DA0447,
0x1B80, 0x30E50455,
0x1B80, 0x30E50457,
0x1B80, 0x304A0465,
0x1B80, 0x304A0467,
0x1B80, 0x31140475,
0x1B80, 0x31140477,
0x1B80, 0x31250485,
0x1B80, 0x31250487,
0x1B80, 0x313A0495,
0x1B80, 0x313A0497,
0x1B80, 0x4D0404A5,
0x1B80, 0x4D0404A7,
0x1B80, 0x2EF004B5,
0x1B80, 0x2EF004B7,
0x1B80, 0x000004C5,
0x1B80, 0x000004C7,
0x1B80, 0x208104D5,
0x1B80, 0x208104D7,
0x1B80, 0xA3B504E5,
0x1B80, 0xA3B504E7,
0x1B80, 0x4D0004F5,
0x1B80, 0x4D0004F7,
0x1B80, 0x30000505,
0x1B80, 0x30000507,
0x1B80, 0xE1650515,
0x1B80, 0xE1650517,
0x1B80, 0x4D040525,
0x1B80, 0x4D040527,
0x1B80, 0x20800535,
0x1B80, 0x20800537,
0x1B80, 0x00000545,
0x1B80, 0x00000547,
0x1B80, 0x4D000555,
0x1B80, 0x4D000557,
0x1B80, 0x55070565,
0x1B80, 0x55070567,
0x1B80, 0xE15D0575,
0x1B80, 0xE15D0577,
0x1B80, 0xE15D0585,
0x1B80, 0xE15D0587,
0x1B80, 0x4D040595,
0x1B80, 0x4D040597,
0x1B80, 0x208805A5,
0x1B80, 0x208805A7,
0x1B80, 0x020005B5,
0x1B80, 0x020005B7,
0x1B80, 0x4D0005C5,
0x1B80, 0x4D0005C7,
0x1B80, 0x550F05D5,
0x1B80, 0x550F05D7,
0x1B80, 0xE15D05E5,
0x1B80, 0xE15D05E7,
0x1B80, 0x4F0205F5,
0x1B80, 0x4F0205F7,
0x1B80, 0x4E000605,
0x1B80, 0x4E000607,
0x1B80, 0x53020615,
0x1B80, 0x53020617,
0x1B80, 0x52010625,
0x1B80, 0x52010627,
0x1B80, 0xE1610635,
0x1B80, 0xE1610637,
0x1B80, 0x4D080645,
0x1B80, 0x4D080647,
0x1B80, 0x57100655,
0x1B80, 0x57100657,
0x1B80, 0x57000665,
0x1B80, 0x57000667,
0x1B80, 0x4D000675,
0x1B80, 0x4D000677,
0x1B80, 0x00010685,
0x1B80, 0x00010687,
0x1B80, 0xE1650695,
0x1B80, 0xE1650697,
0x1B80, 0x000106A5,
0x1B80, 0x000106A7,
0x1B80, 0x308B06B5,
0x1B80, 0x308B06B7,
0x1B80, 0x002306C5,
0x1B80, 0x002306C7,
0x1B80, 0xE1CB06D5,
0x1B80, 0xE1CB06D7,
0x1B80, 0x000206E5,
0x1B80, 0x000206E7,
0x1B80, 0x54E906F5,
0x1B80, 0x54E906F7,
0x1B80, 0x0BA60705,
0x1B80, 0x0BA60707,
0x1B80, 0x00230715,
0x1B80, 0x00230717,
0x1B80, 0xE1CB0725,
0x1B80, 0xE1CB0727,
0x1B80, 0x00020735,
0x1B80, 0x00020737,
0x1B80, 0x4D300745,
0x1B80, 0x4D300747,
0x1B80, 0x30A40755,
0x1B80, 0x30A40757,
0x1B80, 0x30870765,
0x1B80, 0x30870767,
0x1B80, 0x00220775,
0x1B80, 0x00220777,
0x1B80, 0xE1CB0785,
0x1B80, 0xE1CB0787,
0x1B80, 0x00020795,
0x1B80, 0x00020797,
0x1B80, 0x54E807A5,
0x1B80, 0x54E807A7,
0x1B80, 0x0BA607B5,
0x1B80, 0x0BA607B7,
0x1B80, 0x002207C5,
0x1B80, 0x002207C7,
0x1B80, 0xE1CB07D5,
0x1B80, 0xE1CB07D7,
0x1B80, 0x000207E5,
0x1B80, 0x000207E7,
0x1B80, 0x4D3007F5,
0x1B80, 0x4D3007F7,
0x1B80, 0x30A40805,
0x1B80, 0x30A40807,
0x1B80, 0x63F10815,
0x1B80, 0x63F10817,
0x1B80, 0xE1650825,
0x1B80, 0xE1650827,
0x1B80, 0xE1CB0835,
0x1B80, 0xE1CB0837,
0x1B80, 0x63F40845,
0x1B80, 0x63F40847,
0x1B80, 0xE1650855,
0x1B80, 0xE1650857,
0x1B80, 0xE1CB0865,
0x1B80, 0xE1CB0867,
0x1B80, 0x0BA80875,
0x1B80, 0x0BA80877,
0x1B80, 0x63F80885,
0x1B80, 0x63F80887,
0x1B80, 0xE1650895,
0x1B80, 0xE1650897,
0x1B80, 0xE1CB08A5,
0x1B80, 0xE1CB08A7,
0x1B80, 0x0BA908B5,
0x1B80, 0x0BA908B7,
0x1B80, 0x63FC08C5,
0x1B80, 0x63FC08C7,
0x1B80, 0xE16508D5,
0x1B80, 0xE16508D7,
0x1B80, 0xE1CB08E5,
0x1B80, 0xE1CB08E7,
0x1B80, 0x63FF08F5,
0x1B80, 0x63FF08F7,
0x1B80, 0xE1650905,
0x1B80, 0xE1650907,
0x1B80, 0xE1CB0915,
0x1B80, 0xE1CB0917,
0x1B80, 0x63000925,
0x1B80, 0x63000927,
0x1B80, 0xE1650935,
0x1B80, 0xE1650937,
0x1B80, 0xE1CB0945,
0x1B80, 0xE1CB0947,
0x1B80, 0x63030955,
0x1B80, 0x63030957,
0x1B80, 0xE1650965,
0x1B80, 0xE1650967,
0x1B80, 0xE1CB0975,
0x1B80, 0xE1CB0977,
0x1B80, 0xF4D40985,
0x1B80, 0xF4D40987,
0x1B80, 0x63070995,
0x1B80, 0x63070997,
0x1B80, 0xE16509A5,
0x1B80, 0xE16509A7,
0x1B80, 0xE1CB09B5,
0x1B80, 0xE1CB09B7,
0x1B80, 0xF5DB09C5,
0x1B80, 0xF5DB09C7,
0x1B80, 0x630B09D5,
0x1B80, 0x630B09D7,
0x1B80, 0xE16509E5,
0x1B80, 0xE16509E7,
0x1B80, 0xE1CB09F5,
0x1B80, 0xE1CB09F7,
0x1B80, 0x630E0A05,
0x1B80, 0x630E0A07,
0x1B80, 0xE1650A15,
0x1B80, 0xE1650A17,
0x1B80, 0xE1CB0A25,
0x1B80, 0xE1CB0A27,
0x1B80, 0x4D300A35,
0x1B80, 0x4D300A37,
0x1B80, 0x55010A45,
0x1B80, 0x55010A47,
0x1B80, 0x57040A55,
0x1B80, 0x57040A57,
0x1B80, 0x57000A65,
0x1B80, 0x57000A67,
0x1B80, 0x96000A75,
0x1B80, 0x96000A77,
0x1B80, 0x57080A85,
0x1B80, 0x57080A87,
0x1B80, 0x57000A95,
0x1B80, 0x57000A97,
0x1B80, 0x95000AA5,
0x1B80, 0x95000AA7,
0x1B80, 0x4D000AB5,
0x1B80, 0x4D000AB7,
0x1B80, 0x6C070AC5,
0x1B80, 0x6C070AC7,
0x1B80, 0x7B200AD5,
0x1B80, 0x7B200AD7,
0x1B80, 0x7A000AE5,
0x1B80, 0x7A000AE7,
0x1B80, 0x79000AF5,
0x1B80, 0x79000AF7,
0x1B80, 0x7F200B05,
0x1B80, 0x7F200B07,
0x1B80, 0x7E000B15,
0x1B80, 0x7E000B17,
0x1B80, 0x7D000B25,
0x1B80, 0x7D000B27,
0x1B80, 0x00010B35,
0x1B80, 0x00010B37,
0x1B80, 0x62850B45,
0x1B80, 0x62850B47,
0x1B80, 0xE1650B55,
0x1B80, 0xE1650B57,
0x1B80, 0x00010B65,
0x1B80, 0x00010B67,
0x1B80, 0x5C320B75,
0x1B80, 0x5C320B77,
0x1B80, 0xE1C70B85,
0x1B80, 0xE1C70B87,
0x1B80, 0xE1930B95,
0x1B80, 0xE1930B97,
0x1B80, 0x00010BA5,
0x1B80, 0x00010BA7,
0x1B80, 0x5C320BB5,
0x1B80, 0x5C320BB7,
0x1B80, 0x63F40BC5,
0x1B80, 0x63F40BC7,
0x1B80, 0x62850BD5,
0x1B80, 0x62850BD7,
0x1B80, 0x0BB00BE5,
0x1B80, 0x0BB00BE7,
0x1B80, 0xE1650BF5,
0x1B80, 0xE1650BF7,
0x1B80, 0xE1CB0C05,
0x1B80, 0xE1CB0C07,
0x1B80, 0x5C320C15,
0x1B80, 0x5C320C17,
0x1B80, 0x63FC0C25,
0x1B80, 0x63FC0C27,
0x1B80, 0x62850C35,
0x1B80, 0x62850C37,
0x1B80, 0x0BB10C45,
0x1B80, 0x0BB10C47,
0x1B80, 0xE1650C55,
0x1B80, 0xE1650C57,
0x1B80, 0xE1CB0C65,
0x1B80, 0xE1CB0C67,
0x1B80, 0x63030C75,
0x1B80, 0x63030C77,
0x1B80, 0xE1650C85,
0x1B80, 0xE1650C87,
0x1B80, 0xE1CB0C95,
0x1B80, 0xE1CB0C97,
0x1B80, 0xF7040CA5,
0x1B80, 0xF7040CA7,
0x1B80, 0x630B0CB5,
0x1B80, 0x630B0CB7,
0x1B80, 0xE1650CC5,
0x1B80, 0xE1650CC7,
0x1B80, 0xE1CB0CD5,
0x1B80, 0xE1CB0CD7,
0x1B80, 0x00010CE5,
0x1B80, 0x00010CE7,
0x1B80, 0x30F30CF5,
0x1B80, 0x30F30CF7,
0x1B80, 0x00230D05,
0x1B80, 0x00230D07,
0x1B80, 0xE1D00D15,
0x1B80, 0xE1D00D17,
0x1B80, 0x00020D25,
0x1B80, 0x00020D27,
0x1B80, 0x54E90D35,
0x1B80, 0x54E90D37,
0x1B80, 0x0BA60D45,
0x1B80, 0x0BA60D47,
0x1B80, 0x00230D55,
0x1B80, 0x00230D57,
0x1B80, 0xE1D00D65,
0x1B80, 0xE1D00D67,
0x1B80, 0x00020D75,
0x1B80, 0x00020D77,
0x1B80, 0x4D100D85,
0x1B80, 0x4D100D87,
0x1B80, 0x30A40D95,
0x1B80, 0x30A40D97,
0x1B80, 0x30ED0DA5,
0x1B80, 0x30ED0DA7,
0x1B80, 0x00220DB5,
0x1B80, 0x00220DB7,
0x1B80, 0xE1D00DC5,
0x1B80, 0xE1D00DC7,
0x1B80, 0x00020DD5,
0x1B80, 0x00020DD7,
0x1B80, 0x54E80DE5,
0x1B80, 0x54E80DE7,
0x1B80, 0x0BA60DF5,
0x1B80, 0x0BA60DF7,
0x1B80, 0x00220E05,
0x1B80, 0x00220E07,
0x1B80, 0xE1D00E15,
0x1B80, 0xE1D00E17,
0x1B80, 0x00020E25,
0x1B80, 0x00020E27,
0x1B80, 0x4D100E35,
0x1B80, 0x4D100E37,
0x1B80, 0x30A40E45,
0x1B80, 0x30A40E47,
0x1B80, 0x5C320E55,
0x1B80, 0x5C320E57,
0x1B80, 0x54F00E65,
0x1B80, 0x54F00E67,
0x1B80, 0x67F10E75,
0x1B80, 0x67F10E77,
0x1B80, 0xE1930E85,
0x1B80, 0xE1930E87,
0x1B80, 0xE1D00E95,
0x1B80, 0xE1D00E97,
0x1B80, 0x67F40EA5,
0x1B80, 0x67F40EA7,
0x1B80, 0xE1930EB5,
0x1B80, 0xE1930EB7,
0x1B80, 0xE1D00EC5,
0x1B80, 0xE1D00EC7,
0x1B80, 0x5C320ED5,
0x1B80, 0x5C320ED7,
0x1B80, 0x54F10EE5,
0x1B80, 0x54F10EE7,
0x1B80, 0x0BA80EF5,
0x1B80, 0x0BA80EF7,
0x1B80, 0x67F80F05,
0x1B80, 0x67F80F07,
0x1B80, 0xE1930F15,
0x1B80, 0xE1930F17,
0x1B80, 0xE1D00F25,
0x1B80, 0xE1D00F27,
0x1B80, 0x5C320F35,
0x1B80, 0x5C320F37,
0x1B80, 0x54F10F45,
0x1B80, 0x54F10F47,
0x1B80, 0x0BA90F55,
0x1B80, 0x0BA90F57,
0x1B80, 0x67FC0F65,
0x1B80, 0x67FC0F67,
0x1B80, 0xE1930F75,
0x1B80, 0xE1930F77,
0x1B80, 0xE1D00F85,
0x1B80, 0xE1D00F87,
0x1B80, 0x67FF0F95,
0x1B80, 0x67FF0F97,
0x1B80, 0xE1930FA5,
0x1B80, 0xE1930FA7,
0x1B80, 0xE1D00FB5,
0x1B80, 0xE1D00FB7,
0x1B80, 0x5C320FC5,
0x1B80, 0x5C320FC7,
0x1B80, 0x54F20FD5,
0x1B80, 0x54F20FD7,
0x1B80, 0x67000FE5,
0x1B80, 0x67000FE7,
0x1B80, 0xE1930FF5,
0x1B80, 0xE1930FF7,
0x1B80, 0xE1D01005,
0x1B80, 0xE1D01007,
0x1B80, 0x67031015,
0x1B80, 0x67031017,
0x1B80, 0xE1931025,
0x1B80, 0xE1931027,
0x1B80, 0xE1D01035,
0x1B80, 0xE1D01037,
0x1B80, 0xF9CC1045,
0x1B80, 0xF9CC1047,
0x1B80, 0x67071055,
0x1B80, 0x67071057,
0x1B80, 0xE1931065,
0x1B80, 0xE1931067,
0x1B80, 0xE1D01075,
0x1B80, 0xE1D01077,
0x1B80, 0xFAD31085,
0x1B80, 0xFAD31087,
0x1B80, 0x5C321095,
0x1B80, 0x5C321097,
0x1B80, 0x54F310A5,
0x1B80, 0x54F310A7,
0x1B80, 0x670B10B5,
0x1B80, 0x670B10B7,
0x1B80, 0xE19310C5,
0x1B80, 0xE19310C7,
0x1B80, 0xE1D010D5,
0x1B80, 0xE1D010D7,
0x1B80, 0x670E10E5,
0x1B80, 0x670E10E7,
0x1B80, 0xE19310F5,
0x1B80, 0xE19310F7,
0x1B80, 0xE1D01105,
0x1B80, 0xE1D01107,
0x1B80, 0x4D101115,
0x1B80, 0x4D101117,
0x1B80, 0x30A41125,
0x1B80, 0x30A41127,
0x1B80, 0x00011135,
0x1B80, 0x00011137,
0x1B80, 0x6C001145,
0x1B80, 0x6C001147,
0x1B80, 0x00061155,
0x1B80, 0x00061157,
0x1B80, 0x53001165,
0x1B80, 0x53001167,
0x1B80, 0x57F71175,
0x1B80, 0x57F71177,
0x1B80, 0x58211185,
0x1B80, 0x58211187,
0x1B80, 0x592E1195,
0x1B80, 0x592E1197,
0x1B80, 0x5A3811A5,
0x1B80, 0x5A3811A7,
0x1B80, 0x5B4111B5,
0x1B80, 0x5B4111B7,
0x1B80, 0x000711C5,
0x1B80, 0x000711C7,
0x1B80, 0x5C0011D5,
0x1B80, 0x5C0011D7,
0x1B80, 0x4B0011E5,
0x1B80, 0x4B0011E7,
0x1B80, 0x4E8F11F5,
0x1B80, 0x4E8F11F7,
0x1B80, 0x4F151205,
0x1B80, 0x4F151207,
0x1B80, 0x00041215,
0x1B80, 0x00041217,
0x1B80, 0xE1B51225,
0x1B80, 0xE1B51227,
0x1B80, 0xAB001235,
0x1B80, 0xAB001237,
0x1B80, 0x00011245,
0x1B80, 0x00011247,
0x1B80, 0x6C001255,
0x1B80, 0x6C001257,
0x1B80, 0x00061265,
0x1B80, 0x00061267,
0x1B80, 0x53001275,
0x1B80, 0x53001277,
0x1B80, 0x57F71285,
0x1B80, 0x57F71287,
0x1B80, 0x58211295,
0x1B80, 0x58211297,
0x1B80, 0x592E12A5,
0x1B80, 0x592E12A7,
0x1B80, 0x5A3812B5,
0x1B80, 0x5A3812B7,
0x1B80, 0x5B4112C5,
0x1B80, 0x5B4112C7,
0x1B80, 0x000712D5,
0x1B80, 0x000712D7,
0x1B80, 0x5C0012E5,
0x1B80, 0x5C0012E7,
0x1B80, 0x4B4012F5,
0x1B80, 0x4B4012F7,
0x1B80, 0x4E971305,
0x1B80, 0x4E971307,
0x1B80, 0x4F111315,
0x1B80, 0x4F111317,
0x1B80, 0x00041325,
0x1B80, 0x00041327,
0x1B80, 0xE1B51335,
0x1B80, 0xE1B51337,
0x1B80, 0xAB001345,
0x1B80, 0xAB001347,
0x1B80, 0x8B001355,
0x1B80, 0x8B001357,
0x1B80, 0xAB001365,
0x1B80, 0xAB001367,
0x1B80, 0x8A191375,
0x1B80, 0x8A191377,
0x1B80, 0x301D1385,
0x1B80, 0x301D1387,
0x1B80, 0x00011395,
0x1B80, 0x00011397,
0x1B80, 0x6C0113A5,
0x1B80, 0x6C0113A7,
0x1B80, 0x000613B5,
0x1B80, 0x000613B7,
0x1B80, 0x530113C5,
0x1B80, 0x530113C7,
0x1B80, 0x57F713D5,
0x1B80, 0x57F713D7,
0x1B80, 0x582113E5,
0x1B80, 0x582113E7,
0x1B80, 0x592E13F5,
0x1B80, 0x592E13F7,
0x1B80, 0x5A381405,
0x1B80, 0x5A381407,
0x1B80, 0x5B411415,
0x1B80, 0x5B411417,
0x1B80, 0x00071425,
0x1B80, 0x00071427,
0x1B80, 0x5C001435,
0x1B80, 0x5C001437,
0x1B80, 0x4B001445,
0x1B80, 0x4B001447,
0x1B80, 0x4E871455,
0x1B80, 0x4E871457,
0x1B80, 0x4F111465,
0x1B80, 0x4F111467,
0x1B80, 0x00041475,
0x1B80, 0x00041477,
0x1B80, 0xE1B51485,
0x1B80, 0xE1B51487,
0x1B80, 0xAB001495,
0x1B80, 0xAB001497,
0x1B80, 0x000614A5,
0x1B80, 0x000614A7,
0x1B80, 0x577714B5,
0x1B80, 0x577714B7,
0x1B80, 0x000714C5,
0x1B80, 0x000714C7,
0x1B80, 0x4E8614D5,
0x1B80, 0x4E8614D7,
0x1B80, 0x000414E5,
0x1B80, 0x000414E7,
0x1B80, 0x000114F5,
0x1B80, 0x000114F7,
0x1B80, 0x00011505,
0x1B80, 0x00011507,
0x1B80, 0x7B241515,
0x1B80, 0x7B241517,
0x1B80, 0x7A401525,
0x1B80, 0x7A401527,
0x1B80, 0x79001535,
0x1B80, 0x79001537,
0x1B80, 0x55031545,
0x1B80, 0x55031547,
0x1B80, 0x315D1555,
0x1B80, 0x315D1557,
0x1B80, 0x7B1C1565,
0x1B80, 0x7B1C1567,
0x1B80, 0x7A401575,
0x1B80, 0x7A401577,
0x1B80, 0x550B1585,
0x1B80, 0x550B1587,
0x1B80, 0x315D1595,
0x1B80, 0x315D1597,
0x1B80, 0x7B2015A5,
0x1B80, 0x7B2015A7,
0x1B80, 0x7A0015B5,
0x1B80, 0x7A0015B7,
0x1B80, 0x551315C5,
0x1B80, 0x551315C7,
0x1B80, 0x740115D5,
0x1B80, 0x740115D7,
0x1B80, 0x740015E5,
0x1B80, 0x740015E7,
0x1B80, 0x8E0015F5,
0x1B80, 0x8E0015F7,
0x1B80, 0x00011605,
0x1B80, 0x00011607,
0x1B80, 0x57021615,
0x1B80, 0x57021617,
0x1B80, 0x57001625,
0x1B80, 0x57001627,
0x1B80, 0x97001635,
0x1B80, 0x97001637,
0x1B80, 0x00011645,
0x1B80, 0x00011647,
0x1B80, 0x4F781655,
0x1B80, 0x4F781657,
0x1B80, 0x53881665,
0x1B80, 0x53881667,
0x1B80, 0xE1731675,
0x1B80, 0xE1731677,
0x1B80, 0x54801685,
0x1B80, 0x54801687,
0x1B80, 0x54001695,
0x1B80, 0x54001697,
0x1B80, 0xE17316A5,
0x1B80, 0xE17316A7,
0x1B80, 0x548116B5,
0x1B80, 0x548116B7,
0x1B80, 0x540016C5,
0x1B80, 0x540016C7,
0x1B80, 0xE17316D5,
0x1B80, 0xE17316D7,
0x1B80, 0x548216E5,
0x1B80, 0x548216E7,
0x1B80, 0x540016F5,
0x1B80, 0x540016F7,
0x1B80, 0xE17E1705,
0x1B80, 0xE17E1707,
0x1B80, 0xBF1D1715,
0x1B80, 0xBF1D1717,
0x1B80, 0x301D1725,
0x1B80, 0x301D1727,
0x1B80, 0xE1511735,
0x1B80, 0xE1511737,
0x1B80, 0xE1561745,
0x1B80, 0xE1561747,
0x1B80, 0xE15A1755,
0x1B80, 0xE15A1757,
0x1B80, 0xE1611765,
0x1B80, 0xE1611767,
0x1B80, 0xE1C71775,
0x1B80, 0xE1C71777,
0x1B80, 0x55131785,
0x1B80, 0x55131787,
0x1B80, 0xE15D1795,
0x1B80, 0xE15D1797,
0x1B80, 0x551517A5,
0x1B80, 0x551517A7,
0x1B80, 0xE16117B5,
0x1B80, 0xE16117B7,
0x1B80, 0xE1C717C5,
0x1B80, 0xE1C717C7,
0x1B80, 0x000117D5,
0x1B80, 0x000117D7,
0x1B80, 0x54BF17E5,
0x1B80, 0x54BF17E7,
0x1B80, 0x54C017F5,
0x1B80, 0x54C017F7,
0x1B80, 0x54A31805,
0x1B80, 0x54A31807,
0x1B80, 0x54C11815,
0x1B80, 0x54C11817,
0x1B80, 0x54A41825,
0x1B80, 0x54A41827,
0x1B80, 0x4C181835,
0x1B80, 0x4C181837,
0x1B80, 0xBF071845,
0x1B80, 0xBF071847,
0x1B80, 0x54C21855,
0x1B80, 0x54C21857,
0x1B80, 0x54A41865,
0x1B80, 0x54A41867,
0x1B80, 0xBF041875,
0x1B80, 0xBF041877,
0x1B80, 0x54C11885,
0x1B80, 0x54C11887,
0x1B80, 0x54A31895,
0x1B80, 0x54A31897,
0x1B80, 0xBF0118A5,
0x1B80, 0xBF0118A7,
0x1B80, 0xE1D518B5,
0x1B80, 0xE1D518B7,
0x1B80, 0x54DF18C5,
0x1B80, 0x54DF18C7,
0x1B80, 0x000118D5,
0x1B80, 0x000118D7,
0x1B80, 0x54BF18E5,
0x1B80, 0x54BF18E7,
0x1B80, 0x54E518F5,
0x1B80, 0x54E518F7,
0x1B80, 0x050A1905,
0x1B80, 0x050A1907,
0x1B80, 0x54DF1915,
0x1B80, 0x54DF1917,
0x1B80, 0x00011925,
0x1B80, 0x00011927,
0x1B80, 0x7F201935,
0x1B80, 0x7F201937,
0x1B80, 0x7E001945,
0x1B80, 0x7E001947,
0x1B80, 0x7D001955,
0x1B80, 0x7D001957,
0x1B80, 0x55011965,
0x1B80, 0x55011967,
0x1B80, 0x5C311975,
0x1B80, 0x5C311977,
0x1B80, 0xE15D1985,
0x1B80, 0xE15D1987,
0x1B80, 0xE1611995,
0x1B80, 0xE1611997,
0x1B80, 0x548019A5,
0x1B80, 0x548019A7,
0x1B80, 0x540019B5,
0x1B80, 0x540019B7,
0x1B80, 0xE15D19C5,
0x1B80, 0xE15D19C7,
0x1B80, 0xE16119D5,
0x1B80, 0xE16119D7,
0x1B80, 0x548119E5,
0x1B80, 0x548119E7,
0x1B80, 0x540019F5,
0x1B80, 0x540019F7,
0x1B80, 0xE15D1A05,
0x1B80, 0xE15D1A07,
0x1B80, 0xE1611A15,
0x1B80, 0xE1611A17,
0x1B80, 0x54821A25,
0x1B80, 0x54821A27,
0x1B80, 0x54001A35,
0x1B80, 0x54001A37,
0x1B80, 0xE17E1A45,
0x1B80, 0xE17E1A47,
0x1B80, 0xBFE91A55,
0x1B80, 0xBFE91A57,
0x1B80, 0x301D1A65,
0x1B80, 0x301D1A67,
0x1B80, 0x00231A75,
0x1B80, 0x00231A77,
0x1B80, 0x7B201A85,
0x1B80, 0x7B201A87,
0x1B80, 0x7A001A95,
0x1B80, 0x7A001A97,
0x1B80, 0x79001AA5,
0x1B80, 0x79001AA7,
0x1B80, 0xE1CB1AB5,
0x1B80, 0xE1CB1AB7,
0x1B80, 0x00021AC5,
0x1B80, 0x00021AC7,
0x1B80, 0x00011AD5,
0x1B80, 0x00011AD7,
0x1B80, 0x00221AE5,
0x1B80, 0x00221AE7,
0x1B80, 0x7B201AF5,
0x1B80, 0x7B201AF7,
0x1B80, 0x7A001B05,
0x1B80, 0x7A001B07,
0x1B80, 0x79001B15,
0x1B80, 0x79001B17,
0x1B80, 0xE1CB1B25,
0x1B80, 0xE1CB1B27,
0x1B80, 0x00021B35,
0x1B80, 0x00021B37,
0x1B80, 0x00011B45,
0x1B80, 0x00011B47,
0x1B80, 0x74021B55,
0x1B80, 0x74021B57,
0x1B80, 0x003F1B65,
0x1B80, 0x003F1B67,
0x1B80, 0x74001B75,
0x1B80, 0x74001B77,
0x1B80, 0x00021B85,
0x1B80, 0x00021B87,
0x1B80, 0x00011B95,
0x1B80, 0x00011B97,
0x1B80, 0x4D041BA5,
0x1B80, 0x4D041BA7,
0x1B80, 0x2EF81BB5,
0x1B80, 0x2EF81BB7,
0x1B80, 0x00001BC5,
0x1B80, 0x00001BC7,
0x1B80, 0x23301BD5,
0x1B80, 0x23301BD7,
0x1B80, 0x00241BE5,
0x1B80, 0x00241BE7,
0x1B80, 0x23E01BF5,
0x1B80, 0x23E01BF7,
0x1B80, 0x003F1C05,
0x1B80, 0x003F1C07,
0x1B80, 0x23FC1C15,
0x1B80, 0x23FC1C17,
0x1B80, 0xBFCE1C25,
0x1B80, 0xBFCE1C27,
0x1B80, 0x2EF01C35,
0x1B80, 0x2EF01C37,
0x1B80, 0x00001C45,
0x1B80, 0x00001C47,
0x1B80, 0x4D001C55,
0x1B80, 0x4D001C57,
0x1B80, 0x00011C65,
0x1B80, 0x00011C67,
0x1B80, 0x549F1C75,
0x1B80, 0x549F1C77,
0x1B80, 0x54FF1C85,
0x1B80, 0x54FF1C87,
0x1B80, 0x54001C95,
0x1B80, 0x54001C97,
0x1B80, 0x00011CA5,
0x1B80, 0x00011CA7,
0x1B80, 0x5C311CB5,
0x1B80, 0x5C311CB7,
0x1B80, 0x07141CC5,
0x1B80, 0x07141CC7,
0x1B80, 0x54001CD5,
0x1B80, 0x54001CD7,
0x1B80, 0x5C321CE5,
0x1B80, 0x5C321CE7,
0x1B80, 0x00011CF5,
0x1B80, 0x00011CF7,
0x1B80, 0x5C321D05,
0x1B80, 0x5C321D07,
0x1B80, 0x07141D15,
0x1B80, 0x07141D17,
0x1B80, 0x54001D25,
0x1B80, 0x54001D27,
0x1B80, 0x5C311D35,
0x1B80, 0x5C311D37,
0x1B80, 0x00011D45,
0x1B80, 0x00011D47,
0x1B80, 0x4C981D55,
0x1B80, 0x4C981D57,
0x1B80, 0x4C181D65,
0x1B80, 0x4C181D67,
0x1B80, 0x00011D75,
0x1B80, 0x00011D77,
0x1B80, 0x5C321D85,
0x1B80, 0x5C321D87,
0x1B80, 0x62841D95,
0x1B80, 0x62841D97,
0x1B80, 0x66861DA5,
0x1B80, 0x66861DA7,
0x1B80, 0x6C031DB5,
0x1B80, 0x6C031DB7,
0x1B80, 0x7B201DC5,
0x1B80, 0x7B201DC7,
0x1B80, 0x7A001DD5,
0x1B80, 0x7A001DD7,
0x1B80, 0x79001DE5,
0x1B80, 0x79001DE7,
0x1B80, 0x7F201DF5,
0x1B80, 0x7F201DF7,
0x1B80, 0x7E001E05,
0x1B80, 0x7E001E07,
0x1B80, 0x7D001E15,
0x1B80, 0x7D001E17,
0x1B80, 0x09011E25,
0x1B80, 0x09011E27,
0x1B80, 0x0C011E35,
0x1B80, 0x0C011E37,
0x1B80, 0x0BA61E45,
0x1B80, 0x0BA61E47,
0x1B80, 0x00011E55,
0x1B80, 0x00011E57,
0x1B80, 0x00000006,
0x1B80, 0x00000002,
};
#endif
void odm_read_and_config_mp_8822b_cal_init(void *dm_void)
{
#if 0
u32 i = 0;
u32 array_len = sizeof(array_mp_8822b_cal_init)/sizeof(u32);
u32 *array = array_mp_8822b_cal_init;
u32 v1 = 0, v2 = 0;
PHYDM_DBG(dm, ODM_COMP_INIT, "===> %s\n", __func__);
while ((i + 1) < array_len) {
v1 = array[i];
v2 = array[i + 1];
odm_config_bb_phy_8822b(dm, v1, MASKDWORD, v2);
i = i + 2;
}
#endif
}