[PATCH v2 0/2] Migrate QRTR Nameservice to Kernel
From: Manivannan Sadhasivam
Date: Thu Feb 20 2020 - 10:13:57 EST
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. Since
the QRTR NS is not usually packed in most of the distros, users need to clone,
build and install it to get the WiFi working. It will become a hassle when the
user doesn't have any other source of network connectivity.
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
Changes in v2:
* Sorted the local variables in reverse XMAS tree order
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 | 751 ++++++++++++++++++++++++++++++++++++++++++++++
net/qrtr/qrtr.c | 51 +---
net/qrtr/qrtr.h | 4 +
4 files changed, 767 insertions(+), 41 deletions(-)
create mode 100644 net/qrtr/ns.c
--
2.17.1