From nobody Fri Apr 10 20:24:52 2026 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fspFQ18p1z6YLxW for ; Fri, 10 Apr 2026 20:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fspFQ0cRmz3Crc for ; Fri, 10 Apr 2026 20:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775852698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MyOSBTH/8+nNqDwDr347r3nsTjcZwfG1uPKX5wAzJoM=; b=L+uSrLkPYzkRJsfdOCO/3L5nHz87heg8IWVfBUxC9Yhm9D4ZHp7ne3ytDOR2eOEi/L3Igp 6YdMc+kWkY1fdafCSx6SljON5HH3zoo7+igNKq9bBbjGyiBvPH/aNcxpW5zGHZ7FEn/09d yYnCLMGI/W4XeJgJxAhO9okG68fsu7fP204zMFlyeEYSxBOs82mtq8TVgfged3sDMsXX08 i8EQhnm7wuvMrYPKUMm0mYwJkhIcztab0sQcKL0huhwriErV2dWpb14Ul+tAuSB786TkKv XOF+DKoE0K1QDITwW4x/bbhCQ1M1KdUn6UBvCE4h4F0dcs2OqBrN8rl/mJGIuw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1775852698; a=rsa-sha256; cv=none; b=sh0Xxf/LK+UBTioiVHkITedcmw7koU9hFfK4//2+YbPMxFNp/SWicTTiqM+Xi6MoVo5lCz iU+Fy/OxK/WhTjrPxavakN0IprFQY7ovCZ7tFjR3YOlN/dwO6gVMKqgr4QQEn7m17cEyiO UQjLlIGQt4VMEflXsQR0uz6xOLtK/qL081dc5YOP6sc5Q4L6WOnwX+O+uGjoI+5wOhndgW 6OGlI/yTd6t5YEScy1yj3jrG69v73y+izos645izoB764W95+NyzLD7W0ozLsRd6bUgfCJ tkkgFd06rN+slrKny7+sQ+bBwBt265lP1nVJ7FusLGYMWI+R5GjsQlzoBogAQg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1775852698; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MyOSBTH/8+nNqDwDr347r3nsTjcZwfG1uPKX5wAzJoM=; b=fcElvm60DznHZkFO2Lq9+BFiwQSbFwRNflwNmJ/Uj5PLI9kFnRmDeTtV3Z9eAv7/R7om/A XR+nKJgPhkHIz7i8eBSadUK6yY+QDOF1MXEZJm6PRc1GUjx9it0bnaQz4pmMCDTm48C9Xf QjaoMBDX82ANHkVh0d5ZGCUznnTGyhZpObZGrpStdq2yZN5SVjZRqrpxZyusI9ns9ujnYX xE4TGRaHnmILNhVCe+fVUE8Qms98KiCcbidNmv2pvLgK3afrS+LRbUqk5C7KUbG+iZ6lSE HMcv0SBkCHUla7trLf51XZuylyhRP0ZqWrRwbuQTV6dep3yeZ40sbHOdzlxz2w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fspFQ0Bp8z10bs for ; Fri, 10 Apr 2026 20:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 43e37 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 10 Apr 2026 20:24:52 +0000 To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Bjoern A. Zeeb Subject: git: 2021088c41 - main - Status/2026Q1/lkpi-wireless.adoc: 802.11 wireless update List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2021088c41d765c62450d70a09a3793432c746e9 Auto-Submitted: auto-generated Date: Fri, 10 Apr 2026 20:24:52 +0000 Message-Id: <69d95c94.43e37.45280943@gitrepo.freebsd.org> The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/doc/commit/?id=2021088c41d765c62450d70a09a3793432c746e9 commit 2021088c41d765c62450d70a09a3793432c746e9 Author: Bjoern A. Zeeb AuthorDate: 2026-04-03 16:10:21 +0000 Commit: Bjoern A. Zeeb CommitDate: 2026-04-10 20:23:19 +0000 Status/2026Q1/lkpi-wireless.adoc: 802.11 wireless update Sponsored by: The FreeBSD Foundation Reviewed by: salvadore Differential Revision: https://reviews.freebsd.org/D56241 --- .../report-2026-01-2026-03/lkpi-wireless.adoc | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) diff --git a/website/content/en/status/report-2026-01-2026-03/lkpi-wireless.adoc b/website/content/en/status/report-2026-01-2026-03/lkpi-wireless.adoc new file mode 100644 index 0000000000..bb2d017944 --- /dev/null +++ b/website/content/en/status/report-2026-01-2026-03/lkpi-wireless.adoc @@ -0,0 +1,85 @@ +=== LinuxKPI 802.11 and Native Wireless Update + +Links: + +link:https://github.com/FreeBSDFoundation/proj-laptop/issues/66[Support the MediaTek Wireless cards] URL: link:https://github.com/FreeBSDFoundation/proj-laptop/issues/66[] + +link:https://github.com/FreeBSDFoundation/proj-laptop/issues/99[Support the Realtek Wireless cards] URL: link:https://github.com/FreeBSDFoundation/proj-laptop/issues/99[] + +Contact: Bjoern A. Zeeb + +Contact: The FreeBSD wireless mailing list + +This report focuses on the efforts using permissively licensed Linux wireless drivers, mostly unmodified, on FreeBSD, as well as preparing the native net80211 stack for support of newer standards. + +==== Driver updates + +All LinuxKPI based wireless drivers were updated to Linux v6.19 in main and stable/15. + +This includes +* the shipping drivers Intel man:iwlwifi[4] mvm/mld, Realtek man:rtw88[4] and man:rtw89[4], +* the Mediatek mt76 driver which is a work in progress, +* the three Qualcomm Atheros drivers ath10k, ath11k, and ath12k, which are TODO, as well as +* the Broadcom brcmfmac, which compiles and loads firmware but is lacking the cfg80211 compat shim and some netdev work. + +==== Intel iwlwifi support + +In order for the man:iwlwifi[4] driver update to be applied a few FreeBSD specific adjustments were made to allow the mld sub-driver to load properly. +Also multiple bug fixes were worked out. + +==== Realtek rtw88 and rtw89 support + +After the driver updates it turned out that our chandef emulation needed to be more elaborate. +In the follow-up further problems were discovered related to the fact that some rtw88 drivers can fail the hardware scan needing a fallback to software scanning. +Lastly the two rtw88 chipsets 8821c and 8822b seem to often have a 6s delay when we are preparing to authenticate. +It is unclear why the firmware fails in those cases but in the end I decided to leave this problem alone and try to get the 802.11n and 802.11ac updates in next (before 15.1-R hopefully) and only then go back to these chipsets and see what we can do. + +==== Mediatek mt76 support + +MT7921/7922 and MT7925 are the primary chipsets to work on currently. +After the driver update some DMA32 problems along with page_pools got sorted. +The drm-kmod changes prepared for the switch from native vm_page to Linux struct page were thankfully committed. +This we allow me to get a testing version out to people more easily. +MT7925 also revealed an insufficiency in our LinuxKPI IDR implementation, which more or less was documented there from day one. +This will need a complete rework to avoid problems with accesses to already destroyed entries which can happen in Linux. +I have also started to rack up further chipsets for testing. +802.11n and 802.11ac support will mostly come along with the Realtek work. + +==== Broadcom brcmfmac + +The Broadcom brcmfmac driver is compiling for PCIe and loading firmware (with a minor work around for arm64). +We are now lacking some cfg80211 and netdev LinuxKPI compat work in order to create the interface and drive wireless. + +==== QCA support + +While ath10k is mostly sorted for station mode, ath11k and ath12k need more work to compile again and an implementation for the MHI and other bits as needed. + +==== LinuxKPI USB support + +The LinuxKPI USB implementation has been sitting there for more than a decade. +I already put out a call for any users last years and again this year without any reply. +I do have an overhauled version which allows Realtek, Mediatek QCA ath10k, and Broadcom brcmfmac USB chipsets to compile. +The latter two are mostly irrelevant with old, and little actual USB dongles available. +Realtek and Mediatek attach and do pass packets but need a bit more work on stability and clean teardown. + +There is one blocker on this in that the (old and new) LinuxKPI USB implementation is intermingle our native USB stack leading to conflicts. +There is work in progress to resolve this and two possible ways have been identified but there is a 15 year old change in the way that first needs to be understood and cleaned up. + +==== LinuxKPI SDIO support + +The LinuxKPI SDIO support has been sitting in my development tree for a good year and was done mostly for Realtek rtw88. +Broadcom will need a few more placeholders to be filled, but that should not be too hard. +Interrupts need to be finalized and speed upgrade support pulled in from someone else's work in progress. +My plan is to get it into the tree as-is as soon as USB is out of the way for people to help testing and finalizing it. + +==== Native net80211 + +Thanks to the Ports Management Team for running an exp-run (experimental test build). +I prepared a patch in order to identify all ports using the net80211 ioctl interface. +This is needed in order to minimize breakage of upcoming ioctl interface changes upfront. + +Check link:https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293016[PR 293016] for details. + +==== Other + +I have given an update on most of this during the March LDWG (Laptop Desktop Working Group) call. +See link:https://wiki.freebsd.org/LaptopDesktopWorkingGroup[LDWG Wiki Page] for more information. + +Sponsor: The FreeBSD Foundation