iwlwifi: move PLCP defines to config
authorJohannes Berg <johannes.berg@intel.com>
Tue, 3 Apr 2012 18:34:46 +0000 (20:34 +0200)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Mon, 23 Apr 2012 21:29:11 +0000 (14:29 -0700)
Since they're used in the config, they
should be declared in iwl-config.h.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-config.h
drivers/net/wireless/iwlwifi/iwl-dev.h

index 47bfd5e59575fe116781e64c5b2478099e57ac79..71e6285346793726842a2e4eb802fb9e3aa5795c 100644 (file)
@@ -101,6 +101,18 @@ enum iwl_led_mode {
        IWL_LED_DISABLE,
 };
 
+/*
+ * This is the threshold value of plcp error rate per 100mSecs.  It is
+ * used to set and check for the validity of plcp_delta.
+ */
+#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN         1
+#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF         50
+#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF    100
+#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF        200
+#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX         255
+#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE     0
+
+
 /*
  * @max_ll_items: max number of OTP blocks
  * @shadow_ram_support: shadow support for OTP memory
index 6853fc72abb9fd37969208a7a92d8ed57bbc118b..80cd94226ebde3dc8d3b40ef2ca90e4368c6bd1c 100644 (file)
@@ -533,17 +533,6 @@ struct iwl_event_log {
        int wraps_more_count;
 };
 
-/*
- * This is the threshold value of plcp error rate per 100mSecs.  It is
- * used to set and check for the validity of plcp_delta.
- */
-#define IWL_MAX_PLCP_ERR_THRESHOLD_MIN (1)
-#define IWL_MAX_PLCP_ERR_THRESHOLD_DEF (50)
-#define IWL_MAX_PLCP_ERR_LONG_THRESHOLD_DEF    (100)
-#define IWL_MAX_PLCP_ERR_EXT_LONG_THRESHOLD_DEF        (200)
-#define IWL_MAX_PLCP_ERR_THRESHOLD_MAX (255)
-#define IWL_MAX_PLCP_ERR_THRESHOLD_DISABLE     (0)
-
 #define IWL_DELAY_NEXT_FORCE_RF_RESET  (HZ*3)
 
 /* TX queue watchdog timeouts in mSecs */