Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2012 13:08:50 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        freebsd-wireless@freebsd.org
Subject:   New tool under development: athratestats
Message-ID:  <CAJ-VmomFm-yCexZC0nzLm9wPXJukpTD7zPnbxLjw1MMEhnh%2BTw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I got fed up with looking at rate control information via dmesg and so
I have started fleshing out an ioctl API to fetch said information
from the driver and punt it to userland.

The current API is under development and will likely involve a few
more development cycles to make it truely useful.

The tool is in tools/ath/ath/athratestats/. It currently lets you dump
the sample rate control statistics for a given MAC address (whatever
is listed in 'ifconfig wlanX list sta'. It operates on the driver rate
control setup, so you actually run it on the athX interface, not the
wlanX interface. That may be a bit sub-optimal and unclear for now.
Unfortunately, implementing "get all statistics for all nodes" is
rather difficult due to locking constraints. I'll look at resolving
that particular issue in the future.

I'd appreciate whatever feedback you all may have.



Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomFm-yCexZC0nzLm9wPXJukpTD7zPnbxLjw1MMEhnh%2BTw>