rtw89: import firmware for Realtek's rtw89 supported chipsets.
Import the most recent versions of the firmware images for the rtw89 driver. This is based on linux-firmware at 2f2f0181581d3e35bfdb9fc65f609ee9d3fbaeb7. The license of the firmware matches the previously added rtw88(4) firmware and you can find a copy in sys/contrib/dev/rtw89fw/LICENCE.rtlwifi_firmware.txt. Add build infrastructure to create the .ko files but do not yet hook it up to the build until all parts are in the tree. Approved by: core.11 (imp) [2022-03-27] MFC after: 6 weeks
This commit is contained in:
parent
8e93258f26
commit
866e021654
39
sys/contrib/dev/rtw89fw/LICENCE.rtlwifi_firmware.txt
Normal file
39
sys/contrib/dev/rtw89fw/LICENCE.rtlwifi_firmware.txt
Normal file
@ -0,0 +1,39 @@
|
||||
Copyright (c) 2010, Realtek Semiconductor Corporation
|
||||
All rights reserved.
|
||||
|
||||
Redistribution. Redistribution and use in binary form, without
|
||||
modification, are permitted provided that the following conditions are
|
||||
met:
|
||||
|
||||
* Redistributions must reproduce the above copyright notice and the
|
||||
following disclaimer in the documentation and/or other materials
|
||||
provided with the distribution.
|
||||
* Neither the name of Realtek Semiconductor Corporation nor the names of its
|
||||
suppliers may be used to endorse or promote products derived from this
|
||||
software without specific prior written permission.
|
||||
* No reverse engineering, decompilation, or disassembly of this software
|
||||
is permitted.
|
||||
|
||||
Limited patent license. Realtek Semiconductor Corporation grants a world-wide,
|
||||
royalty-free, non-exclusive license under patents it now or hereafter
|
||||
owns or controls to make, have made, use, import, offer to sell and
|
||||
sell ("Utilize") this software, but solely to the extent that any
|
||||
such patent is necessary to Utilize the software alone, or in
|
||||
combination with an operating system licensed under an approved Open
|
||||
Source license as listed by the Open Source Initiative at
|
||||
http://opensource.org/licenses. The patent license shall not apply to
|
||||
any other combinations which include this software. No hardware per
|
||||
se is licensed hereunder.
|
||||
|
||||
DISCLAIMER. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
|
||||
CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
|
||||
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
|
||||
FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
|
||||
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
|
||||
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
|
||||
USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
||||
DAMAGE.
|
8
sys/contrib/dev/rtw89fw/WHENCE
Normal file
8
sys/contrib/dev/rtw89fw/WHENCE
Normal file
@ -0,0 +1,8 @@
|
||||
|
||||
Driver: rtw89 - Realtek 802.11ax WLAN driver for RTL8852A
|
||||
|
||||
File: rtw89/rtw8852a_fw.bin
|
||||
File: rtw89/rtw8852c_fw.bin
|
||||
|
||||
Licence: Redistributable. See LICENCE.rtlwifi_firmware.txt for details.
|
||||
|
BIN
sys/contrib/dev/rtw89fw/rtw8852a_fw.bin
Normal file
BIN
sys/contrib/dev/rtw89fw/rtw8852a_fw.bin
Normal file
Binary file not shown.
BIN
sys/contrib/dev/rtw89fw/rtw8852c_fw.bin
Normal file
BIN
sys/contrib/dev/rtw89fw/rtw8852c_fw.bin
Normal file
Binary file not shown.
7
sys/modules/rtw89fw/Makefile
Normal file
7
sys/modules/rtw89fw/Makefile
Normal file
@ -0,0 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
SUBDIR= \
|
||||
rtw8852a \
|
||||
rtw8852c
|
||||
|
||||
.include <bsd.subdir.mk>
|
17
sys/modules/rtw89fw/Makefile.inc
Normal file
17
sys/modules/rtw89fw/Makefile.inc
Normal file
@ -0,0 +1,17 @@
|
||||
# $FreeBSD$
|
||||
#
|
||||
# Common rules for building firmware. Note this gets auto-included
|
||||
# by the subdir Makefile's as a consequence of included bsd.kmod.mk.
|
||||
|
||||
_NAME= rtw${NAME}_fw.bin
|
||||
|
||||
IMG= ${_NAME}
|
||||
KMOD= ${_NAME}
|
||||
|
||||
CLEANFILES+= ${IMG}
|
||||
|
||||
FIRMWS= ${IMG}:${IMG}:${VERSION}
|
||||
|
||||
${IMG}: ${SRCTOP}/sys/contrib/dev/rtw89fw/${IMG}
|
||||
cp ${.ALLSRC} ${.TARGET}
|
||||
|
6
sys/modules/rtw89fw/rtw8852a/Makefile
Normal file
6
sys/modules/rtw89fw/rtw8852a/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
VERSION= 013360
|
||||
NAME= 8852a
|
||||
|
||||
.include <bsd.kmod.mk>
|
6
sys/modules/rtw89fw/rtw8852c/Makefile
Normal file
6
sys/modules/rtw89fw/rtw8852c/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
VERSION= 027200
|
||||
NAME= 8852c
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user