iwlwifi: move PLCP defines to config
[firefly-linux-kernel-4.4.55.git] / drivers / net / wireless / iwlwifi / iwl-config.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