aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2026-04-26 20:04:46 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2026-06-05 12:09:22 +0000
commita993d281111bef7c760340321e372a7cb6a759a0 (patch)
treef128dc8e186a0fd615eafe9eaa14fcffcea4fdca
parentfb97712a7f13b85ca707f52f206a2944ee66cf2c (diff)
LinuxKPI: 802.11: add note about rate control support under boot -v
We currently do not support rate control in LinuxKPI. As more drivers and chipsets gain suppport for higher throughput add a note under bootverbose if we hit one of these cases (currently only older iwlwifi chipsets). Sponsored by: The FreeBSD Foundation MFC after: 3 days
-rw-r--r--sys/compat/linuxkpi/common/src/linux_80211.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
index 7e55e0912bb1..b6ad148fb587 100644
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -7074,6 +7074,12 @@ linuxkpi_ieee80211_ifattach(struct ieee80211_hw *hw)
lkpi_enable_hw_scan(lhw);
+ /* Does the driver/firmware handle rate countrol? */
+ /* Currently only older iwlwifi mvm devices are in this category. */
+ if (bootverbose && !ieee80211_hw_check(hw, HAS_RATE_CONTROL))
+ ic_printf(ic, "NOTE: rate control not supported by LinuxKPI; "
+ "expect low rates only\n");
+
/* Does HW support Fragmentation offload? */
if (ieee80211_hw_check(hw, SUPPORTS_TX_FRAG))
ic->ic_flags_ext |= IEEE80211_FEXT_FRAG_OFFLOAD;