aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-07-21 11:54:42 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-08-04 15:09:11 -0400
commit4fc22b21b3fcb3580c32b70605ef114178f8e611 (patch)
tree331f18d556dbe75f27eefd1d57c455f0e70e6eee /drivers/net/wireless/iwlwifi/iwl-dev.h
parent3ac7f14694dd38273d9d96f1c873233d71190c15 (diff)
iwlwifi: rename 4965 to AGN
This patch renames driver name from 4965 to AGN The driver supports both 4965AGN and 5000AGN family The driver's original module name iwl4965.ko remains as an alias Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 7ac56b1350b7..848786ab7916 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -36,7 +36,7 @@
36#include <linux/kernel.h> 36#include <linux/kernel.h>
37#include <net/ieee80211_radiotap.h> 37#include <net/ieee80211_radiotap.h>
38 38
39#define DRV_NAME "iwl4965" 39#define DRV_NAME "iwlagn"
40#include "iwl-rfkill.h" 40#include "iwl-rfkill.h"
41#include "iwl-eeprom.h" 41#include "iwl-eeprom.h"
42#include "iwl-4965-hw.h" 42#include "iwl-4965-hw.h"
@@ -808,14 +808,11 @@ struct iwl_chain_noise_data {
808#define EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */ 808#define EEPROM_SEM_RETRY_LIMIT 1000 /* number of attempts (not time) */
809 809
810 810
811#ifdef CONFIG_IWL4965_SPECTRUM_MEASUREMENT
812
813enum { 811enum {
814 MEASUREMENT_READY = (1 << 0), 812 MEASUREMENT_READY = (1 << 0),
815 MEASUREMENT_ACTIVE = (1 << 1), 813 MEASUREMENT_ACTIVE = (1 << 1),
816}; 814};
817 815
818#endif
819 816
820#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */ 817#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */
821 818
@@ -840,7 +837,7 @@ struct iwl_priv {
840 837
841 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS]; 838 struct ieee80211_supported_band bands[IEEE80211_NUM_BANDS];
842 839
843#ifdef CONFIG_IWL4965_SPECTRUM_MEASUREMENT 840#ifdef CONFIG_IWLAGN_SPECTRUM_MEASUREMENT
844 /* spectrum measurement report caching */ 841 /* spectrum measurement report caching */
845 struct iwl4965_spectrum_notification measure_report; 842 struct iwl4965_spectrum_notification measure_report;
846 u8 measurement_status; 843 u8 measurement_status;