Markus Theil <markus.theil@xxxxxxxxxxxxx> writes: > Before this patch, mt76 handled rx traffic for all TIDs equally, > when released from reorder buffer early. This patch uses an AC specific > reorder timeout, in order to release partial aggregated frames for voice > or video ACs earlier. For example, ath10k also uses AC specific reorder > timeouts (reported by firmware in that case). > > Signed-off-by: Markus Theil <markus.theil@xxxxxxxxxxxxx> [...] > +static unsigned long mt76_aggr_tid_to_timeo(u8 tidno) > +{ > + const int ieee802_1d_to_ac[8] = { static const? > + IEEE80211_AC_BE, > + IEEE80211_AC_BK, > + IEEE80211_AC_BK, > + IEEE80211_AC_BE, > + IEEE80211_AC_VI, > + IEEE80211_AC_VI, > + IEEE80211_AC_VO, > + IEEE80211_AC_VO > + }; > + const int ac_to_timeout[] = { static const? -- https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches