From patchwork Tue Jan 29 05:01:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 156926 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp4229212jaa; Mon, 28 Jan 2019 21:02:17 -0800 (PST) X-Google-Smtp-Source: ALg8bN5srPA6t6udnQvHBQiV+Zrte8VCrUVHTO6WLfIYaR5hdFVXyNN+Ke2Q65KB2IGD3JPZA03T X-Received: by 2002:a17:902:850c:: with SMTP id bj12mr24144858plb.46.1548738137223; Mon, 28 Jan 2019 21:02:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548738137; cv=none; d=google.com; s=arc-20160816; b=CO6o/RFqoH4pxgdyKAkIRbt82vuB1SNnZmO1AAWlkkklCd3IP2lg7/RFkTTVF6UBFj Gar6M5DyuAdmlS8rXNbG/bndK4tOlef0GpFPPSi4Rz9O8sOkXPRWxa/IQhtFnAm1ueTC kBSD6vgWvArX3/AqezuCx4wsdgvH3DEp499WJgyx2hCiNsVVWTm4xvhAP9JaOKqvcpTI unV1GCZNtqnzTppAg6TzzZfFObT/csHTFGrtoz6DMRMymcGgrVdr5ySvvVZ9DAG0E21A GDmVmT/it4FUxC0YxaE08pNchlqAv05QFiT0WAPgO+twf0SX0bWJoBMDGdVJ1VI3iPUj jzNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=NF0WOtx69cgSgaLjm7AZIvECO83NsDODQ/+vyTDQyxQ=; b=eA221bDVYCZGy51AKoCftaECMFgv0SSGZT38uh+6DZ4vAL9yY9gjJnaUH9GhJGsjUW FNO5BjEgXq0i0FkzS6V25yZEvaU/A69uYhbcK2P52J4Rr1wl/dfeHWDj8CeHzOBIe38X n3xNv3I2RR+sGGN89fDCyNWeJyUh1ste9a6UI7ARAMBGItr6p5pAhi3GgJ2roxS0m4Ne sG71I8ue02SYeRY1YP4FjQUF7EUy6pdu9uBBYyo3uVRdI3+4Cw56d/s4vJVrr3NZsYaz EMujlsI8qql9en9jVCdsUOGGZ45aC5m2bADnQ/gghSa4KSqQaoTzw5CxX3De4LwHyHp/ 9WWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t75si34775739pfa.170.2019.01.28.21.02.16; Mon, 28 Jan 2019 21:02:17 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725769AbfA2FBo (ORCPT + 31 others); Tue, 29 Jan 2019 00:01:44 -0500 Received: from mx2.suse.de ([195.135.220.15]:53334 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725268AbfA2FBn (ORCPT ); Tue, 29 Jan 2019 00:01:43 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 0F95EADC3; Tue, 29 Jan 2019 05:01:42 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: linux-lpwan@lists.infradead.org, linux-wpan@vger.kernel.org Cc: Alexander Aring , Stefan Schmidt , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, support@enocean.com, =?utf-8?q?Andreas_F=C3=A4rber?= Subject: [RFC net-next 1/4] net: Reserve protocol identifiers for EnOcean Date: Tue, 29 Jan 2019 06:01:27 +0100 Message-Id: <20190129050130.10932-2-afaerber@suse.de> X-Mailer: git-send-email 2.16.4 In-Reply-To: <20190129050130.10932-1-afaerber@suse.de> References: <20190129050130.10932-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- include/uapi/linux/if_arp.h | 1 + include/uapi/linux/if_ether.h | 2 ++ 2 files changed, 3 insertions(+) -- 2.16.4 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.