Thread (11 messages) 11 messages, 2 authors, 2019-01-05

Re: [PATCH RFC lora-next 3/4] net: lora: sx1301: add minimal to get transmission out

From: Andreas Färber <afaerber@suse.de>
Date: 2018-12-30 20:21:29
Also in: linux-arm-kernel, lkml

Am 19.12.18 um 16:56 schrieb Ben Whitten:
quoted hunk ↗ jump to hunk
diff --git a/drivers/net/lora/sx1301.c b/drivers/net/lora/sx1301.c
index 0c7b6d0b31af..9bcbb967f307 100644
--- a/drivers/net/lora/sx1301.c
+++ b/drivers/net/lora/sx1301.c
@@ -24,6 +24,44 @@
 
 #include "sx1301.h"
 
+struct sx1301_tx_header {
+	u8	tx_freq[3];
[...]
+	/* HACK set to 868MHz */
+	hdr->tx_freq[0] = 217;
+	hdr->tx_freq[1] = 0;
+	hdr->tx_freq[3] = 0;
hdr->tx_freq[2]

Regards,
Andreas

-- 
SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help