Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4323933ybe; Mon, 9 Sep 2019 07:42:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqy3LgjNCYjPIXj7wqtBdqtV7RUiSPzJPCdrcqbBGO3Kz0HxqLXmvAQCw+zWzbn64mZ3A/J0 X-Received: by 2002:a17:906:7494:: with SMTP id e20mr19955606ejl.166.1568040128412; Mon, 09 Sep 2019 07:42:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568040128; cv=none; d=google.com; s=arc-20160816; b=QqfM8T2jd6dRuFsYqCT7pmeLAv5I54CgMDtAtKZIs52TPwwGSR60NHyqjm5ZkROr5+ 6w6NYE8L7/AE3FFTrulp6yV6OFr0gl5XP/gAJIvs54VWz/uG4SaLOyJRgmWw1km+PlGS oWVY1Cx8UeO2PqYeC/GFgC0yiKLHe/v0ZXPFjDneOV6KSb2Dq1xrKXK4XrKHVymnxAPf LldFAzKuKknKRTbZpOM0GCkdncZ1DkhsB7VFcT4vlxKoz7Bl687ZGtDzY4RRrYnkABFE tPcKBReIby7K6/LrmgpHhCpZU8pZAhfnFm3Vvw3Ryr9OkrsO2pcjoXx87neuWEurHaCD pAiA== 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=7/SRmdf/aZYQmQ43G3b/6dJS3bYHXwEEP28CdwqYxAQ=; b=xUdG+mvsM9hkiS3WN4ZFTo2WiX+XZqTbBYd+ZB36hGiVgTSXNm3PmKcFVSz+AdSIIJ Q44uSGqOe8rmVDUndWMKDQd/icKPMRb/lLLb57dvw/hMU6KOSZD+gPFvR+B7Ah/4NRHO sw3LXBuQsyVTout554+HyXFuSmRj04EJf/oQPYQLMWOTtxtODPE4BoqBhSyKdgdIW+IZ GyUBe79T1ICyvW0WfQ/2ehzybSBW3+PqOmcPvzCNct3bA5hP5mvS0AOq8hwXbabRUQnI qdX5qBdwD3/W+FwAf0nxO5bF4fKAxkD+gE2vkN845q9ErvPP3kxbvvmhSuSwr4TP7Li7 dv9g== 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 j38si9545154ede.374.2019.09.09.07.41.40; Mon, 09 Sep 2019 07:42:08 -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 S1730857AbfIIHQZ (ORCPT + 99 others); Mon, 9 Sep 2019 03:16:25 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:57947 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727307AbfIIHQZ (ORCPT ); Mon, 9 Sep 2019 03:16:25 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x897GJFV014346, 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 x897GJFV014346 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 9 Sep 2019 15:16:19 +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.468.0; Mon, 9 Sep 2019 15:16:18 +0800 From: To: CC: , Subject: [PATCH v2 2/8] rtw88: 8822c: update pwr_seq to v13 Date: Mon, 9 Sep 2019 15:16:05 +0800 Message-ID: <1568013371-21805-3-git-send-email-yhchuang@realtek.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1568013371-21805-1-git-send-email-yhchuang@realtek.com> References: <1568013371-21805-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 --- v1 -> v2 * no change 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