blob: 54334ac02788d08ae43afd72657fa94a10b9fdbf [file] [log] [blame]
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -08001/******************************************************************************
2 *
3 * GPL LICENSE SUMMARY
4 *
Wey-Yi Guybe663ab2011-02-21 11:27:26 -08005 * Copyright(c) 2008 - 2011 Intel Corporation. All rights reserved.
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -08006 *
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
29#include "iwl-dev.h"
30#include "iwl-core.h"
31#include "iwl-debug.h"
32
Wey-Yi Guybe663ab2011-02-21 11:27:26 -080033#ifdef CONFIG_IWLWIFI_LEGACY_DEBUGFS
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020034ssize_t il3945_ucode_rx_stats_read(struct file *file, char __user *user_buf,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080035 size_t count, loff_t *ppos);
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020036ssize_t il3945_ucode_tx_stats_read(struct file *file, char __user *user_buf,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080037 size_t count, loff_t *ppos);
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020038ssize_t il3945_ucode_general_stats_read(struct file *file,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080039 char __user *user_buf, size_t count,
40 loff_t *ppos);
41#else
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020042static ssize_t il3945_ucode_rx_stats_read(struct file *file,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080043 char __user *user_buf, size_t count,
44 loff_t *ppos)
45{
46 return 0;
47}
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020048static ssize_t il3945_ucode_tx_stats_read(struct file *file,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080049 char __user *user_buf, size_t count,
50 loff_t *ppos)
51{
52 return 0;
53}
Stanislaw Gruszkae2ebc832011-10-24 15:41:30 +020054static ssize_t il3945_ucode_general_stats_read(struct file *file,
Wey-Yi Guy4bc85c12011-02-21 11:11:05 -080055 char __user *user_buf,
56 size_t count, loff_t *ppos)
57{
58 return 0;
59}
60#endif