|
|
@@ -3307,13 +3307,10 @@ static void rtl8xxxu_phy_iqcalibrate(struct rtl8xxxu_priv *priv,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-void rtl8xxxu_prepare_calibrate(struct rtl8xxxu_priv *priv, u8 start)
|
|
|
+void rtl8xxxu_gen2_prepare_calibrate(struct rtl8xxxu_priv *priv, u8 start)
|
|
|
{
|
|
|
struct h2c_cmd h2c;
|
|
|
|
|
|
- if (priv->fops->mbox_ext_width < 4)
|
|
|
- return;
|
|
|
-
|
|
|
memset(&h2c, 0, sizeof(struct h2c_cmd));
|
|
|
h2c.bt_wlan_calibration.cmd = H2C_8723B_BT_WLAN_CALIBRATION;
|
|
|
h2c.bt_wlan_calibration.data = start;
|
|
|
@@ -3332,8 +3329,6 @@ void rtl8xxxu_gen1_phy_iq_calibrate(struct rtl8xxxu_priv *priv)
|
|
|
s32 reg_tmp = 0;
|
|
|
bool simu;
|
|
|
|
|
|
- rtl8xxxu_prepare_calibrate(priv, 1);
|
|
|
-
|
|
|
memset(result, 0, sizeof(result));
|
|
|
candidate = -1;
|
|
|
|
|
|
@@ -3421,8 +3416,6 @@ void rtl8xxxu_gen1_phy_iq_calibrate(struct rtl8xxxu_priv *priv)
|
|
|
|
|
|
rtl8xxxu_save_regs(priv, rtl8xxxu_iqk_phy_iq_bb_reg,
|
|
|
priv->bb_recovery_backup, RTL8XXXU_BB_REGS);
|
|
|
-
|
|
|
- rtl8xxxu_prepare_calibrate(priv, 0);
|
|
|
}
|
|
|
|
|
|
static void rtl8723a_phy_lc_calibrate(struct rtl8xxxu_priv *priv)
|