From patchwork Sat Jun 4 19:36:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bima Hutama X-Patchwork-Id: 630272 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (caladan.dune.hu [78.24.191.180]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rMWR838ZNz9t2p for ; Sun, 5 Jun 2016 05:36:04 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=cHEeX5P/; dkim-atps=neutral Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 701E2B91F6E; Sat, 4 Jun 2016 21:35:58 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP; Sat, 4 Jun 2016 21:35:58 +0200 (CEST) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 182EFB91F69 for ; Sat, 4 Jun 2016 21:35:56 +0200 (CEST) X-policyd-weight: using cached result; rate:hard: -7 Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by arrakis.dune.hu (Postfix) with ESMTPS for ; Sat, 4 Jun 2016 21:35:55 +0200 (CEST) Received: by mail-wm0-f67.google.com with SMTP id m124so5792651wme.3 for ; Sat, 04 Jun 2016 12:35:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=MZJEdS89x04RkfnkfWL38xZVknXap01EzlbXMfbHEGw=; b=cHEeX5P/1dQI86IpX8ScsmK2NpIuzYRScmy3gKUUSyWPVwV3SQ4OUafsdFIr5cN9bJ 4NWhfAnWr3O7mRGqPIhl5it/oo3jOiCP7ppALn4sinJm7+mx9yCZtT4x0geq8d8VGUTx N2dIgkBUw/Yt7NZY4SW4ZxbDyI2n96HAu/GyfgwF1PDtl83d2XJndOkiPz20UaULP+Hg LBWWuetmDv0o7vc2hvxIGD2o01UoHSHs4Vg/pncg/2LyBW+uT6Fu1dcU6gh2rPpgGvn7 LjHf6ZPHxvEaA48ix6+1tuKGTfYwnO4TaQL//krtkYuSa8aigrCZqWC6hRK2Ybnw1tDS TFlQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=MZJEdS89x04RkfnkfWL38xZVknXap01EzlbXMfbHEGw=; b=V/LOiEE73k/YxQWuB95RbzEh5omJNl1E6aI8ZbzLitfXCYRqE17o2x2BwhEMgkyBA9 ZpGRByK5cgjFWg8sD23wMqaqLUlv8xl1jLL7dS8pyEYVGGC/PfvltsjX8mIhL+tRQKwf cqIVttmx4AxGi/P5+p8gF9JyqhGy6Udp+fJHd93WiHOYWg8/4A5RMp2fPU9SOrXQOfyx EwRB14vGoHfYkjr2C3KZtrDj39O41jO+ctPPMUHhqhigmrnAMcuJWZllU/6+johxnWHf KsntE2+y1c84ltH3oSGEUkL7zBZX1KhrulR91E62quY3koBtQwNKL6SgS0zFnDhPjPiw shMQ== X-Gm-Message-State: ALyK8tL4K8gohnYmO470VU4wZJHV8cQatogSFLRcy0qR22FyKNLPd17pQkxabsFsQ4YQMw== X-Received: by 10.194.116.69 with SMTP id ju5mr8612551wjb.101.1465068955282; Sat, 04 Jun 2016 12:35:55 -0700 (PDT) Received: from mkyzl.lan (148-119.eduroam.rwth-aachen.de. [134.61.148.119]) by smtp.gmail.com with ESMTPSA id t199sm1405155wmt.11.2016.06.04.12.35.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 04 Jun 2016 12:35:54 -0700 (PDT) From: Bima Hutama To: openwrt-devel@lists.openwrt.org Date: Sat, 4 Jun 2016 21:36:04 +0200 Message-Id: <1465068964-11095-1-git-send-email-hutamanzi@gmail.com> X-Mailer: git-send-email 2.1.4 Subject: [OpenWrt-Devel] [PATCH] wpa_supplicant: Enable Interworking (802.11u) Support X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" -Change: Add CONFIG_INTERWORKING=y -Description: It enables functionality to improve interworking with external networks (GAS/ANQP to learn more about the networks and network selection based on available credentials). This functionality was already enabled in hostapd build config, but not in wpa_supplicant. Enabling this for wpa_supplicant ensures compatibility with modern AP and wpa_supplicant will obey advertised 802.11u standard from another hostapd-openwrt-802.11u-enabled-AccesPoint. I will try to write wiki for it and make it configurable from uci. Signed-off-by: Bima Hutama --- package/network/services/hostapd/files/wpa_supplicant-full.config | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package/network/services/hostapd/files/wpa_supplicant-full.config b/package/network/services/hostapd/files/wpa_supplicant-full.config index b0d1de3..e23ea4c 100644 --- a/package/network/services/hostapd/files/wpa_supplicant-full.config +++ b/package/network/services/hostapd/files/wpa_supplicant-full.config @@ -417,3 +417,9 @@ CONFIG_IBSS_RSN=y CONFIG_IEEE80211N=y CONFIG_IEEE80211AC=y + +# Interworking (IEEE 802.11u) +# This can be used to enable functionality to improve interworking with +# external networks (GAS/ANQP to learn more about the networks and network +# selection based on available credentials). +CONFIG_INTERWORKING=y