Lets make wifi fast again!
 help / color / mirror / Atom feed
From: Louie Lu <me@louie.lu>
To: Make-wifi-fast@lists.bufferbloat.net
Subject: [Make-wifi-fast] Some ath9k internal structure question
Date: Tue, 18 Sep 2018 17:19:45 +0800	[thread overview]
Message-ID: <CADMDV=xj-p=mesdE2pHzkgT+VwaoWaeyd=WEDcJZ6e2Fq1fbYA@mail.gmail.com> (raw)

Hi all,

For what know, `struct ath_atx_tid` is the queue for per station per
tid queue, and `struct ath_txq` is to describe the hardware queue, is
that correct?

Since I'm looking down the wake_tx_queue function, inside the
`ath_txq_schedule`:

    acq = &sc->cur_chan->acq[txq->mac80211_qnum];
    tid_list = &acq->acq_new or &acq->acq_old;
    tid = list_first_entry(tid_list, struct ath_atx_tid, list);

at the third line, it will get the first tid entry inside the tid list
with txq's AC number (the RR parts), after all, the `txq` is decoupled
from the tid, the packet for the tid is inside tid->txq, not the
parameter txq one, and the parameter txq only provide `qnum` and
`complete_q` for after using.

Is that correct, or did I miss some parts?


Thanks,
Louie.

                 reply	other threads:[~2018-09-18  9:19 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

  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='CADMDV=xj-p=mesdE2pHzkgT+VwaoWaeyd=WEDcJZ6e2Fq1fbYA@mail.gmail.com' \
    --to=me@louie.lu \
    --cc=Make-wifi-fast@lists.bufferbloat.net \
    /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