23 #include "../wlcore/debugfs.h"
24 #include "../wlcore/wlcore.h"
30 #define WL18XX_DEBUGFS_FWSTATS_FILE(a, b, c) \
31 DEBUGFS_FWSTATS_FILE(a, b, c, wl18xx_acx_statistics)
32 #define WL18XX_DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c) \
33 DEBUGFS_FWSTATS_FILE_ARRAY(a, b, c, wl18xx_acx_statistics)
173 size_t count, loff_t *ppos)
197 pos +=
sizeof(wl->
conf);
214 static ssize_t clear_fw_stats_write(
struct file *file,
215 const char __user *user_buf,
216 size_t count, loff_t *ppos)
237 .write = clear_fw_stats_write,
249 if (!moddir || IS_ERR(moddir)) {
255 if (!stats || IS_ERR(stats)) {
398 ret = PTR_ERR(entry);