Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(809)

Side by Side Diff: chromeos/compat-wireless/drivers/net/wireless/ath/ath9k/debug.h

Issue 6393011: ath9k: Add pktlog support Base URL: ssh://git@gitrw.chromium.org:9222/kernel.git@master
Patch Set: add missing files Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2008-2009 Atheros Communications Inc. 2 * Copyright (c) 2008-2009 Atheros Communications Inc.
3 * 3 *
4 * Permission to use, copy, modify, and/or distribute this software for any 4 * Permission to use, copy, modify, and/or distribute this software for any
5 * purpose with or without fee is hereby granted, provided that the above 5 * purpose with or without fee is hereby granted, provided that the above
6 * copyright notice and this permission notice appear in all copies. 6 * copyright notice and this permission notice appear in all copies.
7 * 7 *
8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 struct ath_stats { 149 struct ath_stats {
150 struct ath_interrupt_stats istats; 150 struct ath_interrupt_stats istats;
151 struct ath_rc_stats rcstats[RATE_TABLE_SIZE]; 151 struct ath_rc_stats rcstats[RATE_TABLE_SIZE];
152 struct ath_tx_stats txstats[ATH9K_NUM_TX_QUEUES]; 152 struct ath_tx_stats txstats[ATH9K_NUM_TX_QUEUES];
153 struct ath_rx_stats rxstats; 153 struct ath_rx_stats rxstats;
154 }; 154 };
155 155
156 struct ath9k_debug { 156 struct ath9k_debug {
157 struct dentry *debugfs_phy; 157 struct dentry *debugfs_phy;
158 u32 regidx; 158 u32 regidx;
159 struct dentry *debugfs_debug;
160 struct dentry *debugfs_dma;
161 struct dentry *debugfs_interrupt;
162 struct dentry *debugfs_rcstat;
163 struct dentry *debugfs_wiphy;
164 struct dentry *debugfs_xmit;
165 struct dentry *debugfs_recv;
166 struct dentry *debugfs_regdump;
159 struct ath_stats stats; 167 struct ath_stats stats;
160 }; 168 };
161 169
162 int ath9k_init_debug(struct ath_hw *ah); 170 int ath9k_init_debug(struct ath_hw *ah);
163 void ath9k_exit_debug(struct ath_hw *ah); 171 void ath9k_exit_debug(struct ath_hw *ah);
164 172
165 int ath9k_debug_create_root(void); 173 int ath9k_debug_create_root(void);
166 void ath9k_debug_remove_root(void); 174 void ath9k_debug_remove_root(void);
167 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); 175 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status);
168 void ath_debug_stat_rc(struct ath_softc *sc, int final_rate); 176 void ath_debug_stat_rc(struct ath_softc *sc, int final_rate);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 } 222 }
215 223
216 static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix, 224 static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix,
217 int xretries, int retries, u8 per) 225 int xretries, int retries, u8 per)
218 { 226 {
219 } 227 }
220 228
221 #endif /* CONFIG_ATH9K_DEBUGFS */ 229 #endif /* CONFIG_ATH9K_DEBUGFS */
222 230
223 #endif /* DEBUG_H */ 231 #endif /* DEBUG_H */
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698