diff options
author | Erik Stromdahl <erik.stromdahl@gmail.com> | 2018-09-04 08:05:43 -0400 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-09-06 12:14:48 -0400 |
commit | 852d1bf86a5bbde228e2b760c9a097d454c7508f (patch) | |
tree | 3bd8f91f30f5f5764febc4df57c743d47bcb6d51 /drivers/net/wireless/ath | |
parent | e66d5361127a485e5d136c870e4019a95907bd7c (diff) |
ath10k: add HTT TX HL ops
Initial HTT TX 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_tx.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath10k/htt_tx.c b/drivers/net/wireless/ath/ath10k/htt_tx.c index 965acd57b22f..9cbfc45b4b60 100644 --- a/drivers/net/wireless/ath/ath10k/htt_tx.c +++ b/drivers/net/wireless/ath/ath10k/htt_tx.c | |||
@@ -1562,11 +1562,17 @@ static const struct ath10k_htt_tx_ops htt_tx_ops_64 = { | |||
1562 | .htt_free_txbuff = ath10k_htt_tx_free_cont_txbuf_64, | 1562 | .htt_free_txbuff = ath10k_htt_tx_free_cont_txbuf_64, |
1563 | }; | 1563 | }; |
1564 | 1564 | ||
1565 | static const struct ath10k_htt_tx_ops htt_tx_ops_hl = { | ||
1566 | .htt_send_frag_desc_bank_cfg = ath10k_htt_send_frag_desc_bank_cfg_32, | ||
1567 | }; | ||
1568 | |||
1565 | void ath10k_htt_set_tx_ops(struct ath10k_htt *htt) | 1569 | void ath10k_htt_set_tx_ops(struct ath10k_htt *htt) |
1566 | { | 1570 | { |
1567 | struct ath10k *ar = htt->ar; | 1571 | struct ath10k *ar = htt->ar; |
1568 | 1572 | ||
1569 | if (ar->hw_params.target_64bit) | 1573 | if (ar->dev_type == ATH10K_DEV_TYPE_HL) |
1574 | htt->tx_ops = &htt_tx_ops_hl; | ||
1575 | else if (ar->hw_params.target_64bit) | ||
1570 | htt->tx_ops = &htt_tx_ops_64; | 1576 | htt->tx_ops = &htt_tx_ops_64; |
1571 | else | 1577 | else |
1572 | htt->tx_ops = &htt_tx_ops_32; | 1578 | htt->tx_ops = &htt_tx_ops_32; |