]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
LinuxKPI: 802.11: disable early queue wakeup workaround; better classify
authorBjoern A. Zeeb <bz@FreeBSD.org>
Fri, 16 Feb 2024 21:14:02 +0000 (21:14 +0000)
committerBjoern A. Zeeb <bz@FreeBSD.org>
Mon, 15 Apr 2024 17:44:00 +0000 (17:44 +0000)
commit1665ef979d3adab05d178480077674ab5978e4f0
treef464d51869d20ed02c56b25e36b04f1f1fbfa68a
parentcd9fee3d2c370e81109505c2abfd381af952e9b3
LinuxKPI: 802.11: disable early queue wakeup workaround; better classify

We used to call lkpi_wake_tx_queues() for all queues early on in order
to make sure they are ready.  Turns out whatever logic in iwlwifi
startup is working correctly these days under LinuxKPI so this is no
longer needed.  As the comment indicated the "workaround" did not
always work.  Disable it for now.

The second part of the improvement is to properly classify Non-QOS
non-data frames (mgmt and ctl frames for now, unless we have to be
even more careful in the future about certain sub-types) as TID 7/VO.
Contrary to net80211 we must not promote PAE frames.

PR: 274382
MFC after: 3 day
Reviewed by: cc
Differential Revision: https://reviews.freebsd.org/D43944
sys/compat/linuxkpi/common/src/linux_80211.c