]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
rtw88: 8822c: update tx power limit tables to RF v20.1
authorZong-Zhe Yang <kevin_yang@realtek.com>
Mon, 24 Aug 2020 08:44:53 +0000 (16:44 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Aug 2020 10:05:06 +0000 (13:05 +0300)
update tx power limits of channels 12, 13 for FCC

Signed-off-by: Zong-Zhe Yang <kevin_yang@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200824084453.29953-1-yhchuang@realtek.com
drivers/net/wireless/realtek/rtw88/rtw8822c_table.c

index 08d01a7bb1bf65e6ac002da758e5f4f6a303b376..3a204a7533df9e9857a546396cf0ae6d06487050 100644 (file)
@@ -23889,7 +23889,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 0, 11, 60, },
        { 8, 0, 0, 0, 11, 72, },
        { 9, 0, 0, 0, 11, 60, },
-       { 0, 0, 0, 0, 12, 52, },
+       { 0, 0, 0, 0, 12, 44, },
        { 2, 0, 0, 0, 12, 60, },
        { 1, 0, 0, 0, 12, 68, },
        { 3, 0, 0, 0, 12, 52, },
@@ -23899,7 +23899,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 0, 12, 60, },
        { 8, 0, 0, 0, 12, 52, },
        { 9, 0, 0, 0, 12, 60, },
-       { 0, 0, 0, 0, 13, 48, },
+       { 0, 0, 0, 0, 13, 40, },
        { 2, 0, 0, 0, 13, 60, },
        { 1, 0, 0, 0, 13, 68, },
        { 3, 0, 0, 0, 13, 48, },
@@ -24029,7 +24029,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 1, 11, 60, },
        { 8, 0, 0, 1, 11, 52, },
        { 9, 0, 0, 1, 11, 60, },
-       { 0, 0, 0, 1, 12, 40, },
+       { 0, 0, 0, 1, 12, 32, },
        { 2, 0, 0, 1, 12, 60, },
        { 1, 0, 0, 1, 12, 76, },
        { 3, 0, 0, 1, 12, 40, },
@@ -24039,7 +24039,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 1, 12, 60, },
        { 8, 0, 0, 1, 12, 40, },
        { 9, 0, 0, 1, 12, 60, },
-       { 0, 0, 0, 1, 13, 28, },
+       { 0, 0, 0, 1, 13, 20, },
        { 2, 0, 0, 1, 13, 60, },
        { 1, 0, 0, 1, 13, 76, },
        { 3, 0, 0, 1, 13, 28, },
@@ -24169,7 +24169,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 2, 11, 60, },
        { 8, 0, 0, 2, 11, 52, },
        { 9, 0, 0, 2, 11, 60, },
-       { 0, 0, 0, 2, 12, 40, },
+       { 0, 0, 0, 2, 12, 32, },
        { 2, 0, 0, 2, 12, 60, },
        { 1, 0, 0, 2, 12, 76, },
        { 3, 0, 0, 2, 12, 40, },
@@ -24179,7 +24179,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 2, 12, 60, },
        { 8, 0, 0, 2, 12, 40, },
        { 9, 0, 0, 2, 12, 60, },
-       { 0, 0, 0, 2, 13, 28, },
+       { 0, 0, 0, 2, 13, 20, },
        { 2, 0, 0, 2, 13, 60, },
        { 1, 0, 0, 2, 13, 76, },
        { 3, 0, 0, 2, 13, 28, },
@@ -24309,7 +24309,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 3, 11, 36, },
        { 8, 0, 0, 3, 11, 52, },
        { 9, 0, 0, 3, 11, 36, },
-       { 0, 0, 0, 3, 12, 40, },
+       { 0, 0, 0, 3, 12, 32, },
        { 2, 0, 0, 3, 12, 36, },
        { 1, 0, 0, 3, 12, 66, },
        { 3, 0, 0, 3, 12, 40, },
