mirror of
https://github.com/breeze303/openwrt-ipq.git
synced 2025-12-16 23:41:07 +00:00
deleted: (merged upstream) package/kernel/mac80211/patches/nss/ath11k/336-ath11k-skip-status-ring-entry-processing.patch Signed-off-by: Sean Khan <datapronix@protonmail.com>
44 lines
1.4 KiB
Diff
44 lines
1.4 KiB
Diff
--- a/drivers/net/wireless/ath/ath10k/pci.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/pci.c
|
|
@@ -1975,6 +1975,7 @@ static int ath10k_pci_hif_start(struct a
|
|
|
|
ath10k_dbg(ar, ATH10K_DBG_BOOT, "boot hif start\n");
|
|
|
|
+ dev_set_threaded(ar->napi_dev, true);
|
|
ath10k_core_napi_enable(ar);
|
|
|
|
ath10k_pci_irq_enable(ar);
|
|
--- a/drivers/net/wireless/ath/ath10k/sdio.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/sdio.c
|
|
@@ -1863,6 +1863,7 @@ static int ath10k_sdio_hif_start(struct
|
|
struct ath10k_sdio *ar_sdio = ath10k_sdio_priv(ar);
|
|
int ret;
|
|
|
|
+ dev_set_threaded(&ar->napi_dev, true);
|
|
ath10k_core_napi_enable(ar);
|
|
|
|
/* Sleep 20 ms before HIF interrupts are disabled.
|
|
--- a/drivers/net/wireless/ath/ath10k/core.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/core.c
|
|
@@ -3707,6 +3707,10 @@ struct ath10k *ath10k_core_create(size_t
|
|
if (!ar->napi_dev)
|
|
goto err_free_tx_complete;
|
|
|
|
+ snprintf(ar->napi_dev->name, sizeof(ar->napi_dev->name), "ath10k_%s",
|
|
+ wiphy_name(ar->hw->wiphy));
|
|
+ dev_set_threaded(ar->napi_dev, true);
|
|
+
|
|
ret = ath10k_coredump_create(ar);
|
|
if (ret)
|
|
goto err_free_netdev;
|
|
--- a/drivers/net/wireless/ath/ath10k/ahb.c
|
|
+++ b/drivers/net/wireless/ath/ath10k/ahb.c
|
|
@@ -622,6 +622,7 @@ static int ath10k_ahb_hif_start(struct a
|
|
ath10k_core_napi_enable(ar);
|
|
ath10k_ce_enable_interrupts(ar);
|
|
ath10k_pci_enable_intx_irq(ar);
|
|
+ dev_set_threaded(&ar->napi_dev, true);
|
|
|
|
ath10k_pci_rx_post(ar);
|
|
|