Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
debugfs.c File Reference
#include "../wlcore/debugfs.h"
#include "../wlcore/wlcore.h"
#include "wl12xx.h"
#include "acx.h"
#include "debugfs.h"

Go to the source code of this file.

Macros

#define WL12XX_DEBUGFS_FWSTATS_FILE(a, b, c)   DEBUGFS_FWSTATS_FILE(a, b, c, wl12xx_acx_statistics)
 

Functions

 WL12XX_DEBUGFS_FWSTATS_FILE (tx, internal_desc_overflow,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, out_of_mem,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, hdr_overflow,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, hw_stuck,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, dropped,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, fcs_err,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, xfr_hint_trig,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, path_reset,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rx, reset_counter,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (dma, rx_requested,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (dma, rx_errors,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (dma, tx_requested,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (dma, tx_errors,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, cmd_cmplt,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, fiqs,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, rx_headers,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, rx_mem_overflow,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, rx_rdys,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, irqs,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, tx_procs,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, decrypt_done,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, dma0_done,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, dma1_done,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, tx_exch_complete,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, commands,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, rx_procs,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, hw_pm_mode_changes,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, host_acknowledges,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, pci_pm,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, wakeups,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (isr, low_rssi,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, addr_key_count,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, default_key_count,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, key_not_found,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, decrypt_fail,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, packets,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (wep, interrupt,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, ps_enter,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, elp_enter,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, missing_bcns,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, wake_on_host,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, wake_on_timer_exp,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, tx_with_ps,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, tx_without_ps,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, rcvd_beacons,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, power_save_off,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, enable_ps,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, disable_ps,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, fix_tsf_ps,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (pwr, rcvd_awake_beacons,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (mic, rx_pkts,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (mic, calc_failure,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, encrypt_fail,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, decrypt_fail,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, encrypt_packets,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, decrypt_packets,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, encrypt_interrupt,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (aes, decrypt_interrupt,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, heart_beat,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, calibration,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, rx_mismatch,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, rx_mem_empty,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, rx_pool,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, oom_late,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, phy_transmit_error,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (event, tx_stuck,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, pspoll_timeouts,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, upsd_timeouts,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, upsd_max_sptime,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, upsd_max_apturn,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, pspoll_max_apturn,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, pspoll_utilization,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (ps, upsd_utilization,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rxpipe, rx_prep_beacon_drop,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rxpipe, descr_host_int_trig_rx_data,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rxpipe, beacon_buffer_thres_host_int_trig_rx_data,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rxpipe, missed_beacon_host_int_trig_rx_data,"%u")
 
 WL12XX_DEBUGFS_FWSTATS_FILE (rxpipe, tx_xfr_host_int_trig_rx_data,"%u")
 
int wl12xx_debugfs_add_files (struct wl1271 *wl, struct dentry *rootdir)
 

Macro Definition Documentation

#define WL12XX_DEBUGFS_FWSTATS_FILE (   a,
  b,
  c 
)    DEBUGFS_FWSTATS_FILE(a, b, c, wl12xx_acx_statistics)

Definition at line 30 of file debugfs.c.

Function Documentation

int wl12xx_debugfs_add_files ( struct wl1271 wl,
struct dentry rootdir 
)

Definition at line 125 of file debugfs.c.

WL12XX_DEBUGFS_FWSTATS_FILE ( tx  ,
internal_desc_overflow  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
out_of_mem  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
hdr_overflow  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
hw_stuck  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
dropped  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
fcs_err  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
xfr_hint_trig  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
path_reset  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rx  ,
reset_counter  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( dma  ,
rx_requested  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( dma  ,
rx_errors  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( dma  ,
tx_requested  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( dma  ,
tx_errors  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
cmd_cmplt  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
fiqs  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
rx_headers  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
rx_mem_overflow  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
rx_rdys  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
irqs  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
tx_procs  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
decrypt_done  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
dma0_done  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
dma1_done  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
tx_exch_complete  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
commands  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
rx_procs  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
hw_pm_mode_changes  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
host_acknowledges  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
pci_pm  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
wakeups  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( isr  ,
low_rssi  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
addr_key_count  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
default_key_count  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
key_not_found  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
decrypt_fail  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
packets  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( wep  ,
interrupt  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
ps_enter  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
elp_enter  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
missing_bcns  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
wake_on_host  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
wake_on_timer_exp  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
tx_with_ps  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
tx_without_ps  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
rcvd_beacons  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
power_save_off  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
enable_ps  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
disable_ps  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
fix_tsf_ps  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( pwr  ,
rcvd_awake_beacons  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( mic  ,
rx_pkts  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( mic  ,
calc_failure  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
encrypt_fail  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
decrypt_fail  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
encrypt_packets  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
decrypt_packets  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
encrypt_interrupt  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( aes  ,
decrypt_interrupt  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
heart_beat  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
calibration  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
rx_mismatch  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
rx_mem_empty  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
rx_pool  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
oom_late  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
phy_transmit_error  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( event  ,
tx_stuck  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
pspoll_timeouts  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
upsd_timeouts  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
upsd_max_sptime  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
upsd_max_apturn  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
pspoll_max_apturn  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
pspoll_utilization  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( ps  ,
upsd_utilization  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rxpipe  ,
rx_prep_beacon_drop  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rxpipe  ,
descr_host_int_trig_rx_data  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rxpipe  ,
beacon_buffer_thres_host_int_trig_rx_data  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rxpipe  ,
missed_beacon_host_int_trig_rx_data  ,
"%u"   
)
WL12XX_DEBUGFS_FWSTATS_FILE ( rxpipe  ,
tx_xfr_host_int_trig_rx_data  ,
"%u"   
)