ATH11K Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Kalle Valo <kvalo@codeaurora.org>
To: Anilkumar Kolli <akolli@codeaurora.org>
Cc: ath11k@lists.infradead.org
Subject: Re: [PATCH] ath11k: move per peer pktlog entry to per sta debugfs
Date: Tue, 23 Apr 2019 17:14:24 +0300	[thread overview]
Message-ID: <871s1szu4f.fsf@kamboji.qca.qualcomm.com> (raw)
In-Reply-To: <1555389673-19625-1-git-send-email-akolli@codeaurora.org> (Anilkumar Kolli's message of "Tue, 16 Apr 2019 10:11:13 +0530")

Anilkumar Kolli <akolli@codeaurora.org> writes:

> Per peer pktlog is enabled through per sta debugfs
> Currently this feature is limited on single peer.
>
> Enable pktlog using,
> echo "0x6f 2" > /sys/kernel/debug/ath11k/mac0/pktlog_filter
>
> Enable peer pktlog using,
> echo 1 > /sys/kernel/debug/ieee80211/phy9/netdev\:wlan0/stations
> /8c\:fd\:f0\:0a\:8c\:14/peer_pktlog
>
> Signed-off-by: Anilkumar Kolli <akolli@codeaurora.org>

Does not compile:

drivers/net/wireless/ath/ath11k/debugfs_sta.c:455:11: error: initialization of 'ssize_t (*)(struct file *, const char *, size_t,  loff_t *)' {aka 'long int (*)(struct file *, const char *, long unsigned int,  long long int *)'} from incompatible pointer type 'ssize_t (*)(struct file *, char *, size_t,  loff_t *)' {aka 'long int (*)(struct file *, char *, long unsigned int,  long long int *)'} [-Werror=incompatible-pointer-types]
  .write = ath11k_dbg_sta_write_peer_pktlog,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
Kalle Valo

_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k

  reply	other threads:[~2019-04-23 14:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-16  4:41 [PATCH] ath11k: move per peer pktlog entry to per sta debugfs Anilkumar Kolli
2019-04-23 14:14 ` Kalle Valo [this message]
2019-04-24  7:38   ` Anilkumar Kolli
2019-04-24  9:04     ` Anilkumar Kolli
2019-04-24  9:48       ` Sven Eckelmann
2019-05-02 14:53         ` Kalle Valo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871s1szu4f.fsf@kamboji.qca.qualcomm.com \
    --to=kvalo@codeaurora.org \
    --cc=akolli@codeaurora.org \
    --cc=ath11k@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox