From owner-freebsd-wireless@freebsd.org Tue Jun 14 05:24:42 2016 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 260CCAF2231; Tue, 14 Jun 2016 05:24:42 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from smtprelay01.ispgateway.de (smtprelay01.ispgateway.de [80.67.31.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E36F9291B; Tue, 14 Jun 2016 05:24:41 +0000 (UTC) (envelope-from mva@FreeBSD.org) Received: from [77.187.3.162] (helo=localhost) by smtprelay01.ispgateway.de with esmtpsa (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.84) (envelope-from ) id 1bCgpW-0007J1-DN; Tue, 14 Jun 2016 07:24:02 +0200 Date: Tue, 14 Jun 2016 07:24:01 +0200 From: Marcus von Appen To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org Subject: rtwn connection stops working on CURRENT Message-ID: <20160614052401.GA931@athena.sysfault.org> Reply-To: Marcus von Appen Mail-Followup-To: current@FreeBSD.org, freebsd-wireless@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.6.1 (2016-04-27) X-Df-Sender: MTEyNTc0Mg== X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.22 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: Tue, 14 Jun 2016 05:24:42 -0000 Hi, I'm running into a somewhat weird issue with the rtwn driver on CURRENT. It usually works for a couple of minutes (if there's not too much of troughput happening) before the downstream and upstream rates just "dry up" and the interface stops working. It happens faster, if there are multiple connections open at the same time, e.g. having a browser open or fetching mail and doing a portsnap update. Once the connection stopped working, dhclient will report the following: Jun 11 12:22:22 athena dhclient[474]: send_packet: no buffer space available Jun 11 12:24:08 athena last message repeated 4 times ... wpa_supplicant reports: Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0: CTRL-EVENT-DISCONNECTED bssid=... reason=3 locally_generated=1 Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="..." auth_failures=8 duration=100 reason=WRONG_KEY Jun 11 12:22:20 athena wpa_supplicant[335]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="..." auth_failures=9 duration=152 reason=CONN_FAILED pciconf -lv: rtwn0@pci0:3:0:0: class=0x028000 card=0x819510ec chip=0x817610ec rev=0x01 hdr=0x00 vendor = 'Realtek Semiconductor Co., Ltd.' device = 'RTL8188CE 802.11b/g/n WiFi Adapter' class = network An pointers on tracking this issue down and getting it fixed are highly appreciated. Cheers Marcus