From a993d281111bef7c760340321e372a7cb6a759a0 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" Date: Sun, 26 Apr 2026 20:04:46 +0000 Subject: [PATCH] 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 --- sys/compat/linuxkpi/common/src/linux_80211.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c index 7e55e0912bb..b6ad148fb58 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;