Lets make wifi fast again!
 help / color / mirror / Atom feed
* [Make-wifi-fast] Some ath9k internal structure question
@ 2018-09-18  9:19 Louie Lu
  0 siblings, 0 replies; only message in thread
From: Louie Lu @ 2018-09-18  9:19 UTC (permalink / raw)
  To: Make-wifi-fast

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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-09-18  9:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-18  9:19 [Make-wifi-fast] Some ath9k internal structure question Louie Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox