ath10k-ct: use threaded NAPI
authorFelix Fietkau <nbd@nbd.name>
Tue, 14 Dec 2021 16:58:26 +0000 (17:58 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 14 Dec 2021 17:07:50 +0000 (18:07 +0100)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/ath10k-ct/patches/100-napi_threaded.patch [new file with mode: 0644]

diff --git a/package/kernel/ath10k-ct/patches/100-napi_threaded.patch b/package/kernel/ath10k-ct/patches/100-napi_threaded.patch
new file mode 100644 (file)
index 0000000..7c8b9b9
--- /dev/null
@@ -0,0 +1,12 @@
+--- a/ath10k-5.15/core.c
++++ b/ath10k-5.15/core.c
+@@ -4428,6 +4428,9 @@ struct ath10k *ath10k_core_create(size_t
+       INIT_WORK(&ar->stop_scan_work, ath10k_wmi_stop_scan_work);
+       init_dummy_netdev(&ar->napi_dev);
++      snprintf(ar->napi_dev.name, sizeof(ar->napi_dev.name), "%s",
++               wiphy_name(ar->hw->wiphy));
++      ar->napi_dev.threaded = 1;
+       ret = ath10k_coredump_create(ar);
+       if (ret)