linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ath10k: Increase buffer len to print all wmi services.
@ 2017-07-03  5:32 c_traja
  2017-07-06 12:19 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: c_traja @ 2017-07-03  5:32 UTC (permalink / raw)
  To: ath10k; +Cc: linux-wireless, Tamizh chelvam

From: Tamizh chelvam <c_traja@qti.qualcomm.com>

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 <c_traja@qti.qualcomm.com>
---
 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;
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: ath10k: Increase buffer len to print all wmi services.
  2017-07-03  5:32 [PATCH] ath10k: Increase buffer len to print all wmi services c_traja
@ 2017-07-06 12:19 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2017-07-06 12:19 UTC (permalink / raw)
  To: c_traja; +Cc: ath10k, Tamizh chelvam, linux-wireless

c_traja@qti.qualcomm.com wrote:

> 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 <c_traja@qti.qualcomm.com>
> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

Patch applied to ath-next branch of ath.git, thanks.

75e0dde2abf6 ath10k: increase buffer len to print all wmi services

-- 
https://patchwork.kernel.org/patch/9821955/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-06 12:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-03  5:32 [PATCH] ath10k: Increase buffer len to print all wmi services c_traja
2017-07-06 12:19 ` Kalle Valo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).