| #
9e175561 |
| 26-Jan-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: Add bus attachments to the module Makefile
In addition to PCIe we will support USB and also prepare for SDIO (still disabled locally). The module SRCS are split up into a common part, which
rtw88: Add bus attachments to the module Makefile
In addition to PCIe we will support USB and also prepare for SDIO (still disabled locally). The module SRCS are split up into a common part, which we always add. All three bus parts are guarded by a local variable in the Makefile. In addition the PCI parts require PCI to be compiled into the kernel. We add that check in case of, e.g., SoCs with SDIO but no PCI, which may not have PCI in the kernel config and thus the module would fail to attach. USB has no additional check as it is fully loadable and does not have to be in a kernel config. SDIO depends on an MMCCAM-enabled kernel but is otherwise loadable.
While we could, we are not splitting the various bus attachments into individual modules as we generally do not do that in FreeBSD. [1]
Sponsored by: The FreeBSD Foundation MFC after: 3 days Discussed with: imp and jhb (2022, 2024), see also 17732dd8f01b [1] OKed by: imp (KERN_OPTS checks initially suggested by jhb) Differential Revision: https://reviews.freebsd.org/D55022
show more ...
|
| #
80ba8933 |
| 20-Jan-2026 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: update Realtek's rtw88 driver
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 ( tag: v6.19-rc6 ).
Sponsored by: T
rtw88: update Realtek's rtw88 driver
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 ( tag: v6.19-rc6 ).
Sponsored by: The FreeBSD Foundation
show more ...
|
| #
eb15fdb1 |
| 17-Oct-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: update Realtek's rtw88 driver
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git e5f0a698b34ed76002dc5cff3804a61c80233a7a ( tag: v6.17 ).
MFC after: 3 days
|
| #
aecd63f4 |
| 21-Aug-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88 / rtw89: define LINUXKPI_VERSION
Always define the LINUXKPI_VERSION for LinuxKPI based wireless drivers. This ensures that LinuxKPI can move indepdent of drivers.
Sponsored by: The FreeBSD F
rtw88 / rtw89: define LINUXKPI_VERSION
Always define the LINUXKPI_VERSION for LinuxKPI based wireless drivers. This ensures that LinuxKPI can move indepdent of drivers.
Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| #
a0ccc12f |
| 24-Apr-2025 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: merge Realtek's rtw88 driver based on Linux v6.14
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 38fec10eb60d687e30c8c6b5420d86e8149f7557 ( tag: v6.14 ).
rtw88: merge Realtek's rtw88 driver based on Linux v6.14
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 38fec10eb60d687e30c8c6b5420d86e8149f7557 ( tag: v6.14 ).
Sponsored by: The FreeBSD Foundation
show more ...
|
| #
07f65755 |
| 28-Dec-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: 802.11: turn on debugfs for iwlwifi and rtw88
Make iwlwifi compile with debugfs after the last updates and turn it on for both iwlwifi and rtw88 in order to be able to get at least some us
LinuxKPI: 802.11: turn on debugfs for iwlwifi and rtw88
Make iwlwifi compile with debugfs after the last updates and turn it on for both iwlwifi and rtw88 in order to be able to get at least some useful information on driver/firwmare state.
Sponsored by: The FreeBSD Foundation MFC after: 10 days
show more ...
|
| #
11c53278 |
| 25-Sep-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: update Realtek's rtw88 driver.
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).
Sponsored by: Th
rtw88: update Realtek's rtw88 driver.
This version is based on git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).
Sponsored by: The FreeBSD Foundation MFC after: 14 days
show more ...
|
| #
157e93e0 |
| 26-Sep-2024 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: pci: rename PCI_IRQ_LEGACY to PCI_IRQ_INTX
PCI_IRQ_LEGACY was added in 366d68f28379 (likely) for rtw88 only. The define now got renamed and I cannot find any other use but rtw88 and rtw89.
LinuxKPI: pci: rename PCI_IRQ_LEGACY to PCI_IRQ_INTX
PCI_IRQ_LEGACY was added in 366d68f28379 (likely) for rtw88 only. The define now got renamed and I cannot find any other use but rtw88 and rtw89. We keep the old name as comapt while driver updates are in progress enabling it defining LINUXKPI_VERSION for the two drivers.
Sponsored by; The FreeBSD Foundation MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D46822
show more ...
|
| #
e9ac4169 |
| 15-Jul-2024 |
Warner Losh <imp@FreeBSD.org> |
Remove residual blank line at start of Makefile
This is a residual of the $FreeBSD$ removal.
MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
|
| #
031beb4e |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
sys: Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
f621b087 |
| 18-Apr-2023 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
iwlwifi: rtw88: rtw89: fix gcc warnings
Fix -Wno-format and unused variables warnings with gcc by adopting (to|the) FreeBSD-specific code.
Reported by: jhb Sponsored by: The FreeBSD Foundation MFC
iwlwifi: rtw88: rtw89: fix gcc warnings
Fix -Wno-format and unused variables warnings with gcc by adopting (to|the) FreeBSD-specific code.
Reported by: jhb Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: jhb Differential Revision: https://reviews.freebsd.org/D39673
show more ...
|
| #
3a9e6624 |
| 10-Apr-2023 |
John Baldwin <jhb@FreeBSD.org> |
rtw88: Silence unused but set warnings from GCC for debug.c.
Reviewed by: bz Differential Revision: https://reviews.freebsd.org/D39353
|
| #
4495b4eb |
| 28-Nov-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: correct SRCS+= in Makefile
Properly spell a SRCS+= for an optional file (this is why it stayed unnoticed so far).
MFC after: 3 days
|
| #
514fb387 |
| 23-Sep-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
LinuxKPI: define LINUXKPI_INCLUDES for module builds as well
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk for kmod builds we've not had a common define to use leading to vari
LinuxKPI: define LINUXKPI_INCLUDES for module builds as well
While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk for kmod builds we've not had a common define to use leading to various spellings of include paths.
In order for the include list to be expanded more easily in the future, e.g., adding the "dummy" includes (for all) and to harmonize code, duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.
MFC after: 1 week Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D36683
show more ...
|
| #
17732dd8 |
| 01-Jul-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
Revert "rtw88: split driver up into a core and pci part"
After some discussion, for now, simply revert the change to split the driver up into if_rtw88_core.ko and if_rtw88_pci.ko as we do not have a
Revert "rtw88: split driver up into a core and pci part"
After some discussion, for now, simply revert the change to split the driver up into if_rtw88_core.ko and if_rtw88_pci.ko as we do not have an if_rtw88.ko anymore. We do have code trying to auto-load modules, e.g. ifconfig, based on if_xxx.ko.
We could, based on Makefile magic or further code, generate a if_rtw88.ko module with proper dependencies and keep this but for simplicity stay with the one slightly larger module for now. Should code appear to do this "properly" we can revisit this once USB support has landed.
Slightly update the module Makefile to keep the separation of files between core and pci bits visible and maintainable for the future.
This reverts commit 0f7b9777f8f39fbc230b3e1de2f844d9f839adea.
show more ...
|
| #
0f7b9777 |
| 12-Jun-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: split driver up into a core and pci part
Split the driver up into two modules (if_rtw88_pci.ko and rtw88_core.ko). This is in preparation for the hopefully eventually upcoming USB support usi
rtw88: split driver up into a core and pci part
Split the driver up into two modules (if_rtw88_pci.ko and rtw88_core.ko). This is in preparation for the hopefully eventually upcoming USB support using the same driver core.
Note: this changes the module name to load to if_rtw88_pci.ko instead of if_rtw88.ko. If using devmatch(8) everything should stay the same as the driver name (used for net.wlan.devices) stays rtw88. If using kld_list in rc.conf or loader.conf you will need to adjust the name. Update man page for this.
MFC after: 3 days
show more ...
|
| #
2774f206 |
| 30-Mar-2022 |
Bjoern A. Zeeb <bz@FreeBSD.org> |
rtw88: import Realtek's rtw88 driver
Import rtw88 based on wireless-testing at 5d5d68bcff1f7ff27ba0b938a4df5849849b47e3 with adjustments for FreeBSD.
While our version of the driver has knowledge a
rtw88: import Realtek's rtw88 driver
Import rtw88 based on wireless-testing at 5d5d68bcff1f7ff27ba0b938a4df5849849b47e3 with adjustments for FreeBSD.
While our version of the driver has knowledge about the incapablity of DMA above 4GB we do see errors if people have more than that often already showing when laoding firmware. The problem for that is currently believed to be outside this driver so importing it anyway for now.
Given the lack of full license texts on non-local files this is imported under the draft policy for handling SPDX files (D29226). [1]
Approved by: core (imp) [1] MFC after: 2 weeks
show more ...
|