Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 05 Jun 2026 12:10:07 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a993d281111b - main - LinuxKPI: 802.11: add note about rate control support under boot -v
Message-ID:  <6a22bc9f.247c8.28ffc555@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=a993d281111bef7c760340321e372a7cb6a759a0

commit a993d281111bef7c760340321e372a7cb6a759a0
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-04-26 20:04:46 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-06-05 12:09:22 +0000

    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 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;


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a22bc9f.247c8.28ffc555>