From owner-freebsd-wireless@FreeBSD.ORG Tue Sep 9 04:34:19 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6DD155DC; Tue, 9 Sep 2014 04:34:19 +0000 (UTC) Received: from ns.kevlo.org (220-135-115-6.HINET-IP.hinet.net [220.135.115.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ns.kevlo.org", Issuer "ns.kevlo.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id C8C05B05; Tue, 9 Sep 2014 04:34:18 +0000 (UTC) Received: from ns.kevlo.org (localhost [127.0.0.1]) by ns.kevlo.org (8.14.8/8.14.8) with ESMTP id s894X5J8018667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 9 Sep 2014 12:33:06 +0800 (CST) (envelope-from kevlo@ns.kevlo.org) Received: (from kevlo@localhost) by ns.kevlo.org (8.14.8/8.14.8/Submit) id s894X5qE018666; Tue, 9 Sep 2014 12:33:05 +0800 (CST) (envelope-from kevlo) Date: Tue, 9 Sep 2014 12:33:04 +0800 From: Kevin Lo To: Thiago Farina Subject: Re: Issues with urtwn Message-ID: <20140909043304.GA18643@ns.kevlo.org> References: <540C751F.6050202@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) Cc: "freebsd-wireless@freebsd.org" , Nathan Whitehorn X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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, 09 Sep 2014 04:34:19 -0000 On Mon, Sep 08, 2014 at 12:16:53PM -0300, Thiago Farina wrote: > > On Sun, Sep 7, 2014 at 11:36 PM, Adrian Chadd wrote: > > Hi, > > > > On 7 September 2014 19:16, Thiago Farina wrote: > >> On Sun, Sep 7, 2014 at 12:09 PM, Nathan Whitehorn > >> wrote: > >>> I've been having some issues with connection stability in urtwn for several > >>> months. The usual symptom is that after some period of time the connection > >>> will apparently stall. If I'm running ping continuously, for instance, it > >>> will at some point stop receiving replies. Then, sometime later, immediately > >>> if I use the "reassociate" command in wpa_cli, the connection will fix > >>> itself and all the packets I didn't get earlier get delivered at once: > >>> hundreds of ping replies, for instance, some with time stamps minutes in the > >>> past. No data is actually lost, though. > >>> > >>> I think the issue is that the driver does not actually support powersave > >>> mode (maybe it should?) but reports to the AP that it does: > >>> > >>>> ifconfig wlan0 list sta (this is on the AP) > >>> ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > >>> 80:1f:02:cc:47:a9 1 11 11M 8.5 0 5526 55712 EPS AE RSN > >>> > >>> I don't know enough about wireless to fix this, but the AP waiting for a > >>> powersave poll and never getting one seems consistent with the problem. > >> > >> I think what you are relating here is what I observed recently too. > >> Sorry, I'm new to FreeBSD. Just installed it recently, and I noticed > >> that after I left it idle (I went to do something for some hours) for > >> some time it lost the connection. Only rebooting makes it connect > >> again to my network. > > > > Which NIC are you seeing this on? > > > Mine is urtwn0: Realtek RTL8187L from my Gateway laptop. Typo? urtw(4) supports Realtek RTL8187L, not urtwn(4). > -- > Thiago Farina Kevin