WARN ON at ath_tx_start_dma
Hi
I am getting WARN_ON at the following location in function ath_tx_start_dma.
static void ath_tx_start_dma(struct ath_softc *sc, struct sk_buff *skb,
struct ath_tx_control *txctl)
{
struct ieee80211_tx_info *tx_info = IEEE80211_SKB_CB(skb);
struct ieee80211_hdr *hdr = (struct ieee80211_hdr *)skb->data;
struct ath_atx_tid *tid = NULL;
struct ath_buf *bf;
u8 tidno;
if ((sc->sc_ah->caps.hw_caps & ATH9K_HW_CAP_HT) && txctl->an && ieee80211_is_data_qos(hdr->frame_control)) {
tidno = ieee80211_get_qos_ctl(hdr)[0] &IEEE80211_QOS_CTL_TID_MASK;
tid = ATH_AN_2_TID(txctl->an, tidno);WARN_ON(tid->ac->txq != txctl->txq);
}
Please help me understand this situation. On what data conditions I should be getting this warning. Thanks
Syed
Quoted 12 lines · syed moulana
Hi
I am gettingWARN_ONat the following location in functionath_tx_start_dma. static voidath_tx_start_dma(struct ath_softc *sc, struct sk_buff *skb, struct ath_tx_control *txctl)
{
structieee80211_tx_info*tx_info=IEEE80211_SKB_CB(skb); structieee80211_hdr*hdr = (structieee80211_hdr*)skb->data; structath_atx_tid*tid = NULL;
structath_buf*bf;
u8 tidno;
if ((sc->sc_ah->caps.hw_caps&ATH9K_HW_CAP_HT) &&txctl->an&&ieee80211_is_data_qos(hdr->frame_control)) {
Quoted 8 lines
tidno = ieee80211_get_qos_ctl(hdr)[0] &
IEEE80211_QOS_CTL_TID_MASK;
tid =ATH_AN_2_TID(txctl->an, tidno);WARN_ON(tid->ac->txq != txctl->txq);
}
Please help me understand this situation. On what data conditions I should be getting this warning. Thanks
Syed
Please post full warn-on splat.
And, what traffic are you sending? I think this can happen with pktgen traffic in upstream kernel, for instance.
Thanks,
Ben
Quoted 5 lines
_______________________________________________
ath9k-devel mailing list
ath9k-devel at lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel
Signature · 2 lines
Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com