projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852d1bf
)
ath10k: add HTT RX HL ops
author
Erik Stromdahl
<
[email protected]
>
Tue, 4 Sep 2018 12:05:57 +0000
(15:05 +0300)
committer
Kalle Valo
<
[email protected]
>
Thu, 6 Sep 2018 16:14:59 +0000
(19:14 +0300)
Initial (empty) HTT RX ops for high latency devices.
Signed-off-by: Erik Stromdahl <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/ath10k/htt_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath10k/htt_rx.c
b/drivers/net/wireless/ath/ath10k/htt_rx.c
index daccf30916f0e42592a670df88689e667497a2e4..231e5914e16ad3ee0b44af75ca8892cc80191c34 100644
(file)
--- 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 = {
.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)
{
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;
else
htt->rx_ops = &htt_rx_ops_32;