From patchwork Mon Jun 28 10:31:31 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Crispin X-Patchwork-Id: 1497876 X-Patchwork-Delegate: blogic@openwrt.org Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) 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; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Vozs7xyv; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GD3q91wT4z9sW7 for ; Mon, 28 Jun 2021 20:33:24 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=C9yksyAhG52duJsUdwnURAfqXBHfscTEJoVe13vOYI8=; b=Vozs7xyvgQU+kU uMocO3xjQ75UXX/QciMgzcNmGwYmiQ30DA3aU21m3iLqaxXjb1KlXjmaYmWpNv6nxP2gJTje0iGLi r6WHa0oY3uHshkbamvtSMWv1RIRpSkZL5kK0vsf9VWEh9UF3OvN9g80GChUdwIVuLp7OLMGzHiTK/ xBv28JmwEpSAiLga0Emj6FJHumwTkEW/5VlCtq3QPskXTONmoo57ujnO0FsTe2q/l+wfhi2W6vZbA IPHejEulBKPqDoL8iK5A4fDNDLckynTmsh4NiaApw6gyjE7ZUVpC51NgTW9w4Leu0sAwRjFp72ZmJ ShcapaqJ6MX0njTZXj/w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxoYH-007dWQ-HE; Mon, 28 Jun 2021 10:31:41 +0000 Received: from nbd.name ([2a01:4f8:221:3d45::2]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxoYE-007dVg-0v for openwrt-devel@lists.openwrt.org; Mon, 28 Jun 2021 10:31:39 +0000 Received: from [2a04:4540:1402:6400:2d8:61ff:fef0:a7c3] (helo=localhost.localdomain) by ds12 with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lxoYC-0000VL-3d for openwrt-devel@lists.openwrt.org; Mon, 28 Jun 2021 12:31:36 +0200 From: John Crispin To: openwrt-devel@lists.openwrt.org Subject: [PATCH] hostapd: fix 11w support in eap192 mode Date: Mon, 28 Jun 2021 12:31:31 +0200 Message-Id: <20210628103131.239040-1-john@phrozen.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210628_033138_265545_723A50A7 X-CRM114-Status: UNSURE ( 6.72 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: wpa3 enterprise does not work without enabling 11w support. Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 7d035a299b..06d6c579af 100644 --- a/package/network/services/hostapd/files/host [...] Content analysis details: (0.0 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "openwrt-devel" Errors-To: openwrt-devel-bounces+incoming=patchwork.ozlabs.org@lists.openwrt.org wpa3 enterprise does not work without enabling 11w support. Signed-off-by: John Crispin --- package/network/services/hostapd/files/hostapd.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 7d035a299b..06d6c579af 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -49,6 +49,7 @@ hostapd_append_wpa_key_mgmt() { eap192) append wpa_key_mgmt "WPA-EAP-SUITE-B-192" [ "${ieee80211r:-0}" -gt 0 ] && append wpa_key_mgmt "FT-EAP" + [ "${ieee80211w:-0}" -gt 0 ] && append wpa_key_mgmt "WPA-EAP-SHA256" ;; eap-eap192) append wpa_key_mgmt "WPA-EAP-SUITE-B-192"