Re: [PATCH 0/2] Migrate QRTR Nameservice to Kernel
flat view
From: Manivannan Sadhasivam <hidden>
Date: 2020-02-13 15:34:10
Also in:
lkml
Hi Dan, On Thu, Feb 13, 2020 at 09:22:39AM -0600, Dan Williams wrote:
On Thu, 2020-02-13 at 14:44 +0530, Manivannan Sadhasivam wrote:quoted
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?
The primary motivation is to eliminate the need for installing and starting a userspace tool for the basic WiFi usage. This will be critical for the Qualcomm WLAN devices deployed in x86 laptops. Also, there are some plans to implement QRTR link negotiation based on this in future. Thanks, Mani
Danquoted
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