summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath11k/htc.c
diff options
context:
space:
mode:
authorGovind Singh <govinds@codeaurora.org>2020-05-08 05:55:44 +0300
committerKalle Valo <kvalo@codeaurora.org>2020-05-11 15:34:58 +0300
commit31858805f91ac79f0f0d9d982e90c68d6d3ae164 (patch)
treeab997d1d3411c884ee8f1d117e0a9085987920ce /drivers/net/wireless/ath/ath11k/htc.c
parente47210f72a681b5bd5189831f286053f7a04acb5 (diff)
ath11k: Add support for multibus support
Current design supports only AHB interface for 11ax chipset. Refactor the code by adding hif layer for bus level abstraction to support PCI based device. Signed-off-by: Govind Singh <govinds@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/20200506094400.4740-2-govinds@codeaurora.org
Diffstat (limited to 'drivers/net/wireless/ath/ath11k/htc.c')
-rw-r--r--drivers/net/wireless/ath/ath11k/htc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath11k/htc.c b/drivers/net/wireless/ath/ath11k/htc.c
index 8f54f58b83e6..1909fc3287ba 100644
--- a/drivers/net/wireless/ath/ath11k/htc.c
+++ b/drivers/net/wireless/ath/ath11k/htc.c
@@ -7,6 +7,7 @@
#include "ahb.h"
#include "debug.h"
+#include "hif.h"
struct sk_buff *ath11k_htc_alloc_skb(struct ath11k_base *ab, int size)
{
@@ -672,7 +673,7 @@ setup:
/* copy all the callbacks */
ep->ep_ops = conn_req->ep_ops;
- status = ath11k_ahb_map_service_to_pipe(htc->ab,
+ status = ath11k_hif_map_service_to_pipe(htc->ab,
ep->service_id,
&ep->ul_pipe_id,
&ep->dl_pipe_id);