Linux-Firmware Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
@ 2020-08-12  3:46 Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jian-Hong Pan @ 2020-08-12  3:46 UTC (permalink / raw)
  To: Kalle Valo, Arend van Spriel, Franky Lin, Hante Meuleman,
	Chi-Hsien Lin, Wright Feng
  Cc: linux-firmware, linux-wireless, brcm80211-dev-list.pdl,
	brcm80211-dev-list, netdev, linux-kernel, Jian-Hong Pan,
	Nick Xie

Add a NVRAM file for the wireless module used in khadas VIM2.  This
source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
wlan-firmware: add AP6356S firmware for mainline linux"). [1]

[1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d

Suggested-by: Nick Xie <nick@khadas.com>
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
---
 brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
 1 file changed, 128 insertions(+)
 create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt

diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
new file mode 100644
index 0000000..4c286cc
--- /dev/null
+++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
@@ -0,0 +1,128 @@
+#AP6356SL_V1.1_NVRAM_20150805
+#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=0x99E644422
+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
+
+swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
+swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+
+muxenab=0x10
+
-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
  2020-08-12  3:46 [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2 Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
@ 2020-08-12  3:46 ` Jian-Hong Pan
  2020-08-12 11:43 ` Josh Boyer
  3 siblings, 0 replies; 6+ messages in thread
From: Jian-Hong Pan @ 2020-08-12  3:46 UTC (permalink / raw)
  To: Kalle Valo, Arend van Spriel, Franky Lin, Hante Meuleman,
	Chi-Hsien Lin, Wright Feng
  Cc: linux-firmware, linux-wireless, brcm80211-dev-list.pdl,
	brcm80211-dev-list, netdev, linux-kernel, Jian-Hong Pan,
	Nick Xie

Add a NVRAM file for the wireless module used in khadas VIM2.  This
source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
wlan-firmware: add AP6356S firmware for mainline linux"). [1]

[1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d

Suggested-by: Nick Xie <nick@khadas.com>
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
---
 brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
 1 file changed, 128 insertions(+)
 create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt

diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
new file mode 100644
index 0000000..4c286cc
--- /dev/null
+++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
@@ -0,0 +1,128 @@
+#AP6356SL_V1.1_NVRAM_20150805
+#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=0x99E644422
+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
+
+swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
+swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+
+muxenab=0x10
+
-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
  2020-08-12  3:46 [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2 Jian-Hong Pan
@ 2020-08-12  3:46 ` Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: Jian-Hong Pan @ 2020-08-12  3:46 UTC (permalink / raw)
  To: Kalle Valo, Arend van Spriel, Franky Lin, Hante Meuleman,
	Chi-Hsien Lin, Wright Feng
  Cc: linux-firmware, linux-wireless, brcm80211-dev-list.pdl,
	brcm80211-dev-list, netdev, linux-kernel, Jian-Hong Pan,
	Nick Xie

Add a NVRAM file for the wireless module used in khadas VIM2.  This
source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
wlan-firmware: add AP6356S firmware for mainline linux"). [1]

[1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d

Suggested-by: Nick Xie <nick@khadas.com>
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
---
 brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
 1 file changed, 128 insertions(+)
 create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt

diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
new file mode 100644
index 0000000..4c286cc
--- /dev/null
+++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
@@ -0,0 +1,128 @@
+#AP6356SL_V1.1_NVRAM_20150805
+#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=0x99E644422
+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
+
+swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
+swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+
+muxenab=0x10
+
-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
  2020-08-12  3:46 [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2 Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
@ 2020-08-12  3:46 ` Jian-Hong Pan
  2020-08-12  3:46 ` Jian-Hong Pan
  2020-08-12 11:43 ` Josh Boyer
  3 siblings, 0 replies; 6+ messages in thread
From: Jian-Hong Pan @ 2020-08-12  3:46 UTC (permalink / raw)
  To: Kalle Valo, Arend van Spriel, Franky Lin, Hante Meuleman,
	Chi-Hsien Lin, Wright Feng
  Cc: linux-firmware, linux-wireless, brcm80211-dev-list.pdl,
	brcm80211-dev-list, netdev, linux-kernel, Jian-Hong Pan,
	Nick Xie

Add a NVRAM file for the wireless module used in khadas VIM2.  This
source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
wlan-firmware: add AP6356S firmware for mainline linux"). [1]

[1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d

Suggested-by: Nick Xie <nick@khadas.com>
Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
---
 brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
 1 file changed, 128 insertions(+)
 create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt

diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
new file mode 100644
index 0000000..4c286cc
--- /dev/null
+++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
@@ -0,0 +1,128 @@
+#AP6356SL_V1.1_NVRAM_20150805
+#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=0x99E644422
+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
+
+swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
+swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
+swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
+
+muxenab=0x10
+
-- 
2.28.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
  2020-08-12  3:46 [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2 Jian-Hong Pan
                   ` (2 preceding siblings ...)
  2020-08-12  3:46 ` Jian-Hong Pan
@ 2020-08-12 11:43 ` Josh Boyer
  2020-09-15  6:53   ` Jian-Hong Pan
  3 siblings, 1 reply; 6+ messages in thread
From: Josh Boyer @ 2020-08-12 11:43 UTC (permalink / raw)
  To: Jian-Hong Pan
  Cc: Kalle Valo, Arend van Spriel, Franky Lin, Hante Meuleman,
	Chi-Hsien Lin, Wright Feng, Linux Firmware, Linux Wireless,
	brcm80211-dev-list.pdl, brcm80211-dev-list, netdev,
	Linux-Kernel@Vger. Kernel. Org, Nick Xie

On Tue, Aug 11, 2020 at 11:49 PM Jian-Hong Pan <jian-hong@endlessm.com> wrote:
>
> Add a NVRAM file for the wireless module used in khadas VIM2.  This
> source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
> wlan-firmware: add AP6356S firmware for mainline linux"). [1]
>
> [1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d
>
> Suggested-by: Nick Xie <nick@khadas.com>
> Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>

I don't think I can accept this.  The repo you're pulling it from only
has a GPLv2 license in it, and I very much doubt this is licensed
under GPLv2.  Also, the original committer includes no indication of
where they got it from and whether they had the right to release it
under this license.  If someone from Broadcom wants to correct the
redistribution rights and provide a SoB, I'd be happy to add it.

josh

> ---
>  brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
>  1 file changed, 128 insertions(+)
>  create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt
>
> diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
> new file mode 100644
> index 0000000..4c286cc
> --- /dev/null
> +++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
> @@ -0,0 +1,128 @@
> +#AP6356SL_V1.1_NVRAM_20150805
> +#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=0x99E644422
> +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
> +
> +swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
> +swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
> +swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
> +swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
> +
> +muxenab=0x10
> +
> --
> 2.28.0
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2
  2020-08-12 11:43 ` Josh Boyer
@ 2020-09-15  6:53   ` Jian-Hong Pan
  0 siblings, 0 replies; 6+ messages in thread
From: Jian-Hong Pan @ 2020-09-15  6:53 UTC (permalink / raw)
  To: Nick Xie
  Cc: Jian-Hong Pan, Kalle Valo, Arend van Spriel, Franky Lin,
	Hante Meuleman, Chi-Hsien Lin, Wright Feng, Linux Firmware,
	Linux Wireless, brcm80211-dev-list.pdl, brcm80211-dev-list,
	netdev, Linux-Kernel@Vger. Kernel. Org, Josh Boyer,
	Linux Upstreaming Team

Josh Boyer <jwboyer@kernel.org> 於 2020年8月12日 週三 下午7:43寫道:
>
> On Tue, Aug 11, 2020 at 11:49 PM Jian-Hong Pan <jian-hong@endlessm.com> wrote:
> >
> > Add a NVRAM file for the wireless module used in khadas VIM2.  This
> > source comes from khadas fenix project's commit 022fdc3a1333 ("hwpacks:
> > wlan-firmware: add AP6356S firmware for mainline linux"). [1]
> >
> > [1]: https://github.com/khadas/fenix/commit/022fdc3a1333d2d16f84c2e59e4507c92a668a3d
> >
> > Suggested-by: Nick Xie <nick@khadas.com>
> > Signed-off-by: Jian-Hong Pan <jian-hong@endlessm.com>
>
> I don't think I can accept this.  The repo you're pulling it from only
> has a GPLv2 license in it, and I very much doubt this is licensed
> under GPLv2.  Also, the original committer includes no indication of
> where they got it from and whether they had the right to release it
> under this license.  If someone from Broadcom wants to correct the
> redistribution rights and provide a SoB, I'd be happy to add it.

If khadas can share some information about this, that will be appreciated, too.

Jian-Hong Pan

> > ---
> >  brcm/brcmfmac4356-sdio.khadas,vim2.txt | 128 +++++++++++++++++++++++++
> >  1 file changed, 128 insertions(+)
> >  create mode 100644 brcm/brcmfmac4356-sdio.khadas,vim2.txt
> >
> > diff --git a/brcm/brcmfmac4356-sdio.khadas,vim2.txt b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
> > new file mode 100644
> > index 0000000..4c286cc
> > --- /dev/null
> > +++ b/brcm/brcmfmac4356-sdio.khadas,vim2.txt
> > @@ -0,0 +1,128 @@
> > +#AP6356SL_V1.1_NVRAM_20150805
> > +#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=0x99E644422
> > +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
> > +
> > +swctrlmap_2g=0x00001040,0x00004010,0x00004010,0x200010,0xff
> > +swctrlmap_5g=0x00000202,0x00000101,0x00000101,0x000000,0x47
> > +swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
> > +swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x000
> > +
> > +muxenab=0x10
> > +
> > --
> > 2.28.0
> >

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-12  3:46 [PATCH] brcm: Add 4356 based AP6356S NVRAM for the khadas VIM2 Jian-Hong Pan
2020-08-12  3:46 ` Jian-Hong Pan
2020-08-12  3:46 ` Jian-Hong Pan
2020-08-12  3:46 ` Jian-Hong Pan
2020-08-12 11:43 ` Josh Boyer
2020-09-15  6:53   ` Jian-Hong Pan

Linux-Firmware Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-firmware/0 linux-firmware/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-firmware linux-firmware/ https://lore.kernel.org/linux-firmware \
		linux-firmware@kernel.org
	public-inbox-index linux-firmware

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.lore.linux-firmware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git