From 5deb3317cb51ac52de922bb55f8492624018906d Mon Sep 17 00:00:00 2001 From: Roman Yeryomin Date: Thu, 13 Sep 2012 00:40:35 +0300 Subject: Add realtek target files Signed-off-by: Roman Yeryomin --- .../net/wireless/rtl8192cd/data/AGC_TAB.txt | 164 +++++++++++++ .../net/wireless/rtl8192cd/data/AGC_TAB_n_92C.txt | 164 +++++++++++++ .../net/wireless/rtl8192cd/data/AGC_TAB_n_hp.txt | 164 +++++++++++++ .../net/wireless/rtl8192cd/data/MACPHY_REG_92C.txt | 111 +++++++++ .../net/wireless/rtl8192cd/data/PHY_REG_1T.txt | 244 +++++++++++++++++++ .../net/wireless/rtl8192cd/data/PHY_REG_1T_n.txt | 221 +++++++++++++++++ .../wireless/rtl8192cd/data/PHY_REG_1T_n_hp.txt | 222 +++++++++++++++++ .../net/wireless/rtl8192cd/data/PHY_REG_2T.txt | 271 +++++++++++++++++++++ .../net/wireless/rtl8192cd/data/PHY_REG_2T_n.txt | 219 +++++++++++++++++ .../wireless/rtl8192cd/data/PHY_REG_2T_n_hp.txt | 220 +++++++++++++++++ .../wireless/rtl8192cd/data/PHY_REG_MP_n_92C.txt | 4 + .../net/wireless/rtl8192cd/data/PHY_REG_PG_92C.txt | 26 ++ .../net/wireless/rtl8192cd/data/PHY_REG_PG_hp.txt | 27 ++ .../net/wireless/rtl8192cd/data/radio_a_1T.txt | 155 ++++++++++++ .../net/wireless/rtl8192cd/data/radio_a_1T_n.txt | 169 +++++++++++++ .../net/wireless/rtl8192cd/data/radio_a_2T.txt | 153 ++++++++++++ .../net/wireless/rtl8192cd/data/radio_a_2T_n.txt | 169 +++++++++++++ .../wireless/rtl8192cd/data/radio_a_2T_n_hp.txt | 157 ++++++++++++ .../wireless/rtl8192cd/data/radio_a_2T_n_lna.txt | 173 +++++++++++++ .../net/wireless/rtl8192cd/data/radio_b_2T.txt | 34 +++ .../net/wireless/rtl8192cd/data/radio_b_2T_n.txt | 57 +++++ .../wireless/rtl8192cd/data/radio_b_2T_n_hp.txt | 47 ++++ .../wireless/rtl8192cd/data/radio_b_2T_n_lna.txt | 57 +++++ 23 files changed, 3228 insertions(+) create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_92C.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/MACPHY_REG_92C.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_MP_n_92C.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_92C.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T_n.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_lna.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_hp.txt create mode 100644 target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_lna.txt (limited to 'target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data') diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB.txt new file mode 100644 index 000000000..d7ad6528f --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB.txt @@ -0,0 +1,164 @@ +// AGC_TABLE 091118 +0xc78 0x7B000001 //-110 +0xc78 0x7B010001 +0xc78 0x7B020001 +0xc78 0x7B030001 +0xc78 0x7B040001 +0xc78 0x7B050001 //-100 +0xc78 0x7A060001 +0xc78 0x79070001 +0xc78 0x78080001 +0xc78 0x77090001 +0xc78 0x760A0001 //-90 +0xc78 0x750B0001 +0xc78 0x740C0001 +0xc78 0x730D0001 +0xc78 0x720E0001 +0xc78 0x710F0001 //-80 +0xc78 0x70100001 +0xc78 0x6F110001 +0xc78 0x6E120001 +0xc78 0x6D130001 +0xc78 0x6C140001 //-70 +0xc78 0x6B150001 +0xc78 0x6A160001 +0xc78 0x69170001 +0xc78 0x68180001 +0xc78 0x67190001 //-60 +0xc78 0x661A0001 +0xc78 0x651B0001 +0xc78 0x641C0001 +0xc78 0x631D0001 +0xc78 0x621E0001 //-50 +0xc78 0x611F0001 +0xc78 0x60200001 +0xc78 0x49210001 +0xc78 0x48220001 +0xc78 0x47230001 //-40 +0xc78 0x46240001 +0xc78 0x45250001 +0xc78 0x44260001 +0xc78 0x43270001 +0xc78 0x42280001 //-30 +0xc78 0x41290001 +0xc78 0x402A0001 +0xc78 0x262B0001 +0xc78 0x252C0001 +0xc78 0x242D0001 //-20 +0xc78 0x232E0001 +0xc78 0x222F0001 +0xc78 0x21300001 +0xc78 0x20310001 +0xc78 0x06320001 //-10 +0xc78 0x05330001 +0xc78 0x04340001 +0xc78 0x03350001 +0xc78 0x02360001 +0xc78 0x01370001 //0 +0xc78 0x00380001 +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 0x7A460001 +0xc78 0x79470001 +0xc78 0x78480001 +0xc78 0x77490001 +0xc78 0x764a0001 //-90 +0xc78 0x754b0001 +0xc78 0x744c0001 +0xc78 0x734d0001 +0xc78 0x724e0001 +0xc78 0x714f0001 //-80 +0xc78 0x70500001 +0xc78 0x6F510001 +0xc78 0x6E520001 +0xc78 0x6D530001 +0xc78 0x6C540001 //-70 +0xc78 0x6B550001 +0xc78 0x6A560001 +0xc78 0x69570001 +0xc78 0x68580001 +0xc78 0x67590001 //-60 +0xc78 0x665a0001 +0xc78 0x655b0001 +0xc78 0x645c0001 +0xc78 0x635d0001 +0xc78 0x625e0001 //-50 +0xc78 0x615f0001 +0xc78 0x60600001 +0xc78 0x49610001 +0xc78 0x48620001 +0xc78 0x47630001 //-40 +0xc78 0x46640001 +0xc78 0x45650001 +0xc78 0x44660001 +0xc78 0x43670001 +0xc78 0x42680001 //-30 +0xc78 0x41690001 +0xc78 0x406a0001 +0xc78 0x266b0001 +0xc78 0x256c0001 +0xc78 0x246d0001 //-20 +0xc78 0x236e0001 +0xc78 0x226f0001 +0xc78 0x21700001 +0xc78 0x20710001 +0xc78 0x06720001 //-10 +0xc78 0x05730001 +0xc78 0x04740001 +0xc78 0x03750001 +0xc78 0x02760001 +0xc78 0x01770001 //0 +0xc78 0x00780001 +0xc78 0x00790001 +0xc78 0x007a0001 +0xc78 0x007b0001 +0xc78 0x007c0001 //10 +0xc78 0x007d0001 +0xc78 0x007e0001 +0xc78 0x007f0001 //16 +// RSSI TABLE +0xc78 0x3800001e +0xc78 0x3801001e +0xc78 0x3802001e +0xc78 0x3803001e +0xc78 0x3804001e +0xc78 0x3805001e +0xc78 0x3806001e +0xc78 0x3807001e +0xc78 0x3808001e //-54 +0xc78 0x3C09001e //-50 +0xc78 0x3E0A001e +0xc78 0x400B001e //-46 +0xc78 0x440C001e //-42 +0xc78 0x480D001e //-38 +0xc78 0x4C0E001e +0xc78 0x500F001e //-30 +0xc78 0x5210001e +0xc78 0x5611001e //-24 +0xc78 0x5A12001e //-20 +0xc78 0x5E13001e +0xc78 0x6014001e //-14 +0xc78 0x6015001e +0xc78 0x6016001e +0xc78 0x6217001e +0xc78 0x6218001e +0xc78 0x6219001e +0xc78 0x621A001e +0xc78 0x621B001e +0xc78 0x621C001e +0xc78 0x621D001e +0xc78 0x621E001e +0xc78 0x621F001e +0xff \ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_92C.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_92C.txt new file mode 100644 index 000000000..d7ad6528f --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_92C.txt @@ -0,0 +1,164 @@ +// AGC_TABLE 091118 +0xc78 0x7B000001 //-110 +0xc78 0x7B010001 +0xc78 0x7B020001 +0xc78 0x7B030001 +0xc78 0x7B040001 +0xc78 0x7B050001 //-100 +0xc78 0x7A060001 +0xc78 0x79070001 +0xc78 0x78080001 +0xc78 0x77090001 +0xc78 0x760A0001 //-90 +0xc78 0x750B0001 +0xc78 0x740C0001 +0xc78 0x730D0001 +0xc78 0x720E0001 +0xc78 0x710F0001 //-80 +0xc78 0x70100001 +0xc78 0x6F110001 +0xc78 0x6E120001 +0xc78 0x6D130001 +0xc78 0x6C140001 //-70 +0xc78 0x6B150001 +0xc78 0x6A160001 +0xc78 0x69170001 +0xc78 0x68180001 +0xc78 0x67190001 //-60 +0xc78 0x661A0001 +0xc78 0x651B0001 +0xc78 0x641C0001 +0xc78 0x631D0001 +0xc78 0x621E0001 //-50 +0xc78 0x611F0001 +0xc78 0x60200001 +0xc78 0x49210001 +0xc78 0x48220001 +0xc78 0x47230001 //-40 +0xc78 0x46240001 +0xc78 0x45250001 +0xc78 0x44260001 +0xc78 0x43270001 +0xc78 0x42280001 //-30 +0xc78 0x41290001 +0xc78 0x402A0001 +0xc78 0x262B0001 +0xc78 0x252C0001 +0xc78 0x242D0001 //-20 +0xc78 0x232E0001 +0xc78 0x222F0001 +0xc78 0x21300001 +0xc78 0x20310001 +0xc78 0x06320001 //-10 +0xc78 0x05330001 +0xc78 0x04340001 +0xc78 0x03350001 +0xc78 0x02360001 +0xc78 0x01370001 //0 +0xc78 0x00380001 +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 0x7A460001 +0xc78 0x79470001 +0xc78 0x78480001 +0xc78 0x77490001 +0xc78 0x764a0001 //-90 +0xc78 0x754b0001 +0xc78 0x744c0001 +0xc78 0x734d0001 +0xc78 0x724e0001 +0xc78 0x714f0001 //-80 +0xc78 0x70500001 +0xc78 0x6F510001 +0xc78 0x6E520001 +0xc78 0x6D530001 +0xc78 0x6C540001 //-70 +0xc78 0x6B550001 +0xc78 0x6A560001 +0xc78 0x69570001 +0xc78 0x68580001 +0xc78 0x67590001 //-60 +0xc78 0x665a0001 +0xc78 0x655b0001 +0xc78 0x645c0001 +0xc78 0x635d0001 +0xc78 0x625e0001 //-50 +0xc78 0x615f0001 +0xc78 0x60600001 +0xc78 0x49610001 +0xc78 0x48620001 +0xc78 0x47630001 //-40 +0xc78 0x46640001 +0xc78 0x45650001 +0xc78 0x44660001 +0xc78 0x43670001 +0xc78 0x42680001 //-30 +0xc78 0x41690001 +0xc78 0x406a0001 +0xc78 0x266b0001 +0xc78 0x256c0001 +0xc78 0x246d0001 //-20 +0xc78 0x236e0001 +0xc78 0x226f0001 +0xc78 0x21700001 +0xc78 0x20710001 +0xc78 0x06720001 //-10 +0xc78 0x05730001 +0xc78 0x04740001 +0xc78 0x03750001 +0xc78 0x02760001 +0xc78 0x01770001 //0 +0xc78 0x00780001 +0xc78 0x00790001 +0xc78 0x007a0001 +0xc78 0x007b0001 +0xc78 0x007c0001 //10 +0xc78 0x007d0001 +0xc78 0x007e0001 +0xc78 0x007f0001 //16 +// RSSI TABLE +0xc78 0x3800001e +0xc78 0x3801001e +0xc78 0x3802001e +0xc78 0x3803001e +0xc78 0x3804001e +0xc78 0x3805001e +0xc78 0x3806001e +0xc78 0x3807001e +0xc78 0x3808001e //-54 +0xc78 0x3C09001e //-50 +0xc78 0x3E0A001e +0xc78 0x400B001e //-46 +0xc78 0x440C001e //-42 +0xc78 0x480D001e //-38 +0xc78 0x4C0E001e +0xc78 0x500F001e //-30 +0xc78 0x5210001e +0xc78 0x5611001e //-24 +0xc78 0x5A12001e //-20 +0xc78 0x5E13001e +0xc78 0x6014001e //-14 +0xc78 0x6015001e +0xc78 0x6016001e +0xc78 0x6217001e +0xc78 0x6218001e +0xc78 0x6219001e +0xc78 0x621A001e +0xc78 0x621B001e +0xc78 0x621C001e +0xc78 0x621D001e +0xc78 0x621E001e +0xc78 0x621F001e +0xff \ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_hp.txt new file mode 100644 index 000000000..d9e134f78 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/AGC_TAB_n_hp.txt @@ -0,0 +1,164 @@ +// AGC_TABLE 091118 +0xc78 0x7B000001 //-110 +0xc78 0x7B010001 +0xc78 0x7B020001 +0xc78 0x7B030001 +0xc78 0x7B040001 +0xc78 0x7B050001 //-100 +0xc78 0x7b060001 +0xc78 0x7b070001 +0xc78 0x7b080001 +0xc78 0x7a090001 +0xc78 0x790A0001 //-90 +0xc78 0x780B0001 +0xc78 0x770C0001 +0xc78 0x760D0001 +0xc78 0x750E0001 +0xc78 0x740F0001 //-80 +0xc78 0x73100001 +0xc78 0x72110001 +0xc78 0x71120001 +0xc78 0x70130001 +0xc78 0x6f140001 //-70 +0xc78 0x6e150001 +0xc78 0x6d160001 +0xc78 0x6c170001 +0xc78 0x6b180001 +0xc78 0x6a190001 //-60 +0xc78 0x691A0001 +0xc78 0x681B0001 +0xc78 0x671C0001 +0xc78 0x661D0001 +0xc78 0x651E0001 //-50 +0xc78 0x641F0001 +0xc78 0x63200001 +0xc78 0x62210001 +0xc78 0x61220001 +0xc78 0x60230001 //-40 +0xc78 0x46240001 +0xc78 0x45250001 +0xc78 0x44260001 +0xc78 0x43270001 +0xc78 0x42280001 //-30 +0xc78 0x41290001 +0xc78 0x402A0001 +0xc78 0x262B0001 +0xc78 0x252C0001 +0xc78 0x242D0001 //-20 +0xc78 0x232E0001 +0xc78 0x222F0001 +0xc78 0x21300001 +0xc78 0x20310001 +0xc78 0x06320001 //-10 +0xc78 0x05330001 +0xc78 0x04340001 +0xc78 0x03350001 +0xc78 0x02360001 +0xc78 0x01370001 //0 +0xc78 0x00380001 +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 0x7b470001 +0xc78 0x7b480001 +0xc78 0x7a490001 +0xc78 0x794a0001 //-90 +0xc78 0x784b0001 +0xc78 0x774c0001 +0xc78 0x764d0001 +0xc78 0x754e0001 +0xc78 0x744f0001 //-80 +0xc78 0x73500001 +0xc78 0x72510001 +0xc78 0x71520001 +0xc78 0x70530001 +0xc78 0x6f540001 //-70 +0xc78 0x6e550001 +0xc78 0x6d560001 +0xc78 0x6c570001 +0xc78 0x6b580001 +0xc78 0x6a590001 //-60 +0xc78 0x695a0001 +0xc78 0x685b0001 +0xc78 0x675c0001 +0xc78 0x665d0001 +0xc78 0x655e0001 //-50 +0xc78 0x645f0001 +0xc78 0x63600001 +0xc78 0x62610001 +0xc78 0x61620001 +0xc78 0x60630001 //-40 +0xc78 0x46640001 +0xc78 0x45650001 +0xc78 0x44660001 +0xc78 0x43670001 +0xc78 0x42680001 //-30 +0xc78 0x41690001 +0xc78 0x406a0001 +0xc78 0x266b0001 +0xc78 0x256c0001 +0xc78 0x246d0001 //-20 +0xc78 0x236e0001 +0xc78 0x226f0001 +0xc78 0x21700001 +0xc78 0x20710001 +0xc78 0x06720001 //-10 +0xc78 0x05730001 +0xc78 0x04740001 +0xc78 0x03750001 +0xc78 0x02760001 +0xc78 0x01770001 //0 +0xc78 0x00780001 +0xc78 0x00790001 +0xc78 0x007a0001 +0xc78 0x007b0001 +0xc78 0x007c0001 //10 +0xc78 0x007d0001 +0xc78 0x007e0001 +0xc78 0x007f0001 //16 +// RSSI TABLE +0xc78 0x3800001e +0xc78 0x3801001e +0xc78 0x3802001e +0xc78 0x3803001e +0xc78 0x3804001e +0xc78 0x3805001e +0xc78 0x3806001e +0xc78 0x3807001e +0xc78 0x3808001e //-54 +0xc78 0x3C09001e //-50 +0xc78 0x3E0A001e +0xc78 0x400B001e //-46 +0xc78 0x440C001e //-42 +0xc78 0x480D001e //-38 +0xc78 0x4C0E001e +0xc78 0x500F001e //-30 +0xc78 0x5210001e +0xc78 0x5611001e //-24 +0xc78 0x5A12001e //-20 +0xc78 0x5E13001e +0xc78 0x6014001e //-14 +0xc78 0x6015001e +0xc78 0x6016001e +0xc78 0x6217001e +0xc78 0x6218001e +0xc78 0x6219001e +0xc78 0x621A001e +0xc78 0x621B001e +0xc78 0x621C001e +0xc78 0x621D001e +0xc78 0x621E001e +0xc78 0x621F001e +0xff \ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/MACPHY_REG_92C.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/MACPHY_REG_92C.txt new file mode 100644 index 000000000..927e8af31 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/MACPHY_REG_92C.txt @@ -0,0 +1,111 @@ +//version 09 modify: +//1. set port 2 MACID and BSSID initial value +//2. set NAV upper limit +//3. disable TX ACQ over beacon time + +//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 0x5F //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 +0x461 0x66 +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 0x20 // 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 0x30 // enable TX deadlock +0x608 0x0E //RCR +0x609 0x2A //RCR+1 +0x652 0xC8 // enable NAV update upper bound +0x63C 0x08 +0x63D 0x08 +0x63E 0x0E +0x63F 0x0E +0x66E 0x05 // RX BAR IOT issue for Atheros NIC, where atheros BAR has bug +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/PHY_REG_1T.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T.txt new file mode 100644 index 000000000..c07f90c5a --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T.txt @@ -0,0 +1,244 @@ +//091204 +//0x024 0x11800f //syn CLK enable // tmp 40MHz solution +//0x028 0xffdb83 //320MHz CLK enable, medium BB clock driving // tmp 40MHz solution +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040000 +0x804 0x00000001 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x00000000 +0x82c 0x00000000 +0x830 0x00000000 +0x834 0x00000000 +0x838 0x00000000 +0x83c 0x00000000 +0x840 0x00010000 //RF to standby mode +0x844 0x00000000 +0x848 0x00000000 +0x84c 0x00000000 +0x850 0x00000000 // RF wakeup, TBD +0x854 0x00000000 // RF sleep, TBD +0x858 0x65a965a9 +0x85c 0x0c1b25a4 // AFE ctrl reg (ASIC) RX AD3 CCA mode +0x860 0x0f7f0230 //88CE default left anatenna +0x864 0x0f7f0130 +0x868 0x00000000 +0x86c 0x00323232 //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 0x00004000 // +0x878 0x00000808 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // AFE ctrl reg (ASIC) +0x888 0x00000000 // AFE ctrl reg (ASIC) +0x88c 0xccc00004 // [10:1] is r_rdy_cnt for sleep/standby mode, [27],[31] are MCS_IND +0x890 0x00000000 +0x894 0xfffffffe +0x898 0x40302010 +0x89c 0x00706050 +// +//======================= +// PAGE_9 ( FPGA_PHY1 ) +//======================= +0x900 0x00000000 +0x904 0x00000023 +0x908 0x00000000 +0x90c 0x81121111 // tx antenna by contorl register +// +//======================= +// PAGE_A ( CCK_PHY0 ) +//======================= +0xa00 0x00d047c8 +0xa04 0xc1ff000c +0xa08 0x8c038300 // MP: 0x88838300, driver: 0x8ccd8300 +0xa0c 0x2e62120f +0xa10 0x95009b78 // +0xa14 0x11144028 +0xa18 0x00881117 +0xa1c 0x89140f00 +0xa20 0x1a1b0000 +0xa24 0x090e1317 +0xa28 0x00000204 +0xa2c 0x00d30000 +0xa70 0x101fbf80 +0xa74 0x00000007 +// +//======================= +// PAGE_B +//======================= +0xb00 0x01017018 +0xb04 0xf7ed8f84 +0xb08 0x40372d20 +0xb0c 0x5b554e48 +0xb10 0x6f6a6560 +0xb14 0x807c7873 +0xb18 0x8f8b8884 +0xb1c 0x9d999693 +0xb20 0xa9a6a3a0 +0xb24 0xb5b2afac +0xb28 0x00810100 +0xb2c 0x00400056 +0xb30 0x002b0032 +0xb34 0x001f0024 +0xb38 0x0019001c +0xb3c 0x00150017 +0xb40 0x00120013 +0xb44 0x00100011 +0xb48 0x000e000f +0xb4c 0x000c000d +0xb50 0x000b000c +0xb54 0x000a000b +0xb58 0x0009000a +0xb5c 0x00090009 +0xb60 0x00080008 +0xb64 0x00080008 +0xb68 0x0fe00000 +// +//======================= +// PAGE_C ( OFDM_PHY0 ) +//======================= +0xc00 0x48071d40 +0xc04 0x03a05611 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac4a // 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 0x6954341e // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc54 0x433c0094 +0xc58 0x6954341e // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc5c 0x433c0094 +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 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x40000100 +0xc84 0x20f60000 +0xc88 0x40000100 +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00000000 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00000000 // TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000000 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020401 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 0x03002a2a // 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 0x021400a0 +//0xe64 0x281600a0 // Reserved in 92C/88C +0xe6c 0x631b25a0 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x631b25a0 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x081b25a0 // AFE ctrl reg (ASIC) TX_TO_TX +0xe8c 0x631b25a0 // AFE ctrl reg (ASIC) RX_CCK +0xed0 0x631b25a0 // AFE ctrl reg (ASIC) RX_OFDM +0xed4 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_RIFS +0xed8 0x631b25a0 // AFE ctrl reg (ASIC) RX_TO_RX +0xedc 0x001b25a0 // AFE ctrl reg (ASIC) Standby +0xee0 0x001b25a0 // AFE ctrl reg (ASIC) Sleep +0xeec 0x6b1b25a0 // AFE ctrl reg (ASIC) PMPD_ANAEN +// +0xf14 0x00000003 // debug port selection. 0x0~0x3: PHY DBG, 0x4~0x5: MAC DBG +0xf4c 0x00000000 // 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/PHY_REG_1T_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n.txt new file mode 100644 index 000000000..38ebe0407 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n.txt @@ -0,0 +1,221 @@ +//100311 +//0x024 0x11800f //syn CLK enable // tmp 40MHz solution +//0x028 0xffdb83 //320MHz CLK enable, medium BB clock driving // tmp 40MHz solution +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution + + +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040000 +0x804 0x00000001 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x00000000 +0x82c 0x00000000 +0x830 0x00000000 +0x834 0x00000000 +0x838 0x00000000 +0x83c 0x00000000 +0x840 0x00010000 //RF to standby mode +0x844 0x00000000 +0x848 0x00000000 +0x84c 0x00000000 +0x850 0x00000000 // RF wakeup, TBD +0x854 0x00000000 // RF sleep, TBD +0x858 0x569a569a +0x85c 0x001b25a4 // AFE ctrl reg (ASIC) RX AD3 CCA mode +0x860 0x66e60230 //88CE default left anatenna +0x864 0x061f0130 +0x868 0x00000000 +0x86c 0x32323200 //Path-A 11M/5.5M/2M TX AGC codeword +0x870 0x07000700 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA) +0x874 0x22004000 // +0x878 0x00000808 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // AFE ctrl reg (ASIC) +0x888 0x00000000 // AFE ctrl reg (ASIC) +0x88c 0xccc000c0 // [10:1] is r_rdy_cnt for sleep/standby mode, [27],[31] are MCS_IND +0x890 0x00000800 +0x894 0xfffffffe +0x898 0x40302010 +0x89c 0x00706050 +// +//======================= +// PAGE_9 ( FPGA_PHY1 ) +//======================= +0x900 0x00000000 +0x904 0x00000023 +0x908 0x00000000 +0x90c 0x81121111 // tx antenna by contorl register +// +//======================= +// PAGE_A ( CCK_PHY0 ) +//======================= +0xa00 0x00d047c8 +0xa04 0x80ff000c +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 0x48071d40 +0xc04 0x03a05611 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac44 // PWED_TH option2=0x69e9bb44, 0x69e9ab44, 0x69e9ac44 +0xc34 0x469652cf +0xc38 0x49795994 +0xc3c 0x0a97971c +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 0x43bc0094 +0xc58 0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc5c 0x433c0094 +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 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x40000100 +0xc84 0x20f60000 +0xc88 0x40000100 +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00121820 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00121820// TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000080 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020401 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 +0xe6c 0x631b25a0 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x631b25a0 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x081b25a0 // AFE ctrl reg (ASIC) TX_TO_TX +0xe8c 0x631b25a0 // AFE ctrl reg (ASIC) RX_CCK +0xed0 0x631b25a0 // AFE ctrl reg (ASIC) RX_OFDM +0xed4 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_RIFS +0xed8 0x631b25a0 // AFE ctrl reg (ASIC) RX_TO_RX +0xedc 0x001b25a0 // AFE ctrl reg (ASIC) Standby +0xee0 0x001b25a0 // AFE ctrl reg (ASIC) Sleep +0xeec 0x6b1b25a0 // AFE ctrl reg (ASIC) PMPD_ANAEN +// +0xf14 0x00000003 // debug port selection. 0x0~0x3: PHY DBG, 0x4~0x5: MAC DBG +0xf4c 0x00000000 // 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/PHY_REG_1T_n_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n_hp.txt new file mode 100644 index 000000000..325b374e0 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_1T_n_hp.txt @@ -0,0 +1,222 @@ +//100311 +//0x024 0x11800f //syn CLK enable // tmp 40MHz solution +//0x028 0xffdb83 //320MHz CLK enable, medium BB clock driving // tmp 40MHz solution +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution +0x040 0x000C0004 //Arthur-enable path 0 TR switch +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040000 +0x804 0x00000001 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x00390204 // jerry- for CCK Rx path A dynamic range +0x828 0x00000000 +0x82c 0x00000000 +0x830 0x00000000 +0x834 0x00000000 +0x838 0x00000000 +0x83c 0x00000000 +0x840 0x00010000 //RF to standby mode +0x844 0x00000000 +0x848 0x00000000 +0x84c 0x00000000 +0x850 0x00000000 // RF wakeup, TBD +0x854 0x00000000 // RF sleep, TBD +0x858 0x569a569a +0x85c 0x001b25a4 // AFE ctrl reg (ASIC) RX AD3 CCA mode +0x860 0x66e60230 //88CE default left anatenna +0x864 0x061f0130 +0x868 0x00000000 +0x86c 0x20202020 // Path-A 11M/5.5M/2M TX AGC codeword, Path-B 11M TX AGC codeword +0x870 0x03000300 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA) +0x874 0x22004000 // +0x878 0x00000808 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // AFE ctrl reg (ASIC) +0x888 0x00000000 // AFE ctrl reg (ASIC) +0x88c 0xccc000c0 // [10:1] is r_rdy_cnt for sleep/standby mode, [27],[31] are MCS_IND +0x890 0x00000800 +0x894 0xfffffffe +0x898 0x40302010 +0x89c 0x00706050 +// +//======================= +// PAGE_9 ( FPGA_PHY1 ) +//======================= +0x900 0x00000000 +0x904 0x00000023 +0x908 0x00000000 +0x90c 0x81121111 // tx antenna by contorl register +// +//======================= +// PAGE_A ( CCK_PHY0 ) +//======================= +0xa00 0x00d047c8 +0xa04 0x80ff000c +0xa08 0x8c838300 // MP: 0x88838300, driver: 0x8ccd8300 +0xa0c 0x2e68120f +0xa10 0x9500bb78 // +0xa14 0x11144028 +0xa18 0x00881117 +0xa1c 0x89140f00 +0xa20 0x15160000 //Arthur-power tracking for high-power +0xa24 0x070b0f12 //Arthur-power tracking for high-power +0xa28 0x00000104 //Arthur-power tracking for high-power +0xa2c 0x00d30000 +0xa70 0x101fbf00 +0xa74 0x00000007 +// +//======================= +// PAGE_B +//======================= +// +// +//======================= +// PAGE_C ( OFDM_PHY0 ) +//======================= +0xc00 0x48071d40 +0xc04 0x03a05611 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac44 // PWED_TH option2=0x69e9bb44, 0x69e9ab44, 0x69e9ac44 +0xc34 0x469652cf +0xc38 0x49795994 +0xc3c 0x0a97971c +0xc40 0x1f7c403f +0xc44 0x000100b7 +0xc48 0xec020107 //[1]=1:enable L1_SBD +0xc4c 0x007f037f // turn off edcca +0xc50 0x6954342e // AAGC=1,0x68043420, AAGC=2,0x69543420, 0x6954342e for external LNA +0xc54 0x43bc0094 +0xc58 0x6954342e // AAGC=1,0x68043420, AAGC=2,0x69543420, 0x6954342e for external LNA +0xc5c 0x433c0094 +0xc60 0x00000000 // DTR TH +0xc64 0x5116848b //L1-SBD //31168a8b for 6M sen. 0x5116828b, 0x5116848b +0xc68 0x47c00bff //L1-SBD +0xc6c 0x00000036 //L1-SBD +0xc70 0x2c56000d // disable AGC flow-1, 0x2c56000d for external LAN during high input power +0xc74 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x24000090 //Arthur-power tracking for high-power +0xc84 0x20f60000 +0xc88 0x24000090 //Arthur-power tracking for high-power +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00121820 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00121820// TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000080 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020401 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 0x24242424 // Path-A TX AGC codewod, 6M, 9M, 12M, 18M +0xe04 0x24242424 // Path-A TX AGC codewod, 24M, 36M, 48M, 54M +0xe08 0x03902024 // Path-A TX AGC codewod, MCS32, 1M +0xe10 0x24242424 // Path-A TX AGC codewod, MCS0, MCS1, MCS2, MCS3 +0xe14 0x24242424 // Path-A TX AGC codewod, MCS4, MCS5, MCS6, MCS7 +0xe18 0x24242424 // Path-A TX AGC codewod, MCS8, MCS9, MCS10, MCS11 +0xe1c 0x24242424 // 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 +0xe6c 0x631b25a0 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x081b25a0 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x081b25a0 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x631b25a0 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x081b25a0 // AFE ctrl reg (ASIC) TX_TO_TX +0xe8c 0x631b25a0 // AFE ctrl reg (ASIC) RX_CCK +0xed0 0x631b25a0 // AFE ctrl reg (ASIC) RX_OFDM +0xed4 0x631b25a0 // AFE ctrl reg (ASIC) RX_WAIT_RIFS +0xed8 0x631b25a0 // AFE ctrl reg (ASIC) RX_TO_RX +0xedc 0x001b25a0 // AFE ctrl reg (ASIC) Standby +0xee0 0x001b25a0 // AFE ctrl reg (ASIC) Sleep +0xeec 0x6b1b25a0 // AFE ctrl reg (ASIC) PMPD_ANAEN +0xee8 0x31555448 // Authur-enable PAPE +// +0xf14 0x00000003 // debug port selection. 0x0~0x3: PHY DBG, 0x4~0x5: MAC DBG +0xf4c 0x00000000 // 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/PHY_REG_2T.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T.txt new file mode 100644 index 000000000..d0ee4282f --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T.txt @@ -0,0 +1,271 @@ +//091204 +//0x024 0x0011800f //syn CLK enable +//0x028 0x00ffdb83 //320MHz CLK enable +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040002 // turn off RF when 1R CCA +0x804 0x00000003 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x65a965a9 +0x85c 0x0c1b25a4 // AFE ctrl reg (ASIC) RX AD3 CCA mode +0x860 0x0f7f0130 +0x864 0x0f7f0130 +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 0x00004000 // +0x878 0x08080808 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // AFE ctrl reg (ASIC) +0x888 0x00000000 // AFE ctrl reg (ASIC) +0x88c 0xcc000004 // [10:1] is r_rdy_cnt for sleep/standby mode, [27],[31] are MCS_IND +0x890 0x00000000 +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 0xc1ff000c +0xa08 0x8c038300 // MP: 0x88838300, driver: 0x8ccd8300 +0xa0c 0x2e62120f +0xa10 0x95009b78 // +0xa14 0x11144028 +0xa18 0x00881117 +0xa1c 0x89140f00 +0xa20 0x1a1b0000 +0xa24 0x090e1317 +0xa28 0x00000204 +0xa2c 0x00d30000 +0xa70 0x101fbf80 +0xa74 0x00000007 +// +//======================= +// PAGE_B +//======================= +0xb00 0x01017018 +0xb04 0xf7ed8f84 +0xb08 0x40372d20 +0xb0c 0x5b554e48 +0xb10 0x6f6a6560 +0xb14 0x807c7873 +0xb18 0x8f8b8884 +0xb1c 0x9d999693 +0xb20 0xa9a6a3a0 +0xb24 0xb5b2afac +0xb28 0x00810100 +0xb2c 0x00400056 +0xb30 0x002b0032 +0xb34 0x001f0024 +0xb38 0x0019001c +0xb3c 0x00150017 +0xb40 0x00120013 +0xb44 0x00100011 +0xb48 0x000e000f +0xb4c 0x000c000d +0xb50 0x000b000c +0xb54 0x000a000b +0xb58 0x0009000a +0xb5c 0x00090009 +0xb60 0x00080008 +0xb64 0x00080008 +0xb68 0x0fe00000 +0xb70 0x01017018 +0xb74 0xf7ed8f84 +0xb78 0x40372d20 +0xb7c 0x5b554e48 +0xb80 0x6f6a6560 +0xb84 0x807c7873 +0xb88 0x8f8b8884 +0xb8c 0x9d999693 +0xb90 0xa9a6a3a0 +0xb94 0xb5b2afac +0xb98 0x00810100 +0xb9c 0x00400056 +0xba0 0x002b0032 +0xba4 0x001f0024 +0xba8 0x0019001c +0xbac 0x00150017 +0xbb0 0x00120013 +0xbb4 0x00100011 +0xbb8 0x000e000f +0xbbc 0x000c000d +0xbc0 0x000b000c +0xbc4 0x000a000b +0xbc8 0x0009000a +0xbcc 0x00090009 +0xbd0 0x00080008 +0xbd4 0x00080008 +0xb6c 0x0fe00000 +// +//======================= +// PAGE_C ( OFDM_PHY0 ) +//======================= +0xc00 0x48071d40 // initial gain @ CCA negedge +0xc04 0x03a05633 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac4a // 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 0x6954341e // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc54 0x433c0094 +0xc58 0x6954341e // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc5c 0x433c0094 +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 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x40000100 +0xc84 0x20f60000 +0xc88 0x40000100 +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00000000 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00000000 // TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000000 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020403 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 0x2b2b2b2b // Path-A TX AGC codewod, 6M, 9M, 12M, 18M +0xe04 0x2b2b2b2b // Path-A TX AGC codewod, 24M, 36M, 48M, 54M +0xe08 0x2b2b2b2b // Path-A TX AGC codewod, MCS32, 1M +0xe10 0x2b2b2b2b // Path-A TX AGC codewod, MCS0, MCS1, MCS2, MCS3 +0xe14 0x2b2b2b2b // Path-A TX AGC codewod, MCS4, MCS5, MCS6, MCS7 +0xe18 0x2b2b2b2b // Path-A TX AGC codewod, MCS8, MCS9, MCS10, MCS11 +0xe1c 0x2b2b2b2b // 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 0x021400a0 +//0xe64 0x281600a0 // Reserved in 92C/88C +0xe6c 0x63db25a4 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x63db25a4 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x63db25a4 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x0c1b25a4 // 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 +0xf4c 0x00000000 // 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/PHY_REG_2T_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n.txt new file mode 100644 index 000000000..071ee61ee --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n.txt @@ -0,0 +1,219 @@ +//100311 +//0x024 0x0011800f //syn CLK enable +//0x028 0x00ffdb83 //320MHz CLK enable +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040002 // turn off RF when 1R CCA +0x804 0x00000003 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x2b2b2b27 // Path-A 11M/5.5M/2M TX AGC codeword, Path-B 11M TX AGC codeword +0x870 0x07000700 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA) +0x874 0x22184000 //path B 1R RSSI off issue +0x878 0x08080808 // RF mode for standby & rx_low_power codeword +0x87c 0x00000000 // TST mode +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // 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 +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 0x48071d40 +0xc04 0x03a05633 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac44 // PWED_TH option2=0x69e9bb44, 0x69e9ab44, 0x69e9ac44 +0xc34 0x469652cf +0xc38 0x49795994 +0xc3c 0x0a97971c +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 0x43bc0094 +0xc58 0x69543420 // AAGC=1,0x68043420, AAGC=2,0x69543420 +0xc5c 0x433c0094 +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 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x40000100 +0xc84 0x20f60000 +0xc88 0x40000100 +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00121820 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00121820// TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000080 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020403 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 +0xe6c 0x63db25a4 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x63db25a4 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x63db25a4 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x0c1b25a4 // 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 +0xf4c 0x00000000 // 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/PHY_REG_2T_n_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n_hp.txt new file mode 100644 index 000000000..dff75c46e --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_2T_n_hp.txt @@ -0,0 +1,220 @@ +//100311 +//0x024 0x0011800f //syn CLK enable +//0x028 0x00ffdb83 //320MHz CLK enable +0x028 0xffff83 //320MHz CLK enable, strong BB clock driving // tmp 40MHz solution +//======================= +// PAGE_8 ( FPGA_PHY0 ) +//======================= +0x800 0x80040002 // turn off RF when 1R CCA +0x804 0x00000003 +0x808 0x0000fc00 +0x80c 0x0000000A +0x810 0x10005388 +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 0x00390204 // jerry- for CCK Rx path A dynamic range +0x828 0x01000100 // 0x01000000 (SI), 0x01000100 (PI) +0x82c 0x00390204 // jerry- for CCK Rx path B dynamic range +0x830 0x24242424 // Path-B TX AGC codewod, 6M, 9M, 12M, 18M +0x834 0x24242424 // Path-B TX AGC codewod, 24M, 36M, 48M, 54M +0x838 0x20202024 // Path-B TX AGC codewod, MCS32, 1M, 2M, 5.5M +0x83c 0x24242424 // Path-B TX AGC codewod, MCS0, MCS1, MCS2, MCS3 +0x840 0x00010000 //RF to standby mode +0x844 0x00010000 //RF to standby mode +0x848 0x24242424 // Path-B TX AGC codewod, MCS4, MCS5, MCS6, MCS7 +0x84c 0x24242424 // 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 0x24242424 // Path-B TX AGC codewod, MCS12, MCS13, MCS14, MCS15 +0x86c 0x20202020 // Path-A 11M/5.5M/2M TX AGC codeword, Path-B 11M TX AGC codeword +0x870 0x03000300 // z2: 0x03000300, 92C RF: 0x07000700 (2 internal PA), 92S RF: 0x03000700 (one internal PA) +0x874 0x22184000 //path B 1R RSSI off issue +0x878 0x08080808 // RF mode for standby & rx_low_power codeword +0x87c 0x00ffc3f1 // TST mode 0x00000000 +0x880 0xc0083070 // AFE ctrl reg (ASIC) +0x884 0x000004d5 // 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 +0xa08 0x8c838300 // MP: 0x88838300, driver: 0x8ccd8300 +0xa0c 0x2e68120f +0xa10 0x9500bb78 // +0xa14 0x11144028 +0xa18 0x00881117 +0xa1c 0x89140f00 +0xa20 0x15160000 //Arthur-power tracking for high-power +0xa24 0x070b0f12 //Arthur-power tracking for high-power +0xa28 0x00000104 //Arthur-power tracking for high-power +0xa2c 0x00d30000 +0xa70 0x101fbf00 +0xa74 0x00000007 +// +//======================= +// PAGE_B +//======================= +// +// +//======================= +// PAGE_C ( OFDM_PHY0 ) +//======================= +0xc00 0x48071d40 +0xc04 0x03a05633 +0xc08 0x000000e4 // [8:4] is about DBG_GPIO selection +0xc0c 0x6c6c6c6c +0xc10 0x08800000 +0xc14 0x40000100 +0xc18 0x08800000 +0xc1c 0x40000100 +0xc20 0x00000000 // DTR TH +0xc24 0x00000000 // DTR TH +0xc28 0x00000000 // DTR TH +0xc2c 0x00000000 // DTR TH +0xc30 0x69e9ac44 // PWED_TH option2=0x69e9bb44, 0x69e9ab44, 0x69e9ac44 +0xc34 0x469652cf +0xc38 0x49795994 +0xc3c 0x0a97971c +0xc40 0x1f7c403f +0xc44 0x000100b7 +0xc48 0xec020107 //[1]=1:enable L1_SBD +0xc4c 0x007f037f // turn off edcca +0xc50 0x6954342e // AAGC=1,0x68043420, AAGC=2,0x69543420, 0x6954342e for external LNA +0xc54 0x43bc0094 +0xc58 0x6954342e // AAGC=1,0x68043420, AAGC=2,0x69543420, 0x6954342e for external LNA +0xc5c 0x433c0094 +0xc60 0x00000000 // DTR TH +0xc64 0x5116848b //L1-SBD //31168a8b for 6M sen. 0x5116828b, 0x5116848b +0xc68 0x47c00bff //L1-SBD +0xc6c 0x00000036 //L1-SBD +0xc70 0x2c56000d // disable AGC flow-1, 0x2c56000d for external LAN during high input power +0xc74 0x018610db // AGC RSSI setting time = 600nS.//0x0186109b=>RRSI=500ns,BBP=300ns for PI used, 0x0186175b +0xc78 0x0000001f +0xc7c 0x00b91612 +0xc80 0x24000090 //Arthur-power tracking for high-power +0xc84 0x20f60000 +0xc88 0x24000090 //Arthur-power tracking for high-power +0xc8c 0xa0e40000 //for MRC weighting function +0xc90 0x00121820 // TX Power Training for path-A +0xc94 0x00000000 +0xc98 0x00121820// TX Power Training for path-B +0xc9c 0x00007f7f // turn off pre-cca +0xca0 0x00000000 +0xca4 0x00000080 // reserved +0xca8 0x00000000 // reserved +0xcac 0x00000000 // reserved +0xcb0 0x00000000 // reserved +0xcb4 0x00000000 // reserved +0xcb8 0x00000000 // reserved +0xcbc 0x28000000 +0xcc0 0x00000000 // reserved +0xcc4 0x00000000 // reserved +0xcc8 0x00000000 // reserved +0xccc 0x00000000 // reserved +0xcd0 0x00000000 // reserved +0xcd4 0x00000000 // reserved +0xcd8 0x64b22427 // reserved +0xcdc 0x00766932 // reserved +0xce0 0x00222222 +0xce4 0x00000000 +0xce8 0x37644302 +0xcec 0x2f97d40c +// +//======================= +// PAGE_D ( OFDM_PHY1 ) +//======================= +0xd00 0x00080740 +0xd04 0x00020403 +0xd08 0x0000907f +0xd0c 0x20010201 +0xd10 0xa0633333 +0xd14 0x3333bc43 +0xd18 0x7a8f5b6b +0xd2c 0xcc979975 +0xd30 0x00000000 +0xd34 0x80608000 +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 0x24242424 // Path-A TX AGC codewod, 6M, 9M, 12M, 18M +0xe04 0x24242424 // Path-A TX AGC codewod, 24M, 36M, 48M, 54M +0xe08 0x03902024 // Path-A TX AGC codewod, MCS32, 1M +0xe10 0x24242424 // Path-A TX AGC codewod, MCS0, MCS1, MCS2, MCS3 +0xe14 0x24242424 // Path-A TX AGC codewod, MCS4, MCS5, MCS6, MCS7 +0xe18 0x24242424 // Path-A TX AGC codewod, MCS8, MCS9, MCS10, MCS11 +0xe1c 0x24242424 // 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 +0xe6c 0x63db25a4 // AFE ctrl reg (ASIC) Blue-Tooth +0xe70 0x63db25a4 // AFE ctrl reg (ASIC) RX_WAIT_CCA +0xe74 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_RFON +0xe78 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_CCK_BBON +0xe7c 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_RFON +0xe80 0x0c1b25a4 // AFE ctrl reg (ASIC) TX_OFDM_BBON +0xe84 0x63db25a4 // AFE ctrl reg (ASIC) TX_TO_RX +0xe88 0x0c1b25a4 // 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 +0xee8 0x31555448 // Authur-enable PAPE +// +0xf14 0x00000003 // debug port selection. 0x0~0x3: PHY DBG, 0x4~0x5: MAC DBG +0xf4c 0x00000000 // 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/PHY_REG_MP_n_92C.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_MP_n_92C.txt new file mode 100644 index 000000000..7d3186fa2 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_MP_n_92C.txt @@ -0,0 +1,4 @@ +//20100315 +0xc30 0x69e9ac4a //RX false alarm issue +0xc3c 0x0a979718 +0xff \ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_92C.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_92C.txt new file mode 100644 index 000000000..635ed8484 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_92C.txt @@ -0,0 +1,26 @@ +//========================= +// PHY_related MAC register by channel, Wilson 091016 +// Related from willis 090406 PHY_REG_PG.txt for 92S +//========================= + + +//Offset talbe_0 for BG_EN=0 +// For Ant A +0xe00 0xffffffff 0x0609090a // base on 0x30 //for 18M,12M,09M,06M +0xe04 0xffffffff 0x00030406 // 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 0x090a0a0b // base on 0x30 //for MCS=03,02,01,00 +0xe14 0xffffffff 0x01040508 // base on 0x30 //for MCS=07,06,05,04 +0xe18 0xffffffff 0x090a0a0b // base on 0x30 //for MCS=11,10,09,08 +0xe1c 0xffffffff 0x01040508 // base on 0x30 //for MCS=15,14,13,12 +// For Ant B +0x830 0xffffffff 0x0609090a // base on 0x32 //for 18M,12M,09M,06M +0x834 0xffffffff 0x00030406 // 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 0x090a0a0b // base on 0x32 //for MCS=03,02,01,00 +0x848 0xffffffff 0x01040508 // base on 0x32 //for MCS=07,06,05,04 +0x84c 0xffffffff 0x090a0a0b // base on 0x32 //for MCS=11,10,09,08 +0x868 0xffffffff 0x01040508 // base on 0x32 //for MCS=15,14,13,12 +0xff diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_hp.txt new file mode 100644 index 000000000..582c5287e --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/PHY_REG_PG_hp.txt @@ -0,0 +1,27 @@ +//========================= +// PHY_related MAC register by channel, Wilson 091016 +// Related from willis 090406 PHY_REG_PG.txt for 92S +// High-power application, jerry 20100928 +//========================= + + +//Offset talbe_0 for BG_EN=0 +// For Ant A +0xe00 0xffffffff 0x06080808 // base on 0x30 //for 18M,12M,09M,06M //27,28,28,28dBm +0xe04 0xffffffff 0x00040406 // base on 0x30 //for 54M,48M,36M,24M //24,26,26,27dBm +0xe08 0x0000ff00 0x00 // base on 0x30 //for CCK 1M , use 28 dB +0x86c 0xffffff00 0x000000 // base on 0x30 //for CCK 2M, 5.5M, 11M, use 28 dB +0xe10 0xffffffff 0x04060608 // base on 0x30 //for MCS=03,02,01,00 //26,27,27,28dBm +0xe14 0xffffffff 0x00020204 // base on 0x30 //for MCS=07,06,05,04 //24,25,25,26dBm +0xe18 0xffffffff 0x04060608 // base on 0x30 //for MCS=11,10,09,08 //26,27,27,28dBm +0xe1c 0xffffffff 0x00020204 // base on 0x30 //for MCS=15,14,13,12 //24,25,25,26dBm +// For Ant B +0x830 0xffffffff 0x06080808 // base on 0x32 //for 18M,12M,09M,06M //same as Ant A +0x834 0xffffffff 0x00040406 // base on 0x32 //for 54M,48M,36M,24M +0x838 0xffffff00 0x000000 // base on 0x34 //for CCK 1M, 2M, 5.5M, use 28dB +0x86c 0x000000ff 0x00 // base on 0x34 //for CCK 11M, use 28dB +0x83c 0xffffffff 0x04060608 // base on 0x32 //for MCS=03,02,01,00 +0x848 0xffffffff 0x00020204 // base on 0x32 //for MCS=07,06,05,04 +0x84c 0xffffffff 0x04060608 // base on 0x32 //for MCS=11,10,09,08 +0x868 0xffffffff 0x00020204 // base on 0x32 //for MCS=15,14,13,12 +0xff diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T.txt new file mode 100644 index 000000000..e27126480 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T.txt @@ -0,0 +1,155 @@ +//091201 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0X09 0X2044f +0x0a 0x1adb0 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0c52c +0x0e 0x11087 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x10255 //12255 //0x10255 for CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc300 +0x1d 0xa1250 +0x1e 0x44009 //RC calibration power on +0x1f 0x80441 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x00000 +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x0f400 +0x27 0xc8799 //0x27 0xcc799 +0x28 0x55540 //0x28 0x59540 +0x29 0x04582 +0x2a 0x00001 +0x2b 0x21334 + +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00709 +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x00709 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0050b +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66623 +0x2c 0x0001a + +0x2a 0x60000 //0x60000 for 1M spurs + +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0x231fc //turn on PAD2 //?? +0x10 0x6000f //RX IQ K +0x11 0x3f9f8 //turn on RXBB BFAC //?? +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x1000f //standbt mode +0x11 0x20103 //RF lpbk switches on if at APK mode + +//RXAGC_RXHP table +0x12 0x32000 +0x12 0x71000 +0x12 0xb0000 +0x12 0xfc000 + +//TX gain table +0x13 0x287b3 +0x13 0x247a7 +0x13 0x2079b +0x13 0x1c49f +0x13 0x1839e +0x13 0x142a1 +0x13 0x102a8 +0x13 0x0c29c +0x13 0x081a0 +0x13 0x040ac +0x13 0x00024 + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0xcf415 //OFDM +0x15 0x8f415 //CCK +0x15 0x4f415 //MCS + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + + + +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80443 //RC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x00 0x30159 //RX mode + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T_n.txt new file mode 100644 index 000000000..574b326e5 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_1T_n.txt @@ -0,0 +1,169 @@ +//100311 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb0 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e52c +0x0e 0x39ce7 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x10255 //12255 //0x10255 for CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc378 //Alex 0xfc300 +0x1d 0xa1250 +0x1e 0x4445f //RC calibration power on +0x1f 0x80001 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x00000 +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x4f000 +0x27 0xec7d9 //0x27 0xcc799 +0x28 0x977c0 //0x28 0x59540 +0x29 0x04783 +0x2a 0x00001 +0x2b 0x21334 + +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00808 +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x0060a +0x2b 0x4b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0060a +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66666 //Alex 0x66623 +0x2c 0x0001a + +0x2a 0xe0000 //0x60000 for 1M spurs + +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0xe31fc //Alex_0x231fc //turn on PAD2 +0x10 0x6000f //RX IQ K +0x11 0xff9f8 //Alex 0x3f9f8 //turn on RXBB BFAC +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x3000f //Alex RX mode +0x11 0xff500 //Alex RX mode +//0x10 0x1000f //standbt mode +//0x11 0x20103 //RF lpbk switches on if at APK mode +0x10 0x00000 //Alex shut down mode +0x11 0x00000 //Alex shut down mode +0x10 0x8000f //Alex low power RX mode +0x11 0x3f100 // Alex low power RX mode +0x10 0x9000f //Alex low power idle mode +0x11 0x23100 //Alex power idle mode + +//RXAGC_RXHP table +0x12 0x32000 +0x12 0x71000 +0x12 0xb0000 +0x12 0xfc000 + +//TX gain table +0x13 0x287af +0x13 0x244b7 +0x13 0x204ab +0x13 0x1c49f +0x13 0x18493 +0x13 0x14297 +0x13 0x10295 +0x13 0x0c298 +0x13 0x0819c +0x13 0x040a8 +0x13 0x0001c + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 + + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + + + +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80003 //RC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1e 0x44457 +0x1f 0x80000 +0x00 0x30159 //RX mode + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T.txt new file mode 100644 index 000000000..1fa18d35d --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T.txt @@ -0,0 +1,153 @@ +//091201 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0X09 0X2044f +0x0a 0x1adb0 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0c52c +0x0e 0x21087 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x10255 //12255 //0x10255 for CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc300 +0x1d 0xa1250 +0x1e 0x44009 //RC calibration power on +0x1f 0x80441 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x00000 +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x0f400 +0x27 0xc8799 //0x27 0xcc799 +0x28 0x55540 //0x28 0x59540 +0x29 0x04582 +0x2a 0x00001 +0x2b 0x21334 + +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00709 +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x00709 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0050b +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66623 +0x2c 0x0001a + +0x2a 0x60000 //0x60000 for 1M spurs + +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0x231fc //turn on PAD2 //?? +0x10 0x6000f //RX IQ K +0x11 0x3f9f8 //turn on RXBB BFAC //?? +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x1000f //standbt mode +0x11 0x20103 //RF lpbk switches on if at APK mode + +//RXAGC_RXHP table +0x12 0x32000 +0x12 0x71000 +0x12 0xb0000 +0x12 0xfc000 + +//TX gain table +0x13 0x287b3 +0x13 0x247a7 +0x13 0x2079b +0x13 0x1c49f +0x13 0x1839e +0x13 0x142a1 +0x13 0x102a8 +0x13 0x0c29c +0x13 0x081a0 +0x13 0x040ac +0x13 0x00024 + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f433 +0x15 0x4f433 +0x15 0x8f433 + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + + +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80443 //RC calibration +0xfe // delay 50ms +0x00 0x30159 //RX mode + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n.txt new file mode 100644 index 000000000..574b326e5 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n.txt @@ -0,0 +1,169 @@ +//100311 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb0 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e52c +0x0e 0x39ce7 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x10255 //12255 //0x10255 for CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc378 //Alex 0xfc300 +0x1d 0xa1250 +0x1e 0x4445f //RC calibration power on +0x1f 0x80001 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x00000 +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x4f000 +0x27 0xec7d9 //0x27 0xcc799 +0x28 0x977c0 //0x28 0x59540 +0x29 0x04783 +0x2a 0x00001 +0x2b 0x21334 + +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00808 +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x0060a +0x2b 0x4b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0060a +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66666 //Alex 0x66623 +0x2c 0x0001a + +0x2a 0xe0000 //0x60000 for 1M spurs + +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0xe31fc //Alex_0x231fc //turn on PAD2 +0x10 0x6000f //RX IQ K +0x11 0xff9f8 //Alex 0x3f9f8 //turn on RXBB BFAC +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x3000f //Alex RX mode +0x11 0xff500 //Alex RX mode +//0x10 0x1000f //standbt mode +//0x11 0x20103 //RF lpbk switches on if at APK mode +0x10 0x00000 //Alex shut down mode +0x11 0x00000 //Alex shut down mode +0x10 0x8000f //Alex low power RX mode +0x11 0x3f100 // Alex low power RX mode +0x10 0x9000f //Alex low power idle mode +0x11 0x23100 //Alex power idle mode + +//RXAGC_RXHP table +0x12 0x32000 +0x12 0x71000 +0x12 0xb0000 +0x12 0xfc000 + +//TX gain table +0x13 0x287af +0x13 0x244b7 +0x13 0x204ab +0x13 0x1c49f +0x13 0x18493 +0x13 0x14297 +0x13 0x10295 +0x13 0x0c298 +0x13 0x0819c +0x13 0x040a8 +0x13 0x0001c + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 + + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + + + +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80003 //RC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1e 0x44457 +0x1f 0x80000 +0x00 0x30159 //RX mode + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_hp.txt new file mode 100644 index 000000000..55bd298e1 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_hp.txt @@ -0,0 +1,157 @@ +//100701 +//////////////////////// +//0x26 OFDM CCK +// 0x4f000 0xf400 +//////////////////////// +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb1 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e529 //jerry-low gain for ext.PA +0x0e 0x39ce7 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x00255 //12255 //jerry-0x00255 for high power CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc378 //Alex 0xfc300 +0x1d 0xa1250 +0x1e 0x4445f //RC calibration power on +0x1f 0x80001 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x0083c //Arthur-adjust PAPE voltage +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x4f000 +0x27 0xec7d9 //0x27 0xcc799 +0x28 0x577c0 //0x28 0x59540 +0x29 0x04783 +0x2a 0x00001 +0x2b 0x21334 +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00808 +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x0060a +0x2b 0x4b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0060a +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66666 //Alex 0x66623 +0x2c 0x0001a +0x2a 0xe0000 //0x60000 for 1M spurs +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0xe31fc //Alex_0x231fc //turn on PAD2 +0x10 0x6000f //RX IQ K +0x11 0xff9f8 //Alex 0x3f9f8 //turn on RXBB BFAC +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x3000f //Alex RX mode +0x11 0xff500 //Alex RX mode +//0x10 0x1000f //standbt mode +//0x11 0x20103 //RF lpbk switches on if at APK mode +0x10 0x00000 //Alex shut down mode +0x11 0x00000 //Alex shut down mode +0x10 0x8000f //Alex low power RX mode +0x11 0x3f100 // Alex low power RX mode +0x10 0x9000f //Alex low power idle mode +0x11 0x23100 //Alex power idle mode +//RXAGC_RXHP table - jerry for ACPR +0x12 0xd8000 //0x32000; d4000 +0x12 0x90000 //0x71000; 90000 +0x12 0x51000 //0xb0000; 51000 +0x12 0x12000 //0xfc000; 12000 +//TX gain table - Arthur +0x13 0x24fa8 //jerry-old 0x28fb4 +0x13 0x24fa8 +0x13 0x207a4 +0x13 0x1c3b0 //0x1c3b0 for 39-40 nonlinear issue +0x13 0x183a4 +0x13 0x14398 +0x13 0x101a4 +0x13 0x0c198 +0x13 0x080a4 +0x13 0x04098 +0x13 0x00014 +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80003 //RC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1e 0x44457 +0x1f 0x80000 +0x00 0x30159 //RX mode +0xff 0xffff + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_lna.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_lna.txt new file mode 100644 index 000000000..49ecf00e1 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_a_2T_n_lna.txt @@ -0,0 +1,173 @@ +//100701 +//////////////////////// +//0x26 OFDM CCK +// 0x4f000 0xf400 +//////////////////////// +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb1 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e52c +0x0e 0x39ce7 +0x0f 0x00451 +0x19 0x00000 +0x1a 0x00255 //12255 //jerry-0x00255 for high power CCK ACPR +0x1b 0x60a00 //RSSI +0x1c 0xfc378 //Alex 0xfc300 +0x1d 0xa1250 +0x1e 0x4445f //RC calibration power on +0x1f 0x80001 //RC calibration power on +0x20 0x0b614 +0x21 0x6c000 //idac poweron +0x22 0x0083c //Arthur-adjust PAPE voltage +0x23 0x01558 +0x24 0x00060 // enabile temp meter +0x25 0x00483 //0x00583 //0x00483 for unlock issue +0x26 0x4f000 +0x27 0xec7d9 //0x27 0xcc799 +0x28 0x577c0 //0x28 0x59540 +0x29 0x04783 +0x2a 0x00001 +0x2b 0x21334 + +//Fractional-N table +0x2a 0x00000 +0x2b 0x00054 +0x2a 0x00001 +0x2b 0x00808 +0x2b 0x53333 +0x2c 0x0000c +0x2a 0x00002 +0x2b 0x00808 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00003 +0x2b 0x00808 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00004 +0x2b 0x00808 +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x00005 +0x2b 0x00808 +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x00006 +0x2b 0x00709 +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x00007 +0x2b 0x00709 +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x00008 +0x2b 0x0060a +0x2b 0x4b333 +0x2c 0x0000d +0x2a 0x00009 +0x2b 0x0060a +0x2b 0x53333 +0x2c 0x0000d +0x2a 0x0000a +0x2b 0x0060a +0x2b 0x5b333 +0x2c 0x0000d +0x2a 0x0000b +0x2b 0x0060a +0x2b 0x63333 +0x2c 0x0000d +0x2a 0x0000c +0x2b 0x0060a +0x2b 0x6b333 +0x2c 0x0000d +0x2a 0x0000d +0x2b 0x0060a +0x2b 0x73333 +0x2c 0x0000d +0x2a 0x0000e +0x2b 0x0050b +0x2b 0x66666 //Alex 0x66623 +0x2c 0x0001a + +0x2a 0xe0000 //0x60000 for 1M spurs + +//RF mode table +0x10 0x4000f //TX IQ K +0x11 0xe31fc //Alex_0x231fc //turn on PAD2 +0x10 0x6000f //RX IQ K +0x11 0xff9f8 //Alex 0x3f9f8 //turn on RXBB BFAC +0x10 0x2000f //TX Mode +0x11 0x203f9 // turn on rf tssi +0x10 0x3000f //Alex RX mode +0x11 0xff500 //Alex RX mode +//0x10 0x1000f //standbt mode +//0x11 0x20103 //RF lpbk switches on if at APK mode +0x10 0x00000 //Alex shut down mode +0x11 0x00000 //Alex shut down mode +0x10 0x8000f //Alex low power RX mode +0x11 0x3f100 // Alex low power RX mode +0x10 0x9000f //Alex low power idle mode +0x11 0x23100 //Alex power idle mode + +//RXAGC_RXHP table - jerry for ACPR +0x12 0xd8000 //0x32000; d4000 +0x12 0x90000 //0x71000; 90000 +0x12 0x51000 //0xb0000; 51000 +0x12 0x12000 //0xfc000; 12000 + +//TX gain table +0x13 0x287af +0x13 0x244b7 +0x13 0x204ab +0x13 0x1c49f +0x13 0x18493 +0x13 0x14297 +0x13 0x10295 +0x13 0x0c298 +0x13 0x0819c +0x13 0x040a8 +0x13 0x0001c + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 + + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + + + +0x00 0x10159 //standby mode +0x18 0x0f401 //LC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1f 0x80003 //RC calibration +0xfe // delay 50ms +0xfe // delay 50ms +0x1e 0x44457 +0x1f 0x80000 +0x00 0x30159 //RX mode + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T.txt new file mode 100644 index 000000000..19428e289 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T.txt @@ -0,0 +1,34 @@ +//091201 +0x00 0x30159 //RX mode +0x01 0x30001 //TRX IQGEN Current +0x02 0x19000 //TX IQGEN Current +0X09 0X2044f +0x0a 0x00fb0 +0x0b 0xd4c0b +0x0c 0x8992e +0x0d 0x0c52e +0x0e 0x42108 +0x0f 0x00451 + +//TX gain table +0x13 0x28fb3 +0x13 0x247a7 +0x13 0x205a3 +0x13 0x1c3a6 +0x13 0x182a9 +0x13 0x142ac +0x13 0x101b0 +0x13 0x0c1a4 +0x13 0x080b0 +0x13 0x040a4 +0x13 0x0001c + + +//IPA bias table +0x15 0x0f433 + +//TX table II +0x16 0xe0336 +0x16 0xe033a for MCS15 CH3 + +0xff 0xffff \ No newline at end of file diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n.txt new file mode 100644 index 000000000..f2382bad3 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n.txt @@ -0,0 +1,57 @@ +//100204 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb0 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e52c +0x0e 0x39ce7 +0x0f 0x00451 + +//RXAGC_RXHP table +0x12 0x32000 +0x12 0x71000 +0x12 0xb0000 +0x12 0xfc000 + +//TX gain table +0x13 0x287af +0x13 0x244b7 +0x13 0x204ab +0x13 0x1c49f +0x13 0x18493 +0x13 0x14297 +0x13 0x10295 +0x13 0x0c298 +0x13 0x0819c +0x13 0x040a8 +0x13 0x0001c + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 + + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + +0xff 0xffff + + + + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_hp.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_hp.txt new file mode 100644 index 000000000..132b7489e --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_hp.txt @@ -0,0 +1,47 @@ +//100701 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb1 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e529 //jerry-low gain for ext.PA +0x0e 0x39ce7 +0x0f 0x00451 +//RXAGC_RXHP table - jerry for ACPR +0x12 0xd8000 //0x32000; d4000 +0x12 0x90000 //0x71000; 90000 +0x12 0x51000 //0xb0000; 51000 +0x12 0x12000 //0xfc000; 12000 +//TX gain table - Arthur +0x13 0x24fa8 //jerry-old 0x28fb4 +0x13 0x24fa8 +0x13 0x207a4 +0x13 0x1c3b0 //jerry-0x1c3b0 for 39-40 nonlinear issue +0x13 0x183a4 +0x13 0x14398 +0x13 0x101a4 +0x13 0x0c198 +0x13 0x080a4 +0x13 0x04098 +0x13 0x00014 +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain +0xff 0xffff + diff --git a/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_lna.txt b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_lna.txt new file mode 100644 index 000000000..761a74343 --- /dev/null +++ b/target/linux/realtek/files/drivers/net/wireless/rtl8192cd/data/radio_b_2T_n_lna.txt @@ -0,0 +1,57 @@ +//100701 +0x00 0x30159 //RX mode +0x01 0x31284 //TRX IQGEN Current +0x02 0x98000 //TX IQGEN Current +0x03 0x18c63 +0x04 0x210e7 +0X09 0X2044f +0x0a 0x1adb1 +0x0b 0x54867 +0x0c 0x8992e +0x0d 0x0e52c +0x0e 0x39ce7 +0x0f 0x00451 + +//RXAGC_RXHP table - jerry for ACPR +0x12 0xd8000 //0x32000; d4000 +0x12 0x90000 //0x71000; 90000 +0x12 0x51000 //0xb0000; 51000 +0x12 0x12000 //0xfc000; 12000 + +//TX gain table +0x13 0x287af +0x13 0x244b7 +0x13 0x204ab +0x13 0x1c49f +0x13 0x18493 +0x13 0x14297 +0x13 0x10295 +0x13 0x0c298 +0x13 0x0819c +0x13 0x040a8 +0x13 0x0001c + +//BIAS table +0x14 0x1944c +0x14 0x59444 +0x14 0x9944c +0x14 0xd9444 + +//IPA bias table +0x15 0x0f424 +0x15 0x4f424 +0x15 0x8f424 +0x15 0xcf424 + + +//TX table II +0x16 0xe0330 //High gain +0x16 0xa0330 //middle gain +0x16 0x60330 //low gain +0x16 0x20330 //ultra low gain + +0xff 0xffff + + + + -- cgit v1.2.3