From owner-freebsd-wireless@FreeBSD.ORG Mon Feb 24 03:13:18 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AA3987FF for ; Mon, 24 Feb 2014 03:13:18 +0000 (UTC) Received: from mail-qa0-x234.google.com (mail-qa0-x234.google.com [IPv6:2607:f8b0:400d:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68C4416A3 for ; Mon, 24 Feb 2014 03:13:18 +0000 (UTC) Received: by mail-qa0-f52.google.com with SMTP id j15so5648836qaq.39 for ; Sun, 23 Feb 2014 19:13:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=j0TDtwdrosF7q6IbVa2SebQw4WykBR/0xXoHm2zvJxI=; b=vEUO/926WWmJx39OWk9+gaTDbw+ioR43FOWtFNYp5RwPepLRDuWTCpY4puF1MknMfw fWthmGJUUEPCpJKUlE9wgtfXbumpnn81Q2i0k8ht2xuTahWpznDZ8dcLmtBpZOjVQhI2 0jZ+nmpDiMqiIryYXehgvuJD6Sg4WRebX73T3jkpsRCa9MosXtFNSbiaqlS/Sgn60wmt dIdnZHtmoQY/tr0XhZXYxwI3Lf/7DjnfraBhQRg7Eum60wZA1DFfVeUQY9chxNhVXdWA kruMGbb3GR2QU3p3BiL87rXIqUKNZL+WqfWL1UlEEAi+xsGe59PQyBk5rOAqlrK6Atne oV7w== MIME-Version: 1.0 X-Received: by 10.140.50.131 with SMTP id s3mr25559218qga.12.1393211597005; Sun, 23 Feb 2014 19:13:17 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.16.10 with HTTP; Sun, 23 Feb 2014 19:13:16 -0800 (PST) Date: Sun, 23 Feb 2014 19:13:16 -0800 X-Google-Sender-Auth: s3YFsH9M57HFVlubtCzv-tcv8g0 Message-ID: Subject: iwnstats and iwn debugging From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.17 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, 24 Feb 2014 03:13:18 -0000 hi, I've just added code to iwn on -HEAD to expose statistics via ioctl(). I then added a very barnjacked iwnstats in tools/iwn/ which will dump out the statistics from the firmware every 1/10th of a second. Now, I have no idea what most of the fields mean, so don't even start with questions like "what's X mean?" If it's not documented in the linux iwlwifi driver, I have no idea. I highly recommend people do some digging in Linux to help me figure out what each statistics field means. but, hopefully it'll help us figure out why things are busted. For example, I know now that my 6205 (with no bluetooth) is actually stomping frames due to bluetooth when there isn't actually any bluetooth - and that needs to be fixed. Gragh. Enjoy, -a