dhd: import wifi and bluetooth firmware lineage-18.1
authorJan Altensen <info@stricted.net>
Wed, 15 Sep 2021 10:05:39 +0000 (12:05 +0200)
committerNolen Johnson <johnsonnolen@gmail.com>
Thu, 23 Sep 2021 22:05:46 +0000 (18:05 -0400)
Change-Id: I0132b1f9bd92ed997f1a4654237f39ce150e23c4

52 files changed:
firmware/bluetooth/bcm20703a2/BCM20703A2.hcd [new file with mode: 0644]
firmware/bluetooth/bcm20710a1/BCM20702.hcd [new file with mode: 0644]
firmware/bluetooth/bcm2076b1/BCM2076.hcd [new file with mode: 0644]
firmware/bluetooth/bcm40183b2/BCM4330.hcd [new file with mode: 0644]
firmware/bluetooth/bcm43241b4/bcm43241b4.hcd [new file with mode: 0644]
firmware/bluetooth/bcm43341b0/bcm43341b0.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4335c0/bcm4335c0.hcd [new file with mode: 0644]
firmware/bluetooth/bcm43438a0/4343.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4345c0/BCM4345C0.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4345c5/BCM4345C5.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4354a1/BCM4350.hcd [new file with mode: 0644]
firmware/bluetooth/bcm43569a2/bcm43569a2.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4356a2/BCM4354.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4359c0/BCM4359C0.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4359c0/sabrina/BCM4359C0.hcd [new file with mode: 0644]
firmware/bluetooth/bcm4362a1/BCM4362A1.hcd [new file with mode: 0644]
firmware/bluetooth/bluetooth.mk [new file with mode: 0644]
firmware/firmware.mk [new file with mode: 0644]
firmware/origin.txt [new file with mode: 0644]
firmware/wifi/bcm4339a0_ag/config_bcm4339a0_ag.txt [new file with mode: 0644]
firmware/wifi/bcm4339a0_ag/fw_bcm4339a0_ag.bin [new file with mode: 0644]
firmware/wifi/bcm4339a0_ag/nvram_ap6335.txt [new file with mode: 0644]
firmware/wifi/bcm43436b0/config_bcm43436b0.txt [new file with mode: 0644]
firmware/wifi/bcm43436b0/fw_bcm43436b0.bin [new file with mode: 0644]
firmware/wifi/bcm43436b0/nvram_ap6236.txt [new file with mode: 0644]
firmware/wifi/bcm43438a0/config_bcm43438a0.txt [new file with mode: 0644]
firmware/wifi/bcm43438a0/fw_bcm43438a0.bin [new file with mode: 0644]
firmware/wifi/bcm43438a0/nvram_ap6212.txt [new file with mode: 0644]
firmware/wifi/bcm43455c0_ag/config_bcm43455c0_ag.txt [new file with mode: 0644]
firmware/wifi/bcm43455c0_ag/fw_bcm43455c0_ag.bin [new file with mode: 0644]
firmware/wifi/bcm43455c0_ag/nvram_ap6255.txt [new file with mode: 0644]
firmware/wifi/bcm43456c5_ag/config_bcm43456c5_ag.txt [new file with mode: 0644]
firmware/wifi/bcm43456c5_ag/fw_bcm43456c5_ag.bin [new file with mode: 0644]
firmware/wifi/bcm43456c5_ag/nvram_ap6256.txt [new file with mode: 0644]
firmware/wifi/bcm4356a2_ag/config_bcm4356a2_ag.txt [new file with mode: 0644]
firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag.bin [new file with mode: 0644]
firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin [new file with mode: 0644]
firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin [new file with mode: 0644]
firmware/wifi/bcm4356a2_ag/nvram_ap6356.txt [new file with mode: 0644]
firmware/wifi/bcm4358u_ag/fw_bcm4358u_ag.bin [new file with mode: 0644]
firmware/wifi/bcm4358u_ag/nvram_ap62x8.txt [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/config_bcm4359c0_ag.txt [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/fw_bcm4359c0_ag.bin [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/nvram_ap6398s.txt [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/sabrina/config_bcm4359c0_ag.txt [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin [new file with mode: 0644]
firmware/wifi/bcm4359c0_ag/sabrina/nvram_ap6398s.txt [new file with mode: 0644]
firmware/wifi/bcm43751a1_ag/clm_bcm43751a1_ag.blob [new file with mode: 0644]
firmware/wifi/bcm43751a1_ag/fw_bcm43751a1_ag.bin [new file with mode: 0644]
firmware/wifi/unknown/config_bcm43438a1.txt [new file with mode: 0644]
firmware/wifi/unknown/nvram_ap6271s.txt [new file with mode: 0644]
firmware/wifi/wifi.mk [new file with mode: 0644]

diff --git a/firmware/bluetooth/bcm20703a2/BCM20703A2.hcd b/firmware/bluetooth/bcm20703a2/BCM20703A2.hcd
new file mode 100644 (file)
index 0000000..840c4c6
Binary files /dev/null and b/firmware/bluetooth/bcm20703a2/BCM20703A2.hcd differ
diff --git a/firmware/bluetooth/bcm20710a1/BCM20702.hcd b/firmware/bluetooth/bcm20710a1/BCM20702.hcd
new file mode 100644 (file)
index 0000000..ebfedd9
Binary files /dev/null and b/firmware/bluetooth/bcm20710a1/BCM20702.hcd differ
diff --git a/firmware/bluetooth/bcm2076b1/BCM2076.hcd b/firmware/bluetooth/bcm2076b1/BCM2076.hcd
new file mode 100644 (file)
index 0000000..71b0a92
Binary files /dev/null and b/firmware/bluetooth/bcm2076b1/BCM2076.hcd differ
diff --git a/firmware/bluetooth/bcm40183b2/BCM4330.hcd b/firmware/bluetooth/bcm40183b2/BCM4330.hcd
new file mode 100644 (file)
index 0000000..463ac80
Binary files /dev/null and b/firmware/bluetooth/bcm40183b2/BCM4330.hcd differ
diff --git a/firmware/bluetooth/bcm43241b4/bcm43241b4.hcd b/firmware/bluetooth/bcm43241b4/bcm43241b4.hcd
new file mode 100644 (file)
index 0000000..7f6e0d7
Binary files /dev/null and b/firmware/bluetooth/bcm43241b4/bcm43241b4.hcd differ
diff --git a/firmware/bluetooth/bcm43341b0/bcm43341b0.hcd b/firmware/bluetooth/bcm43341b0/bcm43341b0.hcd
new file mode 100644 (file)
index 0000000..2dfc295
Binary files /dev/null and b/firmware/bluetooth/bcm43341b0/bcm43341b0.hcd differ
diff --git a/firmware/bluetooth/bcm4335c0/bcm4335c0.hcd b/firmware/bluetooth/bcm4335c0/bcm4335c0.hcd
new file mode 100644 (file)
index 0000000..02123e7
Binary files /dev/null and b/firmware/bluetooth/bcm4335c0/bcm4335c0.hcd differ
diff --git a/firmware/bluetooth/bcm43438a0/4343.hcd b/firmware/bluetooth/bcm43438a0/4343.hcd
new file mode 100644 (file)
index 0000000..ff9211b
Binary files /dev/null and b/firmware/bluetooth/bcm43438a0/4343.hcd differ
diff --git a/firmware/bluetooth/bcm4345c0/BCM4345C0.hcd b/firmware/bluetooth/bcm4345c0/BCM4345C0.hcd
new file mode 100644 (file)
index 0000000..67fb8f5
Binary files /dev/null and b/firmware/bluetooth/bcm4345c0/BCM4345C0.hcd differ
diff --git a/firmware/bluetooth/bcm4345c5/BCM4345C5.hcd b/firmware/bluetooth/bcm4345c5/BCM4345C5.hcd
new file mode 100644 (file)
index 0000000..ac65ae3
Binary files /dev/null and b/firmware/bluetooth/bcm4345c5/BCM4345C5.hcd differ
diff --git a/firmware/bluetooth/bcm4354a1/BCM4350.hcd b/firmware/bluetooth/bcm4354a1/BCM4350.hcd
new file mode 100644 (file)
index 0000000..7b25b06
Binary files /dev/null and b/firmware/bluetooth/bcm4354a1/BCM4350.hcd differ
diff --git a/firmware/bluetooth/bcm43569a2/bcm43569a2.hcd b/firmware/bluetooth/bcm43569a2/bcm43569a2.hcd
new file mode 100644 (file)
index 0000000..fbfce45
Binary files /dev/null and b/firmware/bluetooth/bcm43569a2/bcm43569a2.hcd differ
diff --git a/firmware/bluetooth/bcm4356a2/BCM4354.hcd b/firmware/bluetooth/bcm4356a2/BCM4354.hcd
new file mode 100644 (file)
index 0000000..dc991ea
Binary files /dev/null and b/firmware/bluetooth/bcm4356a2/BCM4354.hcd differ
diff --git a/firmware/bluetooth/bcm4359c0/BCM4359C0.hcd b/firmware/bluetooth/bcm4359c0/BCM4359C0.hcd
new file mode 100644 (file)
index 0000000..7e1961c
Binary files /dev/null and b/firmware/bluetooth/bcm4359c0/BCM4359C0.hcd differ
diff --git a/firmware/bluetooth/bcm4359c0/sabrina/BCM4359C0.hcd b/firmware/bluetooth/bcm4359c0/sabrina/BCM4359C0.hcd
new file mode 100644 (file)
index 0000000..6568a3c
Binary files /dev/null and b/firmware/bluetooth/bcm4359c0/sabrina/BCM4359C0.hcd differ
diff --git a/firmware/bluetooth/bcm4362a1/BCM4362A1.hcd b/firmware/bluetooth/bcm4362a1/BCM4362A1.hcd
new file mode 100644 (file)
index 0000000..9f9ab66
Binary files /dev/null and b/firmware/bluetooth/bcm4362a1/BCM4362A1.hcd differ
diff --git a/firmware/bluetooth/bluetooth.mk b/firmware/bluetooth/bluetooth.mk
new file mode 100644 (file)
index 0000000..dea19ea
--- /dev/null
@@ -0,0 +1,83 @@
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+BLUETOOTH_FIRMWARE_PATH := hardware/amlogic/kernel-modules/dhd-driver/firmware/bluetooth
+
+# bcm2076b1
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm2076b1/BCM2076.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM2076.hcd
+
+# bcm4335c0
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4335c0/bcm4335c0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bcm4335c0.hcd
+
+# bcm4345c0
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4345c0/BCM4345C0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4345C0.hcd
+
+# bcm4345c5
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4345c5/BCM4345C5.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4345C5.hcd
+
+# bcm4354a1
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4354a1/BCM4350.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4350.hcd
+
+# bcm4356a2
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4356a2/BCM4354.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4354.hcd
+
+# bcm4359c0
+ifeq ($(TARGET_DEVICE), sabrina)
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4359c0/sabrina/BCM4359C0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4359C0.hcd
+else
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4359c0/BCM4359C0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4359C0.hcd
+endif
+
+# bcm4362a1
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm4362a1/BCM4362A1.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4362A1.hcd
+
+# bcm20703a2
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm20703a2/BCM20703A2.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM20703A2.hcd
+
+# bcm20710a1
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm20710a1/BCM20702.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM20702.hcd
+
+# bcm40183b2
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm40183b2/BCM4330.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/BCM4330.hcd
+
+# bcm43241b4
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm43241b4/bcm43241b4.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bcm43241b4.hcd
+
+# bcm43341b0
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm43341b0/bcm43341b0.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bcm43341b0.hcd
+
+# bcm43438a0
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm43438a0/4343.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/4343.hcd
+
+# bcm43569a2
+PRODUCT_COPY_FILES += \
+    $(BLUETOOTH_FIRMWARE_PATH)/bcm43569a2/bcm43569a2.hcd:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth/bcm43569a2.hcd
+
diff --git a/firmware/firmware.mk b/firmware/firmware.mk
new file mode 100644 (file)
index 0000000..59f9f70
--- /dev/null
@@ -0,0 +1,20 @@
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+FIRMWARE_PATH := hardware/amlogic/kernel-modules/dhd-driver/firmware
+
+include $(FIRMWARE_PATH)/wifi/wifi.mk
+include $(FIRMWARE_PATH)/bluetooth/bluetooth.mk
diff --git a/firmware/origin.txt b/firmware/origin.txt
new file mode 100644 (file)
index 0000000..4609fb4
--- /dev/null
@@ -0,0 +1,52 @@
+# The following files are extracted from adt3-user 11 RTT1.200909.003.A2 6832896 release-keys.
+
+bluetooth/bcm20703a2/BCM20703A2.hcd
+bluetooth/bcm20710a1/BCM20702.hcd
+bluetooth/bcm2076b1/BCM2076.hcd
+bluetooth/bcm40183b2/BCM4330.hcd
+bluetooth/bcm43241b4/bcm43241b4.hcd
+bluetooth/bcm43341b0/bcm43341b0.hcd
+bluetooth/bcm4335c0/bcm4335c0.hcd
+bluetooth/bcm43438a0/4343.hcd
+bluetooth/bcm4345c0/BCM4345C0.hcd
+bluetooth/bcm4345c5/BCM4345C5.hcd
+bluetooth/bcm4354a1/BCM4350.hcd
+bluetooth/bcm43569a2/bcm43569a2.hcd
+bluetooth/bcm4356a2/BCM4354.hcd
+bluetooth/bcm4359c0/BCM4359C0.hcd
+bluetooth/bcm4362a1/BCM4362A1.hcd
+wifi/bcm4339a0_ag/config_bcm4339a0_ag.txt
+wifi/bcm4339a0_ag/fw_bcm4339a0_ag.bin
+wifi/bcm4339a0_ag/nvram_ap6335.txt
+wifi/bcm43436b0/config_bcm43436b0.txt
+wifi/bcm43436b0/fw_bcm43436b0.bin
+wifi/bcm43436b0/nvram_ap6236.txt
+wifi/bcm43438a0/config_bcm43438a0.txt
+wifi/bcm43438a0/fw_bcm43438a0.bin
+wifi/bcm43438a0/nvram_ap6212.txt
+wifi/bcm43455c0_ag/config_bcm43455c0_ag.txt
+wifi/bcm43455c0_ag/fw_bcm43455c0_ag.bin
+wifi/bcm43455c0_ag/nvram_ap6255.txt
+wifi/bcm43456c5_ag/config_bcm43456c5_ag.txt
+wifi/bcm43456c5_ag/fw_bcm43456c5_ag.bin
+wifi/bcm43456c5_ag/nvram_ap6256.txt
+wifi/bcm4356a2_ag/config_bcm4356a2_ag.txt
+wifi/bcm4356a2_ag/fw_bcm4356a2_ag.bin
+wifi/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin
+wifi/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin
+wifi/bcm4356a2_ag/nvram_ap6356.txt
+wifi/bcm4358u_ag/fw_bcm4358u_ag.bin
+wifi/bcm4358u_ag/nvram_ap62x8.txt
+wifi/bcm4359c0_ag/config_bcm4359c0_ag.txt
+wifi/bcm4359c0_ag/fw_bcm4359c0_ag.bin
+wifi/bcm4359c0_ag/nvram_ap6398s.txt
+wifi/bcm43751a1_ag/clm_bcm43751a1_ag.blob
+wifi/bcm43751a1_ag/fw_bcm43751a1_ag.bin
+wifi/unknown/config_bcm43438a1.txt
+wifi/unknown/nvram_ap6271s.txt
+
+# The following files are extracted from sabrina_prod_stable-user-10-QTS1.210311.008-7350836-release-keys.
+bluetooth/bcm4359c0/sabrina/BCM4359C0.hcd
+wifi/bcm4359c0_ag/sabrina/config_bcm4359c0_ag.txt
+wifi/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin
+wifi/bcm4359c0_ag/sabrina/nvram_ap6398s.txt
diff --git a/firmware/wifi/bcm4339a0_ag/config_bcm4339a0_ag.txt b/firmware/wifi/bcm4339a0_ag/config_bcm4339a0_ag.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/bcm4339a0_ag/fw_bcm4339a0_ag.bin b/firmware/wifi/bcm4339a0_ag/fw_bcm4339a0_ag.bin
new file mode 100644 (file)
index 0000000..def6083
Binary files /dev/null and b/firmware/wifi/bcm4339a0_ag/fw_bcm4339a0_ag.bin differ
diff --git a/firmware/wifi/bcm4339a0_ag/nvram_ap6335.txt b/firmware/wifi/bcm4339a0_ag/nvram_ap6335.txt
new file mode 100644 (file)
index 0000000..69ab576
--- /dev/null
@@ -0,0 +1,99 @@
+#AP6335_NVRAM_V1.5_03112014
+NVRAMRev=$Rev: 410316 $
+sromrev=11
+boardrev=0x1203
+boardtype=0x06c5
+boardflags=0x00000c01
+boardflags2=0x00002000
+boardflags3=0x8101188
+macaddr=00:90:4c:c5:12:38
+ccode=0
+regrev=0
+antswitch=0
+pdgain2g=7
+pdgain5g=7
+tworangetssi2g=0
+tworangetssi5g=0
+femctrl=7
+pcieingress_war=15
+vendid=0x14e4
+devid=0x43ae
+manfid=0x2d0
+nocrc=1
+otpimagesize=502
+xtalfreq=37400
+extpagain2g=2
+pdetrange2g=2
+extpagain5g=2
+pdetrange5g=2
+rxgains2gelnagaina0=0
+rxgains2gtrisoa0=7
+rxgains2gtrelnabypa0=0
+rxgains5gelnagaina0=0
+rxgains5gtrisoa0=11
+rxgains5gtrelnabypa0=0
+rxchain=1
+txchain=1
+aa2g=1
+aa5g=1
+tssipos5g=0
+tssipos2g=0
+pa2ga0=-161,6269,-723
+pa2gccka0=-116,7568,-852
+pa5ga0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
+pa5gbw40a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
+pa5gbw80a0=0xFF61,0x163C,0xFD55,0xFF5D,0x1671,0xFD4F,0xFF5F,0x16CA,0xFD45,0xFF60,0x1676,0xFD4D
+pdoffset40ma0=0
+pdoffset80ma0=0
+pdoffsetcckma0=0
+maxp2ga0=75
+maxp5ga0=64,64,72,72
+cckbw202gpo=0x0000
+cckbw20ul2gpo=0x0
+mcsbw202gpo=0x99445533
+mcsbw402gpo=0x99775533
+dot11agofdmhrbw202gpo=0x2233
+ofdmlrbw202gpo=0x0000
+tssifloor2g=500
+mcsbw205glpo=0x66333330
+mcsbw405glpo=0x66665530
+mcsbw805glpo=0xAA555530
+mcsbw1605glpo=0x99555530
+mcsbw205gmpo=0x99BB5530
+mcsbw405gmpo=0x99BB5530
+mcsbw805gmpo=0xEE555530
+mcsbw1605gmpo=0x99555530
+mcsbw205ghpo=0x99995530
+mcsbw405ghpo=0x99BB5530
+mcsbw805ghpo=0xEE555530
+mcsbw1605ghpo=0x99555530
+mcslr5glpo=0x0000
+mcslr5gmpo=0x0000
+mcslr5ghpo=0x0000
+sb20in40hrrpo=0x0
+sb20in80and160hr5glpo=0x0
+sb40and80hr5glpo=0x0
+sb20in80and160hr5gmpo=0x0
+sb40and80hr5gmpo=0x0
+sb20in80and160hr5ghpo=0x0
+sb40and80hr5ghpo=0x0
+sb20in40lrpo=0x0
+sb20in80and160lr5glpo=0x0
+sb40and80lr5glpo=0x0
+sb20in80and160lr5gmpo=0x0
+sb40and80lr5gmpo=0x0
+sb20in80and160lr5ghpo=0x0
+sb40and80lr5ghpo=0x0
+dot11agduphrpo=0x0
+dot11agduplrpo=0x0
+phycal_tempdelta=25
+cckdigfilttype=2
+pacalidx2g=65
+dacrate2g=160
+swctrlmap_5g=0x00000008,0x00000010,0x00000008,0x000000,0x038
+swctrlmap_2g=0x00000001,0x00000002,0x00000001,0x040002,0x0ff
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+rssicorrnorm_c0=3,3
+rssicorrnorm5g_c0=2,3,4,2,3,3,0,1,2,0,1,2
+muxenab=0x10
diff --git a/firmware/wifi/bcm43436b0/config_bcm43436b0.txt b/firmware/wifi/bcm43436b0/config_bcm43436b0.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/bcm43436b0/fw_bcm43436b0.bin b/firmware/wifi/bcm43436b0/fw_bcm43436b0.bin
new file mode 100644 (file)
index 0000000..ff25d7a
Binary files /dev/null and b/firmware/wifi/bcm43436b0/fw_bcm43436b0.bin differ
diff --git a/firmware/wifi/bcm43436b0/nvram_ap6236.txt b/firmware/wifi/bcm43436b0/nvram_ap6236.txt
new file mode 100644 (file)
index 0000000..f5cbd6f
--- /dev/null
@@ -0,0 +1,65 @@
+#AP6236_NVRAM_V1.1_20170804
+# NVRAM file for BCM943430WLPTH, Bx Chip
+# 2.4 GHz, 20 MHz BW mode
+
+# The following parameter values are just placeholders, need to be updated.
+manfid=0x2d0
+prodid=0x0727
+vendid=0x14e4
+devid=0x43e2
+boardtype=0x0727
+boardrev=0x1331
+boardnum=22
+macaddr=00:90:4c:c5:12:38
+sromrev=11
+boardflags=0x00404201
+boardflags3=0x08000000
+xtalfreq=26000
+nocrc=1
+ag0=255
+aa2g=1
+ccode=ALL
+
+pa0itssit=0x20
+extpagain2g=0
+#PA parameters for 2.4GHz, measured at CHIP OUTPUT
+pa2ga0=-202,5582,-671
+AvVmid_c0=0x0,0xc8
+cckpwroffset0=5
+
+# PPR params
+maxp2ga0=74
+txpwrbckof=6
+cckbw202gpo=0x2222
+legofdmbw202gpo=0x55555555
+mcsbw202gpo=0x76666666
+propbw202gpo=0xcc
+
+# OFDM IIR :
+ofdmdigfilttype=18
+ofdmdigfilttypebe=18
+# PAPD mode:
+papdmode=1
+pacalidx2g=42
+papdepsoffset=-22
+papdendidx=58
+
+# LTECX flags
+ltecxmux=0
+ltecxpadnum=0x0102
+ltecxfnsel=0x44
+ltecxgcigpio=0x01
+
+il0macaddr=00:90:4c:c5:12:38
+wl0id=0x431b
+
+deadman_to=0xffffffff
+# muxenab: 0x1 for UART enable, 0x2 for GPIOs, 0x8 for JTAG
+muxenab=0x10
+# CLDO PWM voltage settings - 0x4 - 1.1 volt
+#cldo_pwm=0x4
+
+#VCO freq 326.4MHz
+spurconfig=0x3 
+
+AvVmidIQcal=0x2,0xa8
\ No newline at end of file
diff --git a/firmware/wifi/bcm43438a0/config_bcm43438a0.txt b/firmware/wifi/bcm43438a0/config_bcm43438a0.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/bcm43438a0/fw_bcm43438a0.bin b/firmware/wifi/bcm43438a0/fw_bcm43438a0.bin
new file mode 100644 (file)
index 0000000..961dc57
Binary files /dev/null and b/firmware/wifi/bcm43438a0/fw_bcm43438a0.bin differ
diff --git a/firmware/wifi/bcm43438a0/nvram_ap6212.txt b/firmware/wifi/bcm43438a0/nvram_ap6212.txt
new file mode 100644 (file)
index 0000000..8f0bf69
--- /dev/null
@@ -0,0 +1,54 @@
+#AP6212_NVRAM_V1.0_20140603
+# 2.4 GHz, 20 MHz BW mode
+
+# The following parameter values are just placeholders, need to be updated.
+manfid=0x2d0
+prodid=0x0726
+vendid=0x14e4
+devid=0x43e2
+boardtype=0x0726
+boardrev=0x1101
+boardnum=22
+macaddr=00:90:4c:c5:12:38
+sromrev=11
+boardflags=0x00404201
+xtalfreq=26000
+nocrc=1
+ag0=255
+aa2g=1
+ccode=ALL
+
+pa0itssit=0x20
+extpagain2g=0
+
+#PA parameters for 2.4GHz, measured at CHIP OUTPUT
+pa2ga0=-168,7161,-820
+AvVmid_c0=0x0,0xc8
+cckpwroffset0=5
+
+# PPR params
+maxp2ga0=90
+txpwrbckof=6
+cckbw202gpo=0x5555
+legofdmbw202gpo=0x77777777
+mcsbw202gpo=0xaaaaaaaa
+
+# OFDM IIR :
+ofdmdigfilttype=7
+# PAPD mode:
+papdmode=2
+
+il0macaddr=00:90:4c:c5:12:38
+wl0id=0x431b
+
+#OOB parameters
+hostwake=0x40
+hostrdy=0x41
+usbrdy=0x03
+usbrdydelay=100
+deadman_to=0xffffffff
+# muxenab: 0x1 for UART enable, 0x10 for Host awake
+muxenab=0x10
+# CLDO PWM voltage settings - 0x4 - 1.1 volt
+#cldo_pwm=0x4
+
diff --git a/firmware/wifi/bcm43455c0_ag/config_bcm43455c0_ag.txt b/firmware/wifi/bcm43455c0_ag/config_bcm43455c0_ag.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/bcm43455c0_ag/fw_bcm43455c0_ag.bin b/firmware/wifi/bcm43455c0_ag/fw_bcm43455c0_ag.bin
new file mode 100644 (file)
index 0000000..702a280
Binary files /dev/null and b/firmware/wifi/bcm43455c0_ag/fw_bcm43455c0_ag.bin differ
diff --git a/firmware/wifi/bcm43455c0_ag/nvram_ap6255.txt b/firmware/wifi/bcm43455c0_ag/nvram_ap6255.txt
new file mode 100644 (file)
index 0000000..c1cc4c3
--- /dev/null
@@ -0,0 +1,82 @@
+#AP6255_NVRAM_V1.0_29052015
+
+NVRAMRev=$Rev: 498373 $
+sromrev=11
+vendid=0x14e4
+devid=0x43ab
+manfid=0x2d0
+prodid=0x06e4
+macaddr=00:90:4c:c5:12:38
+nocrc=1
+boardtype=0x6e4
+boardrev=0x1304
+xtalfreq=37400
+#boardflags: 5GHz eTR switch by default
+#2.4GHz eTR switch by default
+#bit1 for btcoex
+boardflags=0x00080201
+boardflags2=0x40000000
+boardflags3=0x48200100
+rxgains2gelnagaina0=0
+rxgains2gtrisoa0=0
+rxgains2gtrelnabypa0=0
+rxgains5gelnagaina0=0
+rxgains5gtrisoa0=0
+rxgains5gtrelnabypa0=0
+rxchain=1
+txchain=1
+aa2g=1
+aa5g=1
+tssipos5g=1
+tssipos2g=1
+femctrl=0
+AvVmid_c0=0,157,1,126,1,126,1,126,1,126
+pa2ga0=-112,6296,-662
+pa2ga1=-165,3699,-515
+pa5ga0=-143,6016,-683,-141,6013,-678,-137,5988,-670,-136,5982,-670
+pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
+itrsw=1
+pdoffset2g40ma0=10
+pdoffset40ma0=0xaaaa
+pdoffset80ma0=0xaaaa
+extpagain5g=2
+extpagain2g=2
+tworangetssi2g=1
+tworangetssi5g=1
+# LTECX flags
+# WCI2
+ltecxmux=0
+ltecxpadnum=0x0504
+ltecxfnsel=0x22
+ltecxgcigpio=0x32
+
+maxp2ga0=64
+ofdmlrbw202gpo=0x0033
+dot11agofdmhrbw202gpo=0x1553
+mcsbw202gpo=0x99355533
+
+maxp5ga0=80,82,76,77
+
+mcsbw205glpo=0x99755000
+mcsbw205gmpo=0x9df55000
+mcsbw205ghpo=0x99855000
+
+mcsbw405glpo=0xb8555000
+mcsbw405gmpo=0xed955000
+mcsbw405ghpo=0xd9755000
+
+mcsbw805glpo=0xc8555000
+mcsbw805gmpo=0xe9555000
+mcsbw805ghpo=0xd9555000
+
+swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
+swctrlmap_5g=0x00100010,0x00200020,0x00100010,0x010a02,0x2f4
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+
+vcodivmode=1
+deadman_to=481500000
+ed_thresh2g=-54
+ed_thresh5g=-54
+
+muxenab=0x10
diff --git a/firmware/wifi/bcm43456c5_ag/config_bcm43456c5_ag.txt b/firmware/wifi/bcm43456c5_ag/config_bcm43456c5_ag.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/bcm43456c5_ag/fw_bcm43456c5_ag.bin b/firmware/wifi/bcm43456c5_ag/fw_bcm43456c5_ag.bin
new file mode 100644 (file)
index 0000000..58c3537
Binary files /dev/null and b/firmware/wifi/bcm43456c5_ag/fw_bcm43456c5_ag.bin differ
diff --git a/firmware/wifi/bcm43456c5_ag/nvram_ap6256.txt b/firmware/wifi/bcm43456c5_ag/nvram_ap6256.txt
new file mode 100644 (file)
index 0000000..0916af5
--- /dev/null
@@ -0,0 +1,99 @@
+#AP6256_NVRAM_V1.1_08252017
+# Cloned from bcm94345wlpagb_p2xx.txt 
+NVRAMRev=$Rev: 498373 $
+sromrev=11
+vendid=0x14e4
+devid=0x43ab
+manfid=0x2d0
+prodid=0x06e4
+macaddr=00:90:4c:c5:12:38
+nocrc=1
+boardtype=0x6e4
+boardrev=0x1304
+xtalfreq=37400
+#boardflags: 5GHz eTR switch by default
+#            2.4GHz eTR switch by default
+#            bit1 for btcoex
+boardflags=0x00480201
+boardflags2=0x40800000
+boardflags3=0x48200100
+#phycal_tempdelta=15
+rxchain=1
+txchain=1
+aa2g=1
+aa5g=1
+tssipos5g=1
+tssipos2g=1
+femctrl=0
+AvVmid_c0=0,157,1,126,1,126,1,126,1,126
+pa2ga0=-164,5427,-623
+pa2ga1=-165,3699,-515
+#pa5ga0=-146,5304,-612,-140,5341,-613,-166,5326,-633,-154,5272,-621
+#pa5ga0=-134,5385,-609,-132,5359,-605,-154,5360,-621,-140,5288,-604
+pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608
+pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498
+itrsw=1
+pdoffset2g40ma0=10
+pdoffset40ma0=0xaaaa
+pdoffset80ma0=0xaaaa
+extpagain5g=2
+extpagain2g=2
+tworangetssi2g=0
+tworangetssi5g=0
+# LTECX flags
+# WCI2
+ltecxmux=0
+ltecxpadnum=0x0504
+ltecxfnsel=0x22
+ltecxgcigpio=0x32
+
+pacalshift5g=0,0,3
+
+maxp2ga0=70
+cckbw202gpo=0x1000
+cckbw20ul2gpo=0x1000
+ofdmlrbw202gpo=0x0033
+dot11agofdmhrbw202gpo=0x2222
+mcsbw202gpo=0x99333322
+
+cckdigfilttype=5
+
+#maxp5ga0=82,82,82,82
+#mcsbw205glpo=0x99555000
+#mcsbw205gmpo=0x99555000
+#mcsbw205ghpo=0x99555000
+#mcsbw405glpo=0x99555000
+#mcsbw405gmpo=0x99555000
+#mcsbw405ghpo=0x99555000
+#mcsbw805glpo=0x99555000
+#mcsbw805gmpo=0x99555000
+#mcsbw805ghpo=0x99555000
+
+maxp5ga0=73,74,73,73     
+mcsbw205glpo=0x8a875444
+mcsbw205gmpo=0x8a875444
+mcsbw205ghpo=0x8a875444
+
+mcsbw405glpo=0xda844333
+mcsbw405gmpo=0xdb844333
+mcsbw405ghpo=0xda844333
+
+mcsbw805glpo=0xdb555444
+mcsbw805gmpo=0xda555444
+mcsbw805ghpo=0xda555444
+
+
+swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
+swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
+
+vcodivmode=1
+deadman_to=481500000
+ed_thresh2g=-54
+ed_thresh5g=-54
+eu_edthresh2g=-54
+eu_edthresh5g=-54
+
+
+muxenab=0x10
diff --git a/firmware/wifi/bcm4356a2_ag/config_bcm4356a2_ag.txt b/firmware/wifi/bcm4356a2_ag/config_bcm4356a2_ag.txt
new file mode 100644 (file)
index 0000000..88852ee
--- /dev/null
@@ -0,0 +1,3 @@
+kso_enable=0
+dhd_txbound=128
+wl_preinit=ampdu_mpdu=32
diff --git a/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag.bin b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag.bin
new file mode 100644 (file)
index 0000000..99adcf9
Binary files /dev/null and b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag.bin differ
diff --git a/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin
new file mode 100644 (file)
index 0000000..3e23f84
Binary files /dev/null and b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin differ
diff --git a/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin
new file mode 100644 (file)
index 0000000..3e23f84
Binary files /dev/null and b/firmware/wifi/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin differ
diff --git a/firmware/wifi/bcm4356a2_ag/nvram_ap6356.txt b/firmware/wifi/bcm4356a2_ag/nvram_ap6356.txt
new file mode 100644 (file)
index 0000000..6c6a5e8
--- /dev/null
@@ -0,0 +1,126 @@
+#AP6356S_NVRAM_V1.3_20180508
+#Modified from AP6356SDP_V1.0_NVRAM_20150216
+NVRAMRev=$Rev: 373428 $
+sromrev=11
+boardrev=0x1121
+boardtype=0x073e
+boardflags=0x02400201
+boardflags2=0x00802000
+boardflags3=0x0000010a
+macaddr=00:90:4c:1a:10:01
+ccode=0x5855
+regrev=1
+antswitch=0
+pdgain5g=4
+pdgain2g=4
+tworangetssi2g=0
+tworangetssi5g=0
+paprdis=0
+femctrl=10
+vendid=0x14e4
+devid=0x43a3
+manfid=0x2d0
+nocrc=1
+otpimagesize=502
+xtalfreq=37400
+rxgains2gelnagaina0=0
+rxgains2gtrisoa0=7
+rxgains2gtrelnabypa0=0
+rxgains5gelnagaina0=0
+rxgains5gtrisoa0=11
+rxgains5gtrelnabypa0=0
+rxgains5gmelnagaina0=0
+rxgains5gmtrisoa0=13
+rxgains5gmtrelnabypa0=0
+rxgains5ghelnagaina0=0
+rxgains5ghtrisoa0=12
+rxgains5ghtrelnabypa0=0
+rxgains2gelnagaina1=0
+rxgains2gtrisoa1=7
+rxgains2gtrelnabypa1=0
+rxgains5gelnagaina1=0
+rxgains5gtrisoa1=10
+rxgains5gtrelnabypa1=0
+rxgains5gmelnagaina1=0
+rxgains5gmtrisoa1=11
+rxgains5gmtrelnabypa1=0
+rxgains5ghelnagaina1=0
+rxgains5ghtrisoa1=11
+rxgains5ghtrelnabypa1=0
+rxchain=3
+txchain=3
+aa2g=3
+aa5g=3
+agbg0=2
+agbg1=2
+aga0=2
+aga1=2
+tssipos2g=1
+extpagain2g=2
+tssipos5g=1
+extpagain5g=2
+tempthresh=255
+tempoffset=255
+rawtempsense=0x1ff
+pa2ga0=-135,5769,-647
+pa2ga1=-143,6023,-677
+pa5ga0=-183,5746,-697,-172,5801,-685,-176,5707,-680,-180,5445,-659
+pa5ga1=-186,5543,-669,-193,5506,-675,-210,5282,-661,-199,5367,-665
+subband5gver=0x4
+pdoffsetcckma0=0x4
+pdoffsetcckma1=0x4
+pdoffset40ma0=0x0000
+pdoffset80ma0=0x0000
+pdoffset40ma1=0x0000
+pdoffset80ma1=0x0000
+maxp2ga0=72
+maxp5ga0=69,70,69,68
+maxp2ga1=71
+maxp5ga1=67,67,67,67
+cckbw202gpo=0x1222
+cckbw20ul2gpo=0x0000
+mcsbw202gpo=0x9E644422
+mcsbw402gpo=0xE9744424
+dot11agofdmhrbw202gpo=0x4444
+ofdmlrbw202gpo=0x0022
+mcsbw205glpo=0xEEA86661
+mcsbw405glpo=0xEEB86663
+mcsbw805glpo=0xEEB86663
+mcsbw205gmpo=0xAAA86663
+mcsbw405gmpo=0xECB86663
+mcsbw805gmpo=0xEEA86663
+mcsbw205ghpo=0xCC986663
+mcsbw405ghpo=0xEEA86663
+mcsbw805ghpo=0xEEA86663
+mcslr5glpo=0x0000
+mcslr5gmpo=0x0000
+mcslr5ghpo=0x0000
+sb20in40hrpo=0x0
+sb20in80and160hr5glpo=0x0
+sb40and80hr5glpo=0x0
+sb20in80and160hr5gmpo=0x0
+sb40and80hr5gmpo=0x0
+sb20in80and160hr5ghpo=0x0
+sb40and80hr5ghpo=0x0
+sb20in40lrpo=0x0
+sb20in80and160lr5glpo=0x0
+sb40and80lr5glpo=0x0
+sb20in80and160lr5gmpo=0x0
+sb40and80lr5gmpo=0x0
+sb20in80and160lr5ghpo=0x0
+sb40and80lr5ghpo=0x0
+dot11agduphrpo=0x0
+dot11agduplrpo=0x0
+phycal_tempdelta=255
+temps_period=15
+temps_hysteresis=15
+rssicorrnorm_c0=4,4
+rssicorrnorm_c1=4,4
+rssicorrnorm5g_c0=1,2,3,1,2,3,6,6,8,6,6,8
+rssicorrnorm5g_c1=1,2,3,2,2,2,7,7,8,7,7,8
+muxenab=0x10
+swctrlmap_2g=0x00001141,0x00004212,0x00001040,0x211212,0x0ff
+swctrlmap_5g=0x00000202,0x00000101,0x00000202,0x000000,0x047
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+btc_params33=5
diff --git a/firmware/wifi/bcm4358u_ag/fw_bcm4358u_ag.bin b/firmware/wifi/bcm4358u_ag/fw_bcm4358u_ag.bin
new file mode 100644 (file)
index 0000000..4563e9c
Binary files /dev/null and b/firmware/wifi/bcm4358u_ag/fw_bcm4358u_ag.bin differ
diff --git a/firmware/wifi/bcm4358u_ag/nvram_ap62x8.txt b/firmware/wifi/bcm4358u_ag/nvram_ap62x8.txt
new file mode 100644 (file)
index 0000000..5c40ed1
--- /dev/null
@@ -0,0 +1,121 @@
+#AP62X8_NVRAM_V1.0_20170308
+ag0=0xff
+aa2g=3
+aa5g=3
+aga0=2
+aga1=2
+agbg0=2
+agbg1=2
+ccode=0
+devid=0x43d9
+nocrc=1
+manfid=0x2d0
+pa2ga0=-125,6514,-739
+pa2ga1=-141,6391,-738
+pa5ga0=-222,4126,-563,-135,5024,-615,-150,5343,-660,-142,5532,-662
+pa5ga1=-198,5767,-710,-135,5422,-643,-168,5618,-694,-161,5718,-678
+regrev=0
+vendid=0x14e4
+femctrl=10
+muxenab=0x1
+rxchain=3
+sromrev=11
+txchain=3
+macaddr=10:d0:7a:00:02:0e
+NVRAMRev=$Rev$
+boardrev=0x1102
+maxp2ga0=74
+maxp2ga1=74
+maxp5ga0=70,74,70,70
+maxp5ga1=86,74,70,70
+pdgain2g=2
+pdgain5g=2
+xtalfreq=40000
+boardnum=526
+AvVmid_c0=2,140,2,145,2,145,2,145,2,145
+AvVmid_c1=2,140,2,145,2,145,2,145,2,145
+AvVmid_c2=0,0,0,0,0,0,0,0,0,0
+antswitch=0
+boardtype=0x0749
+tssipos2g=1
+tssipos5g=1
+boardflags=0x02000001
+mcslr5ghpo=0x0000
+mcslr5glpo=0x0000
+mcslr5gmpo=0x0000
+tempoffset=255
+tempthresh=120
+boardflags2=0x00000000
+boardflags3=0x40000108
+cckbw202gpo=0x4000
+epsdelta2g0=0,-1,0,0,0,0,0,0
+epsdelta2g1=0,-1,0,0,0,0,0,0
+extpagain2g=2
+extpagain5g=2
+mcsbw202gpo=0xd9644422
+mcsbw402gpo=0x99644422
+btc_params82=0x60
+mcsbw205ghpo=0xd8866663
+mcsbw205glpo=0x87766663
+mcsbw205gmpo=0xd5966663
+mcsbw405ghpo=0x99a66663
+mcsbw405glpo=0xa8a66663
+mcsbw405gmpo=0xe7b66663
+mcsbw805ghpo=0xdd666665
+mcsbw805glpo=0xdb666665
+mcsbw805gmpo=0xfc666665
+rawtempsense=0x1ff
+sb20in40hrpo=0x0
+sb20in40lrpo=0x0
+subband5gver=0x4
+swctrlmap_2g=0x04010401,0x08080808,0x04010401,0x00000000,0x000000ff
+swctrlmap_5g=0x08080808,0x04010401,0x08080808,0x00000000,0x000000ff
+temps_period=15
+cckbw20ul2gpo=0x2000
+pdoffset40ma0=0x0000
+pdoffset40ma1=0x0000
+pdoffset80ma0=0x0000
+pdoffset80ma1=0x0000
+dot11agduphrpo=0x0
+dot11agduplrpo=0x0
+ofdmlrbw202gpo=0x0022
+tworangetssi2g=0
+tworangetssi5g=0
+rssicorrnorm_c0=3,3
+rssicorrnorm_c1=3,3
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+dot11agofdmhrbw202gpo=0x4666
+fastpapdgainctrl=0
+phycal_tempdelta=255
+rssicorrnorm5g_c0=1,2,3,1,2,3,6,6,8,6,6,8
+rssicorrnorm5g_c1=1,2,3,2,2,2,7,7,8,7,7,8
+rxgains2gtrelnabypa0=0
+rxgains2gtrelnabypa1=0
+rxgains2gtrisoa0=7
+rxgains2gtrisoa1=7
+rxgains5ghtrelnabypa0=0
+rxgains5ghtrelnabypa1=0
+rxgains5ghtrisoa0=11
+rxgains5ghtrisoa1=11
+rxgains5gmtrelnabypa0=0
+rxgains5gmtrelnabypa1=0
+rxgains5gmtrisoa0=9
+rxgains5gmtrisoa1=9
+rxgains5gtrelnabypa0=0
+rxgains5gtrelnabypa1=0
+rxgains5gtrisoa0=10
+rxgains5gtrisoa1=10
+sb20in80and160hr5ghpo=0x0
+sb20in80and160hr5glpo=0x0
+sb20in80and160hr5gmpo=0x0
+sb20in80and160lr5ghpo=0x0
+sb20in80and160lr5glpo=0x0
+sb20in80and160lr5gmpo=0x0
+sb40and80hr5ghpo=0x0
+sb40and80hr5glpo=0x0
+sb40and80hr5gmpo=0x0
+sb40and80lr5ghpo=0x0
+sb40and80lr5glpo=0x0
+sb40and80lr5gmpo=0x0
+temps_hysteresis=15
diff --git a/firmware/wifi/bcm4359c0_ag/config_bcm4359c0_ag.txt b/firmware/wifi/bcm4359c0_ag/config_bcm4359c0_ag.txt
new file mode 100644 (file)
index 0000000..9e069aa
--- /dev/null
@@ -0,0 +1 @@
+country_list=US:US/988, CN:CN/38, JP:JP/967
diff --git a/firmware/wifi/bcm4359c0_ag/fw_bcm4359c0_ag.bin b/firmware/wifi/bcm4359c0_ag/fw_bcm4359c0_ag.bin
new file mode 100644 (file)
index 0000000..175fef1
Binary files /dev/null and b/firmware/wifi/bcm4359c0_ag/fw_bcm4359c0_ag.bin differ
diff --git a/firmware/wifi/bcm4359c0_ag/nvram_ap6398s.txt b/firmware/wifi/bcm4359c0_ag/nvram_ap6398s.txt
new file mode 100644 (file)
index 0000000..dee99a0
--- /dev/null
@@ -0,0 +1,222 @@
+#AP6398S_NVRAM_V1.1_20170926
+# BCM4359 WLBGA iPA, iLNA board for bringup -AP6359SA_V1.0NVRAM
+NVRAMRev=$Rev: 528206 $
+cckdigfilttype=5
+#cckdigfilttype=4 (default)
+#valid ofdm filter types are 0 and 1
+ofdmfilttype_2gbe=127
+ofdmfilttype_5gbe=127
+sromrev=11
+boardrev=0x1301
+boardtype=0x0812
+# JIRA:SW4349-945 MANDATORY! Update makefile in case you touch bfl
+#boardflags=0x10081201
+boardflags=0x00480201
+boardflags2=0x40801000
+boardflags3=0x48700106
+#boardnum=57410 
+macaddr=00:90:4c:27:80:01
+ccode=0
+regrev=0
+antswitch=0
+pdgain5g=0
+pdgain2g=0
+lowpowerrange2g=0
+lowpowerrange5g=0
+tworangetssi2g=0
+tworangetssi5g=0
+# Low Power Range start value: 0dBm
+olpc_thresh2g=0
+olpc_thresh5g=0
+AvVmid_c0=2,130,2,130,2,130,2,130,2,130
+AvVmid_c1=2,130,2,130,2,130,2,130,2,130
+# JIRA:SW4349-945 MANDATORY! Update makefile in case you touch femctl
+femctrl=14
+vendid=0x14e4
+devid=0x43ef
+manfid=0x2d0
+#prodid=0x052e
+nocrc=1
+btc_mode=1
+#btc_params82=0x1a0
+otpimagesize=502
+xtalfreq=37400
+rxgains2gelnagaina0=3
+rxgains2gtrisoa0=7
+rxgains2gtrelnabypa0=1
+rxgains5gelnagaina0=3
+rxgains5gtrisoa0=6
+rxgains5gtrelnabypa0=1
+rxgains5gmelnagaina0=3
+rxgains5gmtrisoa0=6
+rxgains5gmtrelnabypa0=1
+rxgains5ghelnagaina0=3
+rxgains5ghtrisoa0=6
+rxgains5ghtrelnabypa0=1
+rxgains2gelnagaina1=3
+rxgains2gtrisoa1=7
+rxgains2gtrelnabypa1=1
+rxgains5gelnagaina1=3
+rxgains5gtrisoa1=6
+rxgains5gtrelnabypa1=1
+rxgains5gmelnagaina1=3
+rxgains5gmtrisoa1=6
+rxgains5gmtrelnabypa1=1
+rxgains5ghelnagaina1=3
+rxgains5ghtrisoa1=6
+rxgains5ghtrelnabypa1=1
+rxchain=3
+txchain=3
+aa2g=3
+aa5g=3
+agbg0=2
+agbg1=2
+aga0=2
+aga1=2
+tssipos2g=1
+extpagain2g=2
+tssipos5g=1
+extpagain5g=2
+tempthresh=255
+tempoffset=255
+rawtempsense=0x1ff
+fdss_interp_en=1
+#fdss_level_2g=3,3
+fdss_level_5g=4,4
+#pa2gccka0=-186,8076,-976
+#pa2gccka1=-217,7061,-881
+#pa2gccka2=-67,9864,-1253
+#pa2gccka3=-115,9164,-1225
+#pa2ga0=-196,6950,-832
+#pa2ga1=-204,6710,-809
+#pa2ga2=-220,4557,-593
+#pa2ga3=-218,4596,-601
+pa2ga0=-193,7335,-862
+pa2ga1=-202,6968,-828
+pa2ga2=-220,4685,-607
+pa2ga3=-218,4724,-615
+#pa5ga0=-191,6865,-844,-169,7525,-907,-168,7768,-938,-192,7073,-871
+#pa5ga1=-182,7580,-919,-188,7614,-931,-219,6536,-818,-202,7220,-895
+#pa5ga2=-220,4437,-628,-183,5005,-678,-229,4048,-551,-223,4448,-611
+#pa5ga3=-263,3914,-566,-224,4649,-640,-230,4385,-596,-154,6488,-866
+pa5ga0=-205,6664,-820,-201,6801,-835,-199,6767,-831,-178,7266,-873
+pa5ga1=-200,7025,-858,-193,7170,-871,-186,7290,-879,-187,7227,-873
+pa5ga2=-220,4616,-647,-183,5184,-694,-229,4227,-571,-223,4627,-631
+pa5ga3=-263,4170,-599,-224,4905,-668,-230,4641,-625,-154,6744,-885
+#pa5gbw4080a0=-201,6883,-859,-198,7088,-881,-202,6968,-870,-210,6522,-820
+#pa5gbw4080a1=-217,6626,-832,-201,7517,-932,-201,7251,-896,-184,7500,-917
+#pa5gbw4080a2=-272,3585,-525,-193,5404,-740,-229,4201,-572,-230,4036,-550
+#pa5gbw4080a3=-278,3361,-486,-230,4794,-662,-268,3605,-508,-276,3337,-478
+maxp2ga0=74
+maxp2ga1=74
+maxp5ga0=70,70,70,70
+maxp5ga1=70,70,71,70
+subband5gver=0x4
+paparambwver=3
+pdoffset2g40mvalid=0
+cckpwroffset0=0x3
+cckpwroffset1=0x3
+pdoffset2g40ma0=0x2
+pdoffset2g40ma1=0x3
+pdoffset40ma0=0x0022
+pdoffset80ma0=0xceff
+pdoffset40ma1=0x0123
+pdoffset80ma1=0xdfff
+cckbw202gpo=0
+cckbw20ul2gpo=0
+mcsbw202gpo=0x44444444
+mcsbw402gpo=0x44444444
+dot11agofdmhrbw202gpo=0x2222
+ofdmlrbw202gpo=0x0000
+mcsbw205glpo=0x44444444
+mcsbw405glpo=0x44444444
+mcsbw805glpo=0xCCCCCCCC
+mcsbw1605glpo=0
+mcsbw205gmpo=0x44444444
+mcsbw405gmpo=0x44444444
+mcsbw805gmpo=0xCCCCCCCC
+mcsbw1605gmpo=0
+mcsbw205ghpo=0x44444444
+mcsbw405ghpo=0x44444444
+mcsbw805ghpo=0xCCCCCCCC
+mcsbw1605ghpo=0
+mcslr5glpo=0x0000
+mcslr5gmpo=0x0000
+mcslr5ghpo=0x0000
+sb20in40hrpo=0x0
+sb20in80and160hr5glpo=0x0
+sb40and80hr5glpo=0x0
+sb20in80and160hr5gmpo=0x0
+sb40and80hr5gmpo=0x0
+sb20in80and160hr5ghpo=0x0
+sb40and80hr5ghpo=0x0
+sb20in40lrpo=0x0
+sb20in80and160lr5glpo=0x0
+sb40and80lr5glpo=0x0
+sb20in80and160lr5gmpo=0x0
+sb40and80lr5gmpo=0x0
+sb20in80and160lr5ghpo=0x0
+sb40and80lr5ghpo=0x0
+dot11agduphrpo=0x0
+dot11agduplrpo=0x0
+phycal_tempdelta=255
+temps_period=15
+temps_hysteresis=15
+ltecxmux=0
+ltecxpadnum=0x0504
+ltecxfnsel=0x44
+ltecxgcigpio=0x04
+#OOB params
+#device_wake_opt=1
+#host_wake_opt=0
+swctrlmap_2g=0x00000808,0x00001010,0x00001010,0x021010,0x3ff
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+swctrlmap_5g=0x00004040,0x00000000,0x00000000,0x000000,0x3e5                                                           
+swctrlmapext_5g=0x00000000,0x00000101,0x00000101,0x000000,0x003
+fem_table_init_val=0x00001010,0x00000000
+rssi_delta_5gl_c0=3,3,2,2,5,5
+rssi_delta_5gml_c0=0,2,0,2,3,5
+rssi_delta_5gmu_c0=0,2,0,2,3,5
+rssi_delta_5gh_c0=2,5,2,5,5,8
+rssi_delta_5gl_c1=1,1,2,2,3,3
+rssi_delta_5gml_c1=-1,1,0,2,1,3
+rssi_delta_5gmu_c1=-1,1,0,2,1,3
+rssi_delta_5gh_c1=0,3,2,5,3,6
+rssi_delta_2g_c0=4,5,4,5
+rssi_delta_2g_c1=2,3,2,3
+#muxenab=1
+#avs_enab=1
+
+# ###########  BTC Dynctl profile params  ############
+# flags:bit0 - dynctl enabled, bit1 dynamic desense, bit2 dynamic mode
+btcdyn_flags=0x0
+#btcdyn_dflt_dsns_level=0
+#btcdyn_low_dsns_level=0
+#btcdyn_mid_dsns_level=7
+#btcdyn_high_dsns_level=2
+#btcdyn_default_btc_mode=5
+#btcdyn_btrssi_hyster=2
+# --- number of rows in the array vars below ---
+#btcdyn_msw_rows=3
+#btcdyn_dsns_rows=2
+# --- mode switch data rows (max is 4) ---
+#btcdyn_msw_row0=1,8,0,-50,-100
+#btcdyn_msw_row1=1,4,0,-55,-100
+#btcdyn_msw_row2=1,0,0,-70,-100
+#btcdyn_msw_row3=1,-4,0,-70,-100
+# --- desense switching data rows (max is 4) ---
+#btcdyn_dsns_row0=5,8,0,-40,-40
+#btcdyn_dsns_row0=5,4,0,-60,-60
+#btcdyn_dsns_row1=5,0,0,0,-75
+powoffs2gtna0=1,3,3,1,0,0,1,2,2,2,1,1,0,0
+powoffs2gtna1=-1,1,1,1,0,0,1,2,3,2,2,0,0,0
+#new Jan 4th
+#eps_shift0=-1,-6,-1,-5
+#eps_shift1=-4,-6,-1,-2
+#eps_shift2=-1,9,-2,-6
+muxenab=0x10
+
+#bandedge
+fdss_level_2g=4,4
+fdss_level_5g=5,5
+fdss_interp_en=1
diff --git a/firmware/wifi/bcm4359c0_ag/sabrina/config_bcm4359c0_ag.txt b/firmware/wifi/bcm4359c0_ag/sabrina/config_bcm4359c0_ag.txt
new file mode 100644 (file)
index 0000000..262296d
--- /dev/null
@@ -0,0 +1,25 @@
+country_list= \
+    WW:WW/68, \
+    EU:EU/68, \
+    US:US/68, \
+    CA:CA/68, \
+    JP:JP/68, \
+    GB:GB/68, \
+    IE:IE/68, \
+    DE:DE/68, \
+    FR:FR/68, \
+    NL:NL/68, \
+    BE:BE/68, \
+    AT:AT/68, \
+    CH:CH/68, \
+    NO:NO/68, \
+    FI:FI/68, \
+    SE:SE/68, \
+    DK:DK/68, \
+    IT:IT/68, \
+    ES:ES/68, \
+    AU:AU/68, \
+    NZ:NZ/68, \
+    KR:KR/68
+ccode=WW
+wl_dbg_level=1
diff --git a/firmware/wifi/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin b/firmware/wifi/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin
new file mode 100644 (file)
index 0000000..e1215e1
Binary files /dev/null and b/firmware/wifi/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin differ
diff --git a/firmware/wifi/bcm4359c0_ag/sabrina/nvram_ap6398s.txt b/firmware/wifi/bcm4359c0_ag/sabrina/nvram_ap6398s.txt
new file mode 100644 (file)
index 0000000..3380fe5
--- /dev/null
@@ -0,0 +1,200 @@
+# BCM4359 FCBGA iPA, iLNA board for bringup -
+NVRAMRev=$Rev: 528206 $
+cckdigfilttype=5
+#valid ofdm filter types are 0 and 1
+ofdmfilttype_2gbe=127
+ofdmfilttype_5gbe=127
+sromrev=11
+boardrev=0x1201
+boardtype=0x074c
+# JIRA:SW4349-945 MANDATORY! Update makefile in case you touch bfl
+boardflags=0x00480001
+#define BFL2_SINGLEANT_CCK         0x00001000   /* Tx CCK pkts on Ant 0 only */
+boardflags2=0x40801000
+#boardflags3=0x48700186
+boardflags3=0x48700106
+#boardnum=57410
+macaddr=00:90:4c:12:d0:01
+ccode=0
+regrev=0
+antswitch=0
+pdgain5g=0
+pdgain2g=0
+lowpowerrange2g=0
+lowpowerrange5g=0
+tworangetssi2g=1
+tworangetssi5g=1
+# Low Power Range start value: 0dBm
+olpc_thresh2g=0
+olpc_thresh5g=0
+AvVmid_c0=2,130,2,130,2,130,2,130,2,130
+AvVmid_c1=2,130,2,130,2,130,2,130,2,130
+# JIRA:SW4349-945 MANDATORY! Update makefile in case you touch femctl
+femctrl=14
+vendid=0x14e4
+devid=0x43ef
+manfid=0x2d0
+#prodid=0x052e
+nocrc=1
+btc_mode=1
+#btc_params82=0x1a0
+otpimagesize=502
+xtalfreq=37400
+xtal_xt_res_bpass=4
+rxgains2gelnagaina0=3
+rxgains2gtrisoa0=7
+rxgains2gtrelnabypa0=1
+rxgains5gelnagaina0=3
+rxgains5gtrisoa0=6
+rxgains5gtrelnabypa0=1
+rxgains5gmelnagaina0=3
+rxgains5gmtrisoa0=6
+rxgains5gmtrelnabypa0=1
+rxgains5ghelnagaina0=3
+rxgains5ghtrisoa0=6
+rxgains5ghtrelnabypa0=1
+rxgains2gelnagaina1=3
+rxgains2gtrisoa1=7
+rxgains2gtrelnabypa1=1
+rxgains5gelnagaina1=3
+rxgains5gtrisoa1=6
+rxgains5gtrelnabypa1=1
+rxgains5gmelnagaina1=3
+rxgains5gmtrisoa1=6
+rxgains5gmtrelnabypa1=1
+rxgains5ghelnagaina1=3
+rxgains5ghtrisoa1=6
+rxgains5ghtrelnabypa1=1
+rxchain=3
+txchain=3
+#1t2r
+sw_txchain=1
+#nsslimit=0x21
+aa2g=3
+aa5g=3
+agbg0=2
+agbg1=2
+aga0=2
+aga1=2
+tssipos2g=1
+extpagain2g=2
+tssipos5g=1
+extpagain5g=2
+tempthresh=255
+tempoffset=255
+rawtempsense=0x1ff
+phycal_tempdelta=15
+temps_period=15
+temps_hysteresis=15
+fdss_interp_en=1
+#fdss_level_2g=3,3
+fdss_level_5g=4,4
+
+pa2gccka0=-195,7444,-890
+pa2ga0=-208,6491,-779
+pa2ga2=-217,4706,-608
+
+
+pa5ga0=-78,9030,-1004,-57,9198,-1008,-4,9768,-1028,-143,7722,-935
+pa5ga2=-191,4596,-622,-188,4739,-642,-181,4858,-659,-173,4809,-662
+
+pa5gbw4080a0=-175,7451,-920,-167,7605,-935,-144,8070,-983,-141,7989,-975
+
+maxp2ga0=74
+maxp2ga1=74
+maxp5ga0=70,70,70,70
+maxp5ga1=70,70,70,70
+subband5gver=0x4
+paparambwver=3
+pdoffset2g40mvalid=0
+cckpwroffset0=0x0
+cckpwroffset1=0x0
+pdoffset2g40ma0=0x2
+pdoffset2g40ma1=0x3
+pdoffset40ma0=0x0000
+pdoffset80ma0=0x0000
+pdoffset40ma1=0x0000
+pdoffset80ma1=0x0000
+cckbw202gpo=0
+cckbw20ul2gpo=0
+mcsbw202gpo=0x66220000
+#mcsbw402gpo=0x66220000
+dot11agofdmhrbw202gpo=0x0000
+ofdmlrbw202gpo=0x0000
+mcsbw205glpo=0x64422000
+mcsbw405glpo=0xEA642222
+mcsbw805glpo=0xEA642222
+mcsbw1605glpo=0
+mcsbw205gmpo=0x64422000
+mcsbw405gmpo=0xEA642222
+mcsbw805gmpo=0xEA642222
+mcsbw1605gmpo=0
+mcsbw205ghpo=0x64422000
+mcsbw405ghpo=0xEA642222
+mcsbw805ghpo=0xEA642222
+mcsbw1605ghpo=0
+mcslr5glpo=0x0000
+mcslr5gmpo=0x0000
+mcslr5ghpo=0x0000
+sb20in40hrpo=0x0
+sb20in80and160hr5glpo=0x0
+sb40and80hr5glpo=0x0
+sb20in80and160hr5gmpo=0x0
+sb40and80hr5gmpo=0x0
+sb20in80and160hr5ghpo=0x0
+sb40and80hr5ghpo=0x0
+sb20in40lrpo=0x0
+sb20in80and160lr5glpo=0x0
+sb40and80lr5glpo=0x0
+sb20in80and160lr5gmpo=0x0
+sb40and80lr5gmpo=0x0
+sb20in80and160lr5ghpo=0x0
+sb40and80lr5ghpo=0x0
+dot11agduphrpo=0x0
+dot11agduplrpo=0x0
+#ltecxmux=0
+#ltecxpadnum=0x0504
+#ltecxfnsel=0x44
+#ltecxgcigpio=0x04
+#OOB params
+#device_wake_opt=1
+#host_wake_opt=0
+swctrlmap_2g=0x00000808,0x00001010,0x00001010,0x021010,0x3ff
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x003
+swctrlmap_5g=0x00004040,0x00000000,0x00000000,0x000000,0x3e5
+swctrlmapext_5g=0x00000000,0x00000101,0x00000101,0x000000,0x003
+fem_table_init_val=0x00001010,0x00000000
+rssi_delta_5gl_c0=3,3,2,2,5,5
+rssi_delta_5gml_c0=0,2,0,2,3,5
+rssi_delta_5gmu_c0=0,2,0,2,3,5
+rssi_delta_5gh_c0=2,5,2,5,5,8
+rssi_delta_5gl_c1=1,1,2,2,3,3
+rssi_delta_5gml_c1=-1,1,0,2,1,3
+rssi_delta_5gmu_c1=-1,1,0,2,1,3
+rssi_delta_5gh_c1=0,3,2,5,3,6
+rssi_delta_2g_c0=-1,0,-1,0
+rssi_delta_2g_c1=-2,-1,-2,-1
+muxenab=0x10
+cck_onecore_tx=1
+#avs_enab=1
+ocl=1
+# ###########  BTC Dynctl profile params  ############
+# flags:bit0 - dynctl enabled, bit1 dynamic desense, bit2 dynamic mode
+btcdyn_flags=0x0
+
+powoffs2gtna0=0,0,0,0,0,0,0,0,0,0,0,0,0,0
+powoffs2gtna1=0,0,0,0,0,0,0,0,0,0,0,0,0,0
+#for 5G BW20(36,64,100,140,149,165)
+#powoffs5g20mtna0=-2,-2,-2,-2,-3,-3
+#powoffs5g20mtna1=-2,-2,-2,-2,-3,-3
+#for 5G BW40(38,62,102,151)
+#powoffs5g40mtna0=-2,-2,-3,-3
+#powoffs5g40mtna1=-2,-2,-3,-3
+#for 5G BW80(42,58,106,155)
+#powoffs5g80mtna0=-2,-2,-3,-3
+#powoffs5g80mtna1=-2,-2,-3,-3
+#new Jan 4th
+#eps_shift0=-1,-6,-1,-5
+#eps_shift1=-4,-6,-1,-2
+#eps_shift2=-1,9,-2,-6
+
diff --git a/firmware/wifi/bcm43751a1_ag/clm_bcm43751a1_ag.blob b/firmware/wifi/bcm43751a1_ag/clm_bcm43751a1_ag.blob
new file mode 100644 (file)
index 0000000..1859e4d
Binary files /dev/null and b/firmware/wifi/bcm43751a1_ag/clm_bcm43751a1_ag.blob differ
diff --git a/firmware/wifi/bcm43751a1_ag/fw_bcm43751a1_ag.bin b/firmware/wifi/bcm43751a1_ag/fw_bcm43751a1_ag.bin
new file mode 100644 (file)
index 0000000..f787014
Binary files /dev/null and b/firmware/wifi/bcm43751a1_ag/fw_bcm43751a1_ag.bin differ
diff --git a/firmware/wifi/unknown/config_bcm43438a1.txt b/firmware/wifi/unknown/config_bcm43438a1.txt
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/firmware/wifi/unknown/nvram_ap6271s.txt b/firmware/wifi/unknown/nvram_ap6271s.txt
new file mode 100644 (file)
index 0000000..4a1e35b
--- /dev/null
@@ -0,0 +1,322 @@
+# AP6271S_NVRAM_V1.0_20181106_1100
+# AP6271S v00 DVT WLBGA reference board, iPA version.
+# SSID generated using Alberto's boardssid.py script:
+# ********************SUMMARY********************
+# Board Name: AP6271S
+#SSID: 0x086d
+#macmid: 0x02df
+# Successfully made SSID entry in sromdefs.tcl.
+# Successfully made macmid entry in sromdefs.tcl.
+# Successfully made SSID entry in tblssid.py.
+# *************************************************
+# $ Copyright Broadcom $
+#
+#
+# <<Broadcom-WL-IPTag/Proprietary:>>
+NVRAMRev=$Rev: 506283 $
+sromrev=11
+boardrev=0x1200
+boardtype=0x086c
+#eLNA  0x10000000      ;# has an external LNA in 5GHz band 
+#eLNA  0x00001000      ;# has an external LNA in 2.4GHz band
+#iLNA
+boardflags=0x00400201
+boardflags2=0xc0800000
+boardflags3=0x40000180
+#boardnum=57410
+macaddr=00:90:4c:12:d0:01
+jtag_irw=38
+
+#Regulatory specific
+ccode=0
+regrev=0
+
+# Board specific
+vendid=0x14e4
+devid=0x4490
+manfid=0x2d0
+antswitch=0
+pdgain5g=0
+pdgain2g=0
+aa2g=3
+aa5g=3
+agbg0=2
+agbg1=2
+aga0=2
+aga1=2
+extpagain2g=2
+extpagain5g=2
+rxgains2gelnagaina0=2
+rxgains2gtrisoa0=6
+rxgains2gtrelnabypa0=1
+rxgains5gelnagaina0=2
+rxgains5gtrisoa0=6
+rxgains5gtrelnabypa0=1
+rxgains5gmelnagaina0=2
+rxgains5gmtrisoa0=6
+rxgains5gmtrelnabypa0=1
+rxgains5ghelnagaina0=2
+rxgains5ghtrisoa0=7
+rxgains5ghtrelnabypa0=1
+rxgains2gelnagaina1=2
+rxgains2gtrisoa1=6
+rxgains2gtrelnabypa1=1
+rxgains5gelnagaina1=2
+rxgains5gtrisoa1=6
+rxgains5gtrelnabypa1=1
+rxgains5gmelnagaina1=2
+rxgains5gmtrisoa1=6
+rxgains5gmtrelnabypa1=1
+rxgains5ghelnagaina1=2
+rxgains5ghtrisoa1=7
+rxgains5ghtrelnabypa1=1
+
+#RSSI related
+# 2G
+rssicorrnorm_c0=2,2
+rssicorrnorm_c1=2,2
+# 5G
+rssicorrnorm5g_c0=3,3,3,3,3,3,3,3,3,3,3,3
+rssicorrnorm5g_c1=1,1,1,1,1,1,1,1,1,1,1,1
+
+
+#Two range TSSI
+tworangetssi2g=0
+tworangetssi5g=0
+lowpowerrange2g=0
+lowpowerrange5g=0
+low_adc_rate_en=1
+# NOTE :================================================================================
+# To run TPC with Two Range TSSI ,set  tworangetssi2g = 1 and lowpowerrange2g = 0
+# To run TPC with Single Range TSSI, set tworangetssi2g = 0
+# To run TPC please READ instructions near pa2ga0 and pa2ga1 as well
+# To generate PA params for Low Range set  tworangetssi2g = 0 and lowpowerrange2g to 1
+# To generate PA params for High Range set  tworangetssi2g = 1 and lowpowerrange2g to 1
+# ======================================================================================
+
+#Related to FW Download. Host may use this
+nocrc=1
+#FIXME:4369 otpimagesize? Check with Pranay
+otpimagesize=502
+
+xtalfreq=37400
+
+txchain=3
+rxchain=3
+
+cckdigfilttype=2
+
+#bit mask for slice capability bit 0:2G bit 1:5G
+bandcap=3
+
+#TXBF Related
+rpcal2g=0
+rpcal5gb0=0
+rpcal5gb1=0
+rpcal5gb2=0
+rpcal5gb3=0
+
+
+#FDSS Related
+fdss_level_2g=4,4
+fdss_interp_en=1
+fdss_level_5g=3,3
+
+#Tempsense Related
+tempthresh=255
+tempoffset=0
+rawtempsense=0x1ff
+phycal_tempdelta=15
+temps_period=15
+temps_hysteresis=15
+
+#------------- TSSI Related -------------
+#FIXME:4369 Always 1 do we really need it?
+tssipos2g=1
+tssipos5g=1
+AvVmid_c0=2,127,4,92,4,91,4,91,4,94
+AvVmid_c1=2,127,4,93,4,93,4,95,3,110
+# If Two Range is set to 1 please uncomment the following two lines
+# and comment the lines after "High Power and Low Power below"
+# TWO RANGE TSSI/TPC
+# High Power or CCK in case of multi mode 2
+pa2ga0=-89,7692,-816
+pa2ga1=-127,6897,-754
+# Low Power or OFDM in case of multi_mode 2
+pa2gccka0=41,11365,-1171
+pa2gccka1=17,10825,-1120
+# High Power
+pa5ga0=-124,6355,-749,-78,6817,-772,-140,6275,-752,-163,6067,-734
+pa5ga1=-115,6460,-722,-121,6423,-722,-147,6015,-720,-148,6609,-757
+# Low Power
+pa5ga2=-50,7202,-796,93,8717,-851,-64,7003,-777,67,7850,-797
+pa5ga3=-86,6714,-749,-90,6820,-778,-99,6653,-784,183,9587,-955
+
+# Max power and offsets
+maxp2ga0=86
+maxp2ga1=84
+maxp5ga0=80,80,80,80
+maxp5ga1=82,82,79,82
+subband5gver=0x4
+paparambwver=3
+cckpwroffset0=0
+cckpwroffset1=-3
+pdoffset40ma0=0x4433
+pdoffset80ma0=0x3232
+pdoffset40ma1=0x2333
+pdoffset80ma1=0x1222
+cckbw202gpo=0x2200
+cckbw20ul2gpo=0
+mcsbw202gpo=0xEC444332
+mcsbw402gpo=0xEC444332
+dot11agofdmhrbw202gpo=0x4433
+ofdmlrbw202gpo=0x0022
+mcsbw205glpo=0xC7664320
+mcsbw405glpo=0x66433240
+mcsbw805glpo=0x88666442
+mcsbw1605glpo=0
+mcsbw205gmpo=0xC6664320
+mcsbw405gmpo=0x66433240
+mcsbw805gmpo=0x88666442
+mcsbw1605gmpo=0
+mcsbw205ghpo=0xC7664320
+mcsbw405ghpo=0x66433240
+mcsbw805ghpo=0x88666442
+mcsbw202gpo0=0x6644
+mcsbw202gpo1=0xAA88
+powoffs2gtna0=-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0
+powoffs2gtna1=-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0
+#slice/1/pdoffsetcckma0=1
+#slice/1/pdoffsetcckma1=1
+mcs1024qam2gpo=0xCCCC
+mcs1024qam5glpo=0xEECCCC
+mcs1024qam5gmpo=0xEECCCC
+mcs1024qam5ghpo=0xEECCCC
+mcs1024qam5gx1po=0xEECCCC
+mcs1024qam5gx2po=0xEECCCC
+mcs8poexp=0
+mcs9poexp=0
+mcs10poexp=0
+
+# 5G power offset per channel for band edge channel
+powoffs5g20mtna0=0,0,0,0,0,0,0
+powoffs5g20mtna1=0,0,0,0,0,0,0
+powoffs5g40mtna0=0,0,0,0,0
+powoffs5g40mtna1=0,0,0,0,0
+powoffs5g80mtna0=0,0,0,0,0
+powoffs5g80mtna1=0,0,0,0,0
+mcs11poexp=0
+
+#LTE Coex Related
+ltecxmux=0
+ltecxpadnum=0x0504
+ltecxfnsel=0x44
+ltecxgcigpio=0x04
+#OOB params
+#device_wake_opt=1
+#host_wake_opt=0
+
+# SWCTRL Related
+
+swctrlmap_2g=0x10101010,0x06030401,0x04011010,0x000000,0x3FF
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmap_5g=0x80408040,0x21240120,0x01208040,0x000000,0x3FF
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+clb2gslice0core0=0x01b
+clb2gslice1core0=0x000
+clb5gslice0core0=0x064
+clb5gslice1core0=0x000
+clb2gslice0core1=0x056
+clb2gslice1core1=0x000
+clb5gslice0core1=0x0a1
+clb5gslice1core1=0x000
+btc_prisel_ant_mask=0x2
+clb_swctrl_smask_ant0=0x27f
+clb_swctrl_smask_ant1=0x2f7
+
+#BT Coex 1:TDM
+btc_mode=1
+
+# --- PAPD Cal related params ----
+txwbpapden=0 # 0:NBPAPD 1:WBPAPD
+# NB PAPD Cal params
+nb_eps_offset=470,470
+nb_bbmult=66,66
+nb_papdcalidx=6,6
+nb_txattn=2,2
+nb_rxattn=1,1
+nb_eps_stopidx=63
+epsilonoff_5g20_c0=0,0,0,0
+epsilonoff_5g40_c0=0,0,0,0
+epsilonoff_5g80_c0=0,0,0,0
+epsilonoff_5g20_c1=0,0,0,0
+epsilonoff_5g40_c1=0,0,0,0
+epsilonoff_5g80_c1=0,0,0,0
+epsilonoff_2g20_c0=0
+epsilonoff_2g20_c1=0
+#WB papd cal params
+#params are - 0x5g2g
+#slice/1/wb_rxattn=0x0101
+#slice/1/wb_txattn=0x0404
+#slice/1/wb_papdcalidx=0x1405
+#slice/1/wb_papdcalidx_core1=0x1404
+#slice/1/wb_bbmult=0x4040
+#slice/1/wb_bbmult_core1=0x4040
+#slice/1/wb_calref_db=0x2828
+#slice/1/wb_calref_db_core1=0x1a1a
+#slice/1/wb_tia_gain_mode=0x0006
+#slice/1/wb_tia_gain_mode_core1=0x0006
+#slice/1/wb_txbuf_offset=0x1820
+#slice/1/wb_txbuf_offset_core1=0x1823
+#slice/1/wb_frac_del=0x4B0F
+#slice/1/wb_frac_del_core1=0x4B2D
+#slice/1/wb_eps_offset=432
+#slice/1/wb_eps_offset_core1=430
+
+#wb_papdcalidx=0x0202
+#wb_papdcalidx=0x0404
+#wb_txbuf_offset=0x2020
+#wb_calref_db=0x1616
+#wb_frac_del=0x1a1a
+#wb_eps_offset=0x1c201c3
+#wb_bbmult=0x6664
+#wb_bbmult=0x4848
+#wb_eps_offset_core1=438
+
+# energy detect threshold
+ed_thresh2g=-63
+ed_thresh5g=-63
+# energy detect threshold for EU
+eu_edthresh2g=-63
+eu_edthresh5g=-63
+
+#rpcal coef for imptxbf
+rpcal5gb0=238
+rpcal5gb1=228
+rpcal5gb2=222
+rpcal5gb3=229
+rpcal2g=15
+
+# ocl is disabled temporarily due to some issues.
+#ocl=1
+ocl=0
+bt_coex_chdep_div=1
+
+# OLPC Related
+disable_olpc=0
+olpc_thresh5g=32
+olpc_anchor5g=40
+olpc_thresh2g=32
+olpc_anchor2g=40
+
+
+# ###########  BTC Dynctl profile params  ############
+# flags:bit0 - dynctl enabled, bit1 dynamic desense, bit2 dynamic mode, bit 3 TX power control
+btcdyn_flags=0
+
+btcdyn_default_btc_mode=1
+btcdyn_msw_rows=0
+btcdyn_dsns_rows=0
+btc_params1007=100
+
+muxenab=0x10
\ No newline at end of file
diff --git a/firmware/wifi/wifi.mk b/firmware/wifi/wifi.mk
new file mode 100644 (file)
index 0000000..910d258
--- /dev/null
@@ -0,0 +1,83 @@
+#
+# Copyright (C) 2021 The LineageOS Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+WIFI_FIRMWARE_PATH := hardware/amlogic/kernel-modules/dhd-driver/firmware/wifi
+
+# bcm4339a0_ag ap6335
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm4339a0_ag/config_bcm4339a0_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm4339a0_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm4339a0_ag/fw_bcm4339a0_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4339a0_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4339a0_ag/nvram_ap6335.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6335.txt
+
+# bcm4356a2_ag ap6356
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm4356a2_ag/config_bcm4356a2_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm4356a2_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm4356a2_ag/fw_bcm4356a2_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4356a2_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4356a2_ag/fw_bcm4356a2_ag_apsta.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4356a2_ag_apsta.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4356a2_ag/fw_bcm4356a2_ag_p2p.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4356a2_ag_p2p.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4356a2_ag/nvram_ap6356.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6356.txt
+
+# bcm4358u_ag ap62x8
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm4358u_ag/fw_bcm4358u_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4358u_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4358u_ag/nvram_ap62x8.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap62x8.txt
+
+# bcm4359c0_ag ap6398s
+ifneq ($(filter %sabrina,$(TARGET_PRODUCT)),)
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/sabrina/config_bcm4359c0_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm4359c0_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/sabrina/fw_bcm4359c0_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4359c0_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/sabrina/nvram_ap6398s.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6398s.txt
+else
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/config_bcm4359c0_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm4359c0_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/fw_bcm4359c0_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm4359c0_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm4359c0_ag/nvram_ap6398s.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6398s.txt
+endif
+
+# bcm43436b0 ap6236
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm43436b0/config_bcm43436b0.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm43436b0.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm43436b0/fw_bcm43436b0.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm43436b0.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm43436b0/nvram_ap6236.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6236.txt
+
+# bcm43438a0 ap6212
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm43438a0/config_bcm43438a0.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm43438a0.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm43438a0/fw_bcm43438a0.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm43438a0.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm43438a0/nvram_ap6212.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6212.txt
+
+# bcm43455c0_ag ap6255
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm43455c0_ag/config_bcm43455c0_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm43455c0_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm43455c0_ag/fw_bcm43455c0_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm43455c0_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm43455c0_ag/nvram_ap6255.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6255.txt
+
+# bcm43456c5_ag ap6256
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm43456c5_ag/config_bcm43456c5_ag.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm43456c5_ag.txt \
+    $(WIFI_FIRMWARE_PATH)/bcm43456c5_ag/fw_bcm43456c5_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm43456c5_ag.bin \
+    $(WIFI_FIRMWARE_PATH)/bcm43456c5_ag/nvram_ap6256.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6256.txt
+
+# bcm43751a1_ag
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/bcm43751a1_ag/clm_bcm43751a1_ag.blob:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/clm_bcm43751a1_ag.blob \
+    $(WIFI_FIRMWARE_PATH)/bcm43751a1_ag/fw_bcm43751a1_ag.bin:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/fw_bcm43751a1_ag.bin
+
+# unknown
+PRODUCT_COPY_FILES += \
+    $(WIFI_FIRMWARE_PATH)/unknown/config_bcm43438a1.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/config_bcm43438a1.txt \
+    $(WIFI_FIRMWARE_PATH)/unknown/nvram_ap6271s.txt:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/buildin/nvram_ap6271s.txt