mirror of
https://github.com/shenmintao/aic8800d80.git
synced 2026-09-26 17:44:16 +00:00
feat: update to SDK v5.0 with comprehensive kernel and device support
Sync WiFi driver, firmware, and DKMS configuration from the bluetooth
branch (which itself is radxa USB driver_fw + Linux 6.16/6.17/6.19
kernel compat). aic_btusb and Bluetooth-specific install.sh logic
are intentionally excluded from main.
Driver updates:
- Add Linux kernel 6.12-6.19 compatibility support
- Add Linux 6.16 timer_container_of and wakelock API support
- Add Debian 6.1.0-26 backport support
- Add USB device ID 368b:8d81 support
- Add AIC8800DW device support
- Add TP-Link Archer TX1U Nano support (USB_VENDOR_ID_TENDA_V2:0x0110)
- Add TENDA series device support (U2, U11, U11 PRO)
- Add AIC8800FC_CUS1-6 series support
- Add AIC8800M80_CUS0-8 series support
- Add UGREEN AIC8800D80 adapter support
- Add Mercury (TP-Link OEM) support
- Allow 1 or 3 USB interfaces (BT-disabled SKUs report 1)
New compat modules:
- aicwf_compat_8800d80n.{c,h}
- aicwf_compat_8800dln.{c,h}
Firmware:
- New: fw/aic8800/, fw/aic8800D80N/, fw/aic8800D80X2/, fw/aic8800DLN/
- Updated: fw/aic8800D80/, fw/aic8800DC/
install.sh:
- Loop over all fw/aic8800* variants instead of hard-coding aic8800D80
- Install usb_modeswitch/1111_1111 config for "Pandora" clone adapter
- Verify firmware install by counting variants
dkms.conf: pass KDIR explicitly to make for cross-kernel builds.
Excluded from this commit (BT-only, kept on bluetooth branch):
- drivers/aic8800/aic_btusb/
- modprobe/aic8800-bt.conf
- diagnose_bt.sh
- install.sh btusb auto-load / hciconfig / bluez status checks
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
9a3b01eead
commit
d66e5cb859
@@ -0,0 +1,118 @@
|
||||
# AIC POWERLIMIT 2024/1108/1900
|
||||
# Max tx power reference: Linux wireless regulatory database for CRDA
|
||||
# https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git/tree/db.txt
|
||||
# If loss_value in aic_userconfig_8800d80.txt is enabled, the power value in this document will be subtracted from loss_value in actual judgment
|
||||
|
||||
# Table 1:
|
||||
## 2.4G, 20M,#5#
|
||||
## START
|
||||
## SRRC FCC ETSI JP UNSET
|
||||
CH01 15 15 15 15 15
|
||||
CH02 16 16 16 16 16
|
||||
CH03 16 16 16 16 16
|
||||
CH04 16 16 16 16 16
|
||||
CH05 16 16 16 16 16
|
||||
CH06 16 16 16 16 16
|
||||
CH07 16 16 16 16 16
|
||||
CH08 16 16 16 16 16
|
||||
CH09 16 16 16 16 16
|
||||
CH10 16 16 16 16 16
|
||||
CH11 16 16 16 16 16
|
||||
CH12 12 12 12 12 12
|
||||
CH13 12 12 12 12 12
|
||||
CH14 NA NA NA 12 12
|
||||
## END
|
||||
|
||||
# Table 2:
|
||||
## 2.4G, 40M,#5#
|
||||
## START
|
||||
## SRRC FCC ETSI JP UNSET
|
||||
CH01 NA NA NA NA NA
|
||||
CH02 NA NA NA NA NA
|
||||
CH03 16 16 16 16 16
|
||||
CH04 16 16 16 16 16
|
||||
CH05 16 16 16 16 16
|
||||
CH06 16 16 16 16 16
|
||||
CH07 16 16 16 16 16
|
||||
CH08 16 16 16 16 16
|
||||
CH09 16 16 16 16 16
|
||||
CH10 16 16 16 16 16
|
||||
CH11 16 16 16 16 16
|
||||
CH12 NA NA NA NA NA
|
||||
CH13 NA NA NA NA NA
|
||||
CH14 NA NA NA NA NA
|
||||
## END
|
||||
|
||||
# Table 3:
|
||||
## 5G, 20M,#5#
|
||||
## START
|
||||
## SRRC FCC ETSI JP UNSET
|
||||
# 5G Band 1
|
||||
CH36 15 16 16 16 15
|
||||
CH40 15 16 16 16 15
|
||||
CH44 15 16 16 16 15
|
||||
CH48 15 16 16 16 15
|
||||
# 5G Band 2
|
||||
CH52 15 16 16 16 15
|
||||
CH56 15 16 16 16 15
|
||||
CH60 15 16 16 16 15
|
||||
CH64 15 16 16 16 15
|
||||
# 5G Band 3
|
||||
CH100 NA 16 16 16 15
|
||||
CH104 NA 16 16 16 15
|
||||
CH108 NA 16 16 16 15
|
||||
CH112 NA 16 16 16 15
|
||||
CH116 NA 16 16 16 15
|
||||
CH120 NA 16 16 16 15
|
||||
CH124 NA 16 16 16 15
|
||||
CH128 NA 16 16 16 15
|
||||
CH132 NA 16 16 16 15
|
||||
CH136 NA 16 16 16 15
|
||||
CH140 NA 16 16 16 15
|
||||
CH144 NA NA 16 16 15
|
||||
# 5G Band 4
|
||||
CH149 16 16 11 NA 11
|
||||
CH153 16 16 11 NA 11
|
||||
CH157 16 16 11 NA 11
|
||||
CH161 16 16 11 NA 11
|
||||
CH165 16 16 11 NA 11
|
||||
## END
|
||||
|
||||
# Table 4:
|
||||
## 5G, 40M,#5#
|
||||
## START
|
||||
## SRRC FCC ETSI JP UNSET
|
||||
# 5G Band 1
|
||||
CH38 15 16 16 16 15
|
||||
CH46 15 16 16 16 15
|
||||
# 5G Band 2
|
||||
CH54 15 16 16 16 15
|
||||
CH62 15 16 16 16 15
|
||||
# 5G Band 3
|
||||
CH102 NA 16 16 16 15
|
||||
CH110 NA 16 16 16 15
|
||||
CH118 NA 16 16 16 15
|
||||
CH126 NA 16 16 16 15
|
||||
CH134 NA 16 16 16 15
|
||||
CH142 NA 16 NA 16 15
|
||||
# 5G Band 4
|
||||
CH151 16 16 11 NA 11
|
||||
CH159 16 16 11 NA 11
|
||||
## END
|
||||
|
||||
# Table 5:
|
||||
## 5G, 80M,#5#
|
||||
## START
|
||||
## SRRC FCC ETSI JP UNSET
|
||||
# 5G Band 1
|
||||
CH42 15 16 16 16 15
|
||||
# 5G Band 2
|
||||
CH58 15 16 16 16 15
|
||||
# 5G Band 3
|
||||
CH106 NA 16 16 16 15
|
||||
CH122 NA 16 16 16 15
|
||||
CH138 NA 16 NA NA 15
|
||||
# 5G Band 4
|
||||
CH155 16 16 11 NA 11
|
||||
## END
|
||||
|
||||
@@ -0,0 +1,68 @@
|
||||
# AIC USERCONFIG 2025/1016/1157
|
||||
|
||||
# txpwr_lvl
|
||||
enable=1
|
||||
lvl_11b_11ag_1m_2g4=18
|
||||
lvl_11b_11ag_2m_2g4=18
|
||||
lvl_11b_11ag_5m5_2g4=18
|
||||
lvl_11b_11ag_11m_2g4=18
|
||||
lvl_11b_11ag_6m_2g4=18
|
||||
lvl_11b_11ag_9m_2g4=18
|
||||
lvl_11b_11ag_12m_2g4=18
|
||||
lvl_11b_11ag_18m_2g4=18
|
||||
lvl_11b_11ag_24m_2g4=16
|
||||
lvl_11b_11ag_36m_2g4=16
|
||||
lvl_11b_11ag_48m_2g4=15
|
||||
lvl_11b_11ag_54m_2g4=15
|
||||
lvl_11n_11ac_mcs0_2g4=18
|
||||
lvl_11n_11ac_mcs1_2g4=18
|
||||
lvl_11n_11ac_mcs2_2g4=18
|
||||
lvl_11n_11ac_mcs3_2g4=18
|
||||
lvl_11n_11ac_mcs4_2g4=16
|
||||
lvl_11n_11ac_mcs5_2g4=16
|
||||
lvl_11n_11ac_mcs6_2g4=15
|
||||
lvl_11n_11ac_mcs7_2g4=15
|
||||
lvl_11n_11ac_mcs8_2g4=14
|
||||
lvl_11n_11ac_mcs9_2g4=14
|
||||
lvl_11ax_mcs0_2g4=18
|
||||
lvl_11ax_mcs1_2g4=18
|
||||
lvl_11ax_mcs2_2g4=18
|
||||
lvl_11ax_mcs3_2g4=18
|
||||
lvl_11ax_mcs4_2g4=16
|
||||
lvl_11ax_mcs5_2g4=16
|
||||
lvl_11ax_mcs6_2g4=15
|
||||
lvl_11ax_mcs7_2g4=15
|
||||
lvl_11ax_mcs8_2g4=14
|
||||
lvl_11ax_mcs9_2g4=14
|
||||
lvl_11ax_mcs10_2g4=13
|
||||
lvl_11ax_mcs11_2g4=13
|
||||
|
||||
# txpwr_lvl_adj
|
||||
lvl_adj_enable=0
|
||||
lvl_adj_2g4_chan_1_4=0
|
||||
lvl_adj_2g4_chan_5_9=0
|
||||
lvl_adj_2g4_chan_10_13=0
|
||||
|
||||
# txpwr_loss
|
||||
loss_enable_2g4=0
|
||||
loss_value_2g4=2
|
||||
|
||||
# txpwr_ofst
|
||||
ofst_enable=0
|
||||
ofst_2g4_11b_chan_1_4=0
|
||||
ofst_2g4_11b_chan_5_9=0
|
||||
ofst_2g4_11b_chan_10_13=0
|
||||
ofst_2g4_ofdm_highrate_chan_1_4=0
|
||||
ofst_2g4_ofdm_highrate_chan_5_9=0
|
||||
ofst_2g4_ofdm_highrate_chan_10_13=0
|
||||
ofst_2g4_ofdm_lowrate_chan_1_4=0
|
||||
ofst_2g4_ofdm_lowrate_chan_5_9=0
|
||||
ofst_2g4_ofdm_lowrate_chan_10_13=0
|
||||
|
||||
# xtal cap
|
||||
xtal_enable=0
|
||||
xtal_cap=24
|
||||
xtal_cap_fine=31
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user