For now, add a quick debugging patch to log when the hw TXQ != the TID/AC.

This commit is contained in:
Adrian Chadd 2012-05-21 22:43:38 +00:00
parent 4dfd450768
commit 6deb7f3271
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=235750
1 changed files with 12 additions and 0 deletions

View File

@ -1298,6 +1298,18 @@ ath_tx_normal_setup(struct ath_softc *sc, struct ieee80211_node *ni,
return EIO;
}
/* Check if the TXQ wouldn't match what the hardware TXQ is! */
if (txq != sc->sc_ac2q[pri]) {
device_printf(sc->sc_dev,
"%s: txq=%p (%d), pri=%d, pri txq=%p (%d)\n",
__func__,
txq,
txq->axq_qnum,
pri,
sc->sc_ac2q[pri],
sc->sc_ac2q[pri]->axq_qnum);
}
/*
* Calculate miscellaneous flags.
*/