Lines Matching defs:ac
144 * queue up a dest/ac pair for tx scheduling
150 struct ath_atx_ac *ac = tid->ac;
156 /* add tid to ac atmost once */
161 list_insert_tail(&ac->tid_q, &tid->list);
163 /* add node ac to txq atmost once */
164 if (ac->sched)
167 ac->sched = B_TRUE;
168 list_insert_tail(&txq->axq_acq, &ac->list);
175 struct ath_txq *txq = &sc->sc_txq[tid->ac->qnum];
188 struct ath_txq *txq = &sc->sc_txq[tid->ac->qnum];
214 struct ath_txq *txq = &sc->sc_txq[tid->ac->qnum];
797 struct ath_txq *txq = &sc->sc_txq[txtid->ac->qnum];
890 struct ath_atx_ac *ac, *ac_tmp;
893 list_for_each_entry_safe(ac, ac_tmp, &txq->axq_acq) {
894 list_remove(&txq->axq_acq, ac);
895 ac->sched = B_FALSE;
896 list_for_each_entry_safe(tid, tid_tmp, &ac->tid_q) {
897 list_remove(&ac->tid_q, tid);
1669 * previously setup queue. We record the mapping from ac's
2385 struct ath_atx_ac *ac;
2401 tid->ac = &an->ac[acno];
2407 for (acno = 0, ac = &an->ac[acno]; acno < WME_NUM_AC; acno++, ac++) {
2408 ac->sched = B_FALSE;
2409 list_create(&ac->tid_q, sizeof (struct ath_atx_tid),
2414 ac->qnum = arn_tx_get_qnum(sc,
2418 ac->qnum = arn_tx_get_qnum(sc,
2422 ac->qnum = arn_tx_get_qnum(sc,
2426 ac->qnum = arn_tx_get_qnum(sc,
2437 struct ath_atx_ac *ac, *ac_tmp;
2448 list_for_each_entry_safe(ac, ac_tmp, &txq->axq_acq) {
2449 tid = list_head(&ac->tid_q);
2452 list_remove(&txq->axq_acq, ac);
2453 ac->sched = B_FALSE;
2456 &ac->tid_q) {
2457 list_remove(&ac->tid_q, tid);