54 #define ath6kl_info(fmt, ...) \
55 ath6kl_printk(KERN_INFO, fmt, ##__VA_ARGS__)
56 #define ath6kl_err(fmt, ...) \
57 ath6kl_printk(KERN_ERR, fmt, ##__VA_ARGS__)
58 #define ath6kl_warn(fmt, ...) \
59 ath6kl_printk(KERN_WARNING, fmt, ##__VA_ARGS__)
65 #ifdef CONFIG_ATH6KL_DEBUG
70 const void *
buf,
size_t len);
76 void ath6kl_debug_fwlog_event(
struct ath6kl *
ar,
const void *
buf,
size_t len);
78 int ath6kl_debug_roam_tbl_event(
struct ath6kl *
ar,
const void *
buf,
80 void ath6kl_debug_set_keepalive(
struct ath6kl *
ar,
u8 keepalive);
81 void ath6kl_debug_set_disconnect_timeout(
struct ath6kl *
ar,
u8 timeout);
82 void ath6kl_debug_init(
struct ath6kl *
ar);
83 int ath6kl_debug_init_fs(
struct ath6kl *
ar);
84 void ath6kl_debug_cleanup(
struct ath6kl *
ar);
95 const void *
buf,
size_t len)
109 static inline void ath6kl_debug_fwlog_event(
struct ath6kl *
ar,
110 const void *
buf,
size_t len)
118 static inline int ath6kl_debug_roam_tbl_event(
struct ath6kl *
ar,
119 const void *
buf,
size_t len)
124 static inline void ath6kl_debug_set_keepalive(
struct ath6kl *
ar,
u8 keepalive)
128 static inline void ath6kl_debug_set_disconnect_timeout(
struct ath6kl *
ar,
133 static inline void ath6kl_debug_init(
struct ath6kl *
ar)
137 static inline int ath6kl_debug_init_fs(
struct ath6kl *
ar)
142 static inline void ath6kl_debug_cleanup(
struct ath6kl *
ar)