Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4247246imu; Mon, 28 Jan 2019 21:02:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN40dxQJqEspNMmWbz00ssXylIcwA186wheIT8nWMNhsSNr+AHCAyPhq44qVP/ZNH8Gd0M36 X-Received: by 2002:a17:902:24e7:: with SMTP id l36mr24726695plg.61.1548738158949; Mon, 28 Jan 2019 21:02:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548738158; cv=none; d=google.com; s=arc-20160816; b=McuNiGDBo7Rl/pXk9Oda4XYClponp6pm0/gfeWarhhzJ5kxpx8zxv69DFqnryFt7iA wqDsUl37Q+CFornmupqUHQqcPVbiC67nDHCxcwt0yHmzSB/37pgnEaE2ERpnVSiGzVTe FlEnKTR+CyJgejbk8x+y2WUG+PL8XcrQa7VWV9vJ5jQGXAt0eN6K02xmTLYX/R96KFrO IpEeZO1+xGNWkV08PXvjMaeyA1HqF9OSrtQidPzBYyG5mT75F/SIaOUEftYLeT79XCw/ nATFsOxzbpDght/RsoygP2NnynakGckUeP9RngQT942B3jGcwIcITOmqXF/UOk5ZmaQM T2MA== 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 p12si3461478pgl.106.2019.01.28.21.02.23; Mon, 28 Jan 2019 21:02:38 -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 S1725765AbfA2FBn (ORCPT + 99 others); Tue, 29 Jan 2019 00:01:43 -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=20F=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=20F=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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(+) 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