diff options
Diffstat (limited to 'target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d')
20 files changed, 4185 insertions, 0 deletions
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_2G_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_2G_n.txt new file mode 100644 index 000000000..9ac9ca76f --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_2G_n.txt @@ -0,0 +1,265 @@ +// AGC_TABLE 100319
+0xc78 0x7B000001 //-110
+0xc78 0x7B010001
+0xc78 0x7B020001
+0xc78 0x7B030001
+0xc78 0x7B040001
+0xc78 0x7B050001 //-100
+0xc78 0x7B060001
+0xc78 0x7A070001
+0xc78 0x79080001
+0xc78 0x78090001
+0xc78 0x770A0001 //-90
+0xc78 0x760B0001
+0xc78 0x750C0001
+0xc78 0x740D0001
+0xc78 0x730E0001
+0xc78 0x720F0001 //-80
+0xc78 0x71100001
+0xc78 0x70110001
+0xc78 0x6F120001
+0xc78 0x6E130001
+0xc78 0x6D140001 //-70
+0xc78 0x6C150001
+0xc78 0x6B160001
+0xc78 0x6A170001
+0xc78 0x69180001
+0xc78 0x68190001 //-60
+0xc78 0x671A0001
+0xc78 0x661B0001
+0xc78 0x651C0001
+0xc78 0x641D0001
+0xc78 0x631E0001 //-50
+0xc78 0x621F0001
+0xc78 0x61200001
+0xc78 0x60210001
+0xc78 0x49220001
+0xc78 0x48230001 //-40
+0xc78 0x47240001
+0xc78 0x46250001
+0xc78 0x45260001
+0xc78 0x44270001
+0xc78 0x43280001 //-30
+0xc78 0x42290001
+0xc78 0x412A0001
+0xc78 0x402B0001
+0xc78 0x262C0001
+0xc78 0x252D0001 //-20
+0xc78 0x242E0001
+0xc78 0x232F0001
+0xc78 0x22300001
+0xc78 0x21310001
+0xc78 0x20320001 //-10
+0xc78 0x06330001
+0xc78 0x05340001
+0xc78 0x04350001
+0xc78 0x03360001
+0xc78 0x02370001 //0
+0xc78 0x01380001
+0xc78 0x00390001
+0xc78 0x003A0001
+0xc78 0x003B0001
+0xc78 0x003C0001 //10
+0xc78 0x003D0001
+0xc78 0x003E0001
+0xc78 0x003F0001 //16
+//// AGC_TABLE 2
+//0xc78 0x7B400001 //-110
+//0xc78 0x7B410001
+//0xc78 0x7B420001
+//0xc78 0x7B430001
+//0xc78 0x7B440001
+//0xc78 0x7B450001 //-100
+//0xc78 0x7B460001
+//0xc78 0x7A470001
+//0xc78 0x79480001
+//0xc78 0x78490001
+//0xc78 0x774a0001 //-90
+//0xc78 0x764b0001
+//0xc78 0x754c0001
+//0xc78 0x744d0001
+//0xc78 0x734e0001
+//0xc78 0x724f0001 //-80
+//0xc78 0x71500001
+//0xc78 0x70510001
+//0xc78 0x6F520001
+//0xc78 0x6E530001
+//0xc78 0x6D540001 //-70
+//0xc78 0x6C550001
+//0xc78 0x6B560001
+//0xc78 0x6A570001
+//0xc78 0x69580001
+//0xc78 0x68590001 //-60
+//0xc78 0x675a0001
+//0xc78 0x665b0001
+//0xc78 0x655c0001
+//0xc78 0x645d0001
+//0xc78 0x635e0001 //-50
+//0xc78 0x625f0001
+//0xc78 0x61600001
+//0xc78 0x60610001
+//0xc78 0x49620001
+//0xc78 0x48630001 //-40
+//0xc78 0x47640001
+//0xc78 0x46650001
+//0xc78 0x45660001
+//0xc78 0x44670001
+//0xc78 0x43680001 //-30
+//0xc78 0x42690001
+//0xc78 0x416a0001
+//0xc78 0x406b0001
+//0xc78 0x266c0001
+//0xc78 0x256d0001 //-20
+//0xc78 0x246e0001
+//0xc78 0x236f0001
+//0xc78 0x22700001
+//0xc78 0x21710001
+//0xc78 0x20720001 //-10
+//0xc78 0x06730001
+//0xc78 0x05740001
+//0xc78 0x04750001
+//0xc78 0x03760001
+//0xc78 0x02770001 //0
+//0xc78 0x01780001
+//0xc78 0x00790001
+//0xc78 0x007a0001
+//0xc78 0x007b0001
+//0xc78 0x007c0001 //10
+//0xc78 0x007d0001
+//0xc78 0x007e0001
+//0xc78 0x007f0001 //16
+// RSSI TABLE_0 (for 2G)
+0xc78 0x38000002
+0xc78 0x38010002
+0xc78 0x38020002
+0xc78 0x38030002
+0xc78 0x38040002
+0xc78 0x38050002
+0xc78 0x38060002
+0xc78 0x38070002
+0xc78 0x38080002 //-54
+0xc78 0x3C090002 //-50
+0xc78 0x3E0A0002
+0xc78 0x400B0002 //-46
+0xc78 0x440C0002 //-42
+0xc78 0x480D0002 //-38
+0xc78 0x4C0E0002
+0xc78 0x500F0002 //-30
+0xc78 0x52100002
+0xc78 0x56110002 //-24
+0xc78 0x5A120002 //-20
+0xc78 0x5E130002
+0xc78 0x60140002 //-14
+0xc78 0x60150002
+0xc78 0x60160002
+0xc78 0x62170002
+0xc78 0x62180002
+0xc78 0x62190002
+0xc78 0x621A0002
+0xc78 0x621B0002
+0xc78 0x621C0002
+0xc78 0x621D0002
+0xc78 0x621E0002
+0xc78 0x621F0002
+//// RSSI TABLE_1 (for 5G)
+//0xc78 0x28000044
+//0xc78 0x28010044
+//0xc78 0x28020044
+//0xc78 0x28030044
+//0xc78 0x28040044
+//0xc78 0x28050044
+//0xc78 0x30060044
+//0xc78 0x31070044
+//0xc78 0x32080044
+//0xc78 0x35090044
+//0xc78 0x370a0044
+//0xc78 0x3a0b0044
+//0xc78 0x3c0c0044
+//0xc78 0x3f0d0044
+//0xc78 0x410e0044
+//0xc78 0x440f0044
+//0xc78 0x46100044
+//0xc78 0x4b110044
+//0xc78 0x50120044
+//0xc78 0x52130044
+//0xc78 0x55140044
+//0xc78 0x57150044
+//0xc78 0x5a160044
+//0xc78 0x5c170044
+//0xc78 0x5e180044
+//0xc78 0x60190044
+//0xc78 0x621A0044
+//0xc78 0x651B0044
+//0xc78 0x681C0044
+//0xc78 0x6b1D0044
+//0xc78 0x6e1E0044
+//0xc78 0x6e1F0044
+//// RSSI TABLE_2
+//0xc78 0x28000088
+//0xc78 0x28010088
+//0xc78 0x28020088
+//0xc78 0x28030088
+//0xc78 0x28040088
+//0xc78 0x28050088
+//0xc78 0x30060088
+//0xc78 0x31070088
+//0xc78 0x32080088
+//0xc78 0x35090088
+//0xc78 0x370a0088
+//0xc78 0x3a0b0088
+//0xc78 0x3c0c0088
+//0xc78 0x3f0d0088
+//0xc78 0x410e0088
+//0xc78 0x440f0088
+//0xc78 0x46100088
+//0xc78 0x4b110088
+//0xc78 0x50120088
+//0xc78 0x52130088
+//0xc78 0x55140088
+//0xc78 0x57150088
+//0xc78 0x5a160088
+//0xc78 0x5c170088
+//0xc78 0x5e180088
+//0xc78 0x60190088
+//0xc78 0x621A0088
+//0xc78 0x651B0088
+//0xc78 0x681C0088
+//0xc78 0x6b1D0088
+//0xc78 0x6e1E0088
+//0xc78 0x6e1F0088
+//// RSSI TABLE_3
+//0xc78 0x280000d0
+//0xc78 0x280100d0
+//0xc78 0x280200d0
+//0xc78 0x280300d0
+//0xc78 0x280400d0
+//0xc78 0x280500d0
+//0xc78 0x300600d0
+//0xc78 0x310700d0
+//0xc78 0x320800d0
+//0xc78 0x350900d0
+//0xc78 0x370a00d0
+//0xc78 0x3a0b00d0
+//0xc78 0x3c0c00d0
+//0xc78 0x3f0d00d0
+//0xc78 0x410e00d0
+//0xc78 0x440f00d0
+//0xc78 0x461000d0
+//0xc78 0x4b1100d0
+//0xc78 0x501200d0
+//0xc78 0x521300d0
+//0xc78 0x551400d0
+//0xc78 0x571500d0
+//0xc78 0x5a1600d0
+//0xc78 0x5c1700d0
+//0xc78 0x5e1800d0
+//0xc78 0x601900d0
+//0xc78 0x621A00d0
+//0xc78 0x651B00d0
+//0xc78 0x681C00d0
+//0xc78 0x6b1D00d0
+//0xc78 0x6e1E00d0
+//0xc78 0x6e1F00d0
+// disable all AGC& RSSI table select
+0xc78 0x6e1f0000
+0xff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_5G_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_5G_n.txt new file mode 100644 index 000000000..9a4d9e9e3 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_5G_n.txt @@ -0,0 +1,265 @@ +// AGC_TABLE 101222
+0xc78 0x7b000001 //-110
+0xc78 0x7b010001
+0xc78 0x7a020001
+0xc78 0x79030001
+0xc78 0x78040001
+0xc78 0x77050001 //-100
+0xc78 0x76060001
+0xc78 0x75070001
+0xc78 0x74080001
+0xc78 0x73090001
+0xc78 0x720A0001 //-90
+0xc78 0x710B0001
+0xc78 0x700C0001
+0xc78 0x6f0D0001
+0xc78 0x6e0E0001
+0xc78 0x6d0F0001 //-80
+0xc78 0x6c100001
+0xc78 0x6b110001
+0xc78 0x6a120001
+0xc78 0x69130001
+0xc78 0x68140001 //-70
+0xc78 0x67150001
+0xc78 0x66160001
+0xc78 0x65170001
+0xc78 0x64180001
+0xc78 0x63190001 //-60
+0xc78 0x621A0001
+0xc78 0x611B0001
+0xc78 0x601C0001
+0xc78 0x481D0001
+0xc78 0x471E0001 //-50
+0xc78 0x461F0001
+0xc78 0x45200001
+0xc78 0x44210001
+0xc78 0x43220001
+0xc78 0x42230001 //-40
+0xc78 0x41240001
+0xc78 0x40250001
+0xc78 0x27260001
+0xc78 0x26270001
+0xc78 0x25280001 //-30
+0xc78 0x24290001
+0xc78 0x232A0001
+0xc78 0x222B0001
+0xc78 0x212C0001
+0xc78 0x202D0001 //-20
+0xc78 0x202E0001
+0xc78 0x202F0001
+0xc78 0x20300001
+0xc78 0x20310001
+0xc78 0x20320001 //-10
+0xc78 0x20330001
+0xc78 0x20340001
+0xc78 0x20350001
+0xc78 0x20360001
+0xc78 0x20370001 //0
+0xc78 0x20380001
+0xc78 0x20390001
+0xc78 0x203A0001
+0xc78 0x203B0001
+0xc78 0x203C0001 //10
+0xc78 0x203D0001
+0xc78 0x203E0001
+0xc78 0x203F0001 //16
+//// AGC_TABLE 2
+//0xc78 0x7b400001 //-110
+//0xc78 0x7b410001
+//0xc78 0x7b420001
+//0xc78 0x7a430001
+//0xc78 0x79440001
+//0xc78 0x78450001 //-100
+//0xc78 0x77460001
+//0xc78 0x76470001
+//0xc78 0x75480001
+//0xc78 0x74490001
+//0xc78 0x734a0001 //-90
+//0xc78 0x724b0001
+//0xc78 0x714c0001
+//0xc78 0x704d0001
+//0xc78 0x6f4e0001
+//0xc78 0x6e4f0001 //-80
+//0xc78 0x6d500001
+//0xc78 0x6c510001
+//0xc78 0x6b520001
+//0xc78 0x6a530001
+//0xc78 0x69540001 //-70
+//0xc78 0x68550001
+//0xc78 0x67560001
+//0xc78 0x66570001
+//0xc78 0x65580001
+//0xc78 0x64590001 //-60
+//0xc78 0x635a0001
+//0xc78 0x625b0001
+//0xc78 0x615c0001
+//0xc78 0x605d0001
+//0xc78 0x435e0001 //-50
+//0xc78 0x425f0001
+//0xc78 0x41600001
+//0xc78 0x40610001
+//0xc78 0x27620001
+//0xc78 0x26630001 //-40
+//0xc78 0x25640001
+//0xc78 0x24650001
+//0xc78 0x23660001
+//0xc78 0x22670001
+//0xc78 0x21680001 //-30
+//0xc78 0x20690001
+//0xc78 0x206a0001
+//0xc78 0x206b0001
+//0xc78 0x206c0001
+//0xc78 0x206d0001 //-20
+//0xc78 0x206e0001
+//0xc78 0x206f0001
+//0xc78 0x20700001
+//0xc78 0x20710001
+//0xc78 0x20720001 //-10
+//0xc78 0x20730001
+//0xc78 0x20740001
+//0xc78 0x20750001
+//0xc78 0x20760001
+//0xc78 0x20770001 //0
+//0xc78 0x20780001
+//0xc78 0x20790001
+//0xc78 0x207a0001
+//0xc78 0x207b0001
+//0xc78 0x207c0001 //10
+//0xc78 0x207d0001
+//0xc78 0x207e0001
+//0xc78 0x207f0001 //16
+//// RSSI TABLE_0 (for 2G)
+//0xc78 0x38000002
+//0xc78 0x38010002
+//0xc78 0x38020002
+//0xc78 0x38030002
+//0xc78 0x38040002
+//0xc78 0x38050002
+//0xc78 0x38060002
+//0xc78 0x38070002
+//0xc78 0x38080002 //-54
+//0xc78 0x3C090002 //-50
+//0xc78 0x3E0A0002
+//0xc78 0x400B0002 //-46
+//0xc78 0x440C0002 //-42
+//0xc78 0x480D0002 //-38
+//0xc78 0x4C0E0002
+//0xc78 0x500F0002 //-30
+//0xc78 0x52100002
+//0xc78 0x56110002 //-24
+//0xc78 0x5A120002 //-20
+//0xc78 0x5E130002
+//0xc78 0x60140002 //-14
+//0xc78 0x60150002
+//0xc78 0x60160002
+//0xc78 0x62170002
+//0xc78 0x62180002
+//0xc78 0x62190002
+//0xc78 0x621A0002
+//0xc78 0x621B0002
+//0xc78 0x621C0002
+//0xc78 0x621D0002
+//0xc78 0x621E0002
+//0xc78 0x621F0002
+// RSSI TABLE_1 (for 5G)
+0xc78 0x32000044
+0xc78 0x32010044
+0xc78 0x32020044
+0xc78 0x32030044
+0xc78 0x32040044
+0xc78 0x32050044
+0xc78 0x32060044
+0xc78 0x32070044
+0xc78 0x32080044 //-60 32
+0xc78 0x34090044
+0xc78 0x350a0044
+0xc78 0x360b0044
+0xc78 0x370c0044
+0xc78 0x380d0044
+0xc78 0x390e0044
+0xc78 0x3a0f0044 //-50 3a
+0xc78 0x3e100044
+0xc78 0x42110044
+0xc78 0x44120044
+0xc78 0x46130044 //-40 46
+0xc78 0x4a140044
+0xc78 0x4e150044
+0xc78 0x50160044 //-30 50
+0xc78 0x55170044
+0xc78 0x5a180044 //-20 5a
+0xc78 0x5e190044
+0xc78 0x641A0044 //-10 64
+0xc78 0x6e1B0044 //0 6e
+0xc78 0x6e1C0044
+0xc78 0x6e1D0044
+0xc78 0x6e1E0044
+0xc78 0x6e1F0044
+//// RSSI TABLE_2
+//0xc78 0x32000088
+//0xc78 0x32010088
+//0xc78 0x32020088
+//0xc78 0x32030088
+//0xc78 0x32040088
+//0xc78 0x32050088
+//0xc78 0x38060088
+//0xc78 0x38070088
+//0xc78 0x38080088
+//0xc78 0x40090088
+//0xc78 0x460a0088
+//0xc78 0x4a0b0088
+//0xc78 0x4e0c0088
+//0xc78 0x540d0088
+//0xc78 0x560e0088
+//0xc78 0x580f0088
+//0xc78 0x5c100088
+//0xc78 0x64110088
+//0xc78 0x6a120088
+//0xc78 0x6e130088
+//0xc78 0x6e140088
+//0xc78 0x6e150088
+//0xc78 0x6e160088
+//0xc78 0x6e170088
+//0xc78 0x6e180088
+//0xc78 0x6e190088
+//0xc78 0x6e1A0088
+//0xc78 0x6e1B0088
+//0xc78 0x6e1C0088
+//0xc78 0x6e1D0088
+//0xc78 0x6e1E0088
+//0xc78 0x6e1F0088
+//// RSSI TABLE_3
+//0xc78 0x320000d0
+//0xc78 0x320100d0
+//0xc78 0x320200d0
+//0xc78 0x320300d0
+//0xc78 0x320400d0
+//0xc78 0x320500d0
+//0xc78 0x380600d0
+//0xc78 0x380700d0
+//0xc78 0x380800d0
+//0xc78 0x400900d0
+//0xc78 0x460a00d0
+//0xc78 0x4a0b00d0
+//0xc78 0x4e0c00d0
+//0xc78 0x540d00d0
+//0xc78 0x560e00d0
+//0xc78 0x580f00d0
+//0xc78 0x5c1000d0
+//0xc78 0x641100d0
+//0xc78 0x6a1200d0
+//0xc78 0x6e1300d0
+//0xc78 0x6e1400d0
+//0xc78 0x6e1500d0
+//0xc78 0x6e1600d0
+//0xc78 0x6e1700d0
+//0xc78 0x6e1800d0
+//0xc78 0x6e1900d0
+//0xc78 0x6e1A00d0
+//0xc78 0x6e1B00d0
+//0xc78 0x6e1C00d0
+//0xc78 0x6e1D00d0
+//0xc78 0x6e1E00d0
+//0xc78 0x6e1F00d0
+// disable all AGC& RSSI table select
+0xc78 0x6e1f0000
+0xff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_n.txt new file mode 100644 index 000000000..e52cd5a38 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/AGC_TAB_n.txt @@ -0,0 +1,265 @@ +// AGC_TABLE 101222
+0xc78 0x7B000001 //-110
+0xc78 0x7B010001
+0xc78 0x7B020001
+0xc78 0x7B030001
+0xc78 0x7B040001
+0xc78 0x7B050001 //-100
+0xc78 0x7B060001
+0xc78 0x7A070001
+0xc78 0x79080001
+0xc78 0x78090001
+0xc78 0x770A0001 //-90
+0xc78 0x760B0001
+0xc78 0x750C0001
+0xc78 0x740D0001
+0xc78 0x730E0001
+0xc78 0x720F0001 //-80
+0xc78 0x71100001
+0xc78 0x70110001
+0xc78 0x6F120001
+0xc78 0x6E130001
+0xc78 0x6D140001 //-70
+0xc78 0x6C150001
+0xc78 0x6B160001
+0xc78 0x6A170001
+0xc78 0x69180001
+0xc78 0x68190001 //-60
+0xc78 0x671A0001
+0xc78 0x661B0001
+0xc78 0x651C0001
+0xc78 0x641D0001
+0xc78 0x631E0001 //-50
+0xc78 0x621F0001
+0xc78 0x61200001
+0xc78 0x60210001
+0xc78 0x49220001
+0xc78 0x48230001 //-40
+0xc78 0x47240001
+0xc78 0x46250001
+0xc78 0x45260001
+0xc78 0x44270001
+0xc78 0x43280001 //-30
+0xc78 0x42290001
+0xc78 0x412A0001
+0xc78 0x402B0001
+0xc78 0x262C0001
+0xc78 0x252D0001 //-20
+0xc78 0x242E0001
+0xc78 0x232F0001
+0xc78 0x22300001
+0xc78 0x21310001
+0xc78 0x20320001 //-10
+0xc78 0x06330001
+0xc78 0x05340001
+0xc78 0x04350001
+0xc78 0x03360001
+0xc78 0x02370001 //0
+0xc78 0x01380001
+0xc78 0x00390001
+0xc78 0x003A0001
+0xc78 0x003B0001
+0xc78 0x003C0001 //10
+0xc78 0x003D0001
+0xc78 0x003E0001
+0xc78 0x003F0001 //16
+// AGC_TABLE 2
+0xc78 0x7b400001 //-110
+0xc78 0x7b410001
+0xc78 0x7a420001
+0xc78 0x79430001
+0xc78 0x78440001
+0xc78 0x77450001 //-100
+0xc78 0x76460001
+0xc78 0x75470001
+0xc78 0x74480001
+0xc78 0x73490001
+0xc78 0x724a0001 //-90
+0xc78 0x714b0001
+0xc78 0x704c0001
+0xc78 0x6f4d0001
+0xc78 0x6e4e0001
+0xc78 0x6d4f0001 //-80
+0xc78 0x6c500001
+0xc78 0x6b510001
+0xc78 0x6a520001
+0xc78 0x69530001
+0xc78 0x68540001 //-70
+0xc78 0x67550001
+0xc78 0x66560001
+0xc78 0x65570001
+0xc78 0x64580001
+0xc78 0x63590001 //-60
+0xc78 0x625a0001
+0xc78 0x615b0001
+0xc78 0x605c0001
+0xc78 0x485d0001
+0xc78 0x475e0001 //-50
+0xc78 0x465f0001
+0xc78 0x45600001
+0xc78 0x44610001
+0xc78 0x43620001
+0xc78 0x42630001 //-40
+0xc78 0x41640001
+0xc78 0x40650001
+0xc78 0x27660001
+0xc78 0x26670001
+0xc78 0x25680001 //-30
+0xc78 0x24690001
+0xc78 0x236a0001
+0xc78 0x226b0001
+0xc78 0x216c0001
+0xc78 0x206d0001 //-20
+0xc78 0x206e0001
+0xc78 0x206f0001
+0xc78 0x20700001
+0xc78 0x20710001
+0xc78 0x20720001 //-10
+0xc78 0x20730001
+0xc78 0x20740001
+0xc78 0x20750001
+0xc78 0x20760001
+0xc78 0x20770001 //0
+0xc78 0x20780001
+0xc78 0x20790001
+0xc78 0x207a0001
+0xc78 0x207b0001
+0xc78 0x207c0001 //10
+0xc78 0x207d0001
+0xc78 0x207e0001
+0xc78 0x207f0001 //16
+// RSSI TABLE_0 (for 2G)
+0xc78 0x38000002
+0xc78 0x38010002
+0xc78 0x38020002
+0xc78 0x38030002
+0xc78 0x38040002
+0xc78 0x38050002
+0xc78 0x38060002
+0xc78 0x38070002
+0xc78 0x38080002 //-54
+0xc78 0x3C090002 //-50
+0xc78 0x3E0A0002
+0xc78 0x400B0002 //-46
+0xc78 0x440C0002 //-42
+0xc78 0x480D0002 //-38
+0xc78 0x4C0E0002
+0xc78 0x500F0002 //-30
+0xc78 0x52100002
+0xc78 0x56110002 //-24
+0xc78 0x5A120002 //-20
+0xc78 0x5E130002
+0xc78 0x60140002 //-14
+0xc78 0x60150002
+0xc78 0x60160002
+0xc78 0x62170002
+0xc78 0x62180002
+0xc78 0x62190002
+0xc78 0x621A0002
+0xc78 0x621B0002
+0xc78 0x621C0002
+0xc78 0x621D0002
+0xc78 0x621E0002
+0xc78 0x621F0002
+// RSSI TABLE_1 (for 5G)
+0xc78 0x32000044
+0xc78 0x32010044
+0xc78 0x32020044
+0xc78 0x32030044
+0xc78 0x32040044
+0xc78 0x32050044
+0xc78 0x32060044
+0xc78 0x32070044
+0xc78 0x32080044 //-60 32
+0xc78 0x34090044
+0xc78 0x350a0044
+0xc78 0x360b0044
+0xc78 0x370c0044
+0xc78 0x380d0044
+0xc78 0x390e0044
+0xc78 0x3a0f0044 //-50 3a
+0xc78 0x3e100044
+0xc78 0x42110044
+0xc78 0x44120044
+0xc78 0x46130044 //-40 46
+0xc78 0x4a140044
+0xc78 0x4e150044
+0xc78 0x50160044 //-30 50
+0xc78 0x55170044
+0xc78 0x5a180044 //-20 5a
+0xc78 0x5e190044
+0xc78 0x641A0044 //-10 64
+0xc78 0x6e1B0044 //0 6e
+0xc78 0x6e1C0044
+0xc78 0x6e1D0044
+0xc78 0x6e1E0044
+0xc78 0x6e1F0044
+// RSSI TABLE_2
+//0xc78 0x32000088
+//0xc78 0x32010088
+//0xc78 0x32020088
+//0xc78 0x32030088
+//0xc78 0x32040088
+//0xc78 0x32050088
+//0xc78 0x38060088
+//0xc78 0x38070088
+//0xc78 0x38080088
+//0xc78 0x40090088
+//0xc78 0x460a0088
+//0xc78 0x4a0b0088
+//0xc78 0x4e0c0088
+//0xc78 0x540d0088
+//0xc78 0x560e0088
+//0xc78 0x580f0088
+//0xc78 0x5c100088
+//0xc78 0x64110088
+//0xc78 0x6a120088
+//0xc78 0x6e130088
+//0xc78 0x6e140088
+//0xc78 0x6e150088
+//0xc78 0x6e160088
+//0xc78 0x6e170088
+//0xc78 0x6e180088
+//0xc78 0x6e190088
+//0xc78 0x6e1A0088
+//0xc78 0x6e1B0088
+//0xc78 0x6e1C0088
+//0xc78 0x6e1D0088
+//0xc78 0x6e1E0088
+//0xc78 0x6e1F0088
+//// RSSI TABLE_3
+//0xc78 0x320000d0
+//0xc78 0x320100d0
+//0xc78 0x320200d0
+//0xc78 0x320300d0
+//0xc78 0x320400d0
+//0xc78 0x320500d0
+//0xc78 0x380600d0
+//0xc78 0x380700d0
+//0xc78 0x380800d0
+//0xc78 0x400900d0
+//0xc78 0x460a00d0
+//0xc78 0x4a0b00d0
+//0xc78 0x4e0c00d0
+//0xc78 0x540d00d0
+//0xc78 0x560e00d0
+//0xc78 0x580f00d0
+//0xc78 0x5c1000d0
+//0xc78 0x641100d0
+//0xc78 0x6a1200d0
+//0xc78 0x6e1300d0
+//0xc78 0x6e1400d0
+//0xc78 0x6e1500d0
+//0xc78 0x6e1600d0
+//0xc78 0x6e1700d0
+//0xc78 0x6e1800d0
+//0xc78 0x6e1900d0
+//0xc78 0x6e1A00d0
+//0xc78 0x6e1B00d0
+//0xc78 0x6e1C00d0
+//0xc78 0x6e1D00d0
+//0xc78 0x6e1E00d0
+//0xc78 0x6e1F00d0
+// disable all AGC& RSSI table select
+0xc78 0x6e1f0000
+0xff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/MACPHY_REG.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/MACPHY_REG.txt new file mode 100644 index 000000000..d0e600916 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/MACPHY_REG.txt @@ -0,0 +1,111 @@ +//version 04 modify:
+//1. set Reg0x605 0x80,
+// Reg0x605[7]: Use phytxend_ps to reset mactx state machine
+
+
+//TX and RX packet buffer init, this is done before MAC TRX register init, the following
+// register setting is done in Power on flow
+
+//0x200 0x29 //RQPN
+//0x201 0x29
+//0x202 0xA3
+//0x203 0x80
+//0x10C 0x71 // for normal chip setting
+//0x10D 0xF7 //HPQ_SEL mapping for Normal chip
+//0x114 0xF6 //TXRKTBUG_PG_BNDY
+//0x209 0xF6 //Beacon Head Page
+//0x115 0x00
+//0x116 0xFF
+//0x117 0x27
+//0x424 0xF6 //BCNQ_PGBNDY
+//0x45D 0xF6 //WMAC_LBK_BF_HD
+//0x60F 0x04 //enable PHY status RCR[28] = 1, 0x60F = 0x04
+
+//EDCA and WMAC related
+0x420 0x80 //0x420[7] = 1 BK_AMPDU_RTY_NEW
+0x423 0x00
+0x430 0x00 //DARFRC, AS 92S
+0x431 0x00
+0x432 0x00
+0x433 0x01
+0x434 0x04 //DARFRC, AS 92S
+0x435 0x05
+0x436 0x06
+0x437 0x07
+0x438 0x00 //RARFRC, AS 92S
+0x439 0x00
+0x43A 0x00
+0x43B 0x01
+0x43C 0x04 //RARFRC, AS 92S
+0x43D 0x05
+0x43E 0x06
+0x43F 0x07
+//0x440 0x5D //RRSR
+0x441 0x01
+0x442 0x00
+0x444 0x15 //
+0x445 0xF0
+0x446 0x0F
+0x447 0x00
+//0x458 0x41 //AGG_LMT
+//0x459 0xa8 //a8
+//0x45A 0x72 //82
+//0x45B 0xb9 //b9
+//0x460 0x66 //DMDP /SMSP different
+//0x461 0x66 //DMDP /SMSP different
+0x462 0x08
+0x463 0x03
+0x4C8 0xff //PROT_MODE_CTRL need tuning
+0x4C9 0x08
+0x4CC 0xff //Disable BAR retry need tuning
+0x4CD 0xff
+0x4CE 0x01
+0x500 0x26 //VO EDCA
+0x501 0xA2
+0x502 0x2f
+0x503 0x00
+0x504 0x28 //VI EDCA
+0x505 0xA3
+0x506 0x5E
+0x507 0x00
+0x508 0x2B //BE
+0x509 0xA4
+0x50A 0x5E
+0x50B 0x00
+0x50c 0x4f //BK EDCA
+0x50D 0xA4
+0x50E 0x00
+0x50F 0x00
+0x512 0x1C //PIFS
+0x514 0x0a
+0x515 0x10
+0x516 0x0a
+0x517 0x10
+0x51A 0x16 //AGGR_BK_TIME
+0x524 0x0F
+0x525 0x4F //disable CFE
+0x546 0x40 //NAC_PROT_LEN
+0x547 0x00
+0x550 0x10 // disable auto sync, and initially disable all beacon function, disable beacon update
+0x551 0x10
+0x559 0x02 //BCNDMATIM
+0x55A 0x02 //ATIMWND
+0x55D 0xFF //disable BCN MAX threshold
+0x605 0x80
+0x608 0x0E //RCR
+0x609 0x2A //RCR+1
+0x652 0xC8 // enable NAV update upper bound
+0x63C 0x0a
+0x63D 0x0a
+0x63E 0x0E
+0x63F 0x0E
+0x66E 0x05 // RX BAR IOT issue for Atheros NIC, where atheros BAR has bus
+0x700 0x21
+0x701 0x43
+0x702 0x65
+0x703 0x87
+0x708 0x21
+0x709 0x43
+0x70a 0x65
+0x70b 0x87
+
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_MP_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_MP_n.txt new file mode 100644 index 000000000..e52744005 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_MP_n.txt @@ -0,0 +1,7 @@ +//20110406
+0xc30 0x69e9ac4a //RX false alarm issue
+0xd04 0x80020403 // d04[31:30]=2'b10 for cfo mask threshold
+0xd14 0x3333bc53 // d14[4]=1 for cfo mask threshold
+0X840 0X03cff456 //MP RX sensitivity improvement
+0x844 0x03cff456 //MP RX sensitivity improvement
+0xff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG.txt new file mode 100644 index 000000000..a965555aa --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG.txt @@ -0,0 +1,287 @@ +//=========================
+// PHY_related MAC register by channel,
+// Related from willis 090406 PHY_REG_PG.txt for 92D
+//=========================
+
+//Offset talbe_0 for for EEPROM_0xC4[bit0~2]= 0 , Table_0 (20/40MHz, all channel)
+// USB_POWER_SUPPORT use this table ONLY!
+// For Ant A
+0xe00 0xffffffff 0x07090c0c // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x01020405 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x000000 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x00 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x0b0c0c0e // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x01030506 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x0b0c0d0e // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x01030509 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x07090c0c // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x01020405 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x0b0c0c0e // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x01030506 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x0b0c0d0e // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x01030509 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_1 for EEPROM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _1 (20MHz, ch1~ch03)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_2 for Mode EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _2 (20MHz, ch4~ch09)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x06060606 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00020406 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x06060606 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00020406 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_3 for Mode EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _3 (20MHz, ch10~ch14)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+// Offset table _4 for EERPOM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _4 (40MHz, ch1~ch03)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _5 for EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _5 (40MHz, ch4~ch09)
+// For Ant_A
+0xe00 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a //for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _6 for EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _6 (40MHz, ch10~ch14)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band for EEPROM_0xC4[bit0~2]= 1 Ch36-Ch64, Table_L_band (20MHz, ch36~ch50 ch52~ch64)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band for EEPROM_0xC4[bit0~2]= 1 Ch100-Ch140, Table_M_band (20MHz, ch100~ch140)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+
+//========================= 11a mode
+//Offset talbe_H_band for EEPROM_0xC4[bit0~2]= 1 Ch149-Ch165, Table_H_band (20MHz, ch149~ch165)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch38-Ch62, Table_L_band_40 (40MHz, ch38~ch48 ch54~ch62)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch102-Ch138, Table_M_band_40 (40MHz, ch102~ch138)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_H_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch151-Ch163, Table_H_band_40 (40MHz, ch151~ch163)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+0xff //end of file
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_CE.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_CE.txt new file mode 100644 index 000000000..a965555aa --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_CE.txt @@ -0,0 +1,287 @@ +//=========================
+// PHY_related MAC register by channel,
+// Related from willis 090406 PHY_REG_PG.txt for 92D
+//=========================
+
+//Offset talbe_0 for for EEPROM_0xC4[bit0~2]= 0 , Table_0 (20/40MHz, all channel)
+// USB_POWER_SUPPORT use this table ONLY!
+// For Ant A
+0xe00 0xffffffff 0x07090c0c // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x01020405 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x000000 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x00 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x0b0c0c0e // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x01030506 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x0b0c0d0e // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x01030509 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x07090c0c // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x01020405 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x0b0c0c0e // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x01030506 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x0b0c0d0e // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x01030509 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_1 for EEPROM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _1 (20MHz, ch1~ch03)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_2 for Mode EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _2 (20MHz, ch4~ch09)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x06060606 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00020406 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x06060606 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00020406 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_3 for Mode EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _3 (20MHz, ch10~ch14)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+// Offset table _4 for EERPOM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _4 (40MHz, ch1~ch03)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _5 for EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _5 (40MHz, ch4~ch09)
+// For Ant_A
+0xe00 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a //for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _6 for EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _6 (40MHz, ch10~ch14)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band for EEPROM_0xC4[bit0~2]= 1 Ch36-Ch64, Table_L_band (20MHz, ch36~ch50 ch52~ch64)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band for EEPROM_0xC4[bit0~2]= 1 Ch100-Ch140, Table_M_band (20MHz, ch100~ch140)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+
+//========================= 11a mode
+//Offset talbe_H_band for EEPROM_0xC4[bit0~2]= 1 Ch149-Ch165, Table_H_band (20MHz, ch149~ch165)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch38-Ch62, Table_L_band_40 (40MHz, ch38~ch48 ch54~ch62)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch102-Ch138, Table_M_band_40 (40MHz, ch102~ch138)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_H_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch151-Ch163, Table_H_band_40 (40MHz, ch151~ch163)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+0xff //end of file
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_FCC.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_FCC.txt new file mode 100644 index 000000000..a965555aa --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_PG_FCC.txt @@ -0,0 +1,287 @@ +//=========================
+// PHY_related MAC register by channel,
+// Related from willis 090406 PHY_REG_PG.txt for 92D
+//=========================
+
+//Offset talbe_0 for for EEPROM_0xC4[bit0~2]= 0 , Table_0 (20/40MHz, all channel)
+// USB_POWER_SUPPORT use this table ONLY!
+// For Ant A
+0xe00 0xffffffff 0x07090c0c // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x01020405 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x000000 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x00 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x0b0c0c0e // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x01030506 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x0b0c0d0e // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x01030509 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x07090c0c // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x01020405 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x0b0c0c0e // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x01030506 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x0b0c0d0e // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x01030509 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_1 for EEPROM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _1 (20MHz, ch1~ch03)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_2 for Mode EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _2 (20MHz, ch4~ch09)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x06060606 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00020406 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x06060606 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00020406 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+//Offset talbe_3 for Mode EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _3 (20MHz, ch10~ch14)
+// For Ant A
+0xe00 0xffffffff 0x00000000 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x00000000 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x00000000 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x00000000 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+//=========================
+// Offset table _4 for EERPOM_0xC4[bit0~2]= 1 Ch01-Ch03, Table _4 (40MHz, ch1~ch03)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _5 for EEPROM_0xC4[bit0~2]= 1 Ch04-Ch09, Table _5 (40MHz, ch4~ch09)
+// For Ant_A
+0xe00 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a //for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x04040404 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+//=========================
+// Offset table _6 for EEPROM_0xC4[bit0~2]= 1 Ch10-Ch14, Table _6 (40MHz, ch10~ch14)
+// For Ant_A
+0xe00 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x2a // for CCK 1M
+0x86c 0xffffff00 0x000000 // base on 0x2a // for CCK 11M, 5.5M, 2M
+0xe10 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0xe14 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+// For Ant_B
+0x830 0xffffffff 0x00000000 // base on 0x2a // for 18M,12M,09M,06M
+0x834 0xffffffff 0x00000000 // base on 0x2a // for 54M,48M,36M,24M
+0x838 0xffffff00 0x000000 // base on 0x2a // for CCK 5.5M, 2M, 1M
+0x86c 0x000000ff 0x00 // base on 0x2a // for CCK 11M
+0x83c 0xffffffff 0x00000000 // base on 0x2a // for MCS=03,02,01,00
+0x848 0xffffffff 0x00000000 // base on 0x2a // for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x2a // for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x2a // for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band for EEPROM_0xC4[bit0~2]= 1 Ch36-Ch64, Table_L_band (20MHz, ch36~ch50 ch52~ch64)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band for EEPROM_0xC4[bit0~2]= 1 Ch100-Ch140, Table_M_band (20MHz, ch100~ch140)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+
+//========================= 11a mode
+//Offset talbe_H_band for EEPROM_0xC4[bit0~2]= 1 Ch149-Ch165, Table_H_band (20MHz, ch149~ch165)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_L_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch38-Ch62, Table_L_band_40 (40MHz, ch38~ch48 ch54~ch62)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_M_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch102-Ch138, Table_M_band_40 (40MHz, ch102~ch138)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+//========================= 11a mode
+//Offset talbe_H_band_40 for EEPROM_0xC4[bit0~2]= 1 Ch151-Ch163, Table_H_band_40 (40MHz, ch151~ch163)
+// For Ant A
+0xe00 0xffffffff 0x04040404 // base on 0x30 //for 18M,12M,09M,06M
+0xe04 0xffffffff 0x00020204 // base on 0x30 //for 54M,48M,36M,24M
+0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 17 dB
+0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 17 dB
+0xe10 0xffffffff 0x08080808 // base on 0x30 //for MCS=03,02,01,00
+0xe14 0xffffffff 0x00040408 // base on 0x30 //for MCS=07,06,05,04
+0xe18 0xffffffff 0x00000000 // base on 0x30 //for MCS=11,10,09,08
+0xe1c 0xffffffff 0x00000000 // base on 0x30 //for MCS=15,14,13,12
+// For Ant B
+0x830 0xffffffff 0x04040404 // base on 0x32 //for 18M,12M,09M,06M
+0x834 0xffffffff 0x00020204 // base on 0x32 //for 54M,48M,36M,24M
+0x838 0xffffff00 0x00 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 17dB
+0x86c 0x000000ff 0x000000 // base on 0x34 //for CCK 11M, use 17dB
+0x83c 0xffffffff 0x08080808 // base on 0x32 //for MCS=03,02,01,00
+0x848 0xffffffff 0x00040408 // base on 0x32 //for MCS=07,06,05,04
+0x84c 0xffffffff 0x00000000 // base on 0x32 //for MCS=11,10,09,08
+0x868 0xffffffff 0x00000000 // base on 0x32 //for MCS=15,14,13,12
+
+
+0xff //end of file
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_n.txt new file mode 100644 index 000000000..24a3c74a4 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/PHY_REG_n.txt @@ -0,0 +1,221 @@ +//100909
+0x024 0x0011800d //syn CLK enable, Xtal_bsel=nand
+0x028 0x00ffdb83 //320MHz CLK enable
+0x014 0x088ba955 //SPS=1.537V
+0x010 0x49022b03
+//=======================
+// PAGE_8 ( FPGA_PHY0 )
+//=======================
+0x800 0x80040002 // turn off RF when 1R CCA
+0x804 0x00000003
+0x808 0x0000fc00
+0x80c 0x0000000A
+0x810 0x80706388
+0x814 0x020c3d10
+0x818 0x02200385 // [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
+0x828 0x01000100 // 0x01000000 (SI), 0x01000100 (PI)
+0x82c 0x00390004
+0x830 0x27272727 // Path-B TX AGC codewod, 6M, 9M, 12M, 18M
+0x834 0x27272727 // Path-B TX AGC codewod, 24M, 36M, 48M, 54M
+0x838 0x27272727 // Path-B TX AGC codewod, MCS32, 1M, 2M, 5.5M
+0x83c 0x27272727 // Path-B TX AGC codewod, MCS0, MCS1, MCS2, MCS3
+0x840 0x00010000 //RF to standby mode
+0x844 0x00010000 //RF to standby mode
+0x848 0x27272727 // Path-B TX AGC codewod, MCS4, MCS5, MCS6, MCS7
+0x84c 0x27272727 // Path-B TX AGC codewod, MCS8, MCS9, MCS10, MCS11
+0x850 0x00000000 // RF wakeup, TBD
+0x854 0x00000000 // RF sleep, TBD
+0x858 0x569a569a
+0x85c 0x0c1b25a4 // AFE ctrl reg (ASIC) RX AD3 CCA mode
+0x860 0x66e60230 //88CE default left anatenna
+0x864 0x061f0130
+0x868 0x27272727 // Path-B TX AGC codewod, MCS12, MCS13, MCS14, MCS15
+0x86c 0x272b2b2b // Path-B 11M TX AGC codeword, Path-A 2M/5.5M/11M TX AGC codeword
+0x870 0x07000700 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA)
+0x874 0x22188000 //AD3 must be off for 92D testchip
+0x878 0x08080808 // RF mode for standby & rx_low_power codeword
+0x87c 0x00007ff8 // TST mode
+0x880 0xc0083070 // AFE ctrl reg (ASIC)
+0x884 0x00000cd5 // AFE ctrl reg (ASIC)
+0x888 0x00000000 // AFE ctrl reg (ASIC)
+0x88c 0xcc0000c0 // [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 0x81121313 // tx antenna by contorl register
+//
+//=======================
+// PAGE_A ( CCK_PHY0 )
+//=======================
+0xa00 0x00d047c8
+0xa04 0x80ff000c // CCK 1T for power saving
+0xa08 0x8c838300 // MP: 0x88838300, driver: 0x8ccd8300
+0xa0c 0x2e68120f
+0xa10 0x9500bb78 //
+0xa14 0x11144028
+0xa18 0x00881117
+0xa1c 0x89140f00
+0xa20 0x1a1b0000
+0xa24 0x090e1317
+0xa28 0x00000204
+0xa2c 0x00d30000
+0xa70 0x101fbf00
+0xa74 0x00000007
+//
+//=======================
+// PAGE_B
+//=======================
+//
+//
+//=======================
+// PAGE_C ( OFDM_PHY0 )
+//=======================
+0xc00 0x40071d40 // initial gain @ CCA negedge
+0xc04 0x03a05633
+0xc08 0x001000e4 // [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 0x469652cf
+0xc38 0x49795994
+0xc3c 0x0a979718
+0xc40 0x1f7c403f
+0xc44 0x000100b7
+0xc48 0xec020107 //[1]=1:enable L1_SBD
+0xc4c 0x007f037f // turn off edcca
+0xc50 0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420
+0xc54 0x43bc009e
+0xc58 0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420
+0xc5c 0x433c00a8
+0xc60 0x00000000 // DTR TH
+0xc64 0x5116848b //L1-SBD //31168a8b for 6M sen. 0x5116828b, 0x5116848b
+0xc68 0x47c00bff //L1-SBD
+0xc6c 0x00000036 //L1-SBD
+0xc70 0x2c7f000d // disable AGC flow-1
+0xc74 0x058610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b
+0xc78 0x0000001f
+0xc7c 0x40b95612 // enable ht rxhp
+0xc80 0x40000100
+0xc84 0x20f60000
+0xc88 0x40000100
+0xc8c 0xa0e40000 //for MRC weighting function
+0xc90 0x00121820 // TX Power Training for path-A
+0xc94 0x00000007
+0xc98 0x00121820// TX Power Training for path-B
+0xc9c 0x00007f7f // turn off pre-cca
+0xca0 0x00000000
+0xca4 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 0x64b11e20 // DFS
+0xcdc 0xe0767533 // DFS
+0xce0 0x00222222
+0xce4 0x00000000
+0xce8 0x37644302
+0xcec 0x2f97d40c
+//
+//=======================
+// PAGE_D ( OFDM_PHY1 )
+//=======================
+0xd00 0x00080740
+0xd04 0x00020403
+0xd08 0x0000907f
+0xd0c 0x20010201
+0xd10 0xa0633333
+0xd14 0x3333bc43
+0xd18 0x7a8f5b6b
+0xd2c 0xcc979975
+0xd30 0x00000000
+0xd34 0x80608404
+0xd38 0x00000000
+0xd3c 0x00027293
+0xd40 0x00000000
+0xd44 0x00000000
+0xd48 0x00000000
+0xd4c 0x00000000
+0xd50 0x6437140a
+0xd54 0x00000000
+0xd58 0x00000000
+0xd5c 0x30032064
+0xd60 0x4653de68
+0xd64 0x04518a3c //[26]=1:enable L1-SBD//
+0xd68 0x00002101
+0xd6c 0x2a201c16 // DTR
+0xd70 0x1812362e // DTR
+0xd74 0x322c2220 // DTR
+0xd78 0x000e3c24 // DTR
+//=======================
+// PAGE_E
+//=======================
+0xe00 0x2a2a2a2a // Path-A TX AGC codewod, 6M, 9M, 12M, 18M
+0xe04 0x2a2a2a2a // Path-A TX AGC codewod, 24M, 36M, 48M, 54M
+0xe08 0x03902a2a // Path-A TX AGC codewod, MCS32, 1M
+0xe10 0x2a2a2a2a // Path-A TX AGC codewod, MCS0, MCS1, MCS2, MCS3
+0xe14 0x2a2a2a2a // Path-A TX AGC codewod, MCS4, MCS5, MCS6, MCS7
+0xe18 0x2a2a2a2a // Path-A TX AGC codewod, MCS8, MCS9, MCS10, MCS11
+0xe1c 0x2a2a2a2a // Path-A TX AGC codewod, MCS12, MCS13, MCS14, MCS15
+0xe28 0x00000000
+0xe30 0x1000dc1f // 0xe30~0xe60: IQK
+0xe34 0x10008c1f
+0xe38 0x02140102
+0xe3C 0x681604c2
+0xe40 0x01007c00
+0xe44 0x01004800
+0xe48 0xfb000000
+0xe4c 0x000028d1
+0xe50 0x1000dc1f
+0xe54 0x10008c1f
+0xe58 0x02140102
+0xe5C 0x28160d05
+0xe60 0x00000010
+//0xe64 0x281600a0 // Reserved in 92C/88C
+0xe68 0x001b25a4 //AFE ctrl reg (ASIC) Ultra low power
+0xe6c 0x63db25a4 // AFE ctrl reg (ASIC) Blue-Tooth
+0xe70 0x63db25a4 // AFE ctrl reg (ASIC) RX_WAIT_CCA
+0xe74 0x0c126da4 // AFE ctrl reg (ASIC) TX_CCK_RFON
+0xe78 0x0c126da4 // AFE ctrl reg (ASIC) TX_CCK_BBON
+0xe7c 0x0c126da4 // AFE ctrl reg (ASIC) TX_OFDM_RFON
+0xe80 0x0c126da4 // AFE ctrl reg (ASIC) TX_OFDM_BBON
+0xe84 0x63db25a4 // AFE ctrl reg (ASIC) TX_TO_RX
+0xe88 0x0c126da4 // AFE ctrl reg (ASIC) TX_TO_TX
+0xe8c 0x63db25a4 // AFE ctrl reg (ASIC) RX_CCK
+0xed0 0x63db25a4 // AFE ctrl reg (ASIC) RX_OFDM
+0xed4 0x63db25a4 // AFE ctrl reg (ASIC) RX_WAIT_RIFS
+0xed8 0x63db25a4 // AFE ctrl reg (ASIC) RX_TO_RX
+0xedc 0x001b25a4 // AFE ctrl reg (ASIC) Standby
+0xee0 0x001b25a4 // AFE ctrl reg (ASIC) Sleep
+0xeec 0x6fdb25a4 // AFE ctrl reg (ASIC) PMPD_ANAEN
+//
+0xf14 0x00000003 // debug port selection. 0x0~0x3: PHY DBG, 0x4~0x5: MAC DBG
+0xf1c 0x64 // Pkt Interval = 100us
+0xf4c 0x00000004 // Only for FPGA PMAC
+0xf00 0x00000300 // enable BBRSTB, bcz HSSI use clk_bb
+0xff
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT.txt new file mode 100644 index 000000000..5851a7ce4 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT.txt @@ -0,0 +1,75 @@ +// Tx Power Limit Table - beta 03
+// Format:
+// table index-> table <index>
+// channel limmit-> channel <limit (in dBm)> <target power (in dBm)>
+// (optional) start:end <limit (in dBm)> <target power (in dBm)>
+
+// Note: The order of the tables MUST match the definition
+// in WLAN driver.
+//===========================================
+// Table 1: FCC, CCK (1M,2M,5.5M,11M)
+// start from here
+table 1
+1 17 17// band edge
+11 17 17// band edge
+
+
+//===========================================
+// Table 2: FCC, OFDM (6M,9M,12M,18M,24M,36M,48M,54M)
+// start from here
+table 2
+1 15.5 15// band edge
+11 13.5 15// band edge
+
+// 5G band 1 & 2
+36 16 15// band edge
+
+//===========================================
+// Table 3: FCC, 20M 1T (MCS0~MCS7)
+// start from here
+table 3
+1 15.5 13// band edge
+11 13.5 13// band edge
+
+// 5G band 1 & 2
+36 15.5 13// band edge
+
+
+
+//===========================================
+// Table 4: FCC, 20M 2T (MCS8~MCS15)
+// start from here
+table 4
+1 15 13// band edge
+11 13.5 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+//===========================================
+// Table 5: FCC, 40M 1T (MCS0~MCS7)
+// start from here
+table 5
+3 13.5 13// band edge
+9 12.5 13// band edge
+
+// 5G band 1 & 2
+38 15.5 13// band edge
+
+
+//===========================================
+// Table 6: FCC, 40M 2T (MCS8~MCS15)
+// start from here
+table 6
+3 13.5 13// band edge
+9 12.5 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+
+
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_CE.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_CE.txt new file mode 100644 index 000000000..47f0a89ff --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_CE.txt @@ -0,0 +1,74 @@ +// Tx Power Limit Table - beta 03
+// Format:
+// table index-> table <index>
+// channel limmit-> channel <limit (in dBm)> <target power (in dBm)>
+// (optional) start:end <limit (in dBm)> <target power (in dBm)>
+
+// Note: The order of the tables MUST match the definition
+// in WLAN driver.
+//===========================================
+// Table 1: CE, CCK (1M,2M,5.5M,11M)
+// start from here
+table 1
+1:13 16 17// band edge
+
+
+//===========================================
+// Table 2: CE, OFDM (6M,9M,12M,18M,24M,36M,48M,54M)
+// start from here
+table 2
+1 16.5 15// band edge
+13 16.5 15// band edge
+
+// 5G band 1 & 2
+36 16 15// band edge
+
+//===========================================
+// Table 3: CE, 20M 1T (MCS0~MCS7)
+// start from here
+table 3
+1 16 13// band edge
+13 16 13// band edge
+
+// 5G band 1 & 2
+36 15.5 13// band edge
+
+
+
+//===========================================
+// Table 4: CE, 20M 2T (MCS8~MCS15)
+// start from here
+table 4
+1 13 13// band edge
+13 13 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+//===========================================
+// Table 5: CE, 40M 1T (MCS0~MCS7)
+// start from here
+table 5
+3 13.5 13// band edge
+11 13.5 13// band edge
+
+// 5G band 1 & 2
+38 15.5 13// band edge
+
+
+//===========================================
+// Table 6: CE, 40M 2T (MCS8~MCS15)
+// start from here
+table 6
+3 13 13// band edge
+11 13 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+
+
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_FCC.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_FCC.txt new file mode 100644 index 000000000..5851a7ce4 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/TXPWR_LMT_FCC.txt @@ -0,0 +1,75 @@ +// Tx Power Limit Table - beta 03
+// Format:
+// table index-> table <index>
+// channel limmit-> channel <limit (in dBm)> <target power (in dBm)>
+// (optional) start:end <limit (in dBm)> <target power (in dBm)>
+
+// Note: The order of the tables MUST match the definition
+// in WLAN driver.
+//===========================================
+// Table 1: FCC, CCK (1M,2M,5.5M,11M)
+// start from here
+table 1
+1 17 17// band edge
+11 17 17// band edge
+
+
+//===========================================
+// Table 2: FCC, OFDM (6M,9M,12M,18M,24M,36M,48M,54M)
+// start from here
+table 2
+1 15.5 15// band edge
+11 13.5 15// band edge
+
+// 5G band 1 & 2
+36 16 15// band edge
+
+//===========================================
+// Table 3: FCC, 20M 1T (MCS0~MCS7)
+// start from here
+table 3
+1 15.5 13// band edge
+11 13.5 13// band edge
+
+// 5G band 1 & 2
+36 15.5 13// band edge
+
+
+
+//===========================================
+// Table 4: FCC, 20M 2T (MCS8~MCS15)
+// start from here
+table 4
+1 15 13// band edge
+11 13.5 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+//===========================================
+// Table 5: FCC, 40M 1T (MCS0~MCS7)
+// start from here
+table 5
+3 13.5 13// band edge
+9 12.5 13// band edge
+
+// 5G band 1 & 2
+38 15.5 13// band edge
+
+
+//===========================================
+// Table 6: FCC, 40M 2T (MCS8~MCS15)
+// start from here
+table 6
+3 13.5 13// band edge
+9 12.5 13// band edge
+
+// 5G band 1 & 2
+
+// 5G band 3
+
+
+
+
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA.txt new file mode 100644 index 000000000..a4f789535 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA.txt @@ -0,0 +1,244 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0xf0000 //HSSI_SYN2_power_control
+0x18 0x17524 //channel_band_control
+0x19 0x00000 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb //0xfd7eb
+0x3b 0x20000 //0xe0000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xde471 //0xed531 for 2G //0xed771 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0x8eb04 //for Tx 40M spur//0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control_intPA
+0x48 0xc0443 //5GL/5GM/5GH = 0x40443 /0xc0443 /0xc0443
+0x49 0x00730 //5GL/5GM/5GH = 0x00eb5 /0x00730 /0x00730
+0x4a 0x50f0f
+0x4b 0x896ee //5GL/5GM/5GH = 0x89bec /0x896ee /0x896ee
+0x4c 0x0ddee // per PAD Gain=101/110, 0x0dded/0x0ddee
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GM_channel
+0x18 0x37564
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GH_channel
+0x18 0x57595
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399 //0x1039d //0x10399
+0x13 0x0c38d //0x0c399 //0x0c38d
+0x13 0x08199 //0x0819d //0x08199
+0x13 0x0418d //0x04199 //0x0418d
+0x13 0x00099 //0x00099 //0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x97524 //for DMSP EVM [bit19]=1
+0xfe
+0xfe
+0xfe
+0xfe
+0x2b 0x41289
+0xfe
+0x2d 0x6aaaa
+0x2e 0xb4d01
+0x2d 0x80000
+0x2e 0x04d02
+0x2d 0x95555
+0x2e 0x54d03
+0x2d 0xaaaaa
+0x2e 0xb4d04
+0x2d 0xc0000
+0x2e 0x04d05
+0x2d 0xd5555
+0x2e 0x54d06
+0x2d 0xeaaaa
+0x2e 0xb4d07
+0x2d 0x00000
+0x2e 0x05108
+0x2d 0x15555
+0x2e 0x55109
+0x2d 0x2aaaa
+0x2e 0xb510a
+0x2d 0x40000
+0x2e 0x0510b
+0x2d 0x55555
+0x2e 0x5510c
+//end
+//0x18 0x17524
+0xff 0xffff
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA_GM.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA_GM.txt new file mode 100644 index 000000000..5fa7604b2 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_intPA_GM.txt @@ -0,0 +1,244 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0xf0000 //HSSI_SYN2_power_control
+0x18 0x17524 //channel_band_control
+0x19 0x00000 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb //0xfd7eb
+0x3b 0x20000 //0xe0000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xde471 //0xed531 for 2G //0xed771 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0x8eb04 //for Tx 40M spur//0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control_intPA
+0x48 0xc0443 //5GL/5GM/5GH = 0x40443 /0xc0443 /0xc0443
+0x49 0x00730 //5GL/5GM/5GH = 0x00eb5 /0x00730 /0x00730
+0x4a 0x50f0f
+0x4b 0x896ef //5GL/5GM/5GH = 0x89bec /0x896ee /0x896ee
+0x4c 0x0ddee // per PAD Gain=101/110, 0x0dded/0x0ddee
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9
+0x13 0x0c3ad
+0x13 0x081b9
+0x13 0x041ad
+0x13 0x000b9
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GM_channel
+0x18 0x37564
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9
+0x13 0x0c3ad
+0x13 0x081b9
+0x13 0x041ad
+0x13 0x000b9
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GH_channel
+0x18 0x57595
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9 //0x1039d //0x10399
+0x13 0x0c3ad //0x0c399 //0x0c38d
+0x13 0x081b9 //0x0819d //0x08199
+0x13 0x041ad //0x04199 //0x0418d
+0x13 0x000b9 //0x00099 //0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x97524 //for DMSP EVM [bit19]=1
+0xfe
+0xfe
+0xfe
+0xfe
+0x2b 0x41289
+0xfe
+0x2d 0x6aaaa
+0x2e 0xb4d01
+0x2d 0x80000
+0x2e 0x04d02
+0x2d 0x95555
+0x2e 0x54d03
+0x2d 0xaaaaa
+0x2e 0xb4d04
+0x2d 0xc0000
+0x2e 0x04d05
+0x2d 0xd5555
+0x2e 0x54d06
+0x2d 0xeaaaa
+0x2e 0xb4d07
+0x2d 0x00000
+0x2e 0x05108
+0x2d 0x15555
+0x2e 0x55109
+0x2d 0x2aaaa
+0x2e 0xb510a
+0x2d 0x40000
+0x2e 0x0510b
+0x2d 0x55555
+0x2e 0x5510c
+//end
+//0x18 0x17524
+0xff 0xffff
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n.txt new file mode 100644 index 000000000..a13d9ea83 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n.txt @@ -0,0 +1,244 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0xf0000 //HSSI_SYN2_power_control
+0x18 0x17524 //channel_band_control
+0x19 0x00000 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb //0xfd7eb
+0x3b 0x20000 //0xe0000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xde471 //0xed531 for 2G //0xed771 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control
+0x48 0xf9c43
+0x49 0x02e0c
+0x4a 0x546eb
+0x4b 0x8966C
+0x4c 0x0dde9
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GM_channel
+0x18 0x37524
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GH_channel
+0x18 0x57568
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x97524 // set RF 18[19]=1 for DMSP SYN OFF
+0xfe
+0xfe
+0xfe
+0xfe
+0x2b 0x41289
+0xfe
+0x2d 0x6aaaa
+0x2e 0xb4d01
+0x2d 0x80000
+0x2e 0x04d02
+0x2d 0x95555
+0x2e 0x54d03
+0x2d 0xaaaaa
+0x2e 0xb4d04
+0x2d 0xc0000
+0x2e 0x04d05
+0x2d 0xd5555
+0x2e 0x54d06
+0x2d 0xeaaaa
+0x2e 0xb4d07
+0x2d 0x00000
+0x2e 0x05108
+0x2d 0x15555
+0x2e 0x55109
+0x2d 0x2aaaa
+0x2e 0xb510a
+0x2d 0x40000
+0x2e 0x0510b
+0x2d 0x55555
+0x2e 0x5510c
+//end
+//0x18 0x17524
+0xff 0xffff
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n_92d_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n_92d_hp.txt new file mode 100644 index 000000000..0a3dfbb7e --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_a_n_92d_hp.txt @@ -0,0 +1,244 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0xf0000 //HSSI_SYN2_power_control
+0x18 0x17524 //channel_band_control
+0x19 0x00000 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb //0xfd7eb
+0x3b 0x20000 //0xe0000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xde471 //0xed531 for 2G //0xed771 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control
+0x48 0xf9c43
+0x49 0x02e0c
+0x4a 0x546eb
+0x4b 0x8966C
+0x4c 0x0dde9
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+//High Power - Arthur - 0627
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GM_channel
+0x18 0x37524
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GH_channel
+0x18 0x57568
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399 //0x1039d //0x10399
+0x13 0x0c38d //0x0c399 //0x0c38d
+0x13 0x08199 //0x0819d //0x08199
+0x13 0x0418d //0x04199 //0x0418d
+0x13 0x00099 //0x00099 //0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x97524 // set RF 18[19]=1 for DMSP SYN OFF
+0xfe
+0xfe
+0xfe
+0xfe
+0x2b 0x41289
+0xfe
+0x2d 0x6aaaa
+0x2e 0xb4d01
+0x2d 0x80000
+0x2e 0x04d02
+0x2d 0x95555
+0x2e 0x54d03
+0x2d 0xaaaaa
+0x2e 0xb4d04
+0x2d 0xc0000
+0x2e 0x04d05
+0x2d 0xd5555
+0x2e 0x54d06
+0x2d 0xeaaaa
+0x2e 0xb4d07
+0x2d 0x00000
+0x2e 0x05108
+0x2d 0x15555
+0x2e 0x55109
+0x2d 0x2aaaa
+0x2e 0xb510a
+0x2d 0x40000
+0x2e 0x0510b
+0x2d 0x55555
+0x2e 0x5510c
+//end
+//0x18 0x17524
+0xff 0xffff
diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA.txt new file mode 100644 index 000000000..45fb4c35a --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA.txt @@ -0,0 +1,247 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0x90000 //HSSI_SYN2_power_control
+0x18 0x07401 //channel_band_control
+0x19 0x00060 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb
+0x3b 0x20000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xd1c31 //0xed531 for 2G //0xed571 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0xaeb04 //for Tx 40M spur//0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control_intPA
+0x48 0xc0443 //5GL/5GM/5GH = 0x40443 /0xc0443 /0xc0443
+0x49 0x00730 //5GL/5GM/5GH = 0x00eb5 /0x00730 /0x00730
+0x4a 0x50f0f
+0x4b 0x896ee //5GL/5GM/5GH = 0x89bec /0x896ee /0x896ee
+0x4c 0x0ddee // per PAD Gain=101/110, 0x0dded/0x0ddee
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GM_channel
+0x18 0x37564
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GH_channel
+0x18 0x57595
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399 //0x1039d //0x10399
+0x13 0x0c38d //0x0c399 //0x0c38d
+0x13 0x08199 //0x0819d //0x08199
+0x13 0x0418d //0x04199 //0x0418d
+0x13 0x00099 //0x00099 //0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x87401 //for DMSP EVM [bit19]=1
+0xfe
+0xfe
+0xfe
+0x2b 0x41289 //02b4128b
+0xfe
+0x2d 0x66666
+0x2e 0x64001
+0x2d 0x91111
+0x2e 0x14002
+0x2d 0xbbbbb
+0x2e 0xb4003
+0x2d 0xe6666
+0x2e 0x64004
+0x2d 0x88888 //0x11111
+0x2e 0x84005 //0x14405
+0x2d 0x9dddd //0x3bbbb
+0x2e 0xd4006 //0xb4406
+0x2d 0xb3333 //0x66666
+0x2e 0x34007 //0x64407
+0x2d 0x48888 //0x91111
+0x2e 0x84408 //0x14408
+0x2d 0xbbbbb
+0x2e 0xb4409
+0x2d 0xe6666
+0x2e 0x6440a
+0x2d 0x11111
+0x2e 0x1480b
+0x2d 0x3bbbb
+0x2e 0xb480c
+0x2d 0x66666
+0x2e 0x6480d
+0x2d 0xccccc
+0x2e 0xc480e
+//end
+//0x18 0x0f401 //2G channel
+0xff 0xffff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA_GM.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA_GM.txt new file mode 100644 index 000000000..f31e4008b --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_intPA_GM.txt @@ -0,0 +1,247 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0x90000 //HSSI_SYN2_power_control
+0x18 0x07401 //channel_band_control
+0x19 0x00060 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb
+0x3b 0x20000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xd1c31 //0xed531 for 2G //0xed571 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0xaeb04 //for Tx 40M spur//0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control_intPA
+0x48 0xc0443 //5GL/5GM/5GH = 0x40443 /0xc0443 /0xc0443
+0x49 0x00730 //5GL/5GM/5GH = 0x00eb5 /0x00730 /0x00730
+0x4a 0x50f0f
+0x4b 0x896ef //5GL/5GM/5GH = 0x89bec /0x896ee /0x896ee
+0x4c 0x0ddee // per PAD Gain=101/110, 0x0dded/0x0ddee
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9
+0x13 0x0c3ad
+0x13 0x081b9
+0x13 0x041ad
+0x13 0x000b9
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GM_channel
+0x18 0x37564
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9
+0x13 0x0c3ad
+0x13 0x081b9
+0x13 0x041ad
+0x13 0x000b9
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+
+//5GH_channel
+0x18 0x57595
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table_intPA
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x103b9 //0x1039d //0x10399
+0x13 0x0c3ad //0x0c399 //0x0c38d
+0x13 0x081b9 //0x0819d //0x08199
+0x13 0x041ad //0x04199 //0x0418d
+0x13 0x000b9 //0x00099 //0x00099
+//5G_IPA_bias_table_intPA
+0x15 0x0f495
+0x15 0x4f495
+0x15 0x8f495
+//5G_TX_table_II_intPA
+0x16 0xe1874 //High gain
+0x16 0xa1874 //middle gain
+0x16 0x61874 //low gain
+0x16 0x21874 //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x87401 //for DMSP EVM [bit19]=1
+0xfe
+0xfe
+0xfe
+0x2b 0x41289 //02b4128b
+0xfe
+0x2d 0x66666
+0x2e 0x64001
+0x2d 0x91111
+0x2e 0x14002
+0x2d 0xbbbbb
+0x2e 0xb4003
+0x2d 0xe6666
+0x2e 0x64004
+0x2d 0x88888 //0x11111
+0x2e 0x84005 //0x14405
+0x2d 0x9dddd //0x3bbbb
+0x2e 0xd4006 //0xb4406
+0x2d 0xb3333 //0x66666
+0x2e 0x34007 //0x64407
+0x2d 0x48888 //0x91111
+0x2e 0x84408 //0x14408
+0x2d 0xbbbbb
+0x2e 0xb4409
+0x2d 0xe6666
+0x2e 0x6440a
+0x2d 0x11111
+0x2e 0x1480b
+0x2d 0x3bbbb
+0x2e 0xb480c
+0x2d 0x66666
+0x2e 0x6480d
+0x2d 0xccccc
+0x2e 0xc480e
+//end
+//0x18 0x0f401 //2G channel
+0xff 0xffff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n.txt new file mode 100644 index 000000000..bdbf2ad72 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n.txt @@ -0,0 +1,248 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0x90000 //HSSI_SYN2_power_control
+0x18 0x07401 //channel_band_control
+0x19 0x00060 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb
+0x3b 0x20000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xd1c31 //0xed531 for 2G //0xed571 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0xaeb04 //0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control
+0x48 0xf9c43
+0x49 0x02e0c
+0x4a 0x546eb
+0x4b 0x8966C
+0x4c 0x0dde9
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GM_channel
+0x18 0x37524
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GH_channel
+0x18 0x57524
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table
+0x13 0x287bc //0x287b7
+0x13 0x247b0
+0x13 0x203b4
+0x13 0x1c3a8
+0x13 0x181b4
+0x13 0x141a8
+0x13 0x100b0
+0x13 0x0c0a4
+0x13 0x0b02c
+0x13 0x04020
+0x13 0x00014
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x87401 // set RF 18[19]=1 for DMSP SYN OFF
+0xfe
+0xfe
+0xfe
+0x2b 0x41289 //02b4128b
+0xfe
+0x2d 0x66666
+0x2e 0x64001
+0x2d 0x91111
+0x2e 0x14002
+0x2d 0xbbbbb
+0x2e 0xb4003
+0x2d 0xe6666
+0x2e 0x64004
+0x2d 0x88888 //0x11111
+0x2e 0x84005 //0x14405
+0x2d 0x9dddd //0x3bbbb
+0x2e 0xd4006 //0xb4406
+0x2d 0xb3333 //0x66666
+0x2e 0x34007 //0x64407
+0x2d 0x48888 //0x91111
+0x2e 0x84408 //0x14408
+0x2d 0xbbbbb
+0x2e 0xb4409
+0x2d 0xe6666
+0x2e 0x6440a
+0x2d 0x11111
+0x2e 0x1480b
+0x2d 0x3bbbb
+0x2e 0xb480c
+0x2d 0x66666
+0x2e 0x6480d
+0x2d 0xccccc
+0x2e 0xc480e
+//end
+//0x18 0x0f401 //2G channel
+0xff 0xffff
\ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n_92d_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n_92d_hp.txt new file mode 100644 index 000000000..b824c467d --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data_92d/radio_b_n_92d_hp.txt @@ -0,0 +1,248 @@ +//100909
+0x00 0x30000 //HSSI_AGC
+0x01 0x30000 //2G_RXIQGEN//2G_TXIQGEN
+0x02 0x00000 //2G_TXIQGEN
+0x03 0x18c63
+0x04 0x18c63 //0x70000
+//0x05 0xfd800 //HSSI_power_control
+//0x06 0xf001c //HSSI_2G_5G_RX_gain_control
+//0x07 0x3c800 //HSSI_TX_gain_control
+0x08 0x84000 //2G_LO_leakage
+0x0b 0x1c000 //24000//2G_5G_TX_PA
+0x0e 0x18c67 //APK default 0x18c63
+0x0f 0x00851 //2G_TXRX_IQGEN
+0x14 0x21440 //TX_bias_table_I
+//0x15 0x00430 //TX_IPA_table
+//0x16 0xe0332 //TX_bias_table_II
+//0x17 0x90000 //HSSI_SYN2_power_control
+0x18 0x07401 //channel_band_control
+0x19 0x00060 //TRXIQ control
+0x1d 0xa1290 //RXBB_contorl
+//0x22 0x00000
+0x23 0x01558 //TXBB_control
+//0x24 0x00000
+//0x3d 0x00000
+//0x3e 0x00000
+//0x3f 0x00000
+//0x42 0x08400 //thermal meter
+
+//2G_RFE_control
+0x1a 0x30a99
+0x1b 0x40b00
+0x1c 0xfc339
+//5G_RFE_control
+0x3a 0xa57eb
+0x3b 0x20000
+0x3c 0xff454 //0xff7d4
+//2G_TX_RFE_control
+0x20 0x0aa52
+0x21 0x54000
+//5G_TX_RFE_control
+0x40 0x0aa52
+0x41 0x14000
+//SYN control
+0x25 0x803be
+0x26 0xfc638
+0x27 0x77c18 //0x77c18 for 2G //0x07c08/0x77c58 for 5G 40M/20M,//0x7b858 // SYN loop setting
+0x28 0xd1c31 //0xed531 for 2G //0xed571 for 5G // SYN loop setting
+0x29 0xd7110
+0x2a 0xaeb04 //0x8cb04
+0x2b 0x4128b
+0x2c 0x01840
+//0x2f 0x22ff0
+//2G_PA_control
+0x43 0x2444f
+0x44 0x1adb0
+0x45 0x56467
+0x46 0x8992c
+0x47 0x0452c
+//5G_PA_control
+0x48 0xf9c43
+0x49 0x02e0c
+0x4a 0x546eb
+0x4b 0x8966C
+0x4c 0x0dde9
+
+////2G_table_start////
+0x18 0x07401
+0x00 0x70000
+//2G_RX_gain_table
+0x12 0xdc000
+0x12 0x90000
+0x12 0x51000
+0x12 0x12000
+//2G_TX_gain_table
+0x13 0x287B7
+0x13 0x247AB
+0x13 0x2079F
+0x13 0x1C793
+0x13 0x1839B
+0x13 0x14392
+0x13 0x1019A
+0x13 0x0C191
+0x13 0x08194
+0x13 0x040A0
+0x13 0x00018
+//2G_IPA_bias_table
+0x15 0x0f424
+0x15 0x4f424
+0x15 0x8f424
+//2G_TX_table_II
+0x16 0xe1330 //High gain
+0x16 0xa1330 //middle gain
+0x16 0x61330 //low gain
+0x16 0x21330 //ultra low gain
+
+//High Power - Arthur - 0627
+////5G_table_start////
+//5GL_channel
+0x18 0x17524
+0x00 0x70000
+//5GL_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GL_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GM_channel
+0x18 0x37524
+0x00 0x70000
+//5GM_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GM_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399
+0x13 0x0c38d
+0x13 0x08199
+0x13 0x0418d
+0x13 0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+
+//5GH_channel
+0x18 0x57524
+0x00 0x70000
+//5GH_RX_gain_table
+0x12 0xcf000
+0x12 0xbc000
+0x12 0x78000
+0x12 0x00000
+//5GH_TX_gain_table
+0x13 0x287bf
+0x13 0x247b3
+0x13 0x207a7
+0x13 0x1c79b
+0x13 0x1839f
+0x13 0x14393
+0x13 0x10399 //0x1039d //0x10399
+0x13 0x0c38d //0x0c399 //0x0c38d
+0x13 0x08199 //0x0819d //0x08199
+0x13 0x0418d //0x04199 //0x0418d
+0x13 0x00099 //0x00099 //0x00099
+//5G_IPA_bias_table
+0x15 0x0f4C3
+0x15 0x4f4C3
+0x15 0x8f4C3
+//5G_TX_table_II
+0x16 0xe085F //High gain
+0x16 0xa085F //middle gain
+0x16 0x6085F //low gain
+0x16 0x2085F //ultra low gain
+// 5G_IMR_tank_start
+0x30 0x4470f
+0x31 0x44ff0
+0x32 0x00070
+0x33 0xdd480
+0x34 0xffac0
+0x35 0xb80c0
+0x36 0x77000
+0x37 0x64ff2
+0x38 0xe7661
+0x39 0x00e90
+//end
+
+0x00 0x30000
+
+0x18 0x0f401 //2G channel
+0xfe
+0xfe
+0x1e 0x88009
+0x1f 0x80003
+0xfe
+0x1e 0x88001
+0x1f 0x80000
+0xfe
+//Rewrite Syn-table
+0x18 0x87401 // set RF 18[19]=1 for DMSP SYN OFF
+0xfe
+0xfe
+0xfe
+0x2b 0x41289 //02b4128b
+0xfe
+0x2d 0x66666
+0x2e 0x64001
+0x2d 0x91111
+0x2e 0x14002
+0x2d 0xbbbbb
+0x2e 0xb4003
+0x2d 0xe6666
+0x2e 0x64004
+0x2d 0x88888 //0x11111
+0x2e 0x84005 //0x14405
+0x2d 0x9dddd //0x3bbbb
+0x2e 0xd4006 //0xb4406
+0x2d 0xb3333 //0x66666
+0x2e 0x34007 //0x64407
+0x2d 0x48888 //0x91111
+0x2e 0x84408 //0x14408
+0x2d 0xbbbbb
+0x2e 0xb4409
+0x2d 0xe6666
+0x2e 0x6440a
+0x2d 0x11111
+0x2e 0x1480b
+0x2d 0x3bbbb
+0x2e 0xb480c
+0x2d 0x66666
+0x2e 0x6480d
+0x2d 0xccccc
+0x2e 0xc480e
+//end
+//0x18 0x0f401 //2G channel
+0xff 0xffff
\ No newline at end of file |