Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp5282998ybh; Wed, 7 Aug 2019 03:42:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqw9H1HTBbSqzzvnfBO1WrSOF06bJAdR/K4EgGdmOf0MuxlEnhUOwtD0dbAj29YrGNPx3QdB X-Received: by 2002:a17:902:8490:: with SMTP id c16mr7753274plo.1.1565174550161; Wed, 07 Aug 2019 03:42:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565174550; cv=none; d=google.com; s=arc-20160816; b=E4Euo+C7w39OHQTO8YVfLimkXg4G61iikL4AHctLG35YEOCGrrmzb7yvfhd1M/erPL Z1egcCLsp0It0N6v1piVjRlZFPrHrkjEu5jeBm1Jg6bWQXg1dwIMUreQ5bTJYpEnUp6k TqAdtMS8QSPPnPTCiKx2PCa5vuygNvcURWfb5Fs/8ugxrhdraOJ3LnEf55TPLfB/uU5j Bl7x+I4FAGiPsf19g6WM3NchDPUUcqevOlA5ymowm8GBGWdOVTbeQOC3jgv3lYwIU+/t I5lpOeyuaMVtk6x2WfBmdpIz3VDXZzQwu0s/jpG/3GtpUPEpAJsSA/pOBVOtqsjtfd+R HhJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:authenticated-by; bh=y+T6uI3xh6aUm1yzMmnuVwS/u/KDGAJXuDvc0UTtXfA=; b=W0W7XK2jLm3xZsG083kIm9oWjGZlxfpEWvgmonRRG2bnmoBF7jqueJUeWwYmJB39sq 48/8MHgK+gKnALTRIzJU7TLIplpAG0uwt6b2ZUSVd9ycqh6nFQOPBmVxoE5rCKIO7sgG gYgw528o1anaK00tRW1FFqwNYukpDl4m9B8lpR3rDXYLTIMxsNg/LyXhgKNf97rbwb0L I7G1VPXw3gzxsfGTm1mokmwhmfff3KJFgCz9wBFrt8lcf45l0H3U8ZGdWYUjTr/3jhQY 8a+bWa2fFcJawtDs9vTzHK+zT+d7++cYKA1s39WH/jEG6ko7MTUTUWNmxpgtvshNCcyX 5Glg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12si17522562pjq.60.2019.08.07.03.42.15; Wed, 07 Aug 2019 03:42:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729555AbfHGKkd (ORCPT + 99 others); Wed, 7 Aug 2019 06:40:33 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:56216 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727464AbfHGKkZ (ORCPT ); Wed, 7 Aug 2019 06:40:25 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x77AeEbU010037, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (RTITCASV01.realtek.com.tw[172.21.6.18]) by rtits2.realtek.com.tw (8.15.2/2.57/5.78) with ESMTPS id x77AeEbU010037 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Aug 2019 18:40:14 +0800 Received: from localhost.localdomain (172.21.68.126) by RTITCASV01.realtek.com.tw (172.21.6.18) with Microsoft SMTP Server id 14.3.439.0; Wed, 7 Aug 2019 18:40:13 +0800 From: To: CC: , , Subject: [PATCH 2/8] rtw88: 8822c: update pwr_seq to v13 Date: Wed, 7 Aug 2019 18:39:59 +0800 Message-ID: <1565174405-2689-3-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1565174405-2689-1-git-send-email-yhchuang@realtek.com> References: <1565174405-2689-1-git-send-email-yhchuang@realtek.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.21.68.126] Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Chin-Yen Lee update sequence to v13 to reduce power consumption when MAC power off Signed-off-by: Chin-Yen Lee Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtw88/rtw8822c.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/net/wireless/realtek/rtw88/rtw8822c.c b/drivers/net/wireless/realtek/rtw88/rtw8822c.c index 207f64c..b072d43 100644 --- a/drivers/net/wireless/realtek/rtw88/rtw8822c.c +++ b/drivers/net/wireless/realtek/rtw88/rtw8822c.c @@ -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, -- 2.7.4