Commit d6af906d authored by Anilkumar Kolli's avatar Anilkumar Kolli Committed by Kalle Valo

ath11k: qmi clean up ce and HTC service config update

Copy CE and htc service configs for all pipes.
Signed-off-by: default avatarAnilkumar Kolli <akolli@codeaurora.org>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent e8da3986
......@@ -635,11 +635,10 @@ static void ath11k_ahb_init_qmi_ce_config(struct ath11k_base *ab)
{
struct ath11k_qmi_ce_cfg *cfg = &ab->qmi.ce_cfg;
cfg->tgt_ce = (u8 *)target_ce_config_wlan;
cfg->tgt_ce_len = sizeof(target_ce_config_wlan);
cfg->svc_to_ce_map = (u8 *)target_service_to_ce_map_wlan;
cfg->svc_to_ce_map_len = sizeof(target_service_to_ce_map_wlan);
cfg->tgt_ce_len = ARRAY_SIZE(target_ce_config_wlan) - 1;
cfg->tgt_ce = target_ce_config_wlan;
cfg->svc_to_ce_map_len = ARRAY_SIZE(target_service_to_ce_map_wlan);
cfg->svc_to_ce_map = target_service_to_ce_map_wlan;
}
static void ath11k_ahb_free_ext_irq(struct ath11k_base *ab)
......
......@@ -66,9 +66,9 @@ struct ath11k_qmi_driver_event {
};
struct ath11k_qmi_ce_cfg {
const u8 *tgt_ce;
const struct ce_pipe_config *tgt_ce;
int tgt_ce_len;
const u8 *svc_to_ce_map;
const struct service_to_pipe *svc_to_ce_map;
int svc_to_ce_map_len;
const u8 *shadow_reg;
int shadow_reg_len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment