rtw88: 8822c: update pwr_seq to v13
authorChin-Yen Lee <timlee@realtek.com>
Mon, 9 Sep 2019 07:16:05 +0000 (15:16 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 13 Sep 2019 15:03:16 +0000 (18:03 +0300)
update sequence to v13 to reduce power consumption
when MAC power off

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/rtw8822c.c

index 207f64c..b072d43 100644 (file)
@@ -2275,6 +2275,16 @@ static struct rtw_pwr_seq_cmd trans_cardemu_to_carddis_8822c[] = {
         RTW_PWR_INTF_ALL_MSK,
         RTW_PWR_ADDR_MAC,
         RTW_PWR_CMD_WRITE, BIT(1), 0},
+       {0x0092,
+        RTW_PWR_CUT_ALL_MSK,
+        RTW_PWR_INTF_PCI_MSK,
+        RTW_PWR_ADDR_MAC,
+        RTW_PWR_CMD_WRITE, 0xFF, 0x20},
+       {0x0093,
+        RTW_PWR_CUT_ALL_MSK,
+        RTW_PWR_INTF_PCI_MSK,
+        RTW_PWR_ADDR_MAC,
+        RTW_PWR_CMD_WRITE, 0xFF, 0x04},
        {0x0005,
         RTW_PWR_CUT_ALL_MSK,
         RTW_PWR_INTF_USB_MSK | RTW_PWR_INTF_SDIO_MSK,