From owner-freebsd-wireless@FreeBSD.ORG Mon Sep 8 02:16:57 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 3D4AC783; Mon, 8 Sep 2014 02:16:57 +0000 (UTC) Received: from mail-ob0-x234.google.com (mail-ob0-x234.google.com [IPv6:2607:f8b0:4003:c01::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F32311AB8; Mon, 8 Sep 2014 02:16:56 +0000 (UTC) Received: by mail-ob0-f180.google.com with SMTP id m8so10434177obr.11 for ; Sun, 07 Sep 2014 19:16:56 -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; bh=5oqc+c2LPjuCq+MpK0Ck0Tz7bP7kdpmDSAZGc/OAlhQ=; b=Qu+HhBv+SxRaQZn9XlFCDlak5XIZ2cmPP/d0B86N6o0OWictvprEqrRIyRiauf9rxI Tqx9U8kJr1VygtXc9qPHVKz4D5kn4Uf2g727TU6ADmt2zKQ1U/pwYS2Z4RVKqBuZnOl2 d9hsZ1zkheJ+tMa9N0H+cEcntj3ByxNuj0OnFdQCwnv9jD0Ukv5+Q4ioEME8jTxrCWoo 69N3nXK4uq1dEVv0KiJqQBo7do3ReCHGPfbk5/yIvDeLWjWxZJb7QejBuVa0IjSswHpN //crTkegX0nS7FJfZd1BuUThZTBW63U3AYimYxNkUDUS/NPgHkgho25LMvKLfLIGvij7 +GLQ== MIME-Version: 1.0 X-Received: by 10.60.130.170 with SMTP id of10mr29449795oeb.10.1410142616260; Sun, 07 Sep 2014 19:16:56 -0700 (PDT) Received: by 10.202.82.84 with HTTP; Sun, 7 Sep 2014 19:16:56 -0700 (PDT) In-Reply-To: <540C751F.6050202@freebsd.org> References: <540C751F.6050202@freebsd.org> Date: Sun, 7 Sep 2014 23:16:56 -0300 Message-ID: Subject: Re: Issues with urtwn From: Thiago Farina To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 Cc: freebsd-wireless@freebsd.org 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: Mon, 08 Sep 2014 02:16:57 -0000 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. -- Thiago Farina