|
@@ -1263,7 +1263,7 @@ void ath_tx_aggr_sleep(struct ieee80211_sta *sta, struct ath_softc *sc,
|
|
|
int tidno;
|
|
|
|
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
|
- tidno < WME_NUM_TID; tidno++, tid++) {
|
|
|
+ tidno < IEEE80211_NUM_TIDS; tidno++, tid++) {
|
|
|
|
|
|
if (!tid->sched)
|
|
|
continue;
|
|
@@ -1297,7 +1297,7 @@ void ath_tx_aggr_wakeup(struct ath_softc *sc, struct ath_node *an)
|
|
|
int tidno;
|
|
|
|
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
|
- tidno < WME_NUM_TID; tidno++, tid++) {
|
|
|
+ tidno < IEEE80211_NUM_TIDS; tidno++, tid++) {
|
|
|
|
|
|
ac = tid->ac;
|
|
|
txq = ac->txq;
|
|
@@ -2448,7 +2448,7 @@ void ath_tx_node_init(struct ath_softc *sc, struct ath_node *an)
|
|
|
int tidno, acno;
|
|
|
|
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
|
- tidno < WME_NUM_TID;
|
|
|
+ tidno < IEEE80211_NUM_TIDS;
|
|
|
tidno++, tid++) {
|
|
|
tid->an = an;
|
|
|
tid->tidno = tidno;
|
|
@@ -2481,7 +2481,7 @@ void ath_tx_node_cleanup(struct ath_softc *sc, struct ath_node *an)
|
|
|
int tidno;
|
|
|
|
|
|
for (tidno = 0, tid = &an->tid[tidno];
|
|
|
- tidno < WME_NUM_TID; tidno++, tid++) {
|
|
|
+ tidno < IEEE80211_NUM_TIDS; tidno++, tid++) {
|
|
|
|
|
|
ac = tid->ac;
|
|
|
txq = ac->txq;
|