aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 0711b35b9ade..5a55c876917d 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -728,13 +728,10 @@ struct statistics_general_data {
728 u32 beacon_energy_c; 728 u32 beacon_energy_c;
729}; 729};
730 730
731struct iwl_calib_results { 731/* Opaque calibration results */
732 void *tx_iq_res; 732struct iwl_calib_result {
733 void *tx_iq_perd_res; 733 void *buf;
734 void *lo_res; 734 size_t buf_len;
735 u32 tx_iq_res_len;
736 u32 tx_iq_perd_res_len;
737 u32 lo_res_len;
738}; 735};
739 736
740enum ucode_type { 737enum ucode_type {
@@ -796,6 +793,7 @@ enum {
796 793
797 794
798#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */ 795#define IWL_MAX_NUM_QUEUES 20 /* FIXME: do dynamic allocation */
796#define IWL_CALIB_MAX 3
799 797
800struct iwl_priv { 798struct iwl_priv {
801 799
@@ -839,7 +837,7 @@ struct iwl_priv {
839 s32 last_temperature; 837 s32 last_temperature;
840 838
841 /* init calibration results */ 839 /* init calibration results */
842 struct iwl_calib_results calib_results; 840 struct iwl_calib_result calib_results[IWL_CALIB_MAX];
843 841
844 /* Scan related variables */ 842 /* Scan related variables */
845 unsigned long last_scan_jiffies; 843 unsigned long last_scan_jiffies;