Add infra support for discrete chipset in ath11k
cover Add infra support for discrete chipset in ath11k
QCA6390 is PCI based 11ax chipset to be supported in ath11k.
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.
Tested HW: IPQ8074A
Govind Singh (3):
ath11k: Add support for multibus support
ath11k: Add drv private for bus opaque struct
ath11k: Remove bus layer includes from upper layer
drivers/net/wireless/ath/ath11k/ahb.c | 47 +++++++++--- drivers/net/wireless/ath/ath11k/ahb.h | 22 ------ drivers/net/wireless/ath/ath11k/core.c | 47 ++++-------- drivers/net/wireless/ath/ath11k/core.h | 10 ++- drivers/net/wireless/ath/ath11k/dp.c | 1 + drivers/net/wireless/ath/ath11k/hal.c | 87 +++++++++++----------- drivers/net/wireless/ath/ath11k/hal_desc.h | 2 + drivers/net/wireless/ath/ath11k/hal_rx.c | 22 +++--- drivers/net/wireless/ath/ath11k/hal_tx.c | 13 ++-- drivers/net/wireless/ath/ath11k/hal_tx.h | 1 + drivers/net/wireless/ath/ath11k/hif.h | 65 ++++++++++++++++ drivers/net/wireless/ath/ath11k/htc.c | 4 +- drivers/net/wireless/ath/ath11k/hw.h | 5 ++ 13 files changed, 198 insertions(+), 128 deletions(-) create mode 100644 drivers/net/wireless/ath/ath11k/hif.h
Signature · 6 lines
2.22.0 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
PATCH 1/3 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.
--- drivers/net/wireless/ath/ath11k/ahb.c | 45 ++++++++++--- drivers/net/wireless/ath/ath11k/ahb.h | 22 ------ drivers/net/wireless/ath/ath11k/core.c | 41 +++-------- drivers/net/wireless/ath/ath11k/core.h | 4 +- drivers/net/wireless/ath/ath11k/dp.c | 1 + drivers/net/wireless/ath/ath11k/hal.c | 86 ++++++++++++------------ drivers/net/wireless/ath/ath11k/hal_rx.c | 21 +++--- drivers/net/wireless/ath/ath11k/hal_tx.c | 11 +-- drivers/net/wireless/ath/ath11k/hif.h | 65 ++++++++++++++++++ drivers/net/wireless/ath/ath11k/htc.c | 3 +- 10 files changed, 180 insertions(+), 119 deletions(-) create mode 100644 drivers/net/wireless/ath/ath11k/hif.h
drivers/net/wireless/ath/ath11k/ahb.c +37 -8
@@ -10,6 +10,7 @@#include <linux/dma-mapping.h> #include "ahb.h" #include "debug.h" +#include "hif.h" #include <linux/remoteproc.h> static const struct of_device_id ath11k_ahb_of_match[] = {
@@ -434,6 +435,16 @@ enum ext_irq_num { tcl2host_status_ring, }; +static inline u32 ath11k_ahb_read32 (struct ath11k_base *ab,u32 offset) +{ +return ioread32 (ab->mem + offset); +} + +static inline void ath11k_ahb_write32 (struct ath11k_base *ab,u32 offset,u32 value) +{ +iowrite32 (value, ab->mem + offset); +} +static void ath11k_ahb_kill_tasklets (struct ath11k_base *ab) {int i;
@@ -575,7 +586,7 @@ static void ath11k_ahb_ce_irqs_disable(struct ath11k_base *ab) } } -int ath11k_ahb_start (struct ath11k_base *ab) +static int ath11k_ahb_start (struct ath11k_base *ab) {ath11k_ahb_ce_irqs_enable (ab);ath11k_ce_rx_post_buf (ab);
@@ -583,7 +594,7 @@ int ath11k_ahb_start(struct ath11k_base *ab)return 0 ; } -void ath11k_ahb_ext_irq_enable (struct ath11k_base *ab) +static void ath11k_ahb_ext_irq_enable (struct ath11k_base *ab) {int i;
@@ -595,13 +606,13 @@ void ath11k_ahb_ext_irq_enable(struct ath11k_base *ab) } } -void ath11k_ahb_ext_irq_disable (struct ath11k_base *ab) +static void ath11k_ahb_ext_irq_disable (struct ath11k_base *ab) {__ath11k_ahb_ext_irq_disable (ab);ath11k_ahb_sync_ext_irqs (ab); } -void ath11k_ahb_stop (struct ath11k_base *ab) +static void ath11k_ahb_stop (struct ath11k_base *ab) {if (!test_bit (ATH11K_FLAG_CRASH_FLUSH , &ab->dev_flags))ath11k_ahb_ce_irqs_disable (ab);
@@ -611,7 +622,7 @@ void ath11k_ahb_stop(struct ath11k_base *ab)ath11k_ce_cleanup_pipes (ab); } -int ath11k_ahb_power_up (struct ath11k_base *ab) +static int ath11k_ahb_power_up (struct ath11k_base *ab) {int ret;
@@ -622,7 +633,7 @@ int ath11k_ahb_power_up(struct ath11k_base *ab)return ret; } -void ath11k_ahb_power_down (struct ath11k_base *ab) +static void ath11k_ahb_power_down (struct ath11k_base *ab) {rproc_shutdown (ab->tgt_rproc); }
@@ -834,8 +845,8 @@ static int ath11k_ahb_config_irq(struct ath11k_base *ab)return ret; } -int ath11k_ahb_map_service_to_pipe (struct ath11k_base *ab,u16 service_id, -u8 *ul_pipe,u8 *dl_pipe) +static int ath11k_ahb_map_service_to_pipe (struct ath11k_base *ab,u16 service_id, +u8 *ul_pipe,u8 *dl_pipe) {const struct service_to_pipe *entry;bool ul_set = false, dl_set = false;
@@ -877,6 +888,18 @@ int ath11k_ahb_map_service_to_pipe(struct ath11k_base *ab, u16 service_id,return 0 ; } +static const struct ath11k_hif_ops ath11k_ahb_hif_ops = { + .start = ath11k_ahb_start, + .stop = ath11k_ahb_stop, + .read32 = ath11k_ahb_read32, + .write32 = ath11k_ahb_write32, + .irq_enable = ath11k_ahb_ext_irq_enable, + .irq_disable = ath11k_ahb_ext_irq_disable, + .map_service_to_pipe = ath11k_ahb_map_service_to_pipe, + .power_down = ath11k_ahb_power_down, + .power_up = ath11k_ahb_power_up, +}; +static int ath11k_ahb_probe (struct platform_device *pdev) {struct ath11k_base *ab;
@@ -915,6 +938,7 @@ static int ath11k_ahb_probe(struct platform_device *pdev)return -ENOMEM ; } + ab->hif.ops = &ath11k_ahb_hif_ops; ab->pdev = pdev; ab->hw_rev = (enum ath11k_hw_rev )of_id->data; ab->mem = mem;
@@ -997,8 +1021,13 @@ int ath11k_ahb_init(void) {return platform_driver_register (&ath11k_ahb_driver); } +module_init (ath11k_ahb_init);void ath11k_ahb_exit (void ) {platform_driver_unregister (&ath11k_ahb_driver); } +module_exit (ath11k_ahb_exit); + +MODULE_DESCRIPTION ("Driver support for Qualcomm Technologies 802.11ax wireless chip" ); +MODULE_LICENSE ("Dual BSD/GPL" );
drivers/net/wireless/ath/ath11k/ahb.h +0 -22
@@ -10,26 +10,4 @@#define ATH11K_AHB_RECOVERY_TIMEOUT (3 * HZ)struct ath11k_base ; -static inline u32 ath11k_ahb_read32 (struct ath11k_base *ab,u32 offset) -{ -return ioread32 (ab->mem + offset); -} - -static inline void ath11k_ahb_write32 (struct ath11k_base *ab,u32 offset,u32 value) -{ -iowrite32 (value, ab->mem + offset); -} - -void ath11k_ahb_ext_irq_enable (struct ath11k_base *ab); -void ath11k_ahb_ext_irq_disable (struct ath11k_base *ab); -int ath11k_ahb_start (struct ath11k_base *ab); -void ath11k_ahb_stop (struct ath11k_base *ab); -int ath11k_ahb_power_up (struct ath11k_base *ab); -void ath11k_ahb_power_down (struct ath11k_base *ab); -int ath11k_ahb_map_service_to_pipe (struct ath11k_base *ab,u16 service_id, -u8 *ul_pipe,u8 *dl_pipe); - -int ath11k_ahb_init (void ); -void ath11k_ahb_exit (void ); -#endif
drivers/net/wireless/ath/ath11k/core.c +11 -30
105 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/core.h +3 -1
@@ -602,7 +602,9 @@ struct ath11k_base {void __iomem *mem;unsigned long mem_len; -const struct ath11k_hif_ops *hif_ops; +struct { +const struct ath11k_hif_ops *ops; + } hif;struct ath11k_ce ce;struct timer_list rx_replenish_retry;
drivers/net/wireless/ath/ath11k/dp.c +1 -0
@@ -701,6 +701,7 @@ int ath11k_dp_service_srng(struct ath11k_base *ab, done:return tot_work_done; } +EXPORT_SYMBOL (ath11k_dp_service_srng);void ath11k_dp_pdev_free (struct ath11k_base *ab) {
drivers/net/wireless/ath/ath11k/hal.c +44 -42
273 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/hal_rx.c +11 -10
@@ -9,6 +9,7 @@#include "hal_tx.h" #include "hal_rx.h" #include "hal_desc.h" +#include "hif.h" static void ath11k_hal_reo_set_desc_hdr (struct hal_desc_header *hdr,u8 owner,u8 buffer_type,u32 magic)
@@ -804,34 +805,34 @@ void ath11k_hal_reo_hw_setup(struct ath11k_base *ab, u32 ring_hash_map)u32 reo_base =HAL_SEQ_WCSS_UMAC_REO_REG ;u32 val; - val =ath11k_ahb_read32 (ab, reo_base +HAL_REO1_GEN_ENABLE ); + val =ath11k_hif_read32 (ab, reo_base +HAL_REO1_GEN_ENABLE ); val &= ~HAL_REO1_GEN_ENABLE_FRAG_DST_RING ; val |=FIELD_PREP (HAL_REO1_GEN_ENABLE_FRAG_DST_RING ,HAL_SRNG_RING_ID_REO2SW1 ) |FIELD_PREP (HAL_REO1_GEN_ENABLE_AGING_LIST_ENABLE ,1 ) |FIELD_PREP (HAL_REO1_GEN_ENABLE_AGING_FLUSH_ENABLE ,1 ); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_GEN_ENABLE , val); +ath11k_hif_write32 (ab, reo_base +HAL_REO1_GEN_ENABLE , val); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_0 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_0 ,HAL_DEFAULT_REO_TIMEOUT_USEC ); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_1 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_1 ,HAL_DEFAULT_REO_TIMEOUT_USEC ); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_2 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_2 ,HAL_DEFAULT_REO_TIMEOUT_USEC ); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_3 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_AGING_THRESH_IX_3 ,HAL_DEFAULT_REO_TIMEOUT_USEC ); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_0 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_0 ,FIELD_PREP (HAL_REO_DEST_RING_CTRL_HASH_RING_MAP , ring_hash_map)); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_1 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_1 ,FIELD_PREP (HAL_REO_DEST_RING_CTRL_HASH_RING_MAP , ring_hash_map)); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_2 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_2 ,FIELD_PREP (HAL_REO_DEST_RING_CTRL_HASH_RING_MAP , ring_hash_map)); -ath11k_ahb_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_3 , +ath11k_hif_write32 (ab, reo_base +HAL_REO1_DEST_RING_CTRL_IX_3 ,FIELD_PREP (HAL_REO_DEST_RING_CTRL_HASH_RING_MAP , ring_hash_map)); }
drivers/net/wireless/ath/ath11k/hal_tx.c +6 -5
@@ -6,6 +6,7 @@#include "ahb.h" #include "hal.h" #include "hal_tx.h" +#include "hif.h" #define DSCP_TID_MAP_TBL_ENTRY_SIZE 64
@@ -83,11 +84,11 @@ void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id)u32 value;int cnt =0 ; - ctrl_reg_val =ath11k_ahb_read32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG + + ctrl_reg_val =ath11k_hif_read32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG +HAL_TCL1_RING_CMN_CTRL_REG );/* Enable read/write access */ ctrl_reg_val |=HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN ; -ath11k_ahb_write32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG + +ath11k_hif_write32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG +HAL_TCL1_RING_CMN_CTRL_REG , ctrl_reg_val); addr = HAL_SEQ_WCSS_UMAC_TCL_REG + HAL_TCL1_RING_DSCP_TID_MAP +
@@ -118,15 +119,15 @@ void ath11k_hal_tx_set_dscp_tid_map(struct ath11k_base *ab, int id) }for (i =0 ; i <HAL_DSCP_TID_TBL_SIZE ; i +=4 ) { -ath11k_ahb_write32 (ab, addr, *(u32 *)&hw_map_val[i]); +ath11k_hif_write32 (ab, addr, *(u32 *)&hw_map_val[i]); addr +=4 ; }/* Disable read/write access */ - ctrl_reg_val =ath11k_ahb_read32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG + + ctrl_reg_val =ath11k_hif_read32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG +HAL_TCL1_RING_CMN_CTRL_REG ); ctrl_reg_val &= ~HAL_TCL1_RING_CMN_CTRL_DSCP_TID_MAP_PROG_EN ; -ath11k_ahb_write32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG + +ath11k_hif_write32 (ab,HAL_SEQ_WCSS_UMAC_TCL_REG +HAL_TCL1_RING_CMN_CTRL_REG , ctrl_reg_val); }
drivers/net/wireless/ath/ath11k/hif.h new file +65 -0
65 lines not on this page · raw message
drivers/net/wireless/ath/ath11k/htc.c +2 -1
@@ -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 @@ int ath11k_htc_connect_service(struct ath11k_htc *htc,/* 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);
Signature · 6 lines
2.22.0 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 1/3] ath11k: Add support for multibus support
Quoted 6 lines · Govind Singh
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 <[email protected]>Signed-off-by Kalle Valo <[email protected]>
This had sparse warnings, I fixed them in the pending branch:
drivers/net/wireless/ath/ath11k/ahb.c:1020:5: warning: no previous prototype for 'ath11k_ahb_init' [-Wmissing-prototypes] drivers/net/wireless/ath/ath11k/ahb.c:1026:6: warning: no previous prototype for 'ath11k_ahb_exit' [-Wmissing-prototypes] drivers/net/wireless/ath/ath11k/ahb.c:1020:5: warning: symbol 'ath11k_ahb_init' was not declared. Should it be static? drivers/net/wireless/ath/ath11k/ahb.c:1026:6: warning: symbol 'ath11k_ahb_exit' was not declared. Should it be static?
Signature · 3 lines
https://patchwork.kernel.org/patch/11530873/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [PATCH 1/3] ath11k: Add support for multibus support
In reply to Govind SinghQuoted 6 lines · Govind Singh
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 <[email protected]>Signed-off-by Kalle Valo <[email protected]>
This had sparse warnings, I fixed them in the pending branch:
drivers/net/wireless/ath/ath11k/ahb.c:1020:5: warning: no previous prototype for 'ath11k_ahb_init' [-Wmissing-prototypes] drivers/net/wireless/ath/ath11k/ahb.c:1026:6: warning: no previous prototype for 'ath11k_ahb_exit' [-Wmissing-prototypes] drivers/net/wireless/ath/ath11k/ahb.c:1020:5: warning: symbol 'ath11k_ahb_init' was not declared. Should it be static? drivers/net/wireless/ath/ath11k/ahb.c:1026:6: warning: symbol 'ath11k_ahb_exit' was not declared. Should it be static?
Signature · 8 lines
https://patchwork.kernel.org/patch/11530873/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Re: [PATCH 1/3] ath11k: Add support for multibus support
In reply to Govind SinghQuoted 6 lines · Govind Singh
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 <[email protected]>Signed-off-by Kalle Valo <[email protected]>
3 patches applied to ath-next branch of ath.git, thanks.
31858805f91a ath11k: Add support for multibus support 630ad41c195c ath11k: Add drv private for bus opaque struct 27143fa93c3b ath11k: Remove bus layer includes from upper layer
Signature · 3 lines
https://patchwork.kernel.org/patch/11530873/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Re: [PATCH 1/3] ath11k: Add support for multibus support
In reply to Govind SinghQuoted 6 lines · Govind Singh
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 <[email protected]>Signed-off-by Kalle Valo <[email protected]>
3 patches applied to ath-next branch of ath.git, thanks.
31858805f91a ath11k: Add support for multibus support 630ad41c195c ath11k: Add drv private for bus opaque struct 27143fa93c3b ath11k: Remove bus layer includes from upper layer
Signature · 8 lines
https://patchwork.kernel.org/patch/11530873/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
PATCH 2/3 ath11k: Add drv private for bus opaque struct
In reply to Govind SinghAdd drv private opaque structure to have bus level structure for multibus support.
--- drivers/net/wireless/ath/ath11k/ahb.c | 2 +- drivers/net/wireless/ath/ath11k/core.c | 5 +++-- drivers/net/wireless/ath/ath11k/core.h | 6 +++++- drivers/net/wireless/ath/ath11k/hw.h | 5 +++++ 4 files changed, 14 insertions(+), 4 deletions(-)
drivers/net/wireless/ath/ath11k/ahb.c +1 -1
@@ -932,7 +932,7 @@ static int ath11k_ahb_probe(struct platform_device *pdev)return ret; } - ab =ath11k_core_alloc (&pdev->dev); + ab =ath11k_core_alloc (&pdev->dev,0 ,ATH11K_BUS_AHB );if (!ab) {dev_err (&pdev->dev,"failed to allocate ath11k base\n" );return -ENOMEM ;
drivers/net/wireless/ath/ath11k/core.c +3 -2
@@ -756,11 +756,12 @@ void ath11k_core_free(struct ath11k_base *ab)kfree (ab); } -struct ath11k_base *ath11k_core_alloc (struct device *dev) +struct ath11k_base *ath11k_core_alloc (struct device *dev,size_t priv_size, +enum ath11k_bus bus) {struct ath11k_base *ab; - ab =kzalloc (sizeof (*ab),GFP_KERNEL ); + ab =kzalloc (sizeof (*ab) + priv_size,GFP_KERNEL );if (!ab)return NULL ;
drivers/net/wireless/ath/ath11k/core.h +5 -1
@@ -662,6 +662,9 @@ struct ath11k_base {/* Round robbin based TCL ring selector */ atomic_t tcl_ring_selector; + +/* must be last */ +u8 drv_priv[0 ]__aligned(sizeof(void *)) ; };struct ath11k_fw_stats_pdev {
@@ -798,7 +801,8 @@ struct ath11k_peer *ath11k_peer_find_by_id(struct ath11k_base *ab, int peer_id);int ath11k_core_qmi_firmware_ready (struct ath11k_base *ab);int ath11k_core_init (struct ath11k_base *ath11k);void ath11k_core_deinit (struct ath11k_base *ath11k); -struct ath11k_base *ath11k_core_alloc (struct device *dev); +struct ath11k_base *ath11k_core_alloc (struct device *dev,size_t priv_size, +enum ath11k_bus bus);void ath11k_core_free (struct ath11k_base *ath11k);int ath11k_core_fetch_bdf (struct ath11k_base *ath11k,struct ath11k_board_data *bd);
drivers/net/wireless/ath/ath11k/hw.h +5 -0
@@ -99,6 +99,11 @@ enum ath11k_hw_rate_ofdm { ATH11K_HW_RATE_OFDM_9M, }; +enum ath11k_bus { +ATH11K_BUS_AHB , +ATH11K_BUS_PCI , +}; +struct ath11k_hw_params {const char *name;struct {
Signature · 1 line
2.22.0
PATCH 3/3 ath11k: Remove bus layer includes from upper layer
In reply to Govind SinghBus level header files needs to be abstracted by upper layer. Remove bus layer includes by adding appropriate header files.
--- drivers/net/wireless/ath/ath11k/core.c | 1 - drivers/net/wireless/ath/ath11k/hal.c | 1 - drivers/net/wireless/ath/ath11k/hal_desc.h | 2 ++ drivers/net/wireless/ath/ath11k/hal_rx.c | 1 - drivers/net/wireless/ath/ath11k/hal_tx.c | 2 +- drivers/net/wireless/ath/ath11k/hal_tx.h | 1 + drivers/net/wireless/ath/ath11k/htc.c | 1 - 7 files changed, 4 insertions(+), 5 deletions(-)
drivers/net/wireless/ath/ath11k/core.c +0 -1
@@ -7,7 +7,6 @@#include <linux/slab.h> #include <linux/remoteproc.h> #include <linux/firmware.h> -#include "ahb.h" #include "core.h" #include "dp_tx.h" #include "dp_rx.h"
drivers/net/wireless/ath/ath11k/hal.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ #include <linux/dma-mapping.h> -#include "ahb.h" #include "hal_tx.h" #include "debug.h" #include "hal_desc.h"
drivers/net/wireless/ath/ath11k/hal_desc.h +2 -0
@@ -2,6 +2,8 @@/* * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ +#include "core.h" +#ifndef ATH11K_HAL_DESC_H #define ATH11K_HAL_DESC_H
drivers/net/wireless/ath/ath11k/hal_rx.c +0 -1
@@ -3,7 +3,6 @@* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ -#include "ahb.h" #include "debug.h" #include "hal.h" #include "hal_tx.h"
drivers/net/wireless/ath/ath11k/hal_tx.c +1 -1
@@ -3,7 +3,7 @@* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. */ -#include "ahb.h" +#include "hal_desc.h" #include "hal.h" #include "hal_tx.h" #include "hif.h"
drivers/net/wireless/ath/ath11k/hal_tx.h +1 -0
@@ -7,6 +7,7 @@#define ATH11K_HAL_TX_H #include "hal_desc.h" +#include "core.h" #define HAL_TX_ADDRX_EN 1#define HAL_TX_ADDRY_EN 2
drivers/net/wireless/ath/ath11k/htc.c +0 -1
@@ -5,7 +5,6 @@#include <linux/skbuff.h> #include <linux/ctype.h> -#include "ahb.h" #include "debug.h" #include "hif.h"
Signature · 1 line
2.22.0