@@ -24319,7 +24319,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type0[] = {
        { 7, 0, 0, 3, 12, 36, },
        { 8, 0, 0, 3, 12, 40, },
        { 9, 0, 0, 3, 12, 36, },
-       { 0, 0, 0, 3, 13, 28, },
+       { 0, 0, 0, 3, 13, 20, },
        { 2, 0, 0, 3, 13, 36, },
        { 1, 0, 0, 3, 13, 66, },
        { 3, 0, 0, 3, 13, 28, },
@@ -25844,7 +25844,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 0, 11, 60, },
        { 8, 0, 0, 0, 11, 72, },
        { 9, 0, 0, 0, 11, 60, },
-       { 0, 0, 0, 0, 12, 52, },
+       { 0, 0, 0, 0, 12, 44, },
        { 2, 0, 0, 0, 12, 60, },
        { 1, 0, 0, 0, 12, 68, },
        { 3, 0, 0, 0, 12, 52, },
@@ -25854,7 +25854,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 0, 12, 60, },
        { 8, 0, 0, 0, 12, 52, },
        { 9, 0, 0, 0, 12, 60, },
-       { 0, 0, 0, 0, 13, 48, },
+       { 0, 0, 0, 0, 13, 40, },
        { 2, 0, 0, 0, 13, 60, },
        { 1, 0, 0, 0, 13, 68, },
        { 3, 0, 0, 0, 13, 48, },
@@ -25984,7 +25984,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 1, 11, 60, },
        { 8, 0, 0, 1, 11, 52, },
        { 9, 0, 0, 1, 11, 60, },
-       { 0, 0, 0, 1, 12, 40, },
+       { 0, 0, 0, 1, 12, 32, },
        { 2, 0, 0, 1, 12, 60, },
        { 1, 0, 0, 1, 12, 76, },
        { 3, 0, 0, 1, 12, 40, },
@@ -25994,7 +25994,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 1, 12, 60, },
        { 8, 0, 0, 1, 12, 40, },
        { 9, 0, 0, 1, 12, 60, },
-       { 0, 0, 0, 1, 13, 28, },
+       { 0, 0, 0, 1, 13, 20, },
        { 2, 0, 0, 1, 13, 60, },
        { 1, 0, 0, 1, 13, 76, },
        { 3, 0, 0, 1, 13, 28, },
@@ -26124,7 +26124,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 2, 11, 60, },
        { 8, 0, 0, 2, 11, 52, },
        { 9, 0, 0, 2, 11, 60, },
-       { 0, 0, 0, 2, 12, 40, },
+       { 0, 0, 0, 2, 12, 32, },
        { 2, 0, 0, 2, 12, 60, },
        { 1, 0, 0, 2, 12, 76, },
        { 3, 0, 0, 2, 12, 40, },
@@ -26134,7 +26134,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 2, 12, 60, },
        { 8, 0, 0, 2, 12, 40, },
        { 9, 0, 0, 2, 12, 60, },
-       { 0, 0, 0, 2, 13, 28, },
+       { 0, 0, 0, 2, 13, 20, },
        { 2, 0, 0, 2, 13, 60, },
        { 1, 0, 0, 2, 13, 76, },
        { 3, 0, 0, 2, 13, 28, },
@@ -26264,7 +26264,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 3, 11, 36, },
        { 8, 0, 0, 3, 11, 52, },
        { 9, 0, 0, 3, 11, 36, },
-       { 0, 0, 0, 3, 12, 40, },
+       { 0, 0, 0, 3, 12, 32, },
        { 2, 0, 0, 3, 12, 36, },
        { 1, 0, 0, 3, 12, 66, },
        { 3, 0, 0, 3, 12, 40, },
@@ -26274,7 +26274,7 @@ static const struct rtw_txpwr_lmt_cfg_pair rtw8822c_txpwr_lmt_type5[] = {
        { 7, 0, 0, 3, 12, 36, },
        { 8, 0, 0, 3, 12, 40, },
        { 9, 0, 0, 3, 12, 36, },
-       { 0, 0, 0, 3, 13, 28, },
+       { 0, 0, 0, 3, 13, 20, },
        { 2, 0, 0, 3, 13, 36, },
        { 1, 0, 0, 3, 13, 66, },
        { 3, 0, 0, 3, 13, 28, },