mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] wifi: iwlwifi: mld: include VI packets in low latency detection
@ 2026-10-04 21:44 Endrik Einberg
  2026-10-04 21:53 ` netdev-bot+sinfo
  2026-10-05  7:25 ` Korenblit, Miriam Rachel
  0 siblings, 2 replies; 5+ messages in thread
From: Endrik Einberg @ 2026-10-04 21:44 UTC (permalink / raw)
  To: Miri Korenblit; +Cc: linux-wireless, netdev, linux-kernel, Endrik Einberg

iwl_mld_is_vo_vi_pkt() checks whether the mapped access category
is less than IEEE80211_AC_VI.
Since mac80211 defines IEEE80211_AC_VO as 0 and IEEE80211_AC_VI as 1,
this only matches voice traffic and excludes video traffic.

Include IEEE80211_AC_VI as intended,
matching behaviour of iwlmvm's iwl_mvm_calc_tcm_stats().

Fixes: d1e879ec600f ("wifi: iwlwifi: add iwlmld sub-driver")
Signed-off-by: Endrik Einberg <git@endrik.dev>
---
 drivers/net/wireless/intel/iwlwifi/mld/low_latency.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/intel/iwlwifi/mld/low_latency.c b/drivers/net/wireless/intel/iwlwifi/mld/low_latency.c
index a4ddc32e2860..36da639aee54 100644
--- a/drivers/net/wireless/intel/iwlwifi/mld/low_latency.c
+++ b/drivers/net/wireless/intel/iwlwifi/mld/low_latency.c
@@ -257,7 +257,7 @@ static bool iwl_mld_is_vo_vi_pkt(struct ieee80211_hdr *hdr)
 	if (tid >= IWL_MAX_TID_COUNT)
 		return false;
 
-	return tid_to_mac80211_ac[tid] < IEEE80211_AC_VI;
+	return tid_to_mac80211_ac[tid] <= IEEE80211_AC_VI;
 }
 
 void iwl_mld_low_latency_update_counters(struct iwl_mld *mld,
-- 
2.53.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-10-05 14:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-04 21:44 [PATCH] wifi: iwlwifi: mld: include VI packets in low latency detection Endrik Einberg
2026-10-04 21:53 ` netdev-bot+sinfo
2026-10-05  6:40   ` Endrik Einberg
2026-10-05  7:25 ` Korenblit, Miriam Rachel
2026-10-05 14:08   ` git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®