From: Daniele Furlan <daniele.furlan@gmail.com>
To: linux-wireless@vger.kernel.org
Subject: Obtain peer statistic from net_device struct
Date: Thu, 7 Apr 2011 12:27:04 +0200 [thread overview]
Message-ID: <BANLkTin+2wSi1Hgok1UATZ9xeEgtkjzuzA@mail.gmail.com> (raw)
Hi,
I'm modifing B.A.T.M.A.N. mesh network routing protocol in order to
take into account the tx bitrate.
I know the net_device struct of each physical device, how can I check
if the device supports mac80211 and obtain a pointer to the struct
containg the statistics or something similar (maybe ieee80211_local or
wiphy)?
I have checked iw code without success.
Thanks in advance.
--
Daniele Furlan
reply other threads:[~2011-04-07 10:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BANLkTin+2wSi1Hgok1UATZ9xeEgtkjzuzA@mail.gmail.com \
--to=daniele.furlan@gmail.com \
--cc=linux-wireless@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).