forked from Minki/linux
iwlwifi: move calibration from iwlcore to iwlagn
All the calibrations are "agn" only functions, move from iwlcore to iwlagn. Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
This commit is contained in:
parent
f3aebeeebc
commit
f84ac08db2
@ -1,6 +1,6 @@
|
||||
obj-$(CONFIG_IWLWIFI) += iwlcore.o
|
||||
iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o
|
||||
iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o iwl-calib.o
|
||||
iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o
|
||||
iwlcore-objs += iwl-scan.o iwl-led.o
|
||||
iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
|
||||
iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
|
||||
@ -11,7 +11,7 @@ CFLAGS_iwl-devtrace.o := -I$(src)
|
||||
obj-$(CONFIG_IWLAGN) += iwlagn.o
|
||||
iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o iwl-agn-ict.o
|
||||
iwlagn-objs += iwl-agn-ucode.o iwl-agn-hcmd.o iwl-agn-tx.o
|
||||
iwlagn-objs += iwl-agn-lib.o iwl-agn-rx.o
|
||||
iwlagn-objs += iwl-agn-lib.o iwl-agn-rx.o iwl-agn-calib.o
|
||||
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o
|
||||
|
||||
iwlagn-$(CONFIG_IWL4965) += iwl-4965.o
|
||||
|
@ -106,7 +106,6 @@ err:
|
||||
IWL_ERR(priv, "Error %d iteration %d\n", ret, i);
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_send_calib_results);
|
||||
|
||||
int iwl_calib_set(struct iwl_calib_result *res, const u8 *buf, int len)
|
||||
{
|
||||
@ -121,7 +120,6 @@ int iwl_calib_set(struct iwl_calib_result *res, const u8 *buf, int len)
|
||||
memcpy(res->buf, buf, len);
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_calib_set);
|
||||
|
||||
void iwl_calib_free_results(struct iwl_priv *priv)
|
||||
{
|
||||
@ -133,7 +131,6 @@ void iwl_calib_free_results(struct iwl_priv *priv)
|
||||
priv->calib_results[i].buf_len = 0;
|
||||
}
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_calib_free_results);
|
||||
|
||||
/*****************************************************************************
|
||||
* RUNTIME calibrations framework
|
||||
@ -533,7 +530,6 @@ void iwl_init_sensitivity(struct iwl_priv *priv)
|
||||
ret |= iwl_sensitivity_write(priv);
|
||||
IWL_DEBUG_CALIB(priv, "<<return 0x%X\n", ret);
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_init_sensitivity);
|
||||
|
||||
void iwl_sensitivity_calibration(struct iwl_priv *priv,
|
||||
struct iwl_notif_statistics *resp)
|
||||
@ -639,7 +635,6 @@ void iwl_sensitivity_calibration(struct iwl_priv *priv,
|
||||
iwl_sens_energy_cck(priv, norm_fa_cck, rx_enable_time, &statis);
|
||||
iwl_sensitivity_write(priv);
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_sensitivity_calibration);
|
||||
|
||||
static inline u8 find_first_chain(u8 mask)
|
||||
{
|
||||
@ -897,8 +892,6 @@ void iwl_chain_noise_calibration(struct iwl_priv *priv,
|
||||
data->state = IWL_CHAIN_NOISE_DONE;
|
||||
iwl_power_update_mode(priv, false);
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_chain_noise_calibration);
|
||||
|
||||
|
||||
void iwl_reset_run_time_calib(struct iwl_priv *priv)
|
||||
{
|
||||
@ -915,5 +908,3 @@ void iwl_reset_run_time_calib(struct iwl_priv *priv)
|
||||
* periodically after association */
|
||||
iwl_send_statistics_request(priv, CMD_ASYNC, true);
|
||||
}
|
||||
EXPORT_SYMBOL(iwl_reset_run_time_calib);
|
||||
|
Loading…
Reference in New Issue
Block a user