aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath
diff options
context:
space:
mode:
authorErik Stromdahl <erik.stromdahl@gmail.com>2018-09-04 08:05:57 -0400
committerKalle Valo <kvalo@codeaurora.org>2018-09-06 12:14:59 -0400
commitd4e7f553eec3b66232e78ba6a2dfe5e2d3eb8fa0 (patch)
treef30262f71480681c9003f92d955b55ec61b1a164 /drivers/net/wireless/ath
parent852d1bf86a5bbde228e2b760c9a097d454c7508f (diff)
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>
Diffstat (limited to 'drivers/net/wireless/ath')
-rw-r--r--drivers/net/wireless/ath/ath10k/htt_rx.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_rx.c b/drivers/net/wireless/ath/ath10k/htt_rx.c
index daccf30916f0..231e5914e16a 100644
--- a/drivers/net/wireless/ath/ath10k/htt_rx.c
+++ b/drivers/net/wireless/ath/ath10k/htt_rx.c
@@ -3113,11 +3113,16 @@ static const struct ath10k_htt_rx_ops htt_rx_ops_64 = {
3113 .htt_reset_paddrs_ring = ath10k_htt_reset_paddrs_ring_64, 3113 .htt_reset_paddrs_ring = ath10k_htt_reset_paddrs_ring_64,
3114}; 3114};
3115 3115
3116static const struct ath10k_htt_rx_ops htt_rx_ops_hl = {
3117};
3118
3116void ath10k_htt_set_rx_ops(struct ath10k_htt *htt) 3119void ath10k_htt_set_rx_ops(struct ath10k_htt *htt)
3117{ 3120{
3118 struct ath10k *ar = htt->ar; 3121 struct ath10k *ar = htt->ar;
3119 3122
3120 if (ar->hw_params.target_64bit) 3123 if (ar->dev_type == ATH10K_DEV_TYPE_HL)
3124 htt->rx_ops = &htt_rx_ops_hl;
3125 else if (ar->hw_params.target_64bit)
3121 htt->rx_ops = &htt_rx_ops_64; 3126 htt->rx_ops = &htt_rx_ops_64;
3122 else 3127 else
3123 htt->rx_ops = &htt_rx_ops_32; 3128 htt->rx_ops = &htt_rx_ops_32;