From: Felix Fietkau Date: Tue, 14 Dec 2021 16:58:26 +0000 (+0100) Subject: ath10k-ct: use threaded NAPI X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=849dcaaf10caebfdf58fddc3bd75802fe1a7bd23;p=openwrt%2Fstaging%2Fnbd.git ath10k-ct: use threaded NAPI Signed-off-by: Felix Fietkau --- 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)