From patchwork Mon Jun 24 17:08:57 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muna Sinada X-Patchwork-Id: 11013825 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0A6706C5 for ; Mon, 24 Jun 2019 17:09:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E34F0289B7 for ; Mon, 24 Jun 2019 17:09:20 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D5C4628AFD; Mon, 24 Jun 2019 17:09:20 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id BB79B289B7 for ; Mon, 24 Jun 2019 17:09:19 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=yvuv9b8HoveKRGGIT5eemXoUo8f4PHbF25RL3zZFB8s=; b=ONn 061WAdkV/R99pTnM7JDCth5TrNfC0Mzr3sLRxnykY91q7dkzKd2S2KuBDRHCmmDXpMvEi3v611uXo RTbYmkU3T6KsAIZf/DaUnIBhj/Sm5icQHHclZneCBLNq/e1AbonFuHc5q3TntNCV9h1A/G4/PXoxC i4R8BiIbMI30Fess9I1KsI9YD8xig/eP+LY2I57/ayaVTAmmFie9wPP3F5srgjguJgqBkMSKj3DQ4 PrYRkcpdktcZ4hGm6aZlKR/Gdpk4j1WUaLFtF4a60hyd6q7larV+E93KrkAPpgs+59+gTNGVKEUPk 3u4Puv1hE2l4cF2RC+vpvL7EcI8xBiQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfST0-0005TE-Hy; Mon, 24 Jun 2019 17:09:18 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfSSx-0005Nz-Vt for ath11k@lists.infradead.org; Mon, 24 Jun 2019 17:09:17 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2A2A66074C; Mon, 24 Jun 2019 17:09:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396155; bh=XSsxk9wWCGNFf/1o38K1BFTXKDMinKY1deU1mvRaQmE=; h=From:To:Cc:Subject:Date:From; b=ftT8TylT4c5l2KSVDApkGvtF4D0PU3JJ6c4uE/t+PyotsyFI0xE0smhroT9c9YgvH KNx203AxjxVFiQ32w0HS3dzaENX4WBq4NXIfcNLBVuZl/JCCVrLcwKnfvqPwYMzCSN eFeiMV9tWR19dz0mOgk0NWIoJ/dS/AX22MXtpbSc= Received: from msinada-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: msinada@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id AED55606DC; Mon, 24 Jun 2019 17:09:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396154; bh=XSsxk9wWCGNFf/1o38K1BFTXKDMinKY1deU1mvRaQmE=; h=From:To:Cc:Subject:Date:From; b=A1KBIskG/T5ADKPgumm9CSyFBPJyQXjtu+/Ti9Rpj16S+bz1xofet/Xni6BXG0lk8 F6+tTJLnQo89TkOkfeZOJqUpm4XGoVuYhMtMmyRdNMPxZZMG/kw2H6gsgSMPGwenD+ UpzeUt0F11cO5QZobx3ys6pT0etXmsSEYz311U/M= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org AED55606DC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=msinada@codeaurora.org From: Muna Sinada To: ath11k@lists.infradead.org Subject: [PATCH 1/5] ath11k: removed duplicated functionality Date: Mon, 24 Jun 2019 10:08:57 -0700 Message-Id: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_100916_051242_8981D484 X-CRM114-Status: UNSURE ( 8.09 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Muna Sinada MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Removed duplicated functionality in ath11k_hal_desc_reo_parse_err() and replaced with function call to ath11k_hal_rx_reo_entl_paddr_get(). Signed-off-by: Muna Sinada --- drivers/net/wireless/ath/ath11k/hal_rx.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c index 76b93f6c33cd..2d2d5cd5ea5f 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.c +++ b/drivers/net/wireless/ath/ath11k/hal_rx.c @@ -351,12 +351,7 @@ int ath11k_hal_desc_reo_parse_err(struct ath11k_base *ab, u32 *rx_desc, return -EINVAL; } - *paddr = (((u64)FIELD_GET(BUFFER_ADDR_INFO1_ADDR, - desc->buf_addr_info.info1)) << 32) | - FIELD_GET(BUFFER_ADDR_INFO0_ADDR, - desc->buf_addr_info.info0); - *desc_bank = FIELD_GET(BUFFER_ADDR_INFO1_SW_COOKIE, - desc->buf_addr_info.info1); + ath11k_hal_rx_reo_ent_paddr_get(ab, rx_desc, paddr, desc_bank); return 0; } From patchwork Mon Jun 24 17:08:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muna Sinada X-Patchwork-Id: 11013827 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id F30486C5 for ; Mon, 24 Jun 2019 17:09:22 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB912289B7 for ; Mon, 24 Jun 2019 17:09:22 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CDCE028AFD; Mon, 24 Jun 2019 17:09:22 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 67788289B7 for ; Mon, 24 Jun 2019 17:09:22 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=c4dSYM4uhAW9RibFz31TVzJ5Dt0E3tavVFa+0XaCpmI=; b=uRZiouNgxiJsXWkc11Be12AQ25 dNqi/g783Xp34fXVGqI7a3X4TFCp12jjHrnoodTLJp3pDVxxcMn80UHqTRNGhVh+35tXY3fi2fG59 BLMi3xeHPGP2rMipzeItBWepwJvTHFaDoTjYiQMuOPq2ktUhHtbZZzupG5EuHNzyOOgROu9//V2Vk sU0XNPg0BDLOhYoeOuZJc21V/lK+0F1k1PnIo+3kGja4PswSM7OoWciuPQnZXvuZtxLa7qMEfv86l DxNO/BPF2t25xeAg9PBcpaNkef4DVVN7qW58ZmNb3G2fmnm+szjwRAgwlTVsgiahqkadVJWDW5KDH eEZ2sjlw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfST3-0005db-J8; Mon, 24 Jun 2019 17:09:21 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfST0-0005Rn-8E for ath11k@lists.infradead.org; Mon, 24 Jun 2019 17:09:19 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F3AB5606DC; Mon, 24 Jun 2019 17:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396158; bh=B1UTGGoqqjtqbSxtqc3xs/VbRnO87QW2oqO08X32MCg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=F8VH5aaY1zRHuU/OCOlxNEsl2bLdX6vaTNYtDWqn5f373P1rxe5NvoPTXqp6EF4YY AKqm3nnVmQQunQUVFKknssAVt4ZO+LTMmy5djTgqzVa0kB4/VejJ/TPLO+DdKbA+tA RKuGuczoNHSxmP4HdDONTKqCQvgoBUfCdjBDiWr0= Received: from msinada-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: msinada@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5611760709; Mon, 24 Jun 2019 17:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396157; bh=B1UTGGoqqjtqbSxtqc3xs/VbRnO87QW2oqO08X32MCg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fqvl19Y9SVff8YZNNbNlnabq4w9hS8D6tpg9fPG3O8A5RljdrB8k8xxwtO6ZaGRSi /y2YoGxiceHP4UCExnBEyqWmMM1JjY3ogL7zNS0FICCLjhOfA0T4jvmqngFWXQTx2K sSBZ5kKtSa4BXpPR97CkswTLWqIwLCIregf1fgho= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 5611760709 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=msinada@codeaurora.org From: Muna Sinada To: ath11k@lists.infradead.org Subject: [PATCH 2/5] ath11k: changed parameter from u8 * to struct sk_buff * Date: Mon, 24 Jun 2019 10:08:58 -0700 Message-Id: <1561396141-23382-2-git-send-email-msinada@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> References: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_100918_354402_16F68646 X-CRM114-Status: GOOD ( 10.69 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Muna Sinada MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Changed ath11k_hal_rx_parse_mon_status() to take sk_buff pointer instead of opaque u8 pointer. Removed variables that became unused. Signed-off-by: Muna Sinada --- drivers/net/wireless/ath/ath11k/dp_rx.c | 10 ++-------- drivers/net/wireless/ath/ath11k/hal_rx.c | 6 +++--- drivers/net/wireless/ath/ath11k/hal_rx.h | 2 +- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 41f6d4115e06..02195f506e7a 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -2406,8 +2406,7 @@ int ath11k_dp_rx_process_mon_status(struct ath11k_base *ab, int mac_id, trace_ath11k_htt_rxdesc(ar, skb->data, DP_RX_BUFFER_SIZE); } - hal_status = ath11k_hal_rx_parse_mon_status(ab, &ppdu_info, - (u8 *)skb->data); + hal_status = ath11k_hal_rx_parse_mon_status(ab, &ppdu_info, skb); if (ppdu_info.peer_id == HAL_INVALID_PEERID || hal_status != HAL_RX_MON_STATUS_PPDU_DONE) { @@ -3843,8 +3842,6 @@ static inline void ath11k_dp_rx_mon_status_process_tlv(struct ath11k *ar, struct ath11k_mon_data *pmon = (struct ath11k_mon_data *)&dp->mon_data; struct hal_rx_mon_ppdu_info *ppdu_info; struct sk_buff *status_skb; - u8 *rx_tlv; - u8 *rx_tlv_start; u32 tlv_status = HAL_TLV_STATUS_BUF_DONE; struct ath11k_pdev_mon_stats *rx_mon_stats; @@ -3857,11 +3854,8 @@ static inline void ath11k_dp_rx_mon_status_process_tlv(struct ath11k *ar, while (!skb_queue_empty(&pmon->rx_status_q)) { status_skb = skb_dequeue(&pmon->rx_status_q); - rx_tlv = status_skb->data; - rx_tlv_start = rx_tlv; - tlv_status = ath11k_hal_rx_parse_mon_status(ar->ab, ppdu_info, - rx_tlv); + status_skb); if (tlv_status == HAL_TLV_STATUS_PPDU_DONE) { rx_mon_stats->status_ppdu_done++; pmon->mon_ppdu_status = DP_PPDU_STATUS_DONE; diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c index 2d2d5cd5ea5f..3f59b8a75c2a 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.c +++ b/drivers/net/wireless/ath/ath11k/hal_rx.c @@ -1156,13 +1156,13 @@ ath11k_hal_rx_parse_mon_status_tlv(struct ath11k_base *ab, enum hal_rx_mon_status ath11k_hal_rx_parse_mon_status(struct ath11k_base *ab, struct hal_rx_mon_ppdu_info *ppdu_info, - u8 *data) + struct sk_buff *skb) { struct hal_tlv_hdr *tlv; enum hal_rx_mon_status hal_status = HAL_RX_MON_STATUS_BUF_DONE; u16 tlv_tag; u16 tlv_len; - u8 *ptr = data; + u8 *ptr = skb->data; do { tlv = (struct hal_tlv_hdr *)ptr; @@ -1183,7 +1183,7 @@ ath11k_hal_rx_parse_mon_status(struct ath11k_base *ab, ptr += tlv_len; ptr = PTR_ALIGN(ptr, HAL_TLV_ALIGN); - if ((ptr - data) >= DP_RX_BUFFER_SIZE) + if ((ptr - skb->data) >= DP_RX_BUFFER_SIZE) break; } while (hal_status == HAL_RX_MON_STATUS_PPDU_NOT_DONE); diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.h b/drivers/net/wireless/ath/ath11k/hal_rx.h index bd6b8d2e9d5e..2c9b19194149 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.h +++ b/drivers/net/wireless/ath/ath11k/hal_rx.h @@ -336,7 +336,7 @@ void ath11k_hal_rx_reo_ent_buf_paddr_get(void *rx_desc, enum hal_rx_mon_status ath11k_hal_rx_parse_mon_status(struct ath11k_base *ab, struct hal_rx_mon_ppdu_info *ppdu_info, - u8 *data); + struct sk_buff *skb); #define REO_QUEUE_DESC_MAGIC_DEBUG_PATTERN_0 0xDDBEEF #define REO_QUEUE_DESC_MAGIC_DEBUG_PATTERN_1 0xADBEEF #define REO_QUEUE_DESC_MAGIC_DEBUG_PATTERN_2 0xBDBEEF From patchwork Mon Jun 24 17:08:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muna Sinada X-Patchwork-Id: 11013829 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5BC94186E for ; Mon, 24 Jun 2019 17:09:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 446D6289B7 for ; Mon, 24 Jun 2019 17:09:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 38C5728AFD; Mon, 24 Jun 2019 17:09:30 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 3469A28AF9 for ; Mon, 24 Jun 2019 17:09:29 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=va69smsIuSED6ALPhcW48JmVLBJ1B8PGRPmUlq0C72Q=; b=iAgatbANXjimyo3TMcHEZmte/i ARcPhfHazwlm9huctfQui863+2LN3f6w8/04dcHyRBpEnDdpkLCuY97wI3VKh2VotWcEoKaAMBhth yjFdGYGVw5cHOAZ8AvueMNcOhK4anUJcEHdNlzNyChBeN70Q0cQkKjWIddEInh8g+XLSbvLdkE/XS xrR4ux/RWH5hQX/zRm3tz/2jve9FhX2LLB/pic43bLtrIQgp106dVBqzFNBrL9NQ+lIEMR1npE/yW PD5qHc5dlEUlQ73TbRFdYTce/JK0xFX0TXNvoQb3aGRFreusUMJU3eHWwy/BM/GvKymCul6/9XoI7 w5n7J43w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfSTA-0005x4-6h; Mon, 24 Jun 2019 17:09:28 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfST7-0005pc-Fz for ath11k@lists.infradead.org; Mon, 24 Jun 2019 17:09:26 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 37EF760A97; Mon, 24 Jun 2019 17:09:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396165; bh=BGseQQw0VIkGPrdTcMzM435ldezo71Rqb19gZOnXtfw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a4QFX4s9sgP2TU831Ydfhw2wh0Jgd1k662jb5ortYZtHD7nK0pCvHK1K1ADNzc8OI Hk0ZKw1x9QK2Eotfk1zHH02iq8M5oSZVvbxeBRjcKhmB2E0S3BjribZnzUL3iXo0AV 2NbYQUZwdcW/y0pSUNyFrL6tN33aDK0jY4IeBhog= Received: from msinada-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: msinada@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id BF49F60741; Mon, 24 Jun 2019 17:09:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396165; bh=BGseQQw0VIkGPrdTcMzM435ldezo71Rqb19gZOnXtfw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a4QFX4s9sgP2TU831Ydfhw2wh0Jgd1k662jb5ortYZtHD7nK0pCvHK1K1ADNzc8OI Hk0ZKw1x9QK2Eotfk1zHH02iq8M5oSZVvbxeBRjcKhmB2E0S3BjribZnzUL3iXo0AV 2NbYQUZwdcW/y0pSUNyFrL6tN33aDK0jY4IeBhog= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org BF49F60741 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=msinada@codeaurora.org From: Muna Sinada To: ath11k@lists.infradead.org Subject: [PATCH 3/5] ath11k: comments added to explain purpose Date: Mon, 24 Jun 2019 10:08:59 -0700 Message-Id: <1561396141-23382-3-git-send-email-msinada@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> References: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_100925_551499_B2D109BD X-CRM114-Status: UNSURE ( 7.42 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Muna Sinada MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Added comments for ath11k_hal_tx_desc_sync() and ath11k_hal_tx_status_desc_sync() to explain their purpose. Signed-off-by: Muna Sinada --- drivers/net/wireless/ath/ath11k/hal_tx.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/ath/ath11k/hal_tx.c b/drivers/net/wireless/ath/ath11k/hal_tx.c index 3c04ebe23c22..2b1789a260d2 100644 --- a/drivers/net/wireless/ath/ath11k/hal_tx.c +++ b/drivers/net/wireless/ath/ath11k/hal_tx.c @@ -73,12 +73,14 @@ void ath11k_hal_tx_cmd_desc_setup(struct ath11k_base *ab, void *cmd, ti->bss_ast_hash); } +/* Commit the descriptor to hardware */ void ath11k_hal_tx_desc_sync(void *tx_desc_cached, void *hw_desc) { memcpy(hw_desc + sizeof(struct hal_tlv_hdr), tx_desc_cached, sizeof(struct hal_tcl_data_cmd)); } +/* Get the descriptor status from hardware */ void ath11k_hal_tx_status_desc_sync(void *hw_desc, void *local_desc) { memcpy(local_desc, hw_desc, HAL_TX_STATUS_DESC_LEN); From patchwork Mon Jun 24 17:09:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muna Sinada X-Patchwork-Id: 11013831 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 5D95D6C5 for ; Mon, 24 Jun 2019 17:09:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 46556289B7 for ; Mon, 24 Jun 2019 17:09:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3AD2628AFD; Mon, 24 Jun 2019 17:09:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id E6987289B7 for ; Mon, 24 Jun 2019 17:09:30 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=P6kyUEzypojUU28zx+8Sq81+9GraTlkfwpIDQHZdoBA=; b=dNNNeIjlYxcI3/X2eKK48RGy5+ WG+SIdDXTcohR8qiY2nA7o1bsBaXdMOaYP9N9qAHTrWs2fkf/Yx2XNRd74t6UqyqPLcQwd3Cl2eEe f0XHjlqx2EJOeAujav7I6AiJJsN2Y5nDrR3eMoIuOCCQOwqCHFIT2JqWR39pKbrH4fSjdrQcWe4na 7lx095rPynWYqRkePWkLhh+g5OmbTWgHby+4QP/CS5rkqrYZga0PXq4aZJwobP4fFLRwqcQflrHyF c0r30ZBQDj4sbqm1ovV6USjQnOVNGomaXUmv2tDiL+zQFz5s/tAGCylNardko13S3aXnjMaB14hdO 829PyXPQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfSTC-00061z-3U; Mon, 24 Jun 2019 17:09:30 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfST9-0005ur-26 for ath11k@lists.infradead.org; Mon, 24 Jun 2019 17:09:28 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CE39660741; Mon, 24 Jun 2019 17:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396166; bh=WWl4yxlme9ZL3lRqqWCuhDCLE5px7tqA5Vy+MZn5Y6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SXWg11aGxN0lqwCY2xwzOLGZxk2X4jrJ/Mo+kDXemW3c5u6bMWFgsNYxAiLrTw0Di UtdO9MfdMCvmdbDsrBqm/hZs0JoqUD18XOfsg1ssO1C8Mj+GNZc+3KhN5ALFVijEw5 2RNfk6XXKMOKC6wQn8vgppyGlSG8fEGjexJItTIs= Received: from msinada-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: msinada@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 4E33360A05; Mon, 24 Jun 2019 17:09:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396166; bh=WWl4yxlme9ZL3lRqqWCuhDCLE5px7tqA5Vy+MZn5Y6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=SXWg11aGxN0lqwCY2xwzOLGZxk2X4jrJ/Mo+kDXemW3c5u6bMWFgsNYxAiLrTw0Di UtdO9MfdMCvmdbDsrBqm/hZs0JoqUD18XOfsg1ssO1C8Mj+GNZc+3KhN5ALFVijEw5 2RNfk6XXKMOKC6wQn8vgppyGlSG8fEGjexJItTIs= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 4E33360A05 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=msinada@codeaurora.org From: Muna Sinada To: ath11k@lists.infradead.org Subject: [PATCH 4/5] ath11k: added RMB to return_buffer_manager description Date: Mon, 24 Jun 2019 10:09:00 -0700 Message-Id: <1561396141-23382-4-git-send-email-msinada@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> References: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_100927_116797_4AF517D7 X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Muna Sinada MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Added "(RBM)" to return_buffer_manager description to clarify what it stands for when utilized. Signed-off-by: Muna Sinada --- drivers/net/wireless/ath/ath11k/hal_desc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath11k/hal_desc.h b/drivers/net/wireless/ath/ath11k/hal_desc.h index 32b8ccbd06f0..62741bf792c6 100644 --- a/drivers/net/wireless/ath/ath11k/hal_desc.h +++ b/drivers/net/wireless/ath/ath11k/hal_desc.h @@ -26,7 +26,7 @@ struct ath11k_buffer_addr { * Address (upper 8 bits) of the msdu buffer or msdu extension * descriptor or Link descriptor * - * return_buffer_manager + * return_buffer_manager (RBM) * Consumer: WBM * Producer: SW/FW * Indicates to which buffer manager the buffer or MSDU_EXTENSION From patchwork Mon Jun 24 17:09:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Muna Sinada X-Patchwork-Id: 11013833 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 1EA696C5 for ; Mon, 24 Jun 2019 17:09:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03F10289B7 for ; Mon, 24 Jun 2019 17:09:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9A9E28AFD; Mon, 24 Jun 2019 17:09:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 812F0289B7 for ; Mon, 24 Jun 2019 17:09:32 +0000 (UTC) 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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=YBN+aoa2v0o7YK9K6qlpQ6pr3V4FIR31FpjHedzt4oc=; b=lA/GzJCm0tbfC3J5nK54S6HIMJ s8HxEBbwmAhxm7pTuDIkC6z2c3SLOLR/J5OhKJPAK/KZS8oRP49WlAuOQA/opwKY9hm2Z7brWErga kC5WbuRATFARxK87DktUjAW5bqwaAMGOINTmn4nGfD4FvqVDqEMqB6kEZQzZoXnGKiHfDtPXWiYTN o2CGpBpr5aDthGm0LibcXMNw6sC1IP4q2GnvKGGhdkANm0WqPkGb3tTEKqPaim5TBgxKSuwJ6gh1U 7uYKmCCgy0tD5zAt/IBK3HaHESqbYMooL9XgWpjM0+5FAgLxmx8Az9Pt8/VjEncg8XNJXhSCIIu/u UdKcLMyg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hfSTD-00066c-Io; Mon, 24 Jun 2019 17:09:31 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hfSTA-0005xQ-Dp for ath11k@lists.infradead.org; Mon, 24 Jun 2019 17:09:30 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 2973A60C8B; Mon, 24 Jun 2019 17:09:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396168; bh=eugDBpTHA9IAzPXBXC9Sr1RMdcBx3UhZFbWxozj9YN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=L0X8iwXLFmyr6IaAdK879BeQZ408mzEcNt4bofMosNKDxp4p/29VUIcXoNvjMRp04 JHUIeimldxQ+Y1M5n+2eXfuSjnZpnLTmSnO+pa0UYhk6UE1Ka0mU2B68OCytp/6Ajq OepEi1PXVBVx20g1NahohkbrNID+5xjDBprWQ2UY= Received: from msinada-linux.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: msinada@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7CC2260C60; Mon, 24 Jun 2019 17:09:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1561396167; bh=eugDBpTHA9IAzPXBXC9Sr1RMdcBx3UhZFbWxozj9YN0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Dw2sgGewsHyuAPv6q9xUnEKGF8LHOX/zfTXaCnlzmtUvBz9HoWiWZND+vtgI1mjkh M1MUa1P9NNXAga+MQVaXvyDqusFoJ2U4TyEj7Pa7POdIIsMusruPZ/EsrdKzo3J9qN 5a5tHlSj83xFC5gV2+qaTSC70pvX/MlivKwUjQRo= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7CC2260C60 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=msinada@codeaurora.org From: Muna Sinada To: ath11k@lists.infradead.org Subject: [PATCH 5/5] ath11k: add hal dbg mask and utilized for hal stats Date: Mon, 24 Jun 2019 10:09:01 -0700 Message-Id: <1561396141-23382-5-git-send-email-msinada@codeaurora.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> References: <1561396141-23382-1-git-send-email-msinada@codeaurora.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190624_100928_524405_13AE3F24 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath11k@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Muna Sinada MIME-Version: 1.0 Sender: "ath11k" Errors-To: ath11k-bounces+patchwork-ath11k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Added HAL debug mask. Replaced use of ath11k_info() in ath11k_hal_reo_status_queue_stats() with ath11k_dbg(), which utilizes new HAL debug mask. Signed-off-by: Muna Sinada --- drivers/net/wireless/ath/ath11k/debug.h | 1 + drivers/net/wireless/ath/ath11k/hal_rx.c | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/drivers/net/wireless/ath/ath11k/debug.h b/drivers/net/wireless/ath/ath11k/debug.h index 13973d972169..4cfabed9d235 100644 --- a/drivers/net/wireless/ath/ath11k/debug.h +++ b/drivers/net/wireless/ath/ath11k/debug.h @@ -21,6 +21,7 @@ enum ath11k_debug_mask { ATH11K_DBG_MGMT = 0x00000100, ATH11K_DBG_REG = 0x00000200, ATH11K_DBG_TESTMODE = 0x00000400, + ATH11k_DBG_HAL = 0x00000800, ATH11K_DBG_ANY = 0xffffffff, }; diff --git a/drivers/net/wireless/ath/ath11k/hal_rx.c b/drivers/net/wireless/ath/ath11k/hal_rx.c index 3f59b8a75c2a..fde25a186a20 100644 --- a/drivers/net/wireless/ath/ath11k/hal_rx.c +++ b/drivers/net/wireless/ath/ath11k/hal_rx.c @@ -482,30 +482,30 @@ void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, FIELD_GET(HAL_REO_STATUS_HDR_INFO0_EXEC_STATUS, desc->hdr.info0); - ath11k_info(ab, "Queue stats status:\n"); - ath11k_info(ab, "header: cmd_num %d status %d\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "Queue stats status:\n"); + ath11k_dbg(ab, ATH11k_DBG_HAL, "header: cmd_num %d status %d\n", status->uniform_hdr.cmd_num, status->uniform_hdr.cmd_status); - ath11k_info(ab, "ssn %ld cur_idx %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "ssn %ld cur_idx %ld\n", FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO0_SSN, desc->info0), FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO0_CUR_IDX, desc->info0)); - ath11k_info(ab, "pn = [%08x, %08x, %08x, %08x]\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "pn = [%08x, %08x, %08x, %08x]\n", desc->pn[0], desc->pn[1], desc->pn[2], desc->pn[3]); - ath11k_info(ab, "last_rx: enqueue_tstamp %08x dequeue_tstamp %08x\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "last_rx: enqueue_tstamp %08x dequeue_tstamp %08x\n", desc->last_rx_enqueue_timestamp, desc->last_rx_dequeue_timestamp); - ath11k_info(ab, "rx_bitmap [%08x %08x %08x %08x %08x %08x %08x %08x]\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "rx_bitmap [%08x %08x %08x %08x %08x %08x %08x %08x]\n", desc->rx_bitmap[0], desc->rx_bitmap[1], desc->rx_bitmap[2], desc->rx_bitmap[3], desc->rx_bitmap[4], desc->rx_bitmap[5], desc->rx_bitmap[6], desc->rx_bitmap[7]); - ath11k_info(ab, "count: cur_mpdu %ld cur_msdu %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "count: cur_mpdu %ld cur_msdu %ld\n", FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO1_MPDU_COUNT, desc->info1), FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO1_MSDU_COUNT, desc->info1)); - ath11k_info(ab, "fwd_timeout %ld fwd_bar %ld dup_count %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "fwd_timeout %ld fwd_bar %ld dup_count %ld\n", FIELD_GET( HAL_REO_GET_QUEUE_STATS_STATUS_INFO2_TIMEOUT_COUNT, desc->info2), @@ -514,22 +514,22 @@ void ath11k_hal_reo_status_queue_stats(struct ath11k_base *ab, u32 *reo_desc, FIELD_GET( HAL_REO_GET_QUEUE_STATS_STATUS_INFO2_DUPLICATE_COUNT, desc->info2)); - ath11k_info(ab, "frames_in_order %ld bar_rcvd %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "frames_in_order %ld bar_rcvd %ld\n", FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO3_FIO_COUNT, desc->info3), FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO3_BAR_RCVD_CNT, desc->info3)); - ath11k_info(ab, "num_mpdus %d num_msdus %d total_bytes %d\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "num_mpdus %d num_msdus %d total_bytes %d\n", desc->num_mpdu_frames, desc->num_msdu_frames, desc->total_bytes); - ath11k_info(ab, "late_rcvd %ld win_jump_2k %ld hole_cnt %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "late_rcvd %ld win_jump_2k %ld hole_cnt %ld\n", FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO4_LATE_RX_MPDU, desc->info4), FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO4_WINDOW_JMP2K, desc->info4), FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO4_HOLE_COUNT, desc->info4)); - ath11k_info(ab, "looping count %ld\n", + ath11k_dbg(ab, ATH11k_DBG_HAL, "looping count %ld\n", FIELD_GET(HAL_REO_GET_QUEUE_STATS_STATUS_INFO5_LOOPING_CNT, desc->info5)); }