iwl-agn-debugfs.h 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /******************************************************************************
  2. *
  3. * GPL LICENSE SUMMARY
  4. *
  5. * Copyright(c) 2008 - 2010 Intel Corporation. All rights reserved.
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of version 2 of the GNU General Public License as
  9. * published by the Free Software Foundation.
  10. *
  11. * This program is distributed in the hope that it will be useful, but
  12. * WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU General Public License
  17. * along with this program; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110,
  19. * USA
  20. *
  21. * The full GNU General Public License is included in this distribution
  22. * in the file called LICENSE.GPL.
  23. *
  24. * Contact Information:
  25. * Intel Linux Wireless <ilw@linux.intel.com>
  26. * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
  27. *****************************************************************************/
  28. #include "iwl-dev.h"
  29. #include "iwl-core.h"
  30. #include "iwl-debug.h"
  31. #ifdef CONFIG_IWLWIFI_DEBUGFS
  32. ssize_t iwl_ucode_rx_stats_read(struct file *file, char __user *user_buf,
  33. size_t count, loff_t *ppos);
  34. ssize_t iwl_ucode_tx_stats_read(struct file *file, char __user *user_buf,
  35. size_t count, loff_t *ppos);
  36. ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf,
  37. size_t count, loff_t *ppos);
  38. ssize_t iwl_ucode_bt_stats_read(struct file *file, char __user *user_buf,
  39. size_t count, loff_t *ppos);
  40. ssize_t iwl_reply_tx_error_read(struct file *file, char __user *user_buf,
  41. size_t count, loff_t *ppos);
  42. #else
  43. static ssize_t iwl_ucode_rx_stats_read(struct file *file, char __user *user_buf,
  44. size_t count, loff_t *ppos)
  45. {
  46. return 0;
  47. }
  48. static ssize_t iwl_ucode_tx_stats_read(struct file *file, char __user *user_buf,
  49. size_t count, loff_t *ppos)
  50. {
  51. return 0;
  52. }
  53. static ssize_t iwl_ucode_general_stats_read(struct file *file, char __user *user_buf,
  54. size_t count, loff_t *ppos)
  55. {
  56. return 0;
  57. }
  58. static ssize_t iwl_ucode_bt_stats_read(struct file *file, char __user *user_buf,
  59. size_t count, loff_t *ppos)
  60. {
  61. return 0;
  62. }
  63. static ssize_t iwl_reply_tx_error_read(struct file *file, char __user *user_buf,
  64. size_t count, loff_t *ppos)
  65. {
  66. return 0;
  67. }
  68. #endif