From patchwork Mon Sep 9 20:20:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1159922 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Z9S2/ayj"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Rzxv3XDZz9sN1 for ; Tue, 10 Sep 2019 06:18:27 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D185985A5D; Mon, 9 Sep 2019 20:18:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YKUr9xMKKs3p; Mon, 9 Sep 2019 20:18:21 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id C71E18542A; Mon, 9 Sep 2019 20:18:21 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 7A85F1BF384 for ; Mon, 9 Sep 2019 20:18:20 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 72CFE864E9 for ; Mon, 9 Sep 2019 20:18:20 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 28ewe+Yl3Cga for ; Mon, 9 Sep 2019 20:18:19 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by hemlock.osuosl.org (Postfix) with ESMTPS id 8D4188632E for ; Mon, 9 Sep 2019 20:18:19 +0000 (UTC) Received: by mail-lj1-f194.google.com with SMTP id l20so14075981ljj.3 for ; Mon, 09 Sep 2019 13:18:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=A1JtG+/WTL4rJ4Gp/pVxON5YJhqST8v15V1ikiPqRB8=; b=Z9S2/ayjr0Q1LrkLsu/KOEoWvUGNx1UWaFJBfzNwdf5u8mp56tcDqH9QZUaFnsky5b ijYXTpMoWHwPyo+/IHBucByI4AGI45G1eHq4iCruyCE+L3MJ7WGTkqtpnMyXDLOkyjPy gMHqjruQ/C81/6vKAqixemfR1041t46332JEiOasyATB41V3UZIhQIfYthwMZ8GsSjKO d2hXp50gVpohy/0D+ddIdr5YGjbeYzc4u6nGZA60PP4iUtirB02nIDu9xEPhHOoHE3mr gYmtsf5bPQgizlPnahxcoU0YUZPjXBZ713UigwlxUaYt7TDJArqOLNTXKAbs8jrvkW8u Gsjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=A1JtG+/WTL4rJ4Gp/pVxON5YJhqST8v15V1ikiPqRB8=; b=WMg8LNldW9O1HtiNfQg69EGruHtCtC8bxtE7utMzno1YPdy5zUmqFLBPyA7zz/rqiI GIAbSv2L2kq7lDh5aKYlB0a2D/nxKkWAZT3urbnSE6C06t7jJN+r4JmU361W2iVNInB1 X/vs8ik0W6+bAJbKhuflW9sooa8sOcXA5qs7d1XmC9k2Jr4xy/X+7rk2P4JjV9BXENzj b84MSwZDiYUomlm6XSzLCx52hOwmQ7S+w5mP7+dYhiBEk0dMnhM3+EyDwIqDfihqmhdr geUn/lTo/zWsI/mgavhw9i+U5AG2lxUmY3k9tNKyF4cgr3pxtPzXupkgGEiJ+5u2iRyV Wndw== X-Gm-Message-State: APjAAAV9+r+hTargG1URxvSoNfkTN6uBgpPc1CSMfqDq1zAidhzDJ83a eu9hsjcY3HotP6tlsrXWEfX2lhI+ X-Google-Smtp-Source: APXvYqxaNqCfUy/iF/bjx8xEY9O0rwk8W/6wYBxQsMSesf/LdgcbJvVOW+cAYziit3r9V5nqIHbSgw== X-Received: by 2002:a2e:b0e2:: with SMTP id h2mr16882310ljl.79.1568060297514; Mon, 09 Sep 2019 13:18:17 -0700 (PDT) Received: from localhost.localdomain (ppp78-37-210-150.pppoe.avangarddsl.ru. [78.37.210.150]) by smtp.googlemail.com with ESMTPSA id v10sm3620348lfi.26.2019.09.09.13.18.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 13:18:17 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 Sep 2019 23:20:32 +0300 Message-Id: <20190909202034.27508-2-geomatsi@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190909202034.27508-1-geomatsi@gmail.com> References: <20190909202034.27508-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 1/3] package/wpa_supplicant: add Config.in option for WPA3 support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Sergey Matyukevich Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" New wpa_supplicant v2.9 enables by default WPA3 features in defconfig. Meanwhile building those features requires openssl. This patch adds Config.in option for WPA3 support in wpa_supplicant. When this option is selected, libopenssl is also selected and WPA3 features OWE, SAE, DPP are enabled in wpa_supplicant .config file. When this feature is deselected, then all the above WPA3 options are disabled. Signed-off-by: Sergey Matyukevich --- package/wpa_supplicant/Config.in | 7 +++++++ package/wpa_supplicant/wpa_supplicant.mk | 12 ++++++++++++ 2 files changed, 19 insertions(+) diff --git a/package/wpa_supplicant/Config.in b/package/wpa_supplicant/Config.in index 1594b877c6..cba7fa07e1 100644 --- a/package/wpa_supplicant/Config.in +++ b/package/wpa_supplicant/Config.in @@ -81,6 +81,13 @@ config BR2_PACKAGE_WPA_SUPPLICANT_WPS help Enable support for Wi-Fi Protected Setup (WPS). +config BR2_PACKAGE_WPA_SUPPLICANT_WPA3 + bool "Enable WPA3 support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + Enable WPA3 support including OWE, SAE, DPP + config BR2_PACKAGE_WPA_SUPPLICANT_CLI bool "Install wpa_cli binary" help diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 0a7a5072dc..283c006052 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -88,6 +88,18 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPS),y) WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WPS endif +ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WPA3),y) +WPA_SUPPLICANT_CONFIG_ENABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_DPP \ + CONFIG_SAE \ + CONFIG_OWE +endif + # Try to use openssl if it's already available ifeq ($(BR2_PACKAGE_LIBOPENSSL),y) WPA_SUPPLICANT_DEPENDENCIES += host-pkgconf libopenssl From patchwork Mon Sep 9 20:20:33 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1159924 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="FmQLExtG"; dkim-atps=neutral Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.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 46Rzxw4P4nz9sNw for ; Tue, 10 Sep 2019 06:18:28 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 095C987812; Mon, 9 Sep 2019 20:18:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R5RKS96c-199; Mon, 9 Sep 2019 20:18:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id A00958777C; Mon, 9 Sep 2019 20:18:23 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id 9E5041BF384 for ; Mon, 9 Sep 2019 20:18:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 7CDFA877B1 for ; Mon, 9 Sep 2019 20:18:21 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5-kg1Ec1-rgZ for ; Mon, 9 Sep 2019 20:18:20 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by hemlock.osuosl.org (Postfix) with ESMTPS id 89179864E9 for ; Mon, 9 Sep 2019 20:18:20 +0000 (UTC) Received: by mail-lj1-f169.google.com with SMTP id y23so14047047lje.9 for ; Mon, 09 Sep 2019 13:18:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FEe+2XKIfvgb5PMHmlCN7G9QFeAkhB6B2z1haAqTSV8=; b=FmQLExtGLKrbfYw9iJzapS/j0DQl8BNbMJULGiJC5MuxhGJkF8pdhJFXLUjTuz63Qi ltrK/SO+tDoaTL+CCK5P4E+L6EPL8tQ2sNDlDcMzNoJ4nfUv9VmeY+/lHD+Gk8PNhLaB HBMOcT8/avIJ7HI3DWn83LCxSJ+bZYTrQgWmNDRuPoebVZ40rNoYU1Zij9/d8Oc4n07X LLukUFHzPrHCD1Fe6375U3Dk/Axa8G+V26eBvj2dyvtPV6Z+zEcwR3xAWsb9EHVJvWpJ NkTN0JWhAGBAiY2JiLSfAFwRlYbpokXDnT9D1HQsPSyqJRI0AJgxAlVWbSHCgCR0XYnn dJKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=FEe+2XKIfvgb5PMHmlCN7G9QFeAkhB6B2z1haAqTSV8=; b=d5XUfVjBpURUbc9btVRFOrDv9RbTZbhm4xcqxn9aXuysazBjsRybaDR9QOgQ4p/6dw bFtY/6L9oEPJIZs51bOULXdRTRarwVsy77xq86zsA6MkDSYMX1r84K3BByO6xboGyy/c xaCIgpnMJyAWClmRIuvLEf4vcWIdrJrjJL0rO3kZDduPOTWCcd9pdinqstK5zYJHqKHr gee1LHGfOHXvvFB/wfTiNtZJXkw83p4qUDqWy4Q8EEVHJ88zwbW8BtqLBZNWJ/e1B/Qx VdL7/8cWgTYApAg3HqZqUtbXK/XRv4VzY+VOhW53lBIIBeevLg8cRvIQGZa+Q2tZ37sC Ysvw== X-Gm-Message-State: APjAAAW6MZFHw+zgE91+Staxfvcf/S6gPqN8gRDHtGtDEdKF3hlg1b7N AQ+e+VVQEUGOSLoyBAb/GX1KK25F X-Google-Smtp-Source: APXvYqxwA8mKCpdVGZRPkYMk0Bisdvn/cKe9xBt3i8ubPL8Pi85DU/nHS2dtAwJLYwUiu6njvaTzNg== X-Received: by 2002:a2e:8410:: with SMTP id z16mr17028681ljg.16.1568060298609; Mon, 09 Sep 2019 13:18:18 -0700 (PDT) Received: from localhost.localdomain (ppp78-37-210-150.pppoe.avangarddsl.ru. [78.37.210.150]) by smtp.googlemail.com with ESMTPSA id v10sm3620348lfi.26.2019.09.09.13.18.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 13:18:18 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 Sep 2019 23:20:33 +0300 Message-Id: <20190909202034.27508-3-geomatsi@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190909202034.27508-1-geomatsi@gmail.com> References: <20190909202034.27508-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 2/3] package/hostapd: add Config.in option for WPA3 support X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Sergey Matyukevich Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" New hostapd v2.9 supports WPA3 features such as OWE, SAE, DPP. Those features are disabled by default in defconfig, so no dependency from openssl is requried unless WPA3 support is enabled. This patch adds Config.in option for WPA3 support in hostapd. When this option is selected, libopenssl is also selected and WPA3 features including OWE, SAE, DPP are enabled in hostapd .config file. When this option is deselected, then WPA3 options are disabled. Signed-off-by: Sergey Matyukevich --- package/hostapd/Config.in | 7 +++++++ package/hostapd/hostapd.mk | 11 +++++++++++ 2 files changed, 18 insertions(+) diff --git a/package/hostapd/Config.in b/package/hostapd/Config.in index 8a7abbb901..54d2086c09 100644 --- a/package/hostapd/Config.in +++ b/package/hostapd/Config.in @@ -74,6 +74,13 @@ config BR2_PACKAGE_HOSTAPD_WPS help Enable support for Wi-Fi Protected Setup. +config BR2_PACKAGE_HOSTAPD_WPA3 + bool "Enable WPA3 support" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL + help + Enable WPA3 support including OWE, SAE, DPP + config BR2_PACKAGE_HOSTAPD_VLAN bool "Enable VLAN support" default y diff --git a/package/hostapd/hostapd.mk b/package/hostapd/hostapd.mk index fb6ac8fb2e..4a493cb9b2 100644 --- a/package/hostapd/hostapd.mk +++ b/package/hostapd/hostapd.mk @@ -79,6 +79,17 @@ ifeq ($(BR2_PACKAGE_HOSTAPD_WPS),y) HOSTAPD_CONFIG_ENABLE += CONFIG_WPS endif +ifeq ($(BR2_PACKAGE_HOSTAPD_WPA3),y) +HOSTAPD_CONFIG_SET += \ + CONFIG_DPP \ + CONFIG_SAE +HOSTAPD_CONFIG_ENABLE += \ + CONFIG_OWE +else +HOSTAPD_CONFIG_DISABLE += \ + CONFIG_OWE +endif + ifeq ($(BR2_PACKAGE_HOSTAPD_VLAN),) HOSTAPD_CONFIG_ENABLE += CONFIG_NO_VLAN endif From patchwork Mon Sep 9 20:20:34 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sergey Matyukevich X-Patchwork-Id: 1159925 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.136; helo=silver.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="On+tuuYL"; dkim-atps=neutral Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46Rzy01Yc0z9sDB for ; Tue, 10 Sep 2019 06:18:31 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 860152078B; Mon, 9 Sep 2019 20:18:28 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r6NBvTrpgmHJ; Mon, 9 Sep 2019 20:18:25 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 0532220413; Mon, 9 Sep 2019 20:18:25 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 0A8B61BF384 for ; Mon, 9 Sep 2019 20:18:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id EDDE0859EF for ; Mon, 9 Sep 2019 20:18:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OZzoZW9oUET9 for ; Mon, 9 Sep 2019 20:18:22 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-lj1-f194.google.com (mail-lj1-f194.google.com [209.85.208.194]) by fraxinus.osuosl.org (Postfix) with ESMTPS id DBDAA854A9 for ; Mon, 9 Sep 2019 20:18:21 +0000 (UTC) Received: by mail-lj1-f194.google.com with SMTP id l20so14076081ljj.3 for ; Mon, 09 Sep 2019 13:18:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mZqkVE+YRT4SEokCOiX9b7Tfhs6Zva7QrH6WyI9GgqI=; b=On+tuuYLGM3S2FvD9X95OZTN8gjBjnHJDyRZxyQR1Aahhwu8ddlrNafYQh/e3ouVm0 DQt2He6HSpskGqSIb1QX0NOn9hRxpxQP8q6HBc8PAC8qaeXEyiQ+ModKni2nqvKV3oo4 n1wMAPIJCav20F7yetNkMRdU8TnDBAUfG2UQYyRPAUARW8HDWY6WQsspz+41MOF5S++Y g1dhZY6biQttme/IMU6KSQKdRgcyfTNjUHcHqSFSE98FY/Mp+vEj7C2THz/XvlRcOshm 6+HfHNewDkKBlRghHX4Mg1gp3mMU30rU2JeURObcaIBPnpQI/53f+hsmG/07XMD+iOc/ OTbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mZqkVE+YRT4SEokCOiX9b7Tfhs6Zva7QrH6WyI9GgqI=; b=gHXulJaMAQMDZaDx0gf1B9eSI2dSuWKuu+f9RIytef+nvUL16li96OSbfm09grfGhq PO4r0kDBpSSLw1Ss1sFEfxaKNArpsHK67/fwfTXpRLP/lhGBEiwYBDhtMoR4hefsSQ/x ooCfLsHvGOAb4/2cejtTB02Z7Gjn1CAyuY/Dd2SEruTx+i/FwSF0q+gJlHCy6EU0tU7Z hm19gFPAGIj6La0fmEx1F8ILuUmlGMRpg6/dWzED3ZyotK4BpbIrj6dZV0AGML4Nu+uz h5ak7NgZs8MkGfUfB34bLa0y+vUPYLirRuzavlPC1IhzDvZ70REXXtWneCq62R5szoMl Ce4A== X-Gm-Message-State: APjAAAVkZYcZOoVG9kT9hEWdO16Su7yW2jUIWG4PJBrGSItfZdvJitXD l044sJ4aCHFe2bokiEEK5KLKvjgf X-Google-Smtp-Source: APXvYqwDZfgrWElG4sR66V0PSOe+9eIdUWz2bsKdEnOlthz9UhIWo78j1qu9o45vmhIv7w8otzH/Mg== X-Received: by 2002:a2e:83d6:: with SMTP id s22mr17262667ljh.104.1568060299711; Mon, 09 Sep 2019 13:18:19 -0700 (PDT) Received: from localhost.localdomain (ppp78-37-210-150.pppoe.avangarddsl.ru. [78.37.210.150]) by smtp.googlemail.com with ESMTPSA id v10sm3620348lfi.26.2019.09.09.13.18.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Sep 2019 13:18:19 -0700 (PDT) From: Sergey Matyukevich To: buildroot@buildroot.org Date: Mon, 9 Sep 2019 23:20:34 +0300 Message-Id: <20190909202034.27508-4-geomatsi@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190909202034.27508-1-geomatsi@gmail.com> References: <20190909202034.27508-1-geomatsi@gmail.com> MIME-Version: 1.0 Subject: [Buildroot] [PATCH v2 3/3] package/wpa_supplicant: fix AP mode settings X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bernd Kuhls , Sergey Matyukevich Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" New wpa_supplicant v2.9 enables by default AP, P2P, WIFI_DISPLAY features in defconfig. However these features make sense only for wpa_supplicant drivers supporting AP mode. That is why, for consistent configuration, these features should be explicitely disabled in wpa_supplicant .config file unless they are requested by Config.in options. Note that at the moment AP support in Buildroot can be enabled only for NL80211 driver. Signed-off-by: Sergey Matyukevich Tested-by: Matt Weber --- package/wpa_supplicant/wpa_supplicant.mk | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/wpa_supplicant/wpa_supplicant.mk b/package/wpa_supplicant/wpa_supplicant.mk index 283c006052..9dcebca9bf 100644 --- a/package/wpa_supplicant/wpa_supplicant.mk +++ b/package/wpa_supplicant/wpa_supplicant.mk @@ -67,10 +67,16 @@ ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_AP_SUPPORT),y) WPA_SUPPLICANT_CONFIG_ENABLE += \ CONFIG_AP \ CONFIG_P2P +else +WPA_SUPPLICANT_CONFIG_DISABLE += \ + CONFIG_AP \ + CONFIG_P2P endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_WIFI_DISPLAY),y) WPA_SUPPLICANT_CONFIG_ENABLE += CONFIG_WIFI_DISPLAY +else +WPA_SUPPLICANT_CONFIG_DISABLE += CONFIG_WIFI_DISPLAY endif ifeq ($(BR2_PACKAGE_WPA_SUPPLICANT_MESH_NETWORKING),y)