rtw88: update Realtek's rtw88 driver.This version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).Sponsored by: Th
rtw88: update Realtek's rtw88 driver.This version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git98f7e32f20d28ec452afb208f9cffc08448a2652 ( tag: v6.11 ).Sponsored by: The FreeBSD FoundationMFC after: 14 days
show more ...
LinuxKPI: pci: rename PCI_IRQ_LEGACY to PCI_IRQ_INTXPCI_IRQ_LEGACY was added in 366d68f28379 (likely) for rtw88 only.The define now got renamed and I cannot find any other use butrtw88 and rtw89.
LinuxKPI: pci: rename PCI_IRQ_LEGACY to PCI_IRQ_INTXPCI_IRQ_LEGACY was added in 366d68f28379 (likely) for rtw88 only.The define now got renamed and I cannot find any other use butrtw88 and rtw89.We keep the old name as comapt while driver updates are inprogress enabling it defining LINUXKPI_VERSION for the two drivers.Sponsored by; The FreeBSD FoundationMFC after: 3 daysDifferential Revision: https://reviews.freebsd.org/D46822
Remove residual blank line at start of MakefileThis is a residual of the $FreeBSD$ removal.MFC After: 3 days (though I'll just run the command on the branches)Sponsored by: Netflix
sys: Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
iwlwifi: rtw88: rtw89: fix gcc warningsFix -Wno-format and unused variables warnings with gcc by adopting(to|the) FreeBSD-specific code.Reported by: jhbSponsored by: The FreeBSD FoundationMFC
iwlwifi: rtw88: rtw89: fix gcc warningsFix -Wno-format and unused variables warnings with gcc by adopting(to|the) FreeBSD-specific code.Reported by: jhbSponsored by: The FreeBSD FoundationMFC after: 3 daysReviewed by: jhbDifferential Revision: https://reviews.freebsd.org/D39673
rtw88: Silence unused but set warnings from GCC for debug.c.Reviewed by: bzDifferential Revision: https://reviews.freebsd.org/D39353
rtw88: correct SRCS+= in MakefileProperly spell a SRCS+= for an optional file (this is why it stayedunnoticed so far).MFC after: 3 days
LinuxKPI: define LINUXKPI_INCLUDES for module builds as wellWhile for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mkfor kmod builds we've not had a common define to use leading to vari
LinuxKPI: define LINUXKPI_INCLUDES for module builds as wellWhile for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mkfor kmod builds we've not had a common define to use leading to variousspellings 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 weekReviewed by: hselaskyDifferential Revision: https://reviews.freebsd.org/D36683
Revert "rtw88: split driver up into a core and pci part"After some discussion, for now, simply revert the change to splitthe driver up into if_rtw88_core.ko and if_rtw88_pci.ko as we donot have a
Revert "rtw88: split driver up into a core and pci part"After some discussion, for now, simply revert the change to splitthe driver up into if_rtw88_core.ko and if_rtw88_pci.ko as we donot have an if_rtw88.ko anymore. We do have code trying toauto-load modules, e.g. ifconfig, based on if_xxx.ko.We could, based on Makefile magic or further code, generate aif_rtw88.ko module with proper dependencies and keep this but forsimplicity stay with the one slightly larger module for now.Should code appear to do this "properly" we can revisit this onceUSB support has landed.Slightly update the module Makefile to keep the separation of filesbetween core and pci bits visible and maintainable for the future.This reverts commit 0f7b9777f8f39fbc230b3e1de2f844d9f839adea.
rtw88: split driver up into a core and pci partSplit the driver up into two modules (if_rtw88_pci.ko and rtw88_core.ko).This is in preparation for the hopefully eventually upcoming USB supportusi
rtw88: split driver up into a core and pci partSplit the driver up into two modules (if_rtw88_pci.ko and rtw88_core.ko).This is in preparation for the hopefully eventually upcoming USB supportusing the same driver core.Note: this changes the module name to load to if_rtw88_pci.ko instead ofif_rtw88.ko. If using devmatch(8) everything should stay the same asthe driver name (used for net.wlan.devices) stays rtw88. If usingkld_list in rc.conf or loader.conf you will need to adjust the name.Update man page for this.MFC after: 3 days
rtw88: import Realtek's rtw88 driverImport rtw88 based on wireless-testing at5d5d68bcff1f7ff27ba0b938a4df5849849b47e3 with adjustments for FreeBSD.While our version of the driver has knowledge a
rtw88: import Realtek's rtw88 driverImport rtw88 based on wireless-testing at5d5d68bcff1f7ff27ba0b938a4df5849849b47e3 with adjustments for FreeBSD.While our version of the driver has knowledge about the incapablityof DMA above 4GB we do see errors if people have more than thatoften already showing when laoding firmware.The problem for that is currently believed to be outside this driverso importing it anyway for now.Given the lack of full license texts on non-local files this isimported under the draft policy for handling SPDX files (D29226). [1]Approved by: core (imp) [1]MFC after: 2 weeks