[PATCH ath-next v4 4/8] wifi: ath12k: add device DP stats reset support via debugfs
Jeff Johnson
jeff.johnson at oss.qualcomm.com
Thu Sep 24 08:30:54 PDT 2026
On 9/24/2026 12:55 AM, Pardeep Kaur wrote:
> On 23-09-2026 05:42, Jeff Johnson wrote:
>> On 8/18/2026 10:32 PM, Pardeep Kaur wrote:
>>> From: Hariharan Ramanathan <hariharan.ramanathan at oss.qualcomm.com>
>>> Add a write handler to the device_dp_stats debugfs file so that
>>> writing 'reset' clears all device DP stats counters. Change the file
>>> mode from 0400 to 0600 to allow write access. Use
>>> simple_write_to_buffer() to correctly handle partial writes and
>>> non-zero ppos, consistent with ath12k_write_simulate_fw_crash() in
>> in what? the last sentence seems to be truncated. Or perhaps just s/ in$/./?
>> if there are no other comments in the thread there is no need to repost just
>> for this. Instead just let me know what text you really want here.
> debugfs.c.
since this patch is already modifying debugfs.c, I did s/ in/./ in my pending
branch:
non-zero ppos, consistent with ath12k_write_simulate_fw_crash().
https://git.kernel.org/pub/scm/linux/kernel/git/ath/ath.git/commit/?h=pending&id=3bd2457570ab0a4ca5e7e354e7b6d8703ece6c93
More information about the ath12k
mailing list