diff options
Diffstat (limited to 'drivers/net/wireless/libertas/defs.h')
-rw-r--r-- | drivers/net/wireless/libertas/defs.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/wireless/libertas/defs.h b/drivers/net/wireless/libertas/defs.h index 72f3479a4d70..ea3f10ef4e00 100644 --- a/drivers/net/wireless/libertas/defs.h +++ b/drivers/net/wireless/libertas/defs.h | |||
@@ -42,6 +42,7 @@ | |||
42 | #define LBS_DEB_SDIO 0x00400000 | 42 | #define LBS_DEB_SDIO 0x00400000 |
43 | #define LBS_DEB_SYSFS 0x00800000 | 43 | #define LBS_DEB_SYSFS 0x00800000 |
44 | #define LBS_DEB_SPI 0x01000000 | 44 | #define LBS_DEB_SPI 0x01000000 |
45 | #define LBS_DEB_CFG80211 0x02000000 | ||
45 | 46 | ||
46 | extern unsigned int lbs_debug; | 47 | extern unsigned int lbs_debug; |
47 | 48 | ||
@@ -86,6 +87,7 @@ do { if ((lbs_debug & (grp)) == (grp)) \ | |||
86 | #define lbs_deb_sdio(fmt, args...) LBS_DEB_LL(LBS_DEB_SDIO, " sdio", fmt, ##args) | 87 | #define lbs_deb_sdio(fmt, args...) LBS_DEB_LL(LBS_DEB_SDIO, " sdio", fmt, ##args) |
87 | #define lbs_deb_sysfs(fmt, args...) LBS_DEB_LL(LBS_DEB_SYSFS, " sysfs", fmt, ##args) | 88 | #define lbs_deb_sysfs(fmt, args...) LBS_DEB_LL(LBS_DEB_SYSFS, " sysfs", fmt, ##args) |
88 | #define lbs_deb_spi(fmt, args...) LBS_DEB_LL(LBS_DEB_SPI, " spi", fmt, ##args) | 89 | #define lbs_deb_spi(fmt, args...) LBS_DEB_LL(LBS_DEB_SPI, " spi", fmt, ##args) |
90 | #define lbs_deb_cfg80211(fmt, args...) LBS_DEB_LL(LBS_DEB_CFG80211, " cfg80211", fmt, ##args) | ||
89 | 91 | ||
90 | #define lbs_pr_info(format, args...) \ | 92 | #define lbs_pr_info(format, args...) \ |
91 | printk(KERN_INFO DRV_NAME": " format, ## args) | 93 | printk(KERN_INFO DRV_NAME": " format, ## args) |
@@ -320,7 +322,6 @@ static inline void lbs_deb_hex(unsigned int grp, const char *prompt, u8 *buf, in | |||
320 | extern const char lbs_driver_version[]; | 322 | extern const char lbs_driver_version[]; |
321 | extern u16 lbs_region_code_to_index[MRVDRV_MAX_REGION_CODE]; | 323 | extern u16 lbs_region_code_to_index[MRVDRV_MAX_REGION_CODE]; |
322 | 324 | ||
323 | extern u8 lbs_bg_rates[MAX_RATES]; | ||
324 | 325 | ||
325 | /** ENUM definition*/ | 326 | /** ENUM definition*/ |
326 | /** SNRNF_TYPE */ | 327 | /** SNRNF_TYPE */ |
@@ -396,13 +397,6 @@ enum KEY_INFO_WPA { | |||
396 | KEY_INFO_WPA_ENABLED = 0x04 | 397 | KEY_INFO_WPA_ENABLED = 0x04 |
397 | }; | 398 | }; |
398 | 399 | ||
399 | /** mesh_fw_ver */ | ||
400 | enum _mesh_fw_ver { | ||
401 | MESH_NONE = 0, /* MESH is not supported */ | ||
402 | MESH_FW_OLD, /* MESH is supported in FW V5 */ | ||
403 | MESH_FW_NEW, /* MESH is supported in FW V10 and newer */ | ||
404 | }; | ||
405 | |||
406 | /* Default values for fwt commands. */ | 400 | /* Default values for fwt commands. */ |
407 | #define FWT_DEFAULT_METRIC 0 | 401 | #define FWT_DEFAULT_METRIC 0 |
408 | #define FWT_DEFAULT_DIR 1 | 402 | #define FWT_DEFAULT_DIR 1 |