From patchwork Fri Oct 12 20:37:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hauke Mehrtens X-Patchwork-Id: 983297 X-Patchwork-Delegate: hauke@hauke-m.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=lists.openwrt.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=hauke-m.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Lsnvhd7E"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 42X0BD3wWhz9s3Z for ; Sat, 13 Oct 2018 07:41:56 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Subject:References: In-Reply-To:Message-Id:Date:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=FE7kgO5cdEnCPFZa4DybXQkWlSAcnS6CQxaTotF27K4=; b=Lsnvhd7EkmrQ/5 RJjj1tVhek+29ZqM7sNRGVJwD3A6uDskIBhCMzN9Vb6j19P1Uy41Zv9vlg1kcA/Y6qjCB54bG1CE5 mixtT066qfMSfBgqR9jKk3f/Mecys34sKtwqQP8ZpcnLkO3r8Qg8ud+8j/eqa3yGeLPA3tJUmSFPZ kUhvoJDmv4ldLCU+A5c+YXZcIX1zTUF4F5R5UmLoN65MVpZIGanc1rbVrdLPdctw67iYtO3nACGjV pdYSDiskuwJ1mBC4dFzZWMd1MJqP8Ksd6lneSfrT/F+IoYMrOeE2kWLGBw6wk/jdhG9/WsGz/CYTv i58R+WkuvPDdm3GZFLsA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gB4Fq-0004JB-P6; Fri, 12 Oct 2018 20:41:50 +0000 Received: from mx1.mailbox.org ([2001:67c:2050:104:0:1:25:1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gB4C3-00012S-LX for openwrt-devel@lists.openwrt.org; Fri, 12 Oct 2018 20:38:07 +0000 Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id E3C054AF4C; Fri, 12 Oct 2018 22:37:29 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by spamfilter02.heinlein-hosting.de (spamfilter02.heinlein-hosting.de [80.241.56.116]) (amavisd-new, port 10030) with ESMTP id 8Lh6CpxKuddr; Fri, 12 Oct 2018 22:37:29 +0200 (CEST) From: Hauke Mehrtens To: openwrt-devel@lists.openwrt.org Date: Fri, 12 Oct 2018 22:37:07 +0200 Message-Id: <20181012203707.14716-10-hauke@hauke-m.de> In-Reply-To: <20181012203707.14716-1-hauke@hauke-m.de> References: <20181012203707.14716-1-hauke@hauke-m.de> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181012_133755_891270_B6A87839 X-CRM114-Status: GOOD ( 13.63 ) X-Spam-Score: -0.0 (/) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record Subject: [OpenWrt-Devel] [PATCH 9/9] netifd: Add support for wireless EAP-Suite-B-192 authentication X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Hauke Mehrtens MIME-Version: 1.0 Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org Signed-off-by: Hauke Mehrtens --- ...s-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch diff --git a/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch b/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch new file mode 100644 index 0000000000..03f5f703a0 --- /dev/null +++ b/package/network/config/netifd/patches/003-wireless-Add-WPA-EAP-SUITE-B-192-WPA3-Enterprise.patch @@ -0,0 +1,34 @@ +From a117e414d8acd5dd27ba9ac30bc462ba4ae6587e Mon Sep 17 00:00:00 2001 +From: Hauke Mehrtens +Date: Tue, 9 Oct 2018 22:57:52 +0200 +Subject: wireless: Add WPA-EAP-SUITE-B-192 (WPA3-Enterprise) + +Signed-off-by: Hauke Mehrtens +--- + scripts/netifd-wireless.sh | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +--- a/scripts/netifd-wireless.sh ++++ b/scripts/netifd-wireless.sh +@@ -211,7 +211,7 @@ wireless_vif_parse_encryption() { + # wpa2/tkip+aes => WPA2 RADIUS, CCMP+TKIP + + case "$encryption" in +- wpa2*|*psk2*|psk3*|sae*|owe*) ++ wpa2*|wpa3*|*psk2*|psk3*|sae*|owe*) + wpa=2 + ;; + wpa*mixed*|*psk*mixed*) +@@ -231,6 +231,12 @@ wireless_vif_parse_encryption() { + owe*) + auth_type=owe + ;; ++ wpa3-mixed*) ++ auth_type=eap-eap192 ++ ;; ++ wpa3*) ++ auth_type=eap192 ++ ;; + psk3-mixed*|sae-mixed*) + auth_type=psk-sae + ;;