summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwlwifi/iwl-fw.h
diff options
context:
space:
mode:
authorLuciano Coelho <luciano.coelho@intel.com>2013-08-12 20:30:21 +0400
committerJohannes Berg <johannes.berg@intel.com>2013-08-16 14:11:36 +0400
commit66140adc22aacd95037ac9f89eeff61676d36cce (patch)
tree265f2abbfd221714b850c7cbb0a83442ab15a0f3 /drivers/net/wireless/iwlwifi/iwl-fw.h
parent7abc4632bf1259a491188266a9aaa82ddeb55ff3 (diff)
downloadlinux-66140adc22aacd95037ac9f89eeff61676d36cce.tar.xz
iwlwifi: use a macro for default probe length
Instead of assigning the default max probe length to 200 in the main code, create a macro for consistency and clarity. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-fw.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-fw.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-fw.h b/drivers/net/wireless/iwlwifi/iwl-fw.h
index 1705d245dbe9..a1223680bc70 100644
--- a/drivers/net/wireless/iwlwifi/iwl-fw.h
+++ b/drivers/net/wireless/iwlwifi/iwl-fw.h
@@ -99,6 +99,9 @@ enum iwl_ucode_tlv_flag {
#define IWL_MAX_STANDARD_PHY_CALIBRATE_TBL_SIZE 19
#define IWL_MAX_PHY_CALIBRATE_TBL_SIZE 253
+/* The default max probe length if not specified by the firmware file */
+#define IWL_DEFAULT_MAX_PROBE_LENGTH 200
+
/**
* enum iwl_ucode_type
*