From 849dcaaf10caebfdf58fddc3bd75802fe1a7bd23 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 14 Dec 2021 17:58:26 +0100 Subject: [PATCH] ath10k-ct: use threaded NAPI Signed-off-by: Felix Fietkau --- .../kernel/ath10k-ct/patches/100-napi_threaded.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package/kernel/ath10k-ct/patches/100-napi_threaded.patch 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 index 0000000000..7c8b9b96c5 --- /dev/null +++ b/package/kernel/ath10k-ct/patches/100-napi_threaded.patch @@ -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) -- 2.30.2