From owner-freebsd-wireless@freebsd.org Fri Oct 16 18:25:41 2015 Return-Path: Delivered-To: freebsd-wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12450A178A8 for ; Fri, 16 Oct 2015 18:25:41 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E213011D3 for ; Fri, 16 Oct 2015 18:25:40 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id DDC69A178A6; Fri, 16 Oct 2015 18:25:40 +0000 (UTC) Delivered-To: wireless@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C3017A178A4; Fri, 16 Oct 2015 18:25:40 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-lf0-x22c.google.com (mail-lf0-x22c.google.com [IPv6:2a00:1450:4010:c07::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4A12411D1; Fri, 16 Oct 2015 18:25:40 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: by lfaz124 with SMTP id z124so83386353lfa.1; Fri, 16 Oct 2015 11:25:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=bTiKjO0hPRNnD+81oL45y+louHTTYcDPTFr4+/t4ig8=; b=CBRTf28zZiY6SQFS7zfYfV7cBRXs4WabWxxnbeko/re2isgrkGbljUtJAxGM3SIfz3 rLorzFpgodLieH6T0vRD8csbCBeu0p8yzVegzfv+8onzkbEbWJ5IeGt6Nd2KDRNJgAYb yIYC0FRTblXPPozVr1qc+kejPHezOBtZQKp4wNLmQCueGEjDy+zRM95VfQRXbaAt/a2B xnmROGwg+bcBhawLwfa89lAzB9c5ayROAXThxxPSJvo/Ix9vg80Yy3x+BdqzMC5e5IEh skAB3zxeYdl654VvFvmC8nKr0s3VexZOvVD5aK+GeL7k6cg6yCFIgvdou5rSyujNgABb +EyQ== MIME-Version: 1.0 X-Received: by 10.25.151.74 with SMTP id z71mr5877108lfd.105.1445019938452; Fri, 16 Oct 2015 11:25:38 -0700 (PDT) Received: by 10.25.82.77 with HTTP; Fri, 16 Oct 2015 11:25:38 -0700 (PDT) In-Reply-To: References: <1444798812.3234.58.camel@me.com> Date: Fri, 16 Oct 2015 20:25:38 +0200 Message-ID: Subject: Re: CFT: wpa_supplicant/hostapd 2.5 From: Nikolay Denev To: Adrian Chadd Cc: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= , Rui Paulo , FreeBSD Current , "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Oct 2015 18:25:41 -0000 I've noticed hostapd getting stuck in pcap_next() which led me to check some net.bpf sysctls, as I was running with net.bpf.zerocopy_enable=3D1. When disabled hostapd works again for multiple clients. --Nikolay On Fri, Oct 16, 2015 at 8:20 PM, Nikolay Denev wrote: > I'm not sure yet if this is related but I've just upgraded to latest > 10-stable from svn and I'm also seeing issues. > Running hostapd in foreground like this : /usr/sbin/hostapd -P > /var/run/hostapd.pid -d /etc/hostapd.conf > I see one client connect and then attempts from other clients time out. > When I give hostapd Ctrl-C I see this: > > wlan0: AP-STA-CONNECTED 00:bb:3a:03:09:32 > wlan0: STA 00:bb:3a:03:09:32 IEEE 802.1X: authorizing port > wlan0: STA 00:bb:3a:03:09:32 RADIUS: starting accounting session > 56213F3C-00000000 > wlan0: STA 00:bb:3a:03:09:32 WPA: pairwise key handshake completed (RSN= ) > > > ^Celoop: could not process SIGINT or SIGTERM in two seconds. Looks like= there > is a bug that ends up in a busy loop that prevents clean shutdown. > Killing program forcefully. > > --Nikolay > > > > On Fri, Oct 16, 2015 at 6:12 PM, Adrian Chadd wr= ote: >> Wait, there's a regression with wifi in -HEAD? What's the deal? >> >> >> -a >> >> >> On 16 October 2015 at 02:21, Olivier Cochard-Labb=C3=A9 wrote: >>> On Wed, Oct 14, 2015 at 7:00 AM, Rui Paulo wrote: >>> >>>> Hi, >>>> >>>> Please download and test the wpa_supplicant/hostapd import patch: >>>> >>>> http://people.freebsd.org/~rpaulo/patches/wpa-2.5.diff >>>> >>>> >>>> >>> Your patch were ested with success: >>> - hostapd v2.5 >>> - Atheros 9280 (ath) in hostapd mode (WPA2-EAP/TLS using a RADIUS) >>> - FreeBSD 11.0-CURRENT r283534 >>> >>> (I meet problem with ath in hostap mode on more recent -head: clients >>> can't authenticate, but need time for bisec the exact commit that creat= e >>> this regression) >>> >>> Regards, >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.o= rg" >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.or= g"