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: 6564431 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 91D26C0020 for ; Mon, 8 Jun 2015 12:15:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4DDD2044B for ; Mon, 8 Jun 2015 12:15:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C8ADF20515 for ; Mon, 8 Jun 2015 12:15:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752469AbbFHMPp (ORCPT ); Mon, 8 Jun 2015 08:15:45 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:35254 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752214AbbFHMPn (ORCPT ); Mon, 8 Jun 2015 08:15:43 -0400 Received: by wiga1 with SMTP id a1so84188859wig.0 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=fEwg8fsVvi2+QRB8Sur1Kxeq0iQoKZknK7nJvr+ZkAB7g1VcVUIKYNY0W4Whgdfx6Q o2LIqOEo1pBthJxOJIpL+vONIjbRPMZ4nSn581Gi4a5OsFn+LEK8plfJK/w5lJQY60dO 1tIjRestmqPg+fBSswWl5cB8KgzzbyFGEeURfLmqriysg2k2efBSV1gGB3xaPizaAjWR 8/QPdYoPKe1H6IGsrgWAflS9UCGjBmDUNtPDvBHitnMw5FQmUHDSt5tNiGM70HBrX++Q TA9ihE2iZ5BSHgO3uH5/42tGEo0WXJdodYYfsgi6++nkBYY9D1iDxsSiuPuHJoSEJaaL 38nw== X-Gm-Message-State: ALoCoQlvJWJvwjVHPx1Kav2tQMUylatpbsk9bqJ1tMAV7lkR+D0FB7dlhmZ3+U6PG3gpj86N3A6u2JgkJvIU0MBOflnIWCI1BrQn5oJ3HRMXdm/uZ0lU8BmsX6PWT3l2EEaC8h8n3U+r 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 Cc: linux-wireless@vger.kernel.org, Michal Kazior 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,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);