From: "Andreas Färber" <afaerber@suse.de>
To: linux-lpwan@lists.infradead.org, linux-wpan@vger.kernel.org
Cc: "Alexander Aring" <alex.aring@gmail.com>,
"Stefan Schmidt" <stefan@datenfreihafen.org>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
support@enocean.com, "Andreas Färber" <afaerber@suse.de>
Subject: [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean
Date: Tue, 29 Jan 2019 06:01:27 +0100 [thread overview]
Message-ID: <20190129050130.10932-2-afaerber@suse.de> (raw)
In-Reply-To: <20190129050130.10932-1-afaerber@suse.de>
EnOcean wireless technology is based on ASK (ERP1) and FSK (ERP2) modulations
for sub-GHz and on IEEE 802.15.4 for 2.4 GHz.
ARPHRD_ENOCEAN
ETH_P_ERP{1,2}
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
include/uapi/linux/if_arp.h | 1 +
include/uapi/linux/if_ether.h | 2 ++
2 files changed, 3 insertions(+)
diff --git a/include/uapi/linux/if_arp.h b/include/uapi/linux/if_arp.h
index dd7992a441c9..327ef052329f 100644
--- a/include/uapi/linux/if_arp.h
+++ b/include/uapi/linux/if_arp.h
@@ -102,6 +102,7 @@
#define ARPHRD_LORAWAN 828 /* LoRaWAN */
#define ARPHRD_OOK 829 /* On/Off Keying modulation */
#define ARPHRD_FSK 830 /* Frequency Shift Keying modulation */
+#define ARPHRD_ENOCEAN 832 /* EnOcean */
#define ARPHRD_VOID 0xFFFF /* Void type, nothing is known */
#define ARPHRD_NONE 0xFFFE /* zero header length */
diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h
index 0b5c30f78261..3e22948cc329 100644
--- a/include/uapi/linux/if_ether.h
+++ b/include/uapi/linux/if_ether.h
@@ -152,6 +152,8 @@
#define ETH_P_OOK 0x00FC /* On/Off Keying modulation */
#define ETH_P_FSK 0x00FD /* Frequency Shift Keying mod. */
#define ETH_P_FLRC 0x00FE /* Fast Long Range Communication */
+#define ETH_P_ERP1 0x00FF /* EnOcean Radio Protocol 1 */
+#define ETH_P_ERP2 0x0100 /* EnOcean Radio Protocol 2 */
/*
* This is an Ethernet frame header.
--
2.16.4
next prev parent reply other threads:[~2019-01-29 5:02 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-29 5:01 [RFC net-next 0/4] net: EnOcean prototype driver Andreas Färber
2019-01-29 5:01 ` Andreas Färber [this message]
2019-01-29 12:57 ` [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean Alexander Aring
2019-01-30 1:42 ` Andreas Färber
2019-02-01 0:58 ` Alexander Aring
2019-02-18 4:41 ` Andreas Färber
2019-01-29 5:01 ` [RFC net-next 2/4] net: Prepare EnOcean device drivers Andreas Färber
2019-01-29 5:01 ` [RFC net-next 3/4] net: enocean: Add ESP3 driver Andreas Färber
2019-01-29 5:01 ` [RFC net-next 4/4] net: enocean: Prepare ESP2 support Andreas Färber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190129050130.10932-2-afaerber@suse.de \
--to=afaerber@suse.de \
--cc=alex.aring@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-lpwan@lists.infradead.org \
--cc=linux-wpan@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stefan@datenfreihafen.org \
--cc=support@enocean.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.