iwlwifi: move PLCP defines to config
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>
This commit is contained in:
parent
825751027d
commit
6c4e926297
2 changed files with 12 additions and 11 deletions
|
@ -101,6 +101,18 @@ enum iwl_led_mode {
|
||||||
IWL_LED_DISABLE,
|
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
|
* @max_ll_items: max number of OTP blocks
|
||||||
* @shadow_ram_support: shadow support for OTP memory
|
* @shadow_ram_support: shadow support for OTP memory
|
||||||
|
|
|
@ -533,17 +533,6 @@ struct iwl_event_log {
|
||||||
int wraps_more_count;
|
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)
|
#define IWL_DELAY_NEXT_FORCE_RF_RESET (HZ*3)
|
||||||
|
|
||||||
/* TX queue watchdog timeouts in mSecs */
|
/* TX queue watchdog timeouts in mSecs */
|
||||||
|
|
Loading…
Reference in a new issue