Message ID | 3b68f15b-992f-3af7-7fad-f9a4de85e785@candelatech.com |
---|---|
State | RFC |
Headers | show
Return-Path: <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=65.50.211.133; helo=bombadil.infradead.org; envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="tdUZWFkp"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.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 3yHRNd38BGz9t3n for <incoming@patchwork.ozlabs.org>; Thu, 19 Oct 2017 09:21:21 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Date:Message-ID:Subject:From:To: 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=oYzKaQimSsQcKvEmrQOc0IDfRLJY3v4IJ76HtmlkZS0=; b=tdUZWFkpVCY0Qy oZaXIjGX1ZIWwYTBPW3ezQAeC8z80ukY/pFWdfX/YnRms87n0mG43gbmEQvMy8zHzxVKlpE7SzMH9 CcQJ9QeNsiEOp0ofXx0sF1JGE1h6WHi01axin8Ik+eytakS1dAZgVPXMJRIh45ycL33uJp6k9qAMj 91D5RBRct8zXOQgEZkNQghhHzAlTCbXwUwpcSyu/25gFwQiLBhbvEzFIUsodhPIp9lwknd0bQ3ioN GtXMqorYikm+0dRKAekVgnlKno3ll5UunNyv1zflnsuatxZPBoq5GP5s+Ho3EsMpo7yAzVpwoHhM7 3/j03MiQOueHbiDnbYig==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e4wi0-0006eq-Hl; Wed, 18 Oct 2017 22:21:04 +0000 Received: from mail2.candelatech.com ([208.74.158.173]) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1e4whb-0006Ae-9I for hostap@lists.infradead.org; Wed, 18 Oct 2017 22:20:41 +0000 Received: from [192.168.100.149] (firewall.candelatech.com [50.251.239.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail2.candelatech.com (Postfix) with ESMTPSA id 69DF940A955 for <hostap@lists.infradead.org>; Wed, 18 Oct 2017 15:20:13 -0700 (PDT) To: "hostap@lists.infradead.org" <hostap@lists.infradead.org> From: Ben Greear <greearb@candelatech.com> Subject: Compile breakage due to 16579769 Organization: Candela Technologies Message-ID: <3b68f15b-992f-3af7-7fad-f9a4de85e785@candelatech.com> Date: Wed, 18 Oct 2017 15:20:13 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171018_152039_437913_6402B68E X-CRM114-Status: UNSURE ( 9.41 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-BeenThere: hostap@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <hostap.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/hostap>, <mailto:hostap-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/hostap/> List-Post: <mailto:hostap@lists.infradead.org> List-Help: <mailto:hostap-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/hostap>, <mailto:hostap-request@lists.infradead.org?subject=subscribe> Content-Transfer-Encoding: base64 Content-Type: text/plain; charset="utf-8"; Format="flowed" Sender: "Hostap" <hostap-bounces@lists.infradead.org> Errors-To: hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org |
Series |
Compile breakage due to 16579769
|
expand
|
diff --git a/src/ap/sta_info.h b/src/ap/sta_info.h index 3fb60f6..a4d314a 100644 --- a/src/ap/sta_info.h +++ b/src/ap/sta_info.h @@ -9,10 +9,8 @@ #ifndef STA_INFO_H #define STA_INFO_H -#ifdef CONFIG_MESH /* needed for mesh_plink_state enum */ #include "common/defs.h" -#endif /* CONFIG_MESH */ #include "list.h" #include "vlan.h"
The commit below caused the compile to fail for me: cc -c -o ../src/ap/utils.o -MMD -O0 -Wall -g -I/home/greearb/btbits/x64_btbits/3plibs/hostap/src -I/home/greearb/btbits/x64_btbits/3plibs/hostap/src/utils -DUSE_KERNEL_HEADERS -I/home/greearb/tmp/local/include -I/home/greearb/btbits/x64_btbits/3plibs/libnl/include -DGIT_VERSION_STR_POSTFIX=\"-hostap_2_3-5248-g1657976\" -DCONFIG_TESTING_OPTIONS -DHOSTAPD -DHOSTAPD_DUMP_STATE -DCONFIG_CTRL_IFACE_UNIX -DCONFIG_CTRL_IFACE -DCONFIG_IAPP -DCONFIG_RSN_PREAUTH -DCONFIG_IEEE80211W -DCONFIG_IEEE80211R -DCONFIG_IEEE80211R_AP -DCONFIG_ETH_P_OUI -DCONFIG_WNM -DCONFIG_WNM_AP -DCONFIG_IEEE80211N -DCONFIG_IEEE80211AC -DCONFIG_DRIVER_HOSTAP -DCONFIG_DRIVER_WIRED -DCONFIG_DRIVER_NL80211 -DCONFIG_LIBNL20 -I/usr/include/libnl3 -DCONFIG_DRIVER_NONE -DEAP_SERVER_MD5 -DEAP_SERVER_TLS -DEAP_SERVER_UNAUTH_TLS -DEAP_SERVER_PEAP -DEAP_SERVER_TTLS -DEAP_SERVER_MSCHAPV2 -DEAP_SERVER_GTC -DEAP_SERVER_SIM -DEAP_SERVER_AKA -DEAP_SERVER_AKA_PRIME -DEAP_SERVER_PAX -DEAP_SERVER_PSK -DEAP_SERVER_SAKE -DEAP_SERVER_GPSK -DEAP_GPSK_SHA256 -DCONFIG_WPS -DEAP_SERVER_WSC -DCONFIG_WPS_UPNP -DCONFIG_WPS_TESTING -DEAP_SERVER_IKEV2 -DEAP_SERVER_TNC -DEAP_SERVER_IDENTITY -DEAP_SERVER -DPKCS12_FUNCS -DEAP_TLS_FUNCS -DCONFIG_TLSV11 -DCONFIG_TLSV12 -DTLS_DEFAULT_CIPHERS=\""DEFAULT:!EXP:!LOW"\" -DCONFIG_SHA256 -DALL_DH_GROUPS -DCONFIG_NO_RANDOM_POOL -DRADIUS_SERVER -DCONFIG_IPV6 -DCONFIG_DRIVER_RADIUS_ACL -DNEED_AP_MLME -DCONFIG_HS20 -DCONFIG_INTERWORKING -DCONFIG_PROXYARP -DCONFIG_DEBUG_FILE -DCONFIG_SQLITE ../src/ap/utils.c In file included from ../src/ap/utils.c:14:0: ../src/ap/sta_info.h:255:15: error: field ‘last_tk_alg’ has incomplete type enum wpa_alg last_tk_alg; ^~~~~~~~~~~ Makefile:1182: recipe for target '../src/ap/utils.o' failed make[1]: *** [../src/ap/utils.o] Error 1 make[1]: Leaving directory '/home/greearb/btbits/x64_btbits/3plibs/hostap/hostapd' commit 16579769ff7bb255e101c6b77fb2c47d3735a883 Author: Jouni Malinen <j@w1.fi> Date: Sat Oct 14 13:41:08 2017 +0300 Add testing functionality for resetting PN/IPN for configured keys This can be used to test replay protection. The "RESET_PN" command in wpa_supplicant and "RESET_PN <addr>" command in hostapd resets the local counters to zero for the last configured key. For hostapd, the address parameter specifies which STA this operation is for or selects GTK ("ff:ff:ff:ff:ff:ff") or IGTK ("ff:ff:ff:ff:ff:ff IGTK"). This functionality is for testing purposes and included only in builds with CONFIG_TESTING_OPTIONS=y. Signed-off-by: Jouni Malinen <j@w1.fi> This is probably because I am not compiling with MESH support. This patch fixes the build...this look like the correct solution? Thanks, Ben