Hi All,

I hit the following warning when I try to generate packets from click
modular router

} else if (txctl->an &&
   ieee80211_is_data_present(hdr->frame_control)) {
 tid = ath_get_skb_tid(sc, txctl->an, skb);

*WARN_ON(tid->ac->txq != txctl->txq);*

if (info->flags & IEEE80211_TX_CTL_CLEAR_PS_FILT)
tid->ac->clear_ps_filter = true;

Basically click seems to be injecting packets into a different queue.

I see that similar problem exists in older kernel versions and the
following fix seems to be added in mac80211/tx.c for queue mapping

#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,6,27))
/* Older kernels do not have the select_queue callback */
*skb_set_queue_mapping(skb, ieee80211_select_queue(sdata, skb));*
#endif

However, this code is disabled for newer kernels.
When I enable it, the warning disappears.
Does anyone have any suggestions whether this change will have any other
side-effect, is it the right thing to reenable the queue mapping.

-- 
Thanks,
M
_______________________________________________
ath9k-devel mailing list
ath9k-devel@lists.ath9k.org
https://lists.ath9k.org/mailman/listinfo/ath9k-devel

Reply via email to