Re: [PATCH 0/2] Migrate QRTR Nameservice to Kernel
From: Dan Williams <hidden>
Date: 2020-02-13 16:11:35
Also in:
lkml
On Thu, 2020-02-13 at 14:44 +0530, Manivannan Sadhasivam wrote:
Hello, This patchset migrates the Qualcomm IPC Router (QRTR) Nameservice from userspace to kernel under net/qrtr. The userspace implementation of it can be found here: https://github.com/andersson/qrtr/blob/master/src/ns.c This change is required for enabling the WiFi functionality of some Qualcomm WLAN devices using ATH11K without any dependency on a userspace daemon.
Just out of curiousity, what's the motivation for not requiring a userspace daemon? What are the downsides of the current userspace daemon implementation? Dan
The original userspace code is published under BSD3 license. For migrating it to Linux kernel, I have adapted Dual BSD/GPL license. This patchset has been verified on Dragonboard410c and Intel NUC with QCA6390 WLAN device. Thanks, Mani Manivannan Sadhasivam (2): net: qrtr: Migrate nameservice to kernel from userspace net: qrtr: Fix the local node ID as 1 net/qrtr/Makefile | 2 +- net/qrtr/ns.c | 730 ++++++++++++++++++++++++++++++++++++++++++++++ net/qrtr/qrtr.c | 51 +--- net/qrtr/qrtr.h | 4 + 4 files changed, 746 insertions(+), 41 deletions(-) create mode 100644 net/qrtr/ns.c