From ad5f0a3c843f3d60a1fe3b74abd0cc842cc1a2a1 Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Thu, 23 Aug 2007 13:26:43 +0300 Subject: [PATCH 23/31] iwlwifi: remove unused code This patch removes unused definitions for iwlwifi. Signed-off-by: Tomas Winkler Signed-off-by: Zhu Yi --- drivers/net/wireless/iwl-4965-hw.h | 44 ------------------------------------ 1 files changed, 0 insertions(+), 44 deletions(-) diff --git a/drivers/net/wireless/iwl-4965-hw.h b/drivers/net/wireless/iwl-4965-hw.h index 97cda41..858ec55 100644 --- a/drivers/net/wireless/iwl-4965-hw.h +++ b/drivers/net/wireless/iwl-4965-hw.h @@ -724,50 +724,6 @@ static inline __le32 iwl_hw_set_rate_n_flags(u8 rate, u16 flags) { return cpu_to_le32(flags|(u16)rate); } -#if 0 - -union iwl_dram_scratch_union { - struct iwl_dram_scratch s; - __le32 dw; -}; - -struct iwl4965_beacon_notify { - struct iwl_tx_resp beacon_notify_hdr; /*15:4 */ - __le32 low_tsf; /*19:16 */ - __le32 high_tsf; /*23:20 */ - __le32 ibss_mgr_status; /*27:24 */ -} __attribute__ ((packed)); - -struct iwl4965_tx_beacon_cmd { - struct iwl_tx_cmd tx; /*byte 55:4 */ - __le16 tim_idx; /*byte 57:56 */ - u8 tim_size; /*byte 58 */ - u8 reserved1; /*byte 59 */ - struct ieee80211_hdr frame[0]; - /* Beacon Frame */ -} __attribute__ ((packed)); - -struct iwl4965_powertable_cmd { - __le16 flags; - u8 keep_alive_seconds; - u8 debug_flags; - __le32 rx_data_timeout; - __le32 tx_data_timeout; - __le32 sleep_interval[PMC_TCMD_SLEEP_INTRVL_TABLE_SIZE]; - __le32 keep_alive_beacons; -} __attribute__ ((packed)); - -#define IWL_NUM_OF_STATIONS 32 -#define BYTE_CNT_AREA_OFFSET 0 - -enum HT_STATUS { - BA_STATUS_FAILURE = 0, - BA_STATUS_INITIATOR_DELBA, - BA_STATUS_RECIPIENT_DELBA, - BA_STATUS_RENEW_ADDBA_REQUEST, - BA_STATUS_ACTIVE, -}; -#endif #define IWL_AGC_DB_MASK (0x3f80) /* MASK(7,13) */ #define IWL_AGC_DB_POS (7) -- 1.5.2