OLD | NEW |
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 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 struct ath_stats stats; | 159 struct ath_stats stats; |
160 }; | 160 }; |
161 | 161 |
162 int ath9k_init_debug(struct ath_hw *ah); | 162 int ath9k_init_debug(struct ath_hw *ah); |
163 void ath9k_exit_debug(struct ath_hw *ah); | 163 void ath9k_exit_debug(struct ath_hw *ah); |
164 | 164 |
165 int ath9k_debug_create_root(void); | 165 int ath9k_debug_create_root(void); |
166 void ath9k_debug_remove_root(void); | 166 void ath9k_debug_remove_root(void); |
167 void ath_debug_stat_interrupt(struct ath_softc *sc, enum ath9k_int status); | 167 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); | 168 void ath_debug_stat_rc(struct ath_softc *sc, int final_rate); |
169 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_txq *txq, | 169 void ath_debug_stat_tx(struct ath_softc *sc, struct ath_buf *bf, |
170 » » struct ath_buf *bf, struct ath_tx_status *ts); | 170 » » struct ath_tx_status *ts); |
171 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs); | 171 void ath_debug_stat_rx(struct ath_softc *sc, struct ath_rx_status *rs); |
172 void ath_debug_stat_retries(struct ath_softc *sc, int rix, | 172 void ath_debug_stat_retries(struct ath_softc *sc, int rix, |
173 int xretries, int retries, u8 per); | 173 int xretries, int retries, u8 per); |
174 | 174 |
175 #else | 175 #else |
176 | 176 |
177 static inline int ath9k_init_debug(struct ath_hw *ah) | 177 static inline int ath9k_init_debug(struct ath_hw *ah) |
178 { | 178 { |
179 return 0; | 179 return 0; |
180 } | 180 } |
(...skipping 15 matching lines...) Expand all Loading... |
196 enum ath9k_int status) | 196 enum ath9k_int status) |
197 { | 197 { |
198 } | 198 } |
199 | 199 |
200 static inline void ath_debug_stat_rc(struct ath_softc *sc, | 200 static inline void ath_debug_stat_rc(struct ath_softc *sc, |
201 int final_rate) | 201 int final_rate) |
202 { | 202 { |
203 } | 203 } |
204 | 204 |
205 static inline void ath_debug_stat_tx(struct ath_softc *sc, | 205 static inline void ath_debug_stat_tx(struct ath_softc *sc, |
206 struct ath_txq *txq, | |
207 struct ath_buf *bf, | 206 struct ath_buf *bf, |
208 struct ath_tx_status *ts) | 207 struct ath_tx_status *ts) |
209 { | 208 { |
210 } | 209 } |
211 | 210 |
212 static inline void ath_debug_stat_rx(struct ath_softc *sc, | 211 static inline void ath_debug_stat_rx(struct ath_softc *sc, |
213 struct ath_rx_status *rs) | 212 struct ath_rx_status *rs) |
214 { | 213 { |
215 } | 214 } |
216 | 215 |
217 static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix, | 216 static inline void ath_debug_stat_retries(struct ath_softc *sc, int rix, |
218 int xretries, int retries, u8 per) | 217 int xretries, int retries, u8 per) |
219 { | 218 { |
220 } | 219 } |
221 | 220 |
222 #endif /* CONFIG_ATH9K_DEBUGFS */ | 221 #endif /* CONFIG_ATH9K_DEBUGFS */ |
223 | 222 |
224 #endif /* DEBUG_H */ | 223 #endif /* DEBUG_H */ |
OLD | NEW |