ath10k: add HTT RX HL ops

Initial (empty) HTT RX ops for high latency devices.

Signed-off-by: Erik Stromdahl <erik.stromdahl@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Erik Stromdahl 2018-09-04 15:05:57 +03:00 committed by Kalle Valo
parent 852d1bf86a
commit d4e7f553ee
1 changed files with 6 additions and 1 deletions

View File

@ -3113,11 +3113,16 @@ static const struct ath10k_htt_rx_ops htt_rx_ops_64 = {
.htt_reset_paddrs_ring = ath10k_htt_reset_paddrs_ring_64, .htt_reset_paddrs_ring = ath10k_htt_reset_paddrs_ring_64,
}; };
static const struct ath10k_htt_rx_ops htt_rx_ops_hl = {
};
void ath10k_htt_set_rx_ops(struct ath10k_htt *htt) void ath10k_htt_set_rx_ops(struct ath10k_htt *htt)
{ {
struct ath10k *ar = htt->ar; struct ath10k *ar = htt->ar;
if (ar->hw_params.target_64bit) if (ar->dev_type == ATH10K_DEV_TYPE_HL)
htt->rx_ops = &htt_rx_ops_hl;
else if (ar->hw_params.target_64bit)
htt->rx_ops = &htt_rx_ops_64; htt->rx_ops = &htt_rx_ops_64;
else else
htt->rx_ops = &htt_rx_ops_32; htt->rx_ops = &htt_rx_ops_32;