mbox series

[RFC,lora-next,0/4] Get sx1301 to transmit lora packets

Message ID 20181219155616.9547-1-ben.whitten@lairdtech.com (mailing list archive)
Headers show
Series Get sx1301 to transmit lora packets | expand

Message

Ben Whitten Dec. 19, 2018, 3:56 p.m. UTC
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(-)