Skip to content

RFC Get sx1301 to transmit lora packets

Ben Whitten linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: lora: sx125x sx1301: correct style warningsdrivers/net/lora/sx125x.c drivers/net/lora/sx1301.c drivers/net/lora/sx1301.h+45 -342 replies
2/4net: lora: sx1301: add minimal to get AGC working prior to tx workdrivers/net/lora/sx1301.c drivers/net/lora/sx1301.h+268 -22 replies
3/4net: lora: sx1301: add minimal to get transmission outdrivers/net/lora/sx1301.c drivers/net/lora/sx1301.h+186 -11 reply
4/4net: lora: sx1301: introduce a lora frame for packet metadatadrivers/net/lora/dev.c drivers/net/lora/sx1301.c include/uapi/linux/lora.h+114 -131 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH RFC lora-next 0/4] Get sx1301 to transmit lora packets

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(-)
Signature · 1 line
2.17.1