aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* ath: Make ath_opmode_to_string understand OCB modeBertold Van den Bergh2015-08-101-0/+2
| | | | | | | | Make ath_opmode_to_string return "OCB" for NL80211_IFTYPE_OCB. Currently it will return "UNKNOWN". Signed-off-by: Bertold Van den Bergh <[email protected]> Signed-off-by: Kalle Valo <[email protected]>
* drivers/net: Add export.h to files using EXPORT_SYMBOL/THIS_MODULEPaul Gortmaker2011-10-311-0/+1
| | | | | | | | | | | | | | | These were getting the macros from an implicit module.h include via device.h, but we are planning to clean that up. Signed-off-by: Paul Gortmaker <[email protected]> drivers/net: Add export.h to wireless/brcm80211/brcmfmac/bcmsdh.c This relatively recently added file uses EXPORT_SYMBOL and hence needs export.h included so that it is compatible with the module.h split up work. Signed-off-by: Paul Gortmaker <[email protected]>
* ath: Add and use ath_printk and ath_<level>Joe Perches2010-12-071-20/+0
| | | | | | | | | | | | | | | | | | | | Add ath_printk and ath_<level> similar to dev_printk and dev_<level> from device.h This allows a more gradual rename of ath_print to to ath_dbg or perhaps ath_debug. This basically removes debug.h leaving only an #define ath_printk ath_dbg there and moving all the ATH_DBG_<foo> enums to ath.h I do not think there's much purpose for struct ath_common * being passed to the ath_printk functions, but perhaps there might be. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: John W. Linville <[email protected]>
* drivers/net/wireless/ath/debug.c: Use printf extension %pVJoe Perches2010-11-161-2/+7
| | | | | | | | | Using %pV reduces the number of printk calls and eliminates any possible message interleaving from other printk calls. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: John W. Linville <[email protected]>
* ath5k: fix build break from "ath5k: Print out opmode in debugfs"Joe Perches2010-10-121-1/+1
| | | | | | | | | Also improve ath_opmode_to_string usage by having it return UNKNOWN rather than NULL in the event of failure to map the opmode value to a representative string. Signed-off-by: Joe Perches <[email protected]> Signed-off-by: John W. Linville <[email protected]>
* ath5k: Print out opmode in debugfs.Ben Greear2010-10-111-0/+29
| | | | | | | Helps debug multi-VIF scenarios. Signed-off-by: Ben Greear <[email protected]> Signed-off-by: John W. Linville <[email protected]>
* atheros: add common debug printingLuis R. Rodriguez2009-10-071-0/+32
ath9k uses this for now, ath9k_htc is expected to re-use this as well. We lave ath5k as is, but it certainly can also be converted later. The ath9k module parameter and debugfs entry is kept. Signed-off-by: Luis R. Rodriguez <[email protected]> Signed-off-by: John W. Linville <[email protected]>