starfive-firmware: Add aic8800 and aic8800DC usb wifi firmware
aic8800 and aic8800DC support to run on visionfive2 board install firmware for aic8800 both 2.4G and 5G Signed-off-by: Andy Hu <andy.hu@starfivetech.com> Signed-off-by: Skyler Zheng <skyler.zheng@starfivetech.com>
This commit is contained in:
@@ -36,6 +36,11 @@ config BR2_PACKAGE_STARFIVE_FIRMWARE_ECR6600U_USB_WIFI
|
|||||||
help
|
help
|
||||||
Firmware files for the ECR6600U USB Wifi module.
|
Firmware files for the ECR6600U USB Wifi module.
|
||||||
|
|
||||||
|
config BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_USB_WIFI
|
||||||
|
bool "AIC8800 and AIC8800DC USB Wifi"
|
||||||
|
help
|
||||||
|
Firmware files for the AIC8800 and AIC8800DC USB Wifi module.
|
||||||
|
|
||||||
endmenu # WiFi
|
endmenu # WiFi
|
||||||
|
|
||||||
endif # BR2_PACKAGE_STARFIVE_FIRMWARE
|
endif # BR2_PACKAGE_STARFIVE_FIRMWARE
|
||||||
|
|||||||
+30
@@ -0,0 +1,30 @@
|
|||||||
|
# AIC USERCONFIG 2021/0911/2127
|
||||||
|
|
||||||
|
# txpwr_idx
|
||||||
|
enable=1
|
||||||
|
dsss=9
|
||||||
|
ofdmlowrate_2g4=10
|
||||||
|
ofdm64qam_2g4=10
|
||||||
|
ofdm256qam_2g4=9
|
||||||
|
ofdm1024qam_2g4=8
|
||||||
|
ofdmlowrate_5g=10
|
||||||
|
ofdm64qam_5g=9
|
||||||
|
ofdm256qam_5g=9
|
||||||
|
ofdm1024qam_5g=8
|
||||||
|
|
||||||
|
# txpwr_ofst
|
||||||
|
ofst_enable=0
|
||||||
|
ofst_chan_1_4=0
|
||||||
|
ofst_chan_5_9=0
|
||||||
|
ofst_chan_10_13=0
|
||||||
|
ofst_chan_36_64=0
|
||||||
|
ofst_chan_100_120=0
|
||||||
|
ofst_chan_122_140=0
|
||||||
|
ofst_chan_142_165=0
|
||||||
|
|
||||||
|
# xtal cap
|
||||||
|
xtal_enable=0
|
||||||
|
xtal_cap=24
|
||||||
|
xtal_cap_fine=31
|
||||||
|
|
||||||
|
# END
|
||||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
+60
@@ -0,0 +1,60 @@
|
|||||||
|
# AIC USERCONFIG 2022/0803/1707
|
||||||
|
|
||||||
|
# txpwr_lvl
|
||||||
|
enable=1
|
||||||
|
lvl_11b_11ag_1m_2g4=20
|
||||||
|
lvl_11b_11ag_2m_2g4=20
|
||||||
|
lvl_11b_11ag_5m5_2g4=20
|
||||||
|
lvl_11b_11ag_11m_2g4=20
|
||||||
|
lvl_11b_11ag_6m_2g4=20
|
||||||
|
lvl_11b_11ag_9m_2g4=20
|
||||||
|
lvl_11b_11ag_12m_2g4=20
|
||||||
|
lvl_11b_11ag_18m_2g4=20
|
||||||
|
lvl_11b_11ag_24m_2g4=18
|
||||||
|
lvl_11b_11ag_36m_2g4=18
|
||||||
|
lvl_11b_11ag_48m_2g4=16
|
||||||
|
lvl_11b_11ag_54m_2g4=16
|
||||||
|
lvl_11n_11ac_mcs0_2g4=20
|
||||||
|
lvl_11n_11ac_mcs1_2g4=20
|
||||||
|
lvl_11n_11ac_mcs2_2g4=20
|
||||||
|
lvl_11n_11ac_mcs3_2g4=20
|
||||||
|
lvl_11n_11ac_mcs4_2g4=18
|
||||||
|
lvl_11n_11ac_mcs5_2g4=18
|
||||||
|
lvl_11n_11ac_mcs6_2g4=16
|
||||||
|
lvl_11n_11ac_mcs7_2g4=16
|
||||||
|
lvl_11n_11ac_mcs8_2g4=16
|
||||||
|
lvl_11n_11ac_mcs9_2g4=16
|
||||||
|
lvl_11ax_mcs0_2g4=20
|
||||||
|
lvl_11ax_mcs1_2g4=20
|
||||||
|
lvl_11ax_mcs2_2g4=20
|
||||||
|
lvl_11ax_mcs3_2g4=20
|
||||||
|
lvl_11ax_mcs4_2g4=18
|
||||||
|
lvl_11ax_mcs5_2g4=18
|
||||||
|
lvl_11ax_mcs6_2g4=16
|
||||||
|
lvl_11ax_mcs7_2g4=16
|
||||||
|
lvl_11ax_mcs8_2g4=16
|
||||||
|
lvl_11ax_mcs9_2g4=16
|
||||||
|
lvl_11ax_mcs10_2g4=15
|
||||||
|
lvl_11ax_mcs11_2g4=15
|
||||||
|
|
||||||
|
# txpwr_loss
|
||||||
|
loss_enable=0
|
||||||
|
loss_value=2
|
||||||
|
|
||||||
|
# txpwr_ofst
|
||||||
|
ofst_enable=0
|
||||||
|
ofst_chan_1_4=0
|
||||||
|
ofst_chan_5_9=0
|
||||||
|
ofst_chan_10_13=0
|
||||||
|
ofst_chan_36_64=0
|
||||||
|
ofst_chan_100_120=0
|
||||||
|
ofst_chan_122_140=0
|
||||||
|
ofst_chan_142_165=0
|
||||||
|
|
||||||
|
# xtal cap
|
||||||
|
xtal_enable=0
|
||||||
|
xtal_cap=24
|
||||||
|
xtal_cap_fine=31
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -14,15 +14,6 @@ define STARFIVE_FIRMWARE_INSTALL_AP6256_BLUETOOTH
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# RTL8852BU Bluetooth
|
|
||||||
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_RTL8852BU_BLUETOOTH),y)
|
|
||||||
define STARFIVE_FIRMWARE_INSTALL_RTL8852BU
|
|
||||||
@echo "install RTL8852BU bluetooth firmware ..."
|
|
||||||
$(INSTALL) -m 0755 -D $(STARFIVE_FIRMWARE_PKGDIR)/rtl8852bu-bluetooth/rtl8852bu_config $(TARGET_DIR)/lib/firmware/
|
|
||||||
$(INSTALL) -m 0755 -D $(STARFIVE_FIRMWARE_PKGDIR)/rtl8852bu-bluetooth/rtl8852bu_fw $(TARGET_DIR)/lib/firmware/
|
|
||||||
endef
|
|
||||||
endif
|
|
||||||
|
|
||||||
# AP6256 SDIO Wifi
|
# AP6256 SDIO Wifi
|
||||||
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_SDIO_WIFI),y)
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_AP6256_SDIO_WIFI),y)
|
||||||
define STARFIVE_FIRMWARE_INSTALL_AP6256_SDIO_WIFI
|
define STARFIVE_FIRMWARE_INSTALL_AP6256_SDIO_WIFI
|
||||||
@@ -32,6 +23,15 @@ define STARFIVE_FIRMWARE_INSTALL_AP6256_SDIO_WIFI
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# RTL8852BU Bluetooth
|
||||||
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_RTL8852BU_BLUETOOTH),y)
|
||||||
|
define STARFIVE_FIRMWARE_INSTALL_RTL8852BU
|
||||||
|
@echo "install RTL8852BU bluetooth firmware ..."
|
||||||
|
$(INSTALL) -m 0755 -D $(STARFIVE_FIRMWARE_PKGDIR)/rtl8852bu-bluetooth/rtl8852bu_config $(TARGET_DIR)/lib/firmware/
|
||||||
|
$(INSTALL) -m 0755 -D $(STARFIVE_FIRMWARE_PKGDIR)/rtl8852bu-bluetooth/rtl8852bu_fw $(TARGET_DIR)/lib/firmware/
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
# ECR6600U USB Wifi
|
# ECR6600U USB Wifi
|
||||||
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_ECR6600U_USB_WIFI),y)
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_ECR6600U_USB_WIFI),y)
|
||||||
define STARFIVE_FIRMWARE_INSTALL_ECR6600U
|
define STARFIVE_FIRMWARE_INSTALL_ECR6600U
|
||||||
@@ -40,12 +40,24 @@ define STARFIVE_FIRMWARE_INSTALL_ECR6600U
|
|||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# AIC8800 or AIC8800DC USB Wifi
|
||||||
|
ifeq ($(BR2_PACKAGE_STARFIVE_FIRMWARE_AIC8800_USB_WIFI),y)
|
||||||
|
define STARFIVE_FIRMWARE_INSTALL_AIC8800
|
||||||
|
@echo "install AIC8800 firmware ..."
|
||||||
|
$(INSTALL) -m 0755 -d $(TARGET_DIR)/lib/firmware/aic8800
|
||||||
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/aic8800 $(STARFIVE_FIRMWARE_PKGDIR)/aic8800-usb-wifi/aic8800/*
|
||||||
|
$(INSTALL) -m 0755 -d $(TARGET_DIR)/lib/firmware/aic8800DC
|
||||||
|
$(INSTALL) -m 0644 -t $(TARGET_DIR)/lib/firmware/aic8800DC $(STARFIVE_FIRMWARE_PKGDIR)/aic8800-usb-wifi/aic8800DC/*
|
||||||
|
endef
|
||||||
|
endif
|
||||||
|
|
||||||
|
# install more firmware here
|
||||||
define STARFIVE_FIRMWARE_INSTALL_TARGET_CMDS
|
define STARFIVE_FIRMWARE_INSTALL_TARGET_CMDS
|
||||||
$(STARFIVE_FIRMWARE_INSTALL_AP6256_BLUETOOTH)
|
$(STARFIVE_FIRMWARE_INSTALL_AP6256_BLUETOOTH)
|
||||||
$(STARFIVE_FIRMWARE_INSTALL_RTL8852BU)
|
|
||||||
$(STARFIVE_FIRMWARE_INSTALL_AP6256_SDIO_WIFI)
|
$(STARFIVE_FIRMWARE_INSTALL_AP6256_SDIO_WIFI)
|
||||||
|
$(STARFIVE_FIRMWARE_INSTALL_RTL8852BU)
|
||||||
$(STARFIVE_FIRMWARE_INSTALL_ECR6600U)
|
$(STARFIVE_FIRMWARE_INSTALL_ECR6600U)
|
||||||
|
$(STARFIVE_FIRMWARE_INSTALL_AIC8800)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|||||||
Reference in New Issue
Block a user