aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
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;