aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlegacy/iwl-dev.h
diff options
context:
space:
mode:
authorStanislaw Gruszka <sgruszka@redhat.com>2011-06-08 09:28:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-06-10 14:57:49 -0400
commitdd6d2a8aef69cfef8acf1ff7ebb22a763c9ba56f (patch)
treefef514b3dfa4755358e6549184cb45d6eed47bbb /drivers/net/wireless/iwlegacy/iwl-dev.h
parentecaee0ff07d429a8571ea015c00a211c17a86494 (diff)
iwlegacy: remove reset rf infrastructure
We do not reset radio anymore, hence don't need that code too. Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlegacy/iwl-dev.h25
1 files changed, 1 insertions, 24 deletions
diff --git a/drivers/net/wireless/iwlegacy/iwl-dev.h b/drivers/net/wireless/iwlegacy/iwl-dev.h
index ea30122669ee..c5a135a71312 100644
--- a/drivers/net/wireless/iwlegacy/iwl-dev.h
+++ b/drivers/net/wireless/iwlegacy/iwl-dev.h
@@ -895,18 +895,6 @@ struct iwl_event_log {
895#define IWL_HOST_INT_CALIB_TIMEOUT_DEF (0x10) 895#define IWL_HOST_INT_CALIB_TIMEOUT_DEF (0x10)
896#define IWL_HOST_INT_CALIB_TIMEOUT_MIN (0x0) 896#define IWL_HOST_INT_CALIB_TIMEOUT_MIN (0x0)
897 897
898/*
899 * This is the threshold value of plcp error rate per 100mSecs. It is
900 * used to set and check for the validity of plcp_delta.
901 */
902#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (1)
903#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50)
904#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF (100)
905#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF (200)
906#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255)
907#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE (0)
908
909#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3)
910#define IWL_DELAY_NEXT_FORCE_FW_RELOAD (HZ*5) 898#define IWL_DELAY_NEXT_FORCE_FW_RELOAD (HZ*5)
911 899
912/* TX queue watchdog timeouts in mSecs */ 900/* TX queue watchdog timeouts in mSecs */
@@ -914,12 +902,6 @@ struct iwl_event_log {
914#define IWL_LONG_WD_TIMEOUT (10000) 902#define IWL_LONG_WD_TIMEOUT (10000)
915#define IWL_MAX_WD_TIMEOUT (120000) 903#define IWL_MAX_WD_TIMEOUT (120000)
916 904
917enum iwl_reset {
918 IWL_RF_RESET = 0,
919 IWL_FW_RESET,
920 IWL_MAX_FORCE_RESET,
921};
922
923struct iwl_force_reset { 905struct iwl_force_reset {
924 int reset_request_count; 906 int reset_request_count;
925 int reset_success_count; 907 int reset_success_count;
@@ -1032,11 +1014,8 @@ struct iwl_priv {
1032 /* track IBSS manager (last beacon) status */ 1014 /* track IBSS manager (last beacon) status */
1033 u32 ibss_manager; 1015 u32 ibss_manager;
1034 1016
1035 /* storing the jiffies when the plcp error rate is received */
1036 unsigned long plcp_jiffies;
1037
1038 /* force reset */ 1017 /* force reset */
1039 struct iwl_force_reset force_reset[IWL_MAX_FORCE_RESET]; 1018 struct iwl_force_reset force_reset;
1040 1019
1041 /* we allocate array of iwl_channel_info for NIC's valid channels. 1020 /* we allocate array of iwl_channel_info for NIC's valid channels.
1042 * Access via channel # using indirect index array */ 1021 * Access via channel # using indirect index array */
@@ -1057,7 +1036,6 @@ struct iwl_priv {
1057 enum ieee80211_band scan_band; 1036 enum ieee80211_band scan_band;
1058 struct cfg80211_scan_request *scan_request; 1037 struct cfg80211_scan_request *scan_request;
1059 struct ieee80211_vif *scan_vif; 1038 struct ieee80211_vif *scan_vif;
1060 bool is_internal_short_scan;
1061 u8 scan_tx_ant[IEEE80211_NUM_BANDS]; 1039 u8 scan_tx_ant[IEEE80211_NUM_BANDS];
1062 u8 mgmt_tx_ant; 1040 u8 mgmt_tx_ant;
1063 1041
@@ -1256,7 +1234,6 @@ struct iwl_priv {
1256 struct iwl_rxon_context *beacon_ctx; 1234 struct iwl_rxon_context *beacon_ctx;
1257 struct sk_buff *beacon_skb; 1235 struct sk_buff *beacon_skb;
1258 1236
1259 struct work_struct start_internal_scan;
1260 struct work_struct tx_flush; 1237 struct work_struct tx_flush;
1261 1238
1262 struct tasklet_struct irq_tasklet; 1239 struct tasklet_struct irq_tasklet;