From 691cc9529efe8ea7abaab170c452ae4470bf3ac2 Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Wed, 6 Feb 2013 02:59:31 +0200 Subject: Rebase files to rsdk 3.2 and refresh patches. Compilable (not by humans). Signed-off-by: Roman Yeryomin --- .../wireless/rtl8192cd/data_88e/AGC_TAB_1T_88E.txt | 131 ++++++++++++ .../wireless/rtl8192cd/data_88e/MAC_REG_88E.txt | 94 +++++++++ .../wireless/rtl8192cd/data_88e/PHY_REG_1T_88E.txt | 231 +++++++++++++++++++++ .../wireless/rtl8192cd/data_88e/PHY_REG_MP_88E.txt | 4 + .../wireless/rtl8192cd/data_88e/PHY_REG_PG_88E.txt | 144 +++++++++++++ .../wireless/rtl8192cd/data_88e/radio_a_1T_88E.txt | 132 ++++++++++++ 6 files changed, 736 insertions(+) create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/AGC_TAB_1T_88E.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/MAC_REG_88E.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_1T_88E.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_MP_88E.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_PG_88E.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/radio_a_1T_88E.txt (limited to 'target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e') diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/AGC_TAB_1T_88E.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/AGC_TAB_1T_88E.txt new file mode 100644 index 000000000..93d138eb5 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/AGC_TAB_1T_88E.txt @@ -0,0 +1,131 @@ +// AGC_TABLE 1 +0xc78 0xfb000001 //-110 //03 fb +0xc78 0xfb010001 //04 fb +0xc78 0xfb020001 //05 fb +0xc78 0xfb030001 //06 fb +0xc78 0xfb040001 //07 fb +0xc78 0xfb050001 //-100 //08 fb +0xc78 0xfa060001 //09 fb +0xc78 0xf9070001 //0A fa +0xc78 0xf8080001 //0B f9 +0xc78 0xf7090001 //0C f8 +0xc78 0xf60A0001 //-90 //0D f7 +0xc78 0xf50B0001 //0E f6 +0xc78 0xf40C0001 //0F f5 +0xc78 0xf30D0001 //10 f4 +0xc78 0xf20E0001 //11 f3 +0xc78 0xf10F0001 //-80 //12 f2 +0xc78 0xf0100001 //13 f1 +0xc78 0xef110001 //14 f0 +0xc78 0xee120001 //15 ef +0xc78 0xed130001 //16 ee 14 +0xc78 0xec140001 //-70 //17 ed 12 +0xc78 0xeb150001 //18 ec 13 +0xc78 0xea160001 //19 eb 14 +0xc78 0xe9170001 //1A ea 15 +0xc78 0xe8180001 //1B e9 16 +0xc78 0xe7190001 //-60 //1C e8 1A 17 +0xc78 0xe61A0001 //1D e7 +0xc78 0xe51B0001 //1E e6 +0xc78 0xe41C0001 //1F e5 +0xc78 0xe31D0001 //20 e4 +0xc78 0xe21E0001 //-50 //21 e3 1F +0xc78 0xe11F0001 //22 e2 +0xc78 0x8a200001 //23 e1 +0xc78 0x89210001 //24 e0 +0xc78 0x88220001 //25 88 8a +0xc78 0x87230001 //-40 //88 87 24 89 +0xc78 0x86240001 //87 86 25 88 +0xc78 0x85250001 //86 85 26 87 +0xc78 0x84260001 //85 84 86 +0xc78 0x83270001 //84 83 +0xc78 0x82280001 //-30 //2A 82 +0xc78 0x6b290001 //2B 6a +0xc78 0x6a2A0001 //2C 69 +0xc78 0x692B0001 //2D 68 +0xc78 0x682C0001 //2E 67 +0xc78 0x672D0001 //-20 //2F 66 +0xc78 0x662E0001 //30 65 +0xc78 0x652F0001 //31 64 +0xc78 0x64300001 //32 4a +0xc78 0x63310001 //3 49 +0xc78 0x62320001 //-10 //34 48 +0xc78 0x61330001 //35 47 +0xc78 0x46340001 //36 46 +0xc78 0x45350001 //37 45 +0xc78 0x44360001 //38 44 +0xc78 0x43370001 //0 //39 43 +0xc78 0x42380001 //44 42 +0xc78 0x41390001 //43 41 +0xc78 0x403A0001 //42 40 +0xc78 0x403B0001 //41 40 +0xc78 0x403C0001 //10 //40 40 +0xc78 0x403D0001 //40 40 +0xc78 0x403E0001 //40 40 +0xc78 0x403F0001 //16 //40 40 +// AGC_TAB40 2 +0xc78 0xfb400001 //-110 +0xc78 0xfb410001 +0xc78 0xfb420001 +0xc78 0xfb430001 +0xc78 0xfb440001 +0xc78 0xfb450001 //-100 +0xc78 0xfb460001 +0xc78 0xfb470001 +0xc78 0xfb480001 +0xc78 0xfa490001 +0xc78 0xf94a0001 //-90 +0xc78 0xf84b0001 +0xc78 0xf74c0001 +0xc78 0xf64d0001 +0xc78 0xf54e0001 +0xc78 0xf44f0001 //-80 +0xc78 0xf3500001 +0xc78 0xf2510001 +0xc78 0xf1520001 +0xc78 0xf0530001 +0xc78 0xef540001 //-70 +0xc78 0xee550001 +0xc78 0xed560001 +0xc78 0xec570001 +0xc78 0xeb580001 +0xc78 0xea590001 //-60 +0xc78 0xe95a0001 +0xc78 0xe85b0001 +0xc78 0xe75c0001 +0xc78 0xe65d0001 +0xc78 0xe55e0001 //-50 +0xc78 0xe45f0001 +0xc78 0xe3600001 +0xc78 0xe2610001 +0xc78 0xc3620001 +0xc78 0xc2630001 //-40 +0xc78 0xc1640001 +0xc78 0x8b650001 +0xc78 0x8a660001 +0xc78 0x89670001 +0xc78 0x88680001 //-30 //a5 +0xc78 0x87690001 +0xc78 0x866a0001 +0xc78 0x856b0001 +0xc78 0x846c0001 +0xc78 0x676d0001 //-20 +0xc78 0x666e0001 +0xc78 0x656f0001 +0xc78 0x64700001 //64 +0xc78 0x63710001 //63 +0xc78 0x62720001 //-10 //62 +0xc78 0x61730001 //61 +0xc78 0x60740001 //60 +0xc78 0x46750001 +0xc78 0x45760001 +0xc78 0x44770001 //0 +0xc78 0x43780001 +0xc78 0x42790001 +0xc78 0x417a0001 +0xc78 0x407b0001 +0xc78 0x407c0001 //10 +0xc78 0x407d0001 +0xc78 0x407e0001 +0xc78 0x407f0001 //16 +0xffff 0xffff diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/MAC_REG_88E.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/MAC_REG_88E.txt new file mode 100644 index 000000000..eea2e555e --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/MAC_REG_88E.txt @@ -0,0 +1,94 @@ +//Release version: RTL8188E.2.0104.2012 +0x024 0x21 +0x025 0x04 +0x026 0x41 +0x027 0x37 +0x428 0x0a +0x429 0x10 +0x430 0x00 +0x431 0x01 +0x432 0x02 +0x433 0x04 +0x434 0x05 +0x435 0x06 +0x436 0x07 +0x437 0x08 +0x438 0x00 +0x439 0x00 +0x43a 0x01 +0x43b 0x02 +0x43c 0x04 +0x43d 0x05 +0x43e 0x06 +0x43f 0x07 +0x440 0x5d +0x441 0x01 +0x442 0x00 +0x444 0x15 +0x445 0xf0 +0x446 0x0f +0x447 0x00 +0x458 0x41 +0x459 0xa8 +0x45a 0x72 +0x45b 0xb9 +0x460 0x66 +0x461 0x66 +0x480 0x08 +0x4c8 0xff +0x4c9 0x08 +0x4cc 0xff +0x4cd 0xff +0x4ce 0x01 +0x4d3 0x01 +0x500 0x26 +0x501 0xa2 +0x502 0x2f +0x503 0x00 +0x504 0x28 +0x505 0xa3 +0x506 0x5e +0x507 0x00 +0x508 0x2b +0x509 0xa4 +0x50a 0x5e +0x50b 0x00 +0x50c 0x4f +0x50d 0xa4 +0x50e 0x00 +0x50f 0x00 +0x512 0x1c +0x514 0x0a +0x516 0x0a +0x525 0x4f +0x550 0x10 +0x551 0x10 +0x559 0x02 +0x55d 0xff +0x605 0x30 +0x608 0x0e +0x609 0x2a +0x620 0xff +0x621 0xff +0x622 0xff +0x623 0xff +0x624 0xff +0x625 0xff +0x626 0xff +0x627 0xff +0x652 0x20 +0x63c 0x0a +0x63d 0x0e +0x63e 0x0a +0x63f 0x0e +0x640 0x40 +0x66e 0x05 +0x700 0x21 +0x701 0x43 +0x702 0x65 +0x703 0x87 +0x708 0x21 +0x709 0x43 +0x70a 0x65 +0x70b 0x87 +0xffff 0xffff diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_1T_88E.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_1T_88E.txt new file mode 100644 index 000000000..d5350b20c --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_88e/PHY_REG_1T_88E.txt @@ -0,0 +1,231 @@ +//Release version: RTL8188E.009.0105.2012 +//20111125 +//0x24 0x37410421 //0x24[27]=1'b0 +//20111004 Alex +//0x24 038180f1 //reducing 80M spur +//0x28 0xf2ffff83 //reducing 80M spur +//0x28 0xf2ffff82 //reducing 80M spur +//0x28 0xf2ffff83 //reducing 80M spur +//0x40 0x00000004 //BT LO Leakage +//0x66 0x00040000 //110315 +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040000 +0x804 0x00000003 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +0x814 0x020c3d10 +0x818 0x0220038e // [30:29] is DTR, Set off now. turn off RIFS: 0x00200185, turn on RIFS: 0x00200385 +0x81c 0x00000000 +0x820 0x01000100 // 0x01000000 (SI), 0x01000100 (PI) +0x824 0x00390004 //88E: 0x824[9]=1'b0 +0x828 0x00000000 +0x82c 0x00000000 +0x830 0x00000000 +0x834 0x00000000 +0x838 0x00000000 +0x83c 0x00000000 +0x840 0x00010000 //RF to standby mode +0x844 0x00000000 +0x848 0x00000000 +0x84c 0x00000000 +0x850 0x00000000 // RF wakeup, TBD +0x854 0x00000000 // RF sleep, TBD +0x858 0x569a11a9 //88E:R130 0x858[15:0]=16h11a9 //0x569a569a +0x85c 0x01000014 // AFE ctrl reg (ASIC) RX AD3 CCA mode +0x860 0x66f60110 //88E:R133 0x860[14:12]=3'd0 //8723E default WiFi for 1 anatenna solution +0x864 0x061f0641 //88E:R130 0x864[15:0]=16'h0641 //0x061f0130 +0x868 0x00000000 +0x86c 0x27272700 //0x32323200 //Path-A 11M/5.5M/2M TX AGC codeword +0x870 0x07000760 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA) +0x874 0x25004000 // 0x874[27:24]=4'b0101 ADC Gain x 1 //0x22004000 +0x878 0x00000808 //88E:R130+R132 0x878[15:0]=16'h0808,0x878[31:16]=16'h0000 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xb0000c1c // AFE ctrl reg (ASIC), 0x880[17]=1'b0 +0x884 0x00000001 // AFE ctrl reg (ASIC), 0x884[2:1]=0 +0x888 0x00000000 // AFE ctrl reg (ASIC) +0x88c 0xccc000c0 // [10:1] is r_rdy_cnt for sleep/standby mode, [27],[31] are MCS_IND +0x890 0x00000800 +0x894 0xfffffffe +0x898 0x40302010 +0x89c 0x00706050 +// +//======================= +// PAGE_9 ( FPGA_PHY1 ) +//======================= +0x900 0x00000000 +0x904 0x00000023 +0x908 0x00000000 +0x90c 0x81121111 // tx antenna by contorl register +0x910 0x00000002 // 88E:RX_Status, Reg910[15:0]=16'd2 +0x914 0x00000100 // 88E:Antenna Diversity, 0x914[7:0]=0, 0x914[15:8]=1 +// +//======================= +// PAGE_A ( CCK_PHY0 ) +//======================= +0xa00 0x00d047c8 +0xa04 0x80ff000c +0xa08 0x8c838300 // MP: 0x88838300, driver: 0x8ccd8300 +0xa0c 0x2e7f120f +0xa10 0x9500bb78 +0xa14 0x1114D028 +0xa18 0x00881117 +0xa1c 0x89140f00 +0xa20 0x1a1b0000 +0xa24 0x090e1317 +0xa28 0x00000204 +0xa2c 0x00d30000 +0xa70 0x101fbf00 +0xa74 0x00000007 //88E:R124+R127 RegA76=0x00,RegA77=0x00 +0xa78 0x00000900 //88E:R124+R127 RegA78=0x00,RegA79=0x09 +0xa7c 0x22c00606 //88E:R134 RegA7C=0x06,RegA7D=0x06,RegA7E=0xc0,RegA7F=0x22 +0xa80 0x21807631 //88E: CCK LNA 2 to 3 bit mapping, 0xa80[23]=1'b1. 0xa80[7]=1'b0, CCK agc_rpt as old format +//0xa80 0x21003210 //88E:R134 RegA80=0x10,RegA81=0x32,RegA82=0x00,RegA83=0x21 +// +//======================= +// PAGE_B +//======================= +0xb2c 0x80000000 //default LNA +// +//======================= +// PAGE_C ( OFDM_PHY0 ) +//======================= +0xc00 0x48071d40 +0xc04 0x03a05611 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac44 // PWED_TH option2=0x69e9bb44, 0x69e9ab44, 0x69e9ac44 +0xc34 0x469652af +0xc38 0x49795994 +0xc3c 0x0a97971c +0xc40 0x1f7c403f //88E:R122 //0x1f7c403f +0xc44 0x000100b7 +0xc48 0xec020107 //[1]=1:enable L1_SBD +0xc4c 0x007f037f // turn off edcca +0xc50 0x69553420 //88E:R122 //0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc54 0x43bc0094 +0xc58 0x00003169 // simple agc settling time //0x00000967 //88E:R122 //0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc5c 0x00250492 // switch RXHP corner //0x00681492 //88E:R122+mantis2467 0xc5c[20:18]=3'd1, 0xc5c[23:21]=3'd1, 0xc5c[26:24]=3'd0 //0x433c0094 +0xc60 0x00000000 // DTR TH +0xc64 0x7112848b //L1-SBD //31168a8b for 6M sen. 0x5116828b, 0x5116848b //by Gary +0xc68 0x47c00bff //L1-SBD +0xc6c 0x00000036 //88E:R129 0xc6c[8:7]=0 //L1-SBD +0xc70 0x2c7f000d // disable AGC flow-1 +0xc74 0x020610db // 1st and 2nd BB PW time = 400ns //0x038610db +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x40000100 //0x1b00006c //BB Swing reduce to -7.5dB +0xc84 0x20f60000 +0xc88 0x40000100 +0xc8c 0x20200000 +0xc90 0x00121820 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00121820 // TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x000300A0 //88E: 0xca4[10:0]=0xa0, 0xca4[22:12]=0x30 //0x00000080 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00000740 //88E: support