From owner-svn-src-all@FreeBSD.ORG Mon Jul 28 20:52:07 2014 Return-Path: Delivered-To: svn-src-all@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 6A56C347; Mon, 28 Jul 2014 20:52:07 +0000 (UTC) Received: from mail-qa0-x235.google.com (mail-qa0-x235.google.com [IPv6:2607:f8b0:400d:c00::235]) (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 066B42196; Mon, 28 Jul 2014 20:52:06 +0000 (UTC) Received: by mail-qa0-f53.google.com with SMTP id v10so8351671qac.26 for ; Mon, 28 Jul 2014 13:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=nBBCiPieBtmorsrUc6tepdq65x1QcOsVtzdkgrfLBsI=; b=VG+cgcM8F3VwnM4qVdj8OErwVM8dV+Dqug8SuF4n6HiWCBeS1g5EUv5w5hB7yZQ+w0 X1fxfn+ee+QyYqo4HgEhjGedbMpaTnn4E16HrTDU0KRJwny/q1QF+IeGBKkdfYBh0z+K rXM8uuP9hEE4skHaJqB3n2C1YtxoeFxJxr3ZlH50t7zYdgK2KH9vxKO6uLnnGkMap5Jw bwSBXFeOkR1mYcrXgbax1N4ldQQh1UTqMwFj5NguCB8tC47UzBRsabRVQL2zO0f3g8O/ UY4cNHY2IsG+MN/MwM9Uqt3DNesxFMkzw6MvZhJbPpgi2ONxKdKjOi1A3wTnR4g79oom Bjmw== MIME-Version: 1.0 X-Received: by 10.224.161.83 with SMTP id q19mr8518131qax.26.1406580726071; Mon, 28 Jul 2014 13:52:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.224.1.6 with HTTP; Mon, 28 Jul 2014 13:52:06 -0700 (PDT) In-Reply-To: <53D6B784.6080102@selasky.org> References: <201407261606.s6QG61le092895@svn.freebsd.org> <53D3FDEC.5040000@selasky.org> <53D55CD9.4000408@selasky.org> <53D6B784.6080102@selasky.org> Date: Mon, 28 Jul 2014 13:52:06 -0700 X-Google-Sender-Auth: QXTYa4MJ1icFWan3V0ahVqCYjHs Message-ID: Subject: Re: svn commit: r269127 - head/sys/dev/usb/wlan From: Adrian Chadd To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Jul 2014 20:52:07 -0000 On 28 July 2014 13:50, Hans Petter Selasky wrote: > On 07/27/14 22:15, Adrian Chadd wrote: >> >> Ok. So, which one of those is showing up as 0? > > > Hi, > > I think it is the last one. I cannot test this again until later this year, > because I don't have access to the AP which is causing this :-( > > Is it possible you can add a function to the net80211 stack, which gets the > rate from the "ni" in a safe manner? The whole rate control thing from net80211 has to be upgraded. Drivers shouldn't be using ni->ni_txrate for anything other than informational purposes, yet .. well, that's not the case. -a