From patchwork Mon Jun 8 12:15:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Kazior X-Patchwork-Id: 6564441 Return-Path: X-Original-To: patchwork-ath10k@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id B789C9F1C1 for ; Mon, 8 Jun 2015 12:16:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D9C6E20515 for ; Mon, 8 Jun 2015 12:16:15 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AC8B32044B for ; Mon, 8 Jun 2015 12:16:14 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z1vyI-0005gP-OG; Mon, 08 Jun 2015 12:16:06 +0000 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Z1vyG-0005ah-8r for ath10k@lists.infradead.org; Mon, 08 Jun 2015 12:16:05 +0000 Received: by wibdq8 with SMTP id dq8so82961847wib.1 for ; Mon, 08 Jun 2015 05:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tieto.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=EePKNDHQiXob6/Dj4wRKsxplOjDHD+hCwoUm8TvkaP4=; b=maAszV748NaAXOi8tQ66asYW9p18peGigCWwg97dRNQAAK99DAXzQxtQp+KwxlDNUs UIIUO8mR88YL3750d5q5Kuscj+b7ssBfZ1Sw2BfOtqR0LOquDg1enkXRbpyG7BecuANY zluRH+UE2+qFPfrGrBK5J2NH9WeK6TtWwExt4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=EePKNDHQiXob6/Dj4wRKsxplOjDHD+hCwoUm8TvkaP4=; b=USw3n9i+XqcNl/XtqrXd7tsOqPVNvpHhBORX+YBN/i3GxW8Y0AXid8PvRlW71Zz6Bt fQjYoJCSc5xFUscnRrt5KTbkLwAS0v5zGzm071764wtdVlq5/8TDkYfDKd9cAWHtq4JI 1AFh72/P0C4Te7+YSYkv1+ojEDDXIKQQK7kuKSnZ3u1xAsQo+ozIOOK9scCS72h1QsKr gKqfw8GSHtbrZtaYTW2ImlKelF8Er0xLkjyWYGHEQd7/HnAqG6xCJtNLHDqpQAo5CvHd f1Ksia+R1V5si1FUnP1rnwBVSqQ8QaD0jQTuKnpAZhwtWuo/pRdM/x9woi0gcoDUVLE6 LiIQ== X-Gm-Message-State: ALoCoQnCizcLjjdHBjuum2XjcbUDgdg6gJrDY7z02vvdfDcO+82ST4uhLRU25c7oiDOP7Uqi3rYERUffstNHnN4qb+THOCjPw2llmghfR1a0C8HHtEO1FnPReDZSI3pbFEGQxOmhz5RrelsvM13SuaMQWT/vPRrkp9WAws4Xx3yQIWD9I0/2fqGZ6ybKVJbPPROUl+O2A2Z5 X-Received: by 10.180.95.163 with SMTP id dl3mr21623670wib.30.1433765741642; Mon, 08 Jun 2015 05:15:41 -0700 (PDT) Received: from localhost.localdomain ([91.198.246.8]) by mx.google.com with ESMTPSA id k2sm734042wix.4.2015.06.08.05.15.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Jun 2015 05:15:40 -0700 (PDT) From: Michal Kazior To: ath10k@lists.infradead.org Subject: [PATCH 2/2] ath10k: print htt op_version upon driver boot Date: Mon, 8 Jun 2015 14:15:34 +0200 Message-Id: <1433765734-646-2-git-send-email-michal.kazior@tieto.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1433765734-646-1-git-send-email-michal.kazior@tieto.com> References: <1433765734-646-1-git-send-email-michal.kazior@tieto.com> X-DomainID: tieto.com X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150608_051604_521306_5B1B62C2 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.8 (/) Cc: linux-wireless@vger.kernel.org, Michal Kazior X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP HTT version itself isn't sufficient to know what HTT version given firmware blob uses. Hence print the recently introduced HTT op version code. While at it make the info string a bit more consistent and clear. Signed-off-by: Michal Kazior --- drivers/net/wireless/ath/ath10k/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 8a4edfd36e47..edf6047997a7 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c @@ -128,7 +128,7 @@ void ath10k_print_driver_info(struct ath10k *ar) ath10k_core_get_fw_features_str(ar, fw_features, sizeof(fw_features)); - ath10k_info(ar, "%s (0x%08x, 0x%08x%s%s%s) fw %s api %d htt %d.%d wmi %d cal %s max_sta %d features %s\n", + ath10k_info(ar, "%s (0x%08x, 0x%08x%s%s%s) fw %s api %d htt-ver %d.%d wmi-op %d htt-op %d cal %s max-sta %d features %s\n", ar->hw_params.name, ar->target_version, ar->chip_id, @@ -141,6 +141,7 @@ void ath10k_print_driver_info(struct ath10k *ar) ar->htt.target_version_major, ar->htt.target_version_minor, ar->wmi.op_version, + ar->htt.op_version, ath10k_cal_mode_str(ar->cal_mode), ar->max_num_stations, fw_features);