aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-3945.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2007-10-25 05:15:51 -0400
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:25 -0500
commitc8b0e6e19c0bcd30689cb6c6f64eb140f5d61894 (patch)
tree5c9ef861d391a3d8d56f3e24cd9920f19161f7d2 /drivers/net/wireless/iwlwifi/iwl-3945.h
parent5d08cd1dfdc57dc834c47eb9f023fcf861f3d6bf (diff)
iwlwifi: cleanup Kconfig and ifdefs to split 3945 and 4965
Currently the iwl3945 & iwl4965 drivers share some common Kconfig symbols. This split it up into options for the individual drivers and gets rid of all the CONFIG_IWLWIFI cruft. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-3945.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-3945.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.h b/drivers/net/wireless/iwlwifi/iwl-3945.h
index ab8412270f6f..d1616bf9bc8e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-3945.h
+++ b/drivers/net/wireless/iwlwifi/iwl-3945.h
@@ -445,7 +445,7 @@ union iwl_ht_rate_supp {
445 }; 445 };
446}; 446};
447 447
448#ifdef CONFIG_IWLWIFI_HT 448#ifdef CONFIG_IWL3945_HT
449#define CFG_HT_RX_AMPDU_FACTOR_DEF (0x3) 449#define CFG_HT_RX_AMPDU_FACTOR_DEF (0x3)
450#define HT_IE_MAX_AMSDU_SIZE_4K (0) 450#define HT_IE_MAX_AMSDU_SIZE_4K (0)
451#define CFG_HT_MPDU_DENSITY_2USEC (0x5) 451#define CFG_HT_MPDU_DENSITY_2USEC (0x5)
@@ -468,9 +468,9 @@ struct sta_ht_info {
468 u8 tx_chan_width; 468 u8 tx_chan_width;
469 u8 chan_width_cap; 469 u8 chan_width_cap;
470}; 470};
471#endif /*CONFIG_IWLWIFI_HT */ 471#endif /*CONFIG_IWL3945_HT */
472 472
473#ifdef CONFIG_IWLWIFI_QOS 473#ifdef CONFIG_IWL3945_QOS
474 474
475union iwl_qos_capabity { 475union iwl_qos_capabity {
476 struct { 476 struct {
@@ -499,7 +499,7 @@ struct iwl_qos_info {
499 union iwl_qos_capabity qos_cap; 499 union iwl_qos_capabity qos_cap;
500 struct iwl_qosparam_cmd def_qos_parm; 500 struct iwl_qosparam_cmd def_qos_parm;
501}; 501};
502#endif /*CONFIG_IWLWIFI_QOS */ 502#endif /*CONFIG_IWL3945_QOS */
503 503
504#define STA_PS_STATUS_WAKE 0 504#define STA_PS_STATUS_WAKE 0
505#define STA_PS_STATUS_SLEEP 1 505#define STA_PS_STATUS_SLEEP 1
@@ -598,7 +598,7 @@ extern int iwl_is_network_packet(struct iwl_priv *priv,
598 struct ieee80211_hdr *header); 598 struct ieee80211_hdr *header);
599extern int iwl_power_init_handle(struct iwl_priv *priv); 599extern int iwl_power_init_handle(struct iwl_priv *priv);
600extern int iwl_eeprom_init(struct iwl_priv *priv); 600extern int iwl_eeprom_init(struct iwl_priv *priv);
601#ifdef CONFIG_IWLWIFI_DEBUG 601#ifdef CONFIG_IWL3945_DEBUG
602extern void iwl_report_frame(struct iwl_priv *priv, 602extern void iwl_report_frame(struct iwl_priv *priv,
603 struct iwl_rx_packet *pkt, 603 struct iwl_rx_packet *pkt,
604 struct ieee80211_hdr *header, int group100); 604 struct ieee80211_hdr *header, int group100);
@@ -717,7 +717,7 @@ extern u8 iwl3945_sync_sta(struct iwl_priv *priv, int sta_id,
717 u16 tx_rate, u8 flags); 717 u16 tx_rate, u8 flags);
718 718
719 719
720#ifdef CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT 720#ifdef CONFIG_IWL3945_SPECTRUM_MEASUREMENT
721 721
722enum { 722enum {
723 MEASUREMENT_READY = (1 << 0), 723 MEASUREMENT_READY = (1 << 0),
@@ -745,7 +745,7 @@ struct iwl_priv {
745 745
746 const struct ieee80211_hw_mode *modes; 746 const struct ieee80211_hw_mode *modes;
747 747
748#ifdef CONFIG_IWLWIFI_SPECTRUM_MEASUREMENT 748#ifdef CONFIG_IWL3945_SPECTRUM_MEASUREMENT
749 /* spectrum measurement report caching */ 749 /* spectrum measurement report caching */
750 struct iwl_spectrum_notification measure_report; 750 struct iwl_spectrum_notification measure_report;
751 u8 measurement_status; 751 u8 measurement_status;
@@ -904,9 +904,9 @@ struct iwl_priv {
904 u16 assoc_capability; 904 u16 assoc_capability;
905 u8 ps_mode; 905 u8 ps_mode;
906 906
907#ifdef CONFIG_IWLWIFI_QOS 907#ifdef CONFIG_IWL3945_QOS
908 struct iwl_qos_info qos_data; 908 struct iwl_qos_info qos_data;
909#endif /*CONFIG_IWLWIFI_QOS */ 909#endif /*CONFIG_IWL3945_QOS */
910 910
911 struct workqueue_struct *workqueue; 911 struct workqueue_struct *workqueue;
912 912
@@ -941,7 +941,7 @@ struct iwl_priv {
941 u32 pm_state[16]; 941 u32 pm_state[16];
942#endif 942#endif
943 943
944#ifdef CONFIG_IWLWIFI_DEBUG 944#ifdef CONFIG_IWL3945_DEBUG
945 /* debugging info */ 945 /* debugging info */
946 u32 framecnt_to_us; 946 u32 framecnt_to_us;
947 atomic_t restrict_refcnt; 947 atomic_t restrict_refcnt;