From: Ben Whitten Subject: [PATCH RFC lora-next 0/4] Get sx1301 to transmit lora packets Date: Wed, 19 Dec 2018 15:56:12 +0000 Message-ID: <20181219155616.9547-1-ben.whitten@lairdtech.com> Cc: linux-lpwan@lists.infradead.org, linux-arm-kernel@lists.infradead.org, netdev@vger.kernel.org, Ben Whitten To: starnight@g.ncu.edu.tw, jiri@resnulli.us, afaerber@suse.de Return-path: Received: from mail-wr1-f67.google.com ([209.85.221.67]:41221 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729318AbeLSP41 (ORCPT ); Wed, 19 Dec 2018 10:56:27 -0500 Received: by mail-wr1-f67.google.com with SMTP id x10so20027749wrs.8 for ; Wed, 19 Dec 2018 07:56:25 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: If we ignore the first commit here which corrects style issues this series gets the AGC firmware running then implements framing over the lora socket to get the metadata the concentrator needs to send a lora packet. It could be that we need two protocals in the lora protocal family, one raw and used for node devices, and one with framing and used in gateways. But it depends if node devices need information from the LoRaWAN layer such as spreading factor and coding rate to initiate a transmission. I tested this with a tx_test userspace application [1] to adjust bandwidth. [1] https://github.com/BWhitten/lora-modules/blob/master/tx_test.c Ben Whitten (4): net: lora: sx125x sx1301: correct style warnings net: lora: sx1301: add minimal to get AGC working prior to tx work net: lora: sx1301: add minimal to get transmission out net: lora: sx1301: introduce a lora frame for packet metadata drivers/net/lora/dev.c | 2 - drivers/net/lora/sx125x.c | 20 +- drivers/net/lora/sx1301.c | 529 ++++++++++++++++++++++++++++++++++++-- drivers/net/lora/sx1301.h | 44 +++- include/uapi/linux/lora.h | 46 ++++ 5 files changed, 602 insertions(+), 39 deletions(-) -- 2.17.1