diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-commands.h')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-commands.h | 34 |
1 files changed, 16 insertions, 18 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/iwl-commands.h index 1fe83d45443a..77615045de69 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/iwl-commands.h | |||
@@ -2896,11 +2896,6 @@ enum { | |||
2896 | }; | 2896 | }; |
2897 | 2897 | ||
2898 | 2898 | ||
2899 | struct iwl_cal_xtal_freq { | ||
2900 | u8 cap_pin1; | ||
2901 | u8 cap_pin2; | ||
2902 | } __attribute__ ((packed)); | ||
2903 | |||
2904 | #define IWL_CALIB_INIT_CFG_ALL __constant_cpu_to_le32(0xffffffff) | 2899 | #define IWL_CALIB_INIT_CFG_ALL __constant_cpu_to_le32(0xffffffff) |
2905 | 2900 | ||
2906 | struct iwl_calib_cfg_elmnt_s { | 2901 | struct iwl_calib_cfg_elmnt_s { |
@@ -2935,31 +2930,34 @@ struct iwl_calib_cmd { | |||
2935 | u8 data[0]; | 2930 | u8 data[0]; |
2936 | } __attribute__ ((packed)); | 2931 | } __attribute__ ((packed)); |
2937 | 2932 | ||
2938 | /* "Differential Gain" opcode used in REPLY_PHY_CALIBRATION_CMD. */ | 2933 | /* IWL_PHY_CALIBRATE_DIFF_GAIN_CMD (7) */ |
2939 | |||
2940 | struct iwl_calib_diff_gain_cmd { | 2934 | struct iwl_calib_diff_gain_cmd { |
2941 | u8 opCode; /* IWL_PHY_CALIBRATE_DIFF_GAIN_CMD (7) */ | 2935 | struct iwl_calib_hdr hdr; |
2942 | u8 flags; /* not used */ | ||
2943 | __le16 reserved; | ||
2944 | s8 diff_gain_a; /* see above */ | 2936 | s8 diff_gain_a; /* see above */ |
2945 | s8 diff_gain_b; | 2937 | s8 diff_gain_b; |
2946 | s8 diff_gain_c; | 2938 | s8 diff_gain_c; |
2947 | u8 reserved1; | 2939 | u8 reserved1; |
2948 | } __attribute__ ((packed)); | 2940 | } __attribute__ ((packed)); |
2949 | 2941 | ||
2950 | struct iwl_calib_chain_noise_reset_cmd { | 2942 | struct iwl_calib_xtal_freq_cmd { |
2951 | u8 op_code; /* IWL_PHY_CALIBRATE_CHAIN_NOISE_RESET_CMD */ | 2943 | struct iwl_calib_hdr hdr; |
2952 | u8 flags; /* not used */ | 2944 | u8 cap_pin1; |
2953 | __le16 reserved; | 2945 | u8 cap_pin2; |
2946 | u8 pad[2]; | ||
2954 | } __attribute__ ((packed)); | 2947 | } __attribute__ ((packed)); |
2955 | 2948 | ||
2949 | /* IWL_PHY_CALIBRATE_CHAIN_NOISE_RESET_CMD */ | ||
2950 | struct iwl_calib_chain_noise_reset_cmd { | ||
2951 | struct iwl_calib_hdr hdr; | ||
2952 | u8 data[0]; | ||
2953 | }; | ||
2954 | |||
2955 | /* IWL_PHY_CALIBRATE_CHAIN_NOISE_GAIN_CMD */ | ||
2956 | struct iwl_calib_chain_noise_gain_cmd { | 2956 | struct iwl_calib_chain_noise_gain_cmd { |
2957 | u8 op_code; /* IWL_PHY_CALIBRATE_CHAIN_NOISE_GAIN_CMD */ | 2957 | struct iwl_calib_hdr hdr; |
2958 | u8 flags; /* not used */ | ||
2959 | __le16 reserved; | ||
2960 | u8 delta_gain_1; | 2958 | u8 delta_gain_1; |
2961 | u8 delta_gain_2; | 2959 | u8 delta_gain_2; |
2962 | __le16 reserved1; | 2960 | u8 pad[2]; |
2963 | } __attribute__ ((packed)); | 2961 | } __attribute__ ((packed)); |
2964 | 2962 | ||
2965 | /****************************************************************************** | 2963 | /****************************************************************************** |