mt76: update Mediatek's mt76 driverThis version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 ( tag: v6.19-rc6 ).Notable change:
mt76: update Mediatek's mt76 driverThis version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 ( tag: v6.19-rc6 ).Notable change: license got switched from ISC to BSD-3-Clause-Clear.util.h is now imported from upstream given it is no longer GPL-only.See the upstream repository 909675fd4344f73aad5f75f123bd271ada2ab9fband a96fed2825d8dfb068bf640419c619b5f2df4218.For us the new version should also help with page pools and DMA32.Sponsored by: The FreeBSD Foundation
show more ...
LinuxKPI: mt76: depend on CONFIG_NET_MEDIATEK_SOC_WEDIf CONFIG_NET_MEDIATEK_SOC_WED is not set then be silent; ifCONFIG_NET_MEDIATEK_SOC_WED is set we will enable logic or rather tepr_debug("TOD
LinuxKPI: mt76: depend on CONFIG_NET_MEDIATEK_SOC_WEDIf CONFIG_NET_MEDIATEK_SOC_WED is not set then be silent; ifCONFIG_NET_MEDIATEK_SOC_WED is set we will enable logic or rather tepr_debug("TODO") calls for now.Spsonsored by: The FreeBSD FoundationMFC after: 3 days
LinuxKPI: soc/mediatek add pr_debug callsWe do not support Wireless Ethernet Dispatch (wed) on the mt76 (yet).Add pr_debug calls with TODO in case we run into the calls anyway sowe could deal wit
LinuxKPI: soc/mediatek add pr_debug callsWe do not support Wireless Ethernet Dispatch (wed) on the mt76 (yet).Add pr_debug calls with TODO in case we run into the calls anyway sowe could deal with them.MFC after: 3 days
mt76: update Mediatek's mt76 driverThis version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git38fec10eb60d687e30c8c6b5420d86e8149f7557 ( tag: v6.14 ).Sponsored by: The
mt76: update Mediatek's mt76 driverThis version is based ongit.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git38fec10eb60d687e30c8c6b5420d86e8149f7557 ( tag: v6.14 ).Sponsored by: The FreeBSD Foundation
LinuxKPI: some additions for mt76Add changes required for later mt76 drivers.Sponsored by: The FreeBSD FoundationMFC after: 3 days
mt76: update driver from upstreamThis is a set of updates of the mt76 driver based on wireless-testing(wt-2023-05-11) 711dca0ca3d77414f8f346e564e9c8640147f40d (after v6.4-rc1), This adds support
mt76: update driver from upstreamThis is a set of updates of the mt76 driver based on wireless-testing(wt-2023-05-11) 711dca0ca3d77414f8f346e564e9c8640147f40d (after v6.4-rc1), This adds support for mt7996 as well.(wt-2023-06-09) 7bd20e011626ccc3ad53e57873452b1716fcfaaa (after v6.4-rc5),(wt-2023-07-24) 62e409149b62a285e89018e49b2e115757fb9022 (after v6.5-rc3),(wt-2023-08-06) 2a220a15be657a24868368892e3e2caba2115283 (after v6.5-rc4).The current version of LinuxKPI lacks support for "page pool" whichneeds enhancing and updating a decade or so old shortcut mappingstruct page directly to struct vm_page.MFC after: 20 days
sys: Remove $FreeBSD$: two-line .h patternRemove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
mt76: import mediatek/mt76 driverImport ISC-licensed driver parts of mediatek/mt76assumed to be based on Linux wireless-testing ata02411a5b98612c12be99349836d99f07db12a77 (tag: wt-2022-11-23).C
mt76: import mediatek/mt76 driverImport ISC-licensed driver parts of mediatek/mt76assumed to be based on Linux wireless-testing ata02411a5b98612c12be99349836d99f07db12a77 (tag: wt-2022-11-23).Complement the driver and LinuxKPI with our own (dummy)implementations of missing parts (util.h and soc/mediatek/)as well as changes to make compile on FreeBSD with changescovered by #ifdef (__FreeBSD__) conditions.Further select updates were applied since the initial importin order to keep compiling along with other LinuxKPI baseddrivers.For the moment we only target the mt7915 and mt7921 PCI parts.More may follow in the future.Firmware is provided by port net/wifi-firmware-mt76-kmod.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 (emaste, 2022-04-08) [1]MFC after: 2 months