Re: [PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Rajkumar Manoharan
On Thu, Oct 02, 2014 at 02:58:43PM +0200, Michal Kazior wrote: > On 2 October 2014 14:53, Rajkumar Manoharan wrote: > > On Thu, Oct 02, 2014 at 02:37:13PM +0200, Michal Kazior wrote: > >> On 2 October 2014 14:12, Rajkumar Manoharan > >> wrote: > >> > Add support to configure packet log filters (

Re: [PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Michal Kazior
On 2 October 2014 14:53, Rajkumar Manoharan wrote: > On Thu, Oct 02, 2014 at 02:37:13PM +0200, Michal Kazior wrote: >> On 2 October 2014 14:12, Rajkumar Manoharan >> wrote: >> > Add support to configure packet log filters (tx, rx, rate control) >> > via debugfs. To disable htt pktlog events set

Re: [PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Rajkumar Manoharan
On Thu, Oct 02, 2014 at 02:37:13PM +0200, Michal Kazior wrote: > On 2 October 2014 14:12, Rajkumar Manoharan wrote: > > Add support to configure packet log filters (tx, rx, rate control) > > via debugfs. To disable htt pktlog events set the filters to 0. > [...] > > +static ssize_t ath10k_write_pk

Re: [PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Michal Kazior
On 2 October 2014 14:12, Rajkumar Manoharan wrote: > Add support to configure packet log filters (tx, rx, rate control) > via debugfs. To disable htt pktlog events set the filters to 0. [...] > +static ssize_t ath10k_write_pktlog_filter(struct file *file, > +

[PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Rajkumar Manoharan
Add support to configure packet log filters (tx, rx, rate control) via debugfs. To disable htt pktlog events set the filters to 0. ex: To enable pktlog for all filters echo 0x1f > /sys/kernel/debug/ieee80211/phy*/ath10k/pktlog_filter To disable pktlog echo 0 > /sys/kernel/debug/ieee80211

[PATCH 1/4] ath10k: Add support to configure pktlog filter

2014-10-02 Thread Rajkumar Manoharan
Add support to configure packet log filters (tx, rx, rate control) via debugfs. To disable htt pktlog events set the filters to 0. ex: To enable pktlog for all filters echo 0x1f > /sys/kernel/debug/ieee80211/phy*/ath10k/pktlog_filter To disable pktlog echo 0 > /sys/kernel/debug/ieee80211