Lets make wifi fast again!
 help / color / mirror / Atom feed
From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: "Mohan\, Nitinder" <nitinder.mohan@helsinki.fi>
Cc: "make-wifi-fast\@lists.bufferbloat.net"
	<make-wifi-fast@lists.bufferbloat.net>,
	"bloat-devel\@lists.bufferbloat.net"
	<bloat-devel@lists.bufferbloat.net>
Subject: Re: [Make-wifi-fast] Get hardware queue length for wireless interface in linux kernel
Date: Tue, 16 May 2017 12:45:47 +0200	[thread overview]
Message-ID: <87ziedgjvo.fsf@alrua-kau> (raw)
In-Reply-To: <878tlxhzr7.fsf@alrua-kau> ("Toke =?utf-8?Q?H=C3=B8iland-J?= =?utf-8?Q?=C3=B8rgensen=22's?= message of "Tue, 16 May 2017 12:17:32 +0200")

Toke Høiland-Jørgensen <toke@toke.dk> writes:

> Something like
>
> u32 mac80211_get_backlog(struct net_device *dev)
> {
> 	struct ieee80211_local *local = wdev_priv(dev->ieee80211_ptr);
>         return local->fq->backlog;
> }

Oh, except that you'll probably need to lock the fq struct while you're
accessing the backlog value... :)

-Toke

      reply	other threads:[~2017-05-16 10:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-15 15:40 Mohan, Nitinder
2017-05-15 17:55 ` Toke Høiland-Jørgensen
2017-05-16  9:33   ` Mohan, Nitinder
2017-05-16 10:17     ` Toke Høiland-Jørgensen
2017-05-16 10:45       ` Toke Høiland-Jørgensen [this message]

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

  List information: https://lists.bufferbloat.net/postorius/lists/make-wifi-fast.lists.bufferbloat.net/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ziedgjvo.fsf@alrua-kau \
    --to=toke@toke.dk \
    --cc=bloat-devel@lists.bufferbloat.net \
    --cc=make-wifi-fast@lists.bufferbloat.net \
    --cc=nitinder.mohan@helsinki.fi \
    /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