aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2008-10-07 21:37:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-10-31 19:00:02 -0400
commitbe5d56ed885a2897ec813eab4a8055d495816e9a (patch)
tree26cada5850d10ec41b912f66f33130727e866a33 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent1397dcebd8f1d66528e8f86b0dfb603281558f79 (diff)
iwlwifi: make initial calibration set configurable
This patch adds ability to configure initial calibration set. Not all HW supported by iwlwifi use the same calibration set, XTAL is one example. Some clean ups are also included in this patch. Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index c018121085e9..21258443141e 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -527,6 +527,7 @@ struct iwl_sensitivity_ranges {
527 * @sw_crypto: 0 for hw, 1 for sw 527 * @sw_crypto: 0 for hw, 1 for sw
528 * @max_xxx_size: for ucode uses 528 * @max_xxx_size: for ucode uses
529 * @ct_kill_threshold: temperature threshold 529 * @ct_kill_threshold: temperature threshold
530 * @calib_init_cfg: setup initial claibrations for the hw
530 * @struct iwl_sensitivity_ranges: range of sensitivity values 531 * @struct iwl_sensitivity_ranges: range of sensitivity values
531 * @first_ampdu_q: first HW queue available for ampdu 532 * @first_ampdu_q: first HW queue available for ampdu
532 */ 533 */
@@ -548,6 +549,7 @@ struct iwl_hw_params {
548 u32 max_data_size; 549 u32 max_data_size;
549 u32 max_bsm_size; 550 u32 max_bsm_size;
550 u32 ct_kill_threshold; /* value in hw-dependent units */ 551 u32 ct_kill_threshold; /* value in hw-dependent units */
552 u32 calib_init_cfg;
551 const struct iwl_sensitivity_ranges *sens; 553 const struct iwl_sensitivity_ranges *sens;
552 u8 first_ampdu_q; 554 u8 first_ampdu_q;
553}; 555};
@@ -765,7 +767,7 @@ enum {
765 767
766 768
767#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */ 769#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */
768#define IWL_CALIB_MAX 3 770#define IWL_CALIB_MAX 4
769 771
770struct iwl_priv { 772struct iwl_priv {
771 773