linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Zhongliang Zhao <zhao@iam.unibe.ch>
To: linux-wireless@vger.kernel.org
Cc: peter.dely@kau.se, staub@iam.unibe.ch
Subject: How to get the current queue length of a wireless device?
Date: Fri, 02 Jul 2010 16:20:30 +0200	[thread overview]
Message-ID: <4C2DF5AE.60409@iam.unibe.ch> (raw)

Hi all,

We are currently porting the Net-X framework [University of Illinois, 
Urbana-Champaign] (multi-channel framework) to recent Linux kernels (>= 
2.6.34) with the new wireless drivers (ath5k etc.).  In corporation with 
University of Karlstad, we have already ported the framework from 2.4 
kernels to 2.6.18 using the madwifi drivers.

Now, we want to produce more generic code and therefore use the new 
wireless drivers / mac80211. The multi-channel framework is based on an 
extension of the net bonding drivers, which combines multiple 
radio/channel pairs to one single virtual device. In order to do the 
scheduling, it requires knowledge about the current queue length of the 
individual wireless device for appropriate scheduling. However, we found 
that "get_tx_stats()" has been removed from mac80211. Which function 
should we use for getting the queue length?

Any comment is welcome.

Thank you very much in advance.

Zhongliang and Thomas

-- 
Zhongliang Zhao, Research Assistant
Institute of Computer Science and Applied Mathematics
University of Bern, Neubrueckstrasse 10, CH-3012 Bern, Switzerland
Email: zhao@iam.unibe.ch
Phone: +41 (0)31 511 2639
Fax: +41 (0)31 631 3261


                 reply	other threads:[~2010-07-02 14:31 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=4C2DF5AE.60409@iam.unibe.ch \
    --to=zhao@iam.unibe.ch \
    --cc=linux-wireless@vger.kernel.org \
    --cc=peter.dely@kau.se \
    --cc=staub@iam.unibe.ch \
    /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).