From patchwork Mon Jul 3 05:32:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: c_traja@qti.qualcomm.com X-Patchwork-Id: 9821955 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.web.codeaurora.org (Postfix) with ESMTP id 550BE60246 for ; Mon, 3 Jul 2017 05:33:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4297528503 for ; Mon, 3 Jul 2017 05:33:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 357732851E; Mon, 3 Jul 2017 05:33:16 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 C3D3728503 for ; Mon, 3 Jul 2017 05:33:15 +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: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=NPQzMtY3neviC3gRwnWVBDGhywRfcXhLB1ts2EzkvZ8=; b=WE5Vng3L91ZY3V 2RjBDOXa0lonxVoZg+GKT4Gbmygg/l0UH2BJyEVUzkgzbhmZcLrT+X1qThcxxvNFNh5gzyP+qFgE+ ycNmyRcxrxt/CCLlselfTzHXIQ9OoP4bDYh9BQFREHwDIJ4GlvXXVsyBjCUeGX3hcgAms7ZTZch7U RfABvvSnEQ24J6D/8ATKas2cvUsZdZIJ/22mKOcAODYTh0LXveoAyw4QiWdsSQ5vcKE2dP4xsAJ1k 0d3kMcaAlNOqIA+i3+rRfNjO4GBNc8yiWcAyNsoFoycXlJOC7tf6OJb6ZMov4qFMq4gRP5+I7MkNP C0D+ZAvgGm4yxNUUlebQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dRtyo-0004c2-P6; Mon, 03 Jul 2017 05:33:02 +0000 Received: from sabertooth01.qualcomm.com ([65.197.215.72]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dRtyk-0004Yc-Lj for ath10k@lists.infradead.org; Mon, 03 Jul 2017 05:33:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qti.qualcomm.com; i=@qti.qualcomm.com; q=dns/txt; s=qcdkim; t=1499059978; x=1530595978; h=from:to:cc:subject:date:message-id:mime-version; bh=Sc38NieYGNImxQoJrkPgBvPjVjGN5H/MKO0SbdN0lOo=; b=d40+NJhyVEsreDxAdfgPTrwh663dSxabHP8j9LpGQMVgulxNSuy5cPf1 UTQXf9D6UjoXp1gT86cO80ZRVG67OWelwm+N7Dw84SUNYHToRsf/yFifP M7ZmDriTiRtm9MuXOqUOlysROGTw/G82Sm1l6Wa1RRZQqOanp9jWMvRH4 A=; X-IronPort-AV: E=Sophos;i="5.40,301,1496127600"; d="scan'208";a="109598552" Received: from unknown (HELO Ironmsg03-L.qualcomm.com) ([10.53.140.110]) by sabertooth01.qualcomm.com with ESMTP; 02 Jul 2017 22:32:36 -0700 X-IronPort-AV: E=McAfee;i="5800,7501,8579"; a="1403094391" X-MGA-submission: =?us-ascii?q?MDEjb3V9ZsEmZa3rdkxHMmEuC8HLjR2zsDe8VD?= =?us-ascii?q?fmTqRu2VFMsMfw/JC8IumX1AfCUKAmy4VhMKobykaHqNnEL8e71J7M2k?= =?us-ascii?q?faa8EJ3sV+p1fU7tCFpsS5GB6fPjYfXEWL1rF80vQyrcREzhutV6DhD9?= =?us-ascii?q?ek?= Received: from nasanexm02h.na.qualcomm.com ([10.85.0.89]) by Ironmsg03-L.qualcomm.com with ESMTP/TLS/RC4-SHA; 02 Jul 2017 22:32:36 -0700 Received: from aphydexm01f.ap.qualcomm.com (10.252.127.15) by nasanexm02h.na.qualcomm.com (10.85.0.89) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Sun, 2 Jul 2017 22:32:34 -0700 Received: from localhost (10.80.80.8) by aphydexm01f.ap.qualcomm.com (10.252.127.15) with Microsoft SMTP Server (TLS) id 15.0.1178.4; Mon, 3 Jul 2017 11:02:29 +0530 From: To: Subject: [PATCH] ath10k: Increase buffer len to print all wmi services. Date: Mon, 3 Jul 2017 11:02:36 +0530 Message-ID: <1499059956-30051-1-git-send-email-c_traja@qti.qualcomm.com> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanexm01a.na.qualcomm.com (10.85.0.81) To aphydexm01f.ap.qualcomm.com (10.252.127.15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170702_223258_761569_30197848 X-CRM114-Status: UNSURE ( 5.99 ) X-CRM114-Notice: Please train this message. X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Tamizh chelvam , linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Tamizh chelvam All wmi_services are not printing when we give below command. cat /sys/kernel/debug/ieee80211/phyX/ath10k/wmi_services This patch increases the buffer_len to 8192 to print all the wmi_services. Signed-off-by: Tamizh chelvam --- drivers/net/wireless/ath/ath10k/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/debug.c b/drivers/net/wireless/ath/ath10k/debug.c index 389fcb7..56404fe 100644 --- a/drivers/net/wireless/ath/ath10k/debug.c +++ b/drivers/net/wireless/ath/ath10k/debug.c @@ -237,7 +237,7 @@ static ssize_t ath10k_read_wmi_services(struct file *file, { struct ath10k *ar = file->private_data; char *buf; - size_t len = 0, buf_len = 4096; + size_t len = 0, buf_len = 8192; const char *name; ssize_t ret_cnt; bool enabled;