ath10k: Add support for 64 bit htt rx ring cfg
WCN3900 target uses 64bit rx_ring_base_paddr and fw_idx_shadow_reg_paddr fields in HTT rx ring cfg message. These address points to the memory region where remote ring empty buffers are allocated. In order to add 64 bit htt rx ring cfg, define separate 64 bit htt rx ring cfg message and attach it in runtime based on target_64bit hw param flag. Signed-off-by: Govind Singh <govinds@qti.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
@@ -207,6 +207,8 @@ int ath10k_htt_init(struct ath10k *ar)
|
||||
WARN_ON(1);
|
||||
return -EINVAL;
|
||||
}
|
||||
ath10k_htt_set_tx_ops(htt);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -258,7 +260,7 @@ int ath10k_htt_setup(struct ath10k_htt *htt)
|
||||
if (status)
|
||||
return status;
|
||||
|
||||
status = ath10k_htt_send_rx_ring_cfg_ll(htt);
|
||||
status = htt->tx_ops->htt_send_rx_ring_cfg(htt);
|
||||
if (status) {
|
||||
ath10k_warn(ar, "failed to setup rx ring: %d\n",
|
||||
status);
|
||||
|
Reference in New Issue
Block a user