From patchwork Mon Sep 23 19:49:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Psyborg X-Patchwork-Id: 11157531 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id B53A917EE for ; Mon, 23 Sep 2019 19:49:43 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 92F95206C2 for ; Mon, 23 Sep 2019 19:49:43 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TkGQAryi"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="AhBHyFJg" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 92F95206C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=MvKQN6Q2eaBQn7rFwuYMbmcRSFR5t5XAWEa1ezoDVP4=; b=TkGQAryib0rT7l QM7P/AsbD5spuqM0WhiDSfSLg3zcHYrWMSALOFx6NfIXEFwNGfPUOAyTTSGCQ2br7UTRE8KO0JtUG K+njmb0tGI3Cs8iImAhddcwRvkksiVrEZ2TTQ5pWgUN8Vh1Uz6DFr983SeJkrnUvDUjmAKL2lg5kh bRdNbWB++aliyShKwlDO3zD3JDn/Q20t0DlpIOG3F6DsQhHQXWURexZleENvCotzDSp3a3MqyAY2i wyaSUfOOHPRh+FyEA7ykWMVKFBaBWZhzBSDmFVgRpu/pbvQyxyDAJs/XQ2jsNXXzjuIMAzyatw+iH OXf3RGKMJY31psZL979A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCUL7-0004Qy-BA; Mon, 23 Sep 2019 19:49:41 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCUL2-0004OK-Ea for ath10k@lists.infradead.org; Mon, 23 Sep 2019 19:49:39 +0000 Received: by mail-wr1-x42f.google.com with SMTP id l3so15308750wru.7 for ; Mon, 23 Sep 2019 12:49:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lK6WlBeQcjY7Not1nMx9ZS5+6Wp3U85aur3QzZr1FA=; b=AhBHyFJgbx7ML1bQqxnUg1XlOIo3uu/rqUHrLIGn/QlzNb2sRelCeoxIsF8KvQnyz9 1R1aRtcwtmtbRnU9mm84CroTa0WBiwwUj1Zhvb4tIxp6uR8zC7RKqJoNLD2Ptyg9Hlwh Il9yhAy6L1H/s8uFFvaTNWe70l0YO30PTSaOft5HXIYIGGOJMl9c8i+l+q9P/kB0XFRd aS0ECl9ysYtzBPzj+AAiovGMjQekzYqWAIG2wG/kPDUa3QVVhiKvwRfO9w6ru46fOZE2 xU+6Rrk4zP/4YxugTG+IyuQzkd4KA2vXUXwZ9bDD9gxRpi27xPLnI8EifkqDcB+2VYeg WvCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lK6WlBeQcjY7Not1nMx9ZS5+6Wp3U85aur3QzZr1FA=; b=Tz+GgLyxJOzw6r/YTra58KzQgD+GCs8kDVy6X1ngtZbDsCtfS8CvBsmb8wpLZeAdZw s3NqdfCWebHYb1XBOdE1dTCsG+u5Tow2xYMlIaA4q1jyNHYx8A2AujXebItalEWZcuV2 z1Uh8LMg8A1EjvJYDMhDxLlZ0tfMjGQmZld+xQzsMHd1mJqJDdSHXLh2CsVfFDhusvLD skmxujlMMoPGrpizQ99g1THKUAe1YH6Kw5gFzrYGGZ4IIR3tmH7+RyvVcvODB/xmYzXY HImElxFw8ydjHxLSaHnDFdj8v7gFqIPpAnYpLOpDlAx4O1R+wtJyJ3MpievnpFX0MkYW 70TA== X-Gm-Message-State: APjAAAWgVV6MHtW+6mlUlA4LCRi9KS2KgXhamKPIxIzOZsDNsWH1B/Q4 b9Fa3V1oZsXhD0i8VSiTA4k= X-Google-Smtp-Source: APXvYqzfXPfuj8hKWKJL2QQ6nISmLt+VACR6pfnLr6MlfHcXleAdCC4nCekzlP95ch/PBmkO5qrsGg== X-Received: by 2002:adf:f5cc:: with SMTP id k12mr766764wrp.278.1569268169290; Mon, 23 Sep 2019 12:49:29 -0700 (PDT) Received: from localhost.localdomain ([31.147.208.18]) by smtp.googlemail.com with ESMTPSA id o188sm25108013wma.14.2019.09.23.12.49.28 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 23 Sep 2019 12:49:28 -0700 (PDT) From: =?utf-8?q?Tomislav_Po=C5=BEega?= To: linux-wireless@vger.kernel.org Subject: [PATCH 1/5] ath10k: add 2ghz channel arguments to service ready structure Date: Mon, 23 Sep 2019 21:49:21 +0200 Message-Id: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> X-Mailer: git-send-email 1.7.0.4 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190923_124937_214706_0C5B3F9B X-CRM114-Status: UNSURE ( 9.01 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pozega.tomislav[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:42f listed in] [list.dnswl.org] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath10k@lists.infradead.org, kvalo@codeaurora.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org Add lowest/highest 2ghz channel arguments for use within WMI service ready structure. Signed-off-by: Tomislav Požega --- drivers/net/wireless/ath/ath10k/core.h | 2 ++ drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 ++ drivers/net/wireless/ath/ath10k/wmi.c | 6 ++++++ drivers/net/wireless/ath/ath10k/wmi.h | 2 ++ 4 files changed, 12 insertions(+), 0 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index c96d1a1..2a0a008 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -967,6 +967,8 @@ struct ath10k { u32 num_rf_chains; u32 max_spatial_stream; /* protected by conf_mutex */ + u32 low_2ghz_chan; + u32 high_2ghz_chan; u32 low_5ghz_chan; u32 high_5ghz_chan; bool ani_enabled; diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index 363fd0b..bda52ca 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -1207,6 +1207,8 @@ static int ath10k_wmi_tlv_op_pull_svc_rdy_ev(struct ath10k *ar, arg->phy_capab = ev->phy_capability; arg->num_rf_chains = ev->num_rf_chains; arg->eeprom_rd = reg->eeprom_rd; + arg->low_2ghz_chan = reg->low_2ghz_chan; + arg->high_2ghz_chan = reg->high_2ghz_chan; arg->low_5ghz_chan = reg->low_5ghz_chan; arg->high_5ghz_chan = reg->high_5ghz_chan; arg->num_mem_reqs = ev->num_mem_reqs; diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 1ec609d..3ef6ee3 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -5362,6 +5362,8 @@ static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, arg->phy_capab = ev->phy_capability; arg->num_rf_chains = ev->num_rf_chains; arg->eeprom_rd = ev->hal_reg_capabilities.eeprom_rd; + arg->low_2ghz_chan = ev->hal_reg_capabilities.low_2ghz_chan; + arg->high_2ghz_chan = ev->hal_reg_capabilities.high_2ghz_chan; arg->low_5ghz_chan = ev->hal_reg_capabilities.low_5ghz_chan; arg->high_5ghz_chan = ev->hal_reg_capabilities.high_5ghz_chan; arg->num_mem_reqs = ev->num_mem_reqs; @@ -5400,6 +5402,8 @@ static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, arg->phy_capab = ev->phy_capability; arg->num_rf_chains = ev->num_rf_chains; arg->eeprom_rd = ev->hal_reg_capabilities.eeprom_rd; + arg->low_2ghz_chan = ev->hal_reg_capabilities.low_2ghz_chan; + arg->high_2ghz_chan = ev->hal_reg_capabilities.high_2ghz_chan; arg->low_5ghz_chan = ev->hal_reg_capabilities.low_5ghz_chan; arg->high_5ghz_chan = ev->hal_reg_capabilities.high_5ghz_chan; arg->num_mem_reqs = ev->num_mem_reqs; @@ -5454,6 +5458,8 @@ static void ath10k_wmi_event_service_ready_work(struct work_struct *work) ar->phy_capability = __le32_to_cpu(arg.phy_capab); ar->num_rf_chains = __le32_to_cpu(arg.num_rf_chains); ar->hw_eeprom_rd = __le32_to_cpu(arg.eeprom_rd); + ar->low_2ghz_chan = __le32_to_cpu(arg.low_2ghz_chan); + ar->high_2ghz_chan = __le32_to_cpu(arg.high_2ghz_chan); ar->low_5ghz_chan = __le32_to_cpu(arg.low_5ghz_chan); ar->high_5ghz_chan = __le32_to_cpu(arg.high_5ghz_chan); diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index bdeebc5..9ccaeb7 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -6870,6 +6870,8 @@ struct wmi_svc_rdy_ev_arg { __le32 num_rf_chains; __le32 eeprom_rd; __le32 num_mem_reqs; + __le32 low_2ghz_chan; + __le32 high_2ghz_chan; __le32 low_5ghz_chan; __le32 high_5ghz_chan; const __le32 *service_map; From patchwork Mon Sep 23 19:49:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Psyborg X-Patchwork-Id: 11157535 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D095213BD for ; Mon, 23 Sep 2019 19:49:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id ADEBC20665 for ; Mon, 23 Sep 2019 19:49:48 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="sYz0q3tH"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Rt60OX8Z" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org ADEBC20665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=jrqDhJXUHej/8TdXfipt7zmUS0d0604gqLVPb6Cu6lE=; b=sYz0q3tH6qvXcZ 77FblDK3UTERWcp0r0USC8QGeUHkQf934RvZGjE0CaUuJ2Q7V/1bMcAwfRcGqYS+W0wBwyje/qVlk bZmSMprYsRpz2vvqvSSQV0z9aFhN5LXJaBbEwFvb2e/xVlt8lDvcf7om7E5vAXxlhfYysM8igou3g ViCDpQOyB85AJCgOJUts9cp8C+9eVEzhBLAMA6NSKe20KABVo6yo34mjLhHljX0kX1pJBdfAtjufR F4UXlXBF2+zK44IuCLvWTjXMgO+ViFM4i6WqDeMGvpQd94rap0jmgWJijpx2g6cDqxidqpg33P6eY 712CWItnuQCtJhnYXDEg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCULE-0004ZP-8x; Mon, 23 Sep 2019 19:49:48 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCUL4-0004OL-DR for ath10k@lists.infradead.org; Mon, 23 Sep 2019 19:49:40 +0000 Received: by mail-wr1-x431.google.com with SMTP id v8so15351074wrt.2 for ; Mon, 23 Sep 2019 12:49:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=wFJ6zWicZY8f8WavDOdQQjHVPH6dk+nXo+I5rtEql2Q=; b=Rt60OX8Z2aP2lClSHF94qpReq81yO6UTZhBKFzpRND/bqG0AbzEElEMBwTCFa3NgJ0 Kil6nR38vaTtwgYB6TQKSuLhKZnmk7KTpotl8+TBRGiv1Z4VtdMupC/sPsHKc5J18hgA mPObVg1eCcX3jKX0NwaMIUqqln7FYYL/Nvw0okslxgb0CA7qZV8NrIcoCo9kPd7zpIC7 lyJkCIuHmTDubMiCcEgpk1hwhcA5PWDKUzpa6MLVd2BEpmxRL1Vllp+Z1JJgTuNQb61h KPmMlBUCV4TK2MotuMZHXENBQ5oBLsx2f8gw+wGCVdC1S+2SyGS6YlJHlS9wYpnKqX9N bxPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=wFJ6zWicZY8f8WavDOdQQjHVPH6dk+nXo+I5rtEql2Q=; b=X1ncplIhHrbA6AI0+mKtUfdaXmLQUgOpDa2pHjmfJWz94liJEfpJbSObv/9K6J9GDD rbOjCoIp8Qzg2Nz7M5arFx8UpRcdl/gqYWUAcnijAGzAyrgL4ulwoCCBeGznH99NdvfU 9aFl5+aDf8BPI9bAVA1b5dDF+CDE2fYwJAFvNB0pzbahMRiJ5cpZWyeWjnKwmAkfXtj9 JrfKgq41Ux5C688V9HBn94qX9j5zmZvOFMK+5EySUndbmoNsT9DjpJTiWoCINQ6nCuSX o1JrqwdtDudSGCkV1F9YKrbDTJVL1t+0R6LPHuz31jowBTyqKotl3O4XQ/h/IfmcbYvC /LbA== X-Gm-Message-State: APjAAAV3q+3x6DC8V767Q50J96RG4QVWVfW0j6HLbKIHN4QHGlapKruD jhzollD8egdpa/dIno4wkwU= X-Google-Smtp-Source: APXvYqw03u9SkaVmEb8taXLU0dIbm/Mctsk+NemQWRnzsl/iUMVEZVxqkRKY019oIu2Ty1RnAh8I9Q== X-Received: by 2002:adf:ce83:: with SMTP id r3mr846161wrn.219.1569268170162; Mon, 23 Sep 2019 12:49:30 -0700 (PDT) Received: from localhost.localdomain ([31.147.208.18]) by smtp.googlemail.com with ESMTPSA id o188sm25108013wma.14.2019.09.23.12.49.29 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 23 Sep 2019 12:49:29 -0700 (PDT) From: =?utf-8?q?Tomislav_Po=C5=BEega?= To: linux-wireless@vger.kernel.org Subject: [PATCH 2/5] ath10k: print service ready returned channel range Date: Mon, 23 Sep 2019 21:49:22 +0200 Message-Id: <1569268165-1639-2-git-send-email-pozega.tomislav@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> References: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190923_124938_453352_652D575F X-CRM114-Status: UNSURE ( 8.78 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:431 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pozega.tomislav[at]gmail.com) -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath10k@lists.infradead.org, kvalo@codeaurora.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org Displays lowest/highest supported channels for both 2ghz and 5ghz bands as they're fetched within WMI service ready event. These are shown in a frequency format. Signed-off-by: Tomislav Požega --- drivers/net/wireless/ath/ath10k/wmi.c | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 3ef6ee3..b7b8072 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -5563,7 +5563,7 @@ static void ath10k_wmi_event_service_ready_work(struct work_struct *work) skip_mem_alloc: ath10k_dbg(ar, ATH10K_DBG_WMI, - "wmi event service ready min_tx_power 0x%08x max_tx_power 0x%08x ht_cap 0x%08x vht_cap 0x%08x sw_ver0 0x%08x sw_ver1 0x%08x fw_build 0x%08x phy_capab 0x%08x num_rf_chains 0x%08x eeprom_rd 0x%08x num_mem_reqs 0x%08x\n", + "wmi event service ready min_tx_power 0x%08x max_tx_power 0x%08x ht_cap 0x%08x vht_cap 0x%08x sw_ver0 0x%08x sw_ver1 0x%08x fw_build 0x%08x phy_capab 0x%08x num_rf_chains 0x%08x eeprom_rd 0x%08x low_2ghz_chan %d high_2ghz_chan %d low_5ghz_chan %d high_5ghz_chan %d num_mem_reqs 0x%08x\n", __le32_to_cpu(arg.min_tx_power), __le32_to_cpu(arg.max_tx_power), __le32_to_cpu(arg.ht_cap), @@ -5574,6 +5574,10 @@ static void ath10k_wmi_event_service_ready_work(struct work_struct *work) __le32_to_cpu(arg.phy_capab), __le32_to_cpu(arg.num_rf_chains), __le32_to_cpu(arg.eeprom_rd), + __le32_to_cpu(arg.low_2ghz_chan), + __le32_to_cpu(arg.high_2ghz_chan), + __le32_to_cpu(arg.low_5ghz_chan), + __le32_to_cpu(arg.high_5ghz_chan), __le32_to_cpu(arg.num_mem_reqs)); dev_kfree_skb(skb); From patchwork Mon Sep 23 19:49:23 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Psyborg X-Patchwork-Id: 11157537 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id A827B14ED for ; Mon, 23 Sep 2019 19:49:53 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8569720665 for ; Mon, 23 Sep 2019 19:49:53 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Wjm6IK6k"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nkJynhx+" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8569720665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Sr3L8ty1ExjBpPjg4Q3sg+b3fLjI8qRVam7fxeTAqfk=; b=Wjm6IK6k7c+HYg VSPMPG23dw+7NLFvtCkYnmcgUng3SXGK49jdMFdIGPRPy9tCjxYgjG8EMy3bqpdBcOSoFqhfobiFX BvBKddv5uCCDkE5DY0FutkyIF1K0NPk9cpPpoh0PlBAevva4a37Rs/1cR7hw7QSoDG1KkvhcVSgWT GXme49Rw6v/6o74F6/tyqcaa4mJG7qd8i6nJ6aK1vmUOXIs3qhTR7Dz9eoA14VgA9jfBfZEMiw7qj wsQwwxhI1HydkxF+St+oUsDxwVPpQcSM24Sy5T+oLy9Yu8nJRhgdQM2Pz5iGY4IZ2KeP3/ha9E4DB y6of2Xq9cQJKQAXRJ5Qg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCULI-0004eu-80; Mon, 23 Sep 2019 19:49:52 +0000 Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCUL4-0004OM-C1 for ath10k@lists.infradead.org; Mon, 23 Sep 2019 19:49:40 +0000 Received: by mail-wr1-x435.google.com with SMTP id l3so15308811wru.7 for ; Mon, 23 Sep 2019 12:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CkWW93VozEz14AiNPO1yGBR7cePQrOV3NZ94jN8016A=; b=nkJynhx+vwQ0RhTfTBsO2m56l3r8vY/SrUOX/dZeE8TiM5/QM5w0u1bkm4Vv9RcHk/ xlVnP/V5h/5+CNqvoZZorJX1/9JOn0IHChkyAYdp6SWULMAOX86w9gZlaCz2Nr2VW21O ERBQwKZTDf4iwAvpj5TaRRbcLhs6EPhJ3cQzCqviZJCQHtkdgVQefY4BEg1/YqNb58BW cO6S6mSbS3jUqsP4GBuWJ+AcMBLoBLgyexTV5TtmV5vXkzaXDMGCpmNtYG3va0N0aSwU wcvjkO56Cp5HA+9jLIJEEcHJUlwMGW8N8H5jDS9RKyvfXMJbooiduXk/nwubJCRkos3X yrgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CkWW93VozEz14AiNPO1yGBR7cePQrOV3NZ94jN8016A=; b=IxxNK1tsJ8tzku91f9zSVkAImMUstJnVD9erM9oSWUZiwGpWTm4A4SGyf6liV+3CXM 8fBJsq7bYW8PBgLpEvLY4SQ2JFRYIE6UJsK3eGeS3CywityAh5v0wh02WPoGiomQfzwR QlRP0Fg0LGTwKBmeeo7DHeLLjchRmD6cpjSuKdDerba2ZYCiQKBUCj628cQSfOI0jKbh iO+BrfcFXKLvzEwRTHYnunROAlrzafpxFgKMr0OSGDnWM41Zimg36YbPRcLKwl3h9zIO xR5s0+ZooEkIHE7WvUKdtns58l4Odk1kILWzxmPDOKpXEr4nIMFDFXNRCKDDvPAW7150 9wIg== X-Gm-Message-State: APjAAAV1SGdu7e6tKCQAOclfH7kpu7WKtm3EV6ZVBsbFnzVuWt2fg/VA 3le9SJG0Vk8/yDNYmDopqpU= X-Google-Smtp-Source: APXvYqxLULFakI4c/RH3kHp+oLCsg5q8vI+kXh2wJM7CGtIFBiOne5ZxU9/T7iUVXVtSASPTFJLmHA== X-Received: by 2002:adf:ab57:: with SMTP id r23mr786240wrc.222.1569268170984; Mon, 23 Sep 2019 12:49:30 -0700 (PDT) Received: from localhost.localdomain ([31.147.208.18]) by smtp.googlemail.com with ESMTPSA id o188sm25108013wma.14.2019.09.23.12.49.30 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 23 Sep 2019 12:49:30 -0700 (PDT) From: =?utf-8?q?Tomislav_Po=C5=BEega?= To: linux-wireless@vger.kernel.org Subject: [PATCH 3/5] ath10k: print supported MCS rates within service ready event Date: Mon, 23 Sep 2019 21:49:23 +0200 Message-Id: <1569268165-1639-3-git-send-email-pozega.tomislav@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> References: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190923_124938_409972_63202EB5 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:435 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pozega.tomislav[at]gmail.com) -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath10k@lists.infradead.org, kvalo@codeaurora.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org Add vht_supp_mcs argument to service ready structure and print supported MCS rates in WMI service ready debug message. Signed-off-by: Tomislav Požega --- drivers/net/wireless/ath/ath10k/core.h | 1 + drivers/net/wireless/ath/ath10k/wmi-tlv.c | 1 + drivers/net/wireless/ath/ath10k/wmi.c | 6 +++++- drivers/net/wireless/ath/ath10k/wmi.h | 1 + 4 files changed, 8 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/core.h b/drivers/net/wireless/ath/ath10k/core.h index 2a0a008..153c4a2 100644 --- a/drivers/net/wireless/ath/ath10k/core.h +++ b/drivers/net/wireless/ath/ath10k/core.h @@ -964,6 +964,7 @@ struct ath10k { u32 hw_eeprom_rd; u32 ht_cap_info; u32 vht_cap_info; + u32 vht_supp_mcs; u32 num_rf_chains; u32 max_spatial_stream; /* protected by conf_mutex */ diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index bda52ca..2432a74 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -1201,6 +1201,7 @@ static int ath10k_wmi_tlv_op_pull_svc_rdy_ev(struct ath10k *ar, arg->max_tx_power = ev->hw_max_tx_power; arg->ht_cap = ev->ht_cap_info; arg->vht_cap = ev->vht_cap_info; + arg->vht_supp_mcs = ev->vht_supp_mcs; arg->sw_ver0 = ev->abi.abi_ver0; arg->sw_ver1 = ev->abi.abi_ver1; arg->fw_build = ev->fw_build_vers; diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index b7b8072..2d43adf 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -5357,6 +5357,7 @@ static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, arg->max_tx_power = ev->hw_max_tx_power; arg->ht_cap = ev->ht_cap_info; arg->vht_cap = ev->vht_cap_info; + arg->vht_supp_mcs = ev->vht_supp_mcs; arg->sw_ver0 = ev->sw_version; arg->sw_ver1 = ev->sw_version_1; arg->phy_capab = ev->phy_capability; @@ -5398,6 +5399,7 @@ static int ath10k_wmi_alloc_host_mem(struct ath10k *ar, u32 req_id, arg->max_tx_power = ev->hw_max_tx_power; arg->ht_cap = ev->ht_cap_info; arg->vht_cap = ev->vht_cap_info; + arg->vht_supp_mcs = ev->vht_supp_mcs; arg->sw_ver0 = ev->sw_version; arg->phy_capab = ev->phy_capability; arg->num_rf_chains = ev->num_rf_chains; @@ -5449,6 +5451,7 @@ static void ath10k_wmi_event_service_ready_work(struct work_struct *work) ar->hw_max_tx_power = __le32_to_cpu(arg.max_tx_power); ar->ht_cap_info = __le32_to_cpu(arg.ht_cap); ar->vht_cap_info = __le32_to_cpu(arg.vht_cap); + ar->vht_supp_mcs = __le32_to_cpu(arg.vht_supp_mcs); ar->fw_version_major = (__le32_to_cpu(arg.sw_ver0) & 0xff000000) >> 24; ar->fw_version_minor = (__le32_to_cpu(arg.sw_ver0) & 0x00ffffff); @@ -5563,11 +5566,12 @@ static void ath10k_wmi_event_service_ready_work(struct work_struct *work) skip_mem_alloc: ath10k_dbg(ar, ATH10K_DBG_WMI, - "wmi event service ready min_tx_power 0x%08x max_tx_power 0x%08x ht_cap 0x%08x vht_cap 0x%08x sw_ver0 0x%08x sw_ver1 0x%08x fw_build 0x%08x phy_capab 0x%08x num_rf_chains 0x%08x eeprom_rd 0x%08x low_2ghz_chan %d high_2ghz_chan %d low_5ghz_chan %d high_5ghz_chan %d num_mem_reqs 0x%08x\n", + "wmi event service ready min_tx_power 0x%08x max_tx_power 0x%08x ht_cap 0x%08x vht_cap 0x%08x vht_supp_mcs 0x%08x sw_ver0 0x%08x sw_ver1 0x%08x fw_build 0x%08x phy_capab 0x%08x num_rf_chains 0x%08x eeprom_rd 0x%08x low_2ghz_chan %d high_2ghz_chan %d low_5ghz_chan %d high_5ghz_chan %d num_mem_reqs 0x%08x\n", __le32_to_cpu(arg.min_tx_power), __le32_to_cpu(arg.max_tx_power), __le32_to_cpu(arg.ht_cap), __le32_to_cpu(arg.vht_cap), + __le32_to_cpu(arg.vht_supp_mcs), __le32_to_cpu(arg.sw_ver0), __le32_to_cpu(arg.sw_ver1), __le32_to_cpu(arg.fw_build), diff --git a/drivers/net/wireless/ath/ath10k/wmi.h b/drivers/net/wireless/ath/ath10k/wmi.h index 9ccaeb7..d9d53e5 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.h +++ b/drivers/net/wireless/ath/ath10k/wmi.h @@ -6863,6 +6863,7 @@ struct wmi_svc_rdy_ev_arg { __le32 max_tx_power; __le32 ht_cap; __le32 vht_cap; + __le32 vht_supp_mcs; __le32 sw_ver0; __le32 sw_ver1; __le32 fw_build; From patchwork Mon Sep 23 19:49:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tom Psyborg X-Patchwork-Id: 11157533 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 100BA13BD for ; Mon, 23 Sep 2019 19:49:45 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id DBDF220665 for ; Mon, 23 Sep 2019 19:49:44 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="EtM7eL2Q"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="JsvvtVAx" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org DBDF220665 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1wDnc5IAs8gOLlQ2hOSs4dmDe+6+yPppSDfADHXZrxk=; b=EtM7eL2QSQh67w 9ol4SbfY01uPegqCPwtmekkwZihcAS+lT0ajXX0bXFGbrlq4F+HwPMv//cNf3qCpC7Qu5RopBhSFf 5V3nPZ7wIr4NyehYcIewOSwt38+4X5rmFWjz0OHEpDz5DpYknXqPPkuP0eMEljn+fYKYIbn2MRo8s 9ikIt6yGxz2ywI6l4FVG2wmROK4cQvYg5eqsu7p5cZiUoH8UfeCYh53AZOysmheImPgdx9+VPjxIL NNADfLdtJS7apuXE3A7mQI7zZ45Nohz8i0y2XsewqkTk0du8NaCKvWVWfbQrba+QjSQPKty3vcOLX BYp/2PcjkrwrSl+ym3sg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCULA-0004Uq-H4; Mon, 23 Sep 2019 19:49:44 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.92.2 #3 (Red Hat Linux)) id 1iCUL4-0004ON-CX for ath10k@lists.infradead.org; Mon, 23 Sep 2019 19:49:40 +0000 Received: by mail-wr1-x434.google.com with SMTP id r5so15285483wrm.12 for ; Mon, 23 Sep 2019 12:49:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=aKtmtSedZmqwNRKQvTjw2tVLyZk03BE91Oh9l3casmw=; b=JsvvtVAxCOZoelDBfv0L7dpTIp+6bhECrNPMlbkJBaReoPqBMYFAsQQF6DWn+iKuoV AXsMK8uu/ZpJmKRa1Hoe/Jp1kF7U+nKFMSFA7cOBi4AuYf+IDVeQhl395hPLX1bunZPX +KwUHbiEUX2sI8DnvXOrf8hJ5Ff4sLiyAn2YkEPXay2myhY3/pB3CxN8kH6Yhxgu3BWn WQluni2SyyXpjmdQEexEfZLb5a4Owu9ImsJpEipmIULkyzlMMUn5CyO9VeqXh6AA/J2Z vzNI+C0jD6XaAyvgbTAjxxZ9LeeKoeY/RG2U5LGlL/bdfQXXkajTEZzj8p5P4olaZoqq 8LKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=aKtmtSedZmqwNRKQvTjw2tVLyZk03BE91Oh9l3casmw=; b=dCd4pTIP4DaptwuwCr7VmIId4h+42O8nrSX7Vv4jqPze3qrivoPcvWAyd0VmxZM4sJ /p6JHfbcXXgmQ7zaPe0iWk2tMDwAtofiPi8D2mwQh8x6dkJsXnF0lkfnwQXagElvfPnv ddZMsjRekzO9lL80YriT4uYDlv8G9mAU4Jw1DEn+E1Hj8qzpQWBsnK4oEf/o+CoQS6o2 RK1FeSYP9K7BwKeSj7gIQJ1GNqb3TrEzBkyCYjH5H8CSZlExW062HbqnA+5vFc5Hpy/+ my84wdx8fiVmfFtuW3zCwCDVx8XQYtWLvm0JNhT+TUSQ3aA5uWmfsX2Cb1YSV4NqqexW NLsQ== X-Gm-Message-State: APjAAAWWHsLJhbRdmlmQZ2FY4+fQDYvEwvEaQDqSX++RVUND0VO5+RVQ 10feeezUmC5trSkxFyXznIk= X-Google-Smtp-Source: APXvYqzRZfNdTml48n2fpSD+PnGFA8XeER/BMeskg+CehdxikXvvDyocfgel1T0zP/CQteTzEEuTAA== X-Received: by 2002:a05:6000:a:: with SMTP id h10mr802484wrx.226.1569268171849; Mon, 23 Sep 2019 12:49:31 -0700 (PDT) Received: from localhost.localdomain ([31.147.208.18]) by smtp.googlemail.com with ESMTPSA id o188sm25108013wma.14.2019.09.23.12.49.31 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 23 Sep 2019 12:49:31 -0700 (PDT) From: =?utf-8?q?Tomislav_Po=C5=BEega?= To: linux-wireless@vger.kernel.org Subject: [PATCH 4/5] ath10k: change sw version print format to hex Date: Mon, 23 Sep 2019 21:49:24 +0200 Message-Id: <1569268165-1639-4-git-send-email-pozega.tomislav@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> References: <1569268165-1639-1-git-send-email-pozega.tomislav@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190923_124938_423214_6F737290 X-CRM114-Status: GOOD ( 10.29 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (pozega.tomislav[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:434 listed in] [list.dnswl.org] -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: ath10k@lists.infradead.org, kvalo@codeaurora.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org Software version within WMI event ready message was displayed in a not very useful decimal format. Change this info to be shown in a hexadecimal format instead. Signed-off-by: Tomislav Požega --- drivers/net/wireless/ath/ath10k/wmi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi.c b/drivers/net/wireless/ath/ath10k/wmi.c index 2d43adf..59d2d2a 100644 --- a/drivers/net/wireless/ath/ath10k/wmi.c +++ b/drivers/net/wireless/ath/ath10k/wmi.c @@ -5650,7 +5650,7 @@ int ath10k_wmi_event_ready(struct ath10k *ar, struct sk_buff *skb) } ath10k_dbg(ar, ATH10K_DBG_WMI, - "wmi event ready sw_version %u abi_version %u mac_addr %pM status %d\n", + "wmi event ready sw_version 0x%08x abi_version %u mac_addr %pM status %d\n", __le32_to_cpu(arg.sw_version), __le32_to_cpu(arg.abi_version), arg.mac_addr,