Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp439326ybn; Wed, 2 Oct 2019 00:10:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzAtbZr8tX+MsQZhABKCk8Bexs9vS8Ad+me0QJKoD1udsW287po0c+soZ371/THaUYDc6Fu X-Received: by 2002:a50:91b1:: with SMTP id g46mr2122076eda.255.1570000205262; Wed, 02 Oct 2019 00:10:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570000205; cv=none; d=google.com; s=arc-20160816; b=0k6wVcYxxv5Pu8xalshFA2O3Yj1lMdyty2Xm3KClp1eTXHRqAjQA90T6sYtGZOoaov g1aV6Vo7+nipNE5h0qziBOJUJOF19yKjPvlXpwj3K21uM1+o4TWtC4joN6rBd75Hw0lz z849X24e8u+4FGTo57iuybsevXzXewjECP+KVHJR9H3RR3O2Jl2rrXj85LurMP8ncosG cU2O4lY7lDZG+Al7xi38KuULALmzXf6FC/VCCeVDo8mT0t3pwqWq/p/YBxykG74+86rr 5CzwGK0+92jPKOFNlXUoJDqlfeTyA+1MebzDsPCpkz8NuHbN/jJTefk7sc6NGGxmciht Yn6A== 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=ydr33X3nX0N5EyOnecvw6SpWSpzci8FjsVplH1PWeB8=; b=fTNJWVAjsbae2YQDo3xeMiyrEygwZGTc5k9O8I8M54/vdHg/UckEep+9dGIHQRRjPK TfbCcIhRvNd9cAyCH8QlDtImsJAaoK94s4n/kPhfVYNNE9+mDKcvYhVfrbUrud4ZeKea XF5qqWe8dQnk+smCtfrR8DaCd9p6DeA8zPaciunuXXWIWlRB9bx/NpDzx7Rs9+rnapC1 IwT8eqIwRUZ7vUg1H5q0GwP8XKIvGmjlDKVu8Jqc/tbviiDwxfK2dcH8rplb0hVYpNbH VSWuwn9fpPL/O0JsEyZlVCYy/+fb8MQPij20v2UicLjf5MMulouGX48MSAnqJS9SgPLh uazw== 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 u12si9975739ejt.21.2019.10.02.00.09.40; Wed, 02 Oct 2019 00:10:05 -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 S1727280AbfJBGfs (ORCPT + 99 others); Wed, 2 Oct 2019 02:35:48 -0400 Received: from rtits2.realtek.com ([211.75.126.72]:57722 "EHLO rtits2.realtek.com.tw" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727014AbfJBGfs (ORCPT ); Wed, 2 Oct 2019 02:35:48 -0400 Authenticated-By: X-SpamFilter-By: BOX Solutions SpamTrap 5.62 with qID x926Zg0I013089, 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 x926Zg0I013089 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 2 Oct 2019 14:35:42 +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; Wed, 2 Oct 2019 14:35:41 +0800 From: To: CC: , Subject: [PATCH 11/14] rtw88: raise firmware version debug level Date: Wed, 2 Oct 2019 14:35:28 +0800 Message-ID: <20191002063531.18135-12-yhchuang@realtek.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20191002063531.18135-1-yhchuang@realtek.com> References: <20191002063531.18135-1-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: Yan-Hsuan Chuang It's better to print firmware version at load time. But since we need to set debug_mask properly to default print rtw_dbg(), raise the debug level to rtw_info() instead. Also change the multiple line style to one line only, it will be easier for log analyzing. Signed-off-by: Yan-Hsuan Chuang --- drivers/net/wireless/realtek/rtw88/mac.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/realtek/rtw88/mac.c b/drivers/net/wireless/realtek/rtw88/mac.c index f40877bc9c9a..75f35a97dca7 100644 --- a/drivers/net/wireless/realtek/rtw88/mac.c +++ b/drivers/net/wireless/realtek/rtw88/mac.c @@ -578,10 +578,8 @@ static void update_firmware_info(struct rtw_dev *rtwdev, fw->sub_version = *(data + FW_HDR_SUBVERSION); fw->sub_index = *(data + FW_HDR_SUBINDEX); - rtw_dbg(rtwdev, RTW_DBG_FW, "fw h2c version: %x\n", fw->h2c_version); - rtw_dbg(rtwdev, RTW_DBG_FW, "fw version: %x\n", fw->version); - rtw_dbg(rtwdev, RTW_DBG_FW, "fw sub version: %x\n", fw->sub_version); - rtw_dbg(rtwdev, RTW_DBG_FW, "fw sub index: %x\n", fw->sub_index); + rtw_info(rtwdev, "Firmware version %u.%u.%u, H2C version %u\n", + fw->version, fw->sub_version, fw->sub_index, fw->h2c_version); } static int -- 2.17.1