提交 df2a4dc8 编写于 作者: W Wey-Yi Guy

iwlagn: set correct calibration flag

Set calibration config flag for complete notification
Signed-off-by: NWey-Yi Guy <wey-yi.w.guy@intel.com>
上级 6bd4dba3
...@@ -190,7 +190,8 @@ static int iwlagn_send_calib_cfg(struct iwl_priv *priv) ...@@ -190,7 +190,8 @@ static int iwlagn_send_calib_cfg(struct iwl_priv *priv)
calib_cfg_cmd.ucd_calib_cfg.once.is_enable = IWL_CALIB_INIT_CFG_ALL; calib_cfg_cmd.ucd_calib_cfg.once.is_enable = IWL_CALIB_INIT_CFG_ALL;
calib_cfg_cmd.ucd_calib_cfg.once.start = IWL_CALIB_INIT_CFG_ALL; calib_cfg_cmd.ucd_calib_cfg.once.start = IWL_CALIB_INIT_CFG_ALL;
calib_cfg_cmd.ucd_calib_cfg.once.send_res = IWL_CALIB_INIT_CFG_ALL; calib_cfg_cmd.ucd_calib_cfg.once.send_res = IWL_CALIB_INIT_CFG_ALL;
calib_cfg_cmd.ucd_calib_cfg.flags = IWL_CALIB_INIT_CFG_ALL; calib_cfg_cmd.ucd_calib_cfg.flags =
IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK;
return trans_send_cmd(priv, &cmd); return trans_send_cmd(priv, &cmd);
} }
......
...@@ -3168,7 +3168,8 @@ enum { ...@@ -3168,7 +3168,8 @@ enum {
#define IWL_MAX_PHY_CALIBRATE_TBL_SIZE (253) #define IWL_MAX_PHY_CALIBRATE_TBL_SIZE (253)
#define IWL_CALIB_INIT_CFG_ALL cpu_to_le32(0xffffffff) #define IWL_CALIB_INIT_CFG_ALL cpu_to_le32(0xffffffff)
#define IWL_CALIB_CFG_FLAG_SEND_COMPLETE_NTFY_MSK cpu_to_le32(BIT(0))
/* This enum defines the bitmap of various calibrations to enable in both /* This enum defines the bitmap of various calibrations to enable in both
* init ucode and runtime ucode through CALIBRATION_CFG_CMD. * init ucode and runtime ucode through CALIBRATION_CFG_CMD.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册