-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 150438 b: refs/heads/master c: bb9f869 h: refs/heads/master v: v3
- Loading branch information
Zhu Yi
authored and
John W. Linville
committed
May 22, 2009
1 parent
0c16ac5
commit baef181
Showing
30 changed files
with
9,714 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: e31a16d6f64ef0e324c6f54d5112703c3f13a9c4 | ||
refs/heads/master: bb9f8692f5043efef0dcef048cdd1db68299c2cb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
config IWM | ||
tristate "Intel Wireless Multicomm 3200 WiFi driver" | ||
depends on MMC && WLAN_80211 && EXPERIMENTAL | ||
select LIB80211 | ||
select FW_LOADER | ||
select RFKILL | ||
|
||
config IWM_DEBUG | ||
bool "Enable full debugging output in iwmc3200wifi" | ||
depends on IWM && DEBUG_FS | ||
---help--- | ||
This option will enable debug tracing and setting for iwm | ||
|
||
You can set the debug level and module through debugfs. By | ||
default all modules are set to the IWL_DL_ERR level. | ||
To see the list of debug modules and levels, see iwm/debug.h | ||
|
||
For example, if you want the full MLME debug output: | ||
echo 0xff > /debug/iwm/phyN/debug/mlme | ||
|
||
Or, if you want the full debug, for all modules: | ||
echo 0xff > /debug/iwm/phyN/debug/level | ||
echo 0xff > /debug/iwm/phyN/debug/modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
obj-$(CONFIG_IWM) := iwmc3200wifi.o | ||
iwmc3200wifi-objs += main.o netdev.o rx.o tx.o sdio.o hal.o fw.o | ||
iwmc3200wifi-objs += commands.o wext.o cfg80211.o eeprom.o rfkill.o | ||
|
||
iwmc3200wifi-$(CONFIG_IWM_DEBUG) += debugfs.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* Intel Wireless Multicomm 3200 WiFi driver | ||
* | ||
* Copyright (C) 2009 Intel Corporation <ilw@linux.intel.com> | ||
* Samuel Ortiz <samuel.ortiz@intel.com> | ||
* Zhu Yi <yi.zhu@intel.com> | ||
* | ||
* This program is free software; you can redistribute it and/or | ||
* modify it under the terms of the GNU General Public License version | ||
* 2 as published by the Free Software Foundation. | ||
* | ||
* This program is distributed in the hope that it will be useful, | ||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
* GNU General Public License for more details. | ||
* | ||
* You should have received a copy of the GNU General Public License | ||
* along with this program; if not, write to the Free Software | ||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | ||
* 02110-1301, USA. | ||
* | ||
*/ | ||
|
||
#ifndef __IWM_BUS_H__ | ||
#define __IWM_BUS_H__ | ||
|
||
#include "iwm.h" | ||
|
||
struct iwm_if_ops { | ||
int (*enable)(struct iwm_priv *iwm); | ||
int (*disable)(struct iwm_priv *iwm); | ||
int (*send_chunk)(struct iwm_priv *iwm, u8* buf, int count); | ||
|
||
int (*debugfs_init)(struct iwm_priv *iwm, struct dentry *parent_dir); | ||
void (*debugfs_exit)(struct iwm_priv *iwm); | ||
|
||
const char *umac_name; | ||
const char *calib_lmac_name; | ||
const char *lmac_name; | ||
}; | ||
|
||
static inline int iwm_bus_send_chunk(struct iwm_priv *iwm, u8 *buf, int count) | ||
{ | ||
return iwm->bus_ops->send_chunk(iwm, buf, count); | ||
} | ||
|
||
static inline int iwm_bus_enable(struct iwm_priv *iwm) | ||
{ | ||
return iwm->bus_ops->enable(iwm); | ||
} | ||
|
||
static inline int iwm_bus_disable(struct iwm_priv *iwm) | ||
{ | ||
return iwm->bus_ops->disable(iwm); | ||
} | ||
|
||
#endif |
Oops, something went wrong.