Unverified Commit c261f8b0 authored by lanefu's avatar lanefu Committed by GitHub
Browse files

Merge pull request #19 from tianyuanhao/master

Update AP6256 firmware

Improves RockPi4 wifi performance per testing in MR.  Enables bluetooth for Pinebook pro [AR-434]
parents 050e4cd6 69d9f8a4
No preview for this file type
No preview for this file type
#AP6256_NVRAM_V1.1_08252017 #AP6256_NVRAM_V1.3_10092019.txt
# Cloned from bcm94345wlpagb_p2xx.txt # Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $ NVRAMRev=$Rev: 498373 $
sromrev=11 sromrev=11
...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38 ...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38
nocrc=1 nocrc=1
boardtype=0x6e4 boardtype=0x6e4
boardrev=0x1304 boardrev=0x1304
#XTAL 37.4MHz
xtalfreq=37400 xtalfreq=37400
btc_mode=1
#-----------------------------------------
#boardflags: 5GHz eTR switch by default #boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default # 2.4GHz eTR switch by default
# bit1 for btcoex # bit1 for btcoex
boardflags=0x00480201 boardflags=0x00480201
boardflags2=0x40800000 boardflags2=0x40800000
boardflags3=0x48200100 boardflags3=0x48200100
#phycal_tempdelta=15 phycal_tempdelta=15
rxchain=1 rxchain=1
txchain=1 txchain=1
aa2g=1 aa2g=1
...@@ -25,13 +30,22 @@ aa5g=1 ...@@ -25,13 +30,22 @@ aa5g=1
tssipos5g=1 tssipos5g=1
tssipos2g=1 tssipos2g=1
femctrl=0 femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126 AvVmid_c0=1,165,2,100,2,100,2,100,2,100
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515 pa2ga0=-154,5722,-656
#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 #1pa2ga0=-195,5558,-672
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608 pa2ga1=-118,4850,-635
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498 pa5ga0=-193,6098,-740,-192,6095,-738,-199,5996,-730,-182,6148,-741
#3pa5ga0=-214,6002,-737,-209,6102,-746,-209,6024,-738,-200,6149,-747
#2pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-208,5549,-683
#1pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-185,6130,-740
pa5ga1=-142,4930,-655,-150,4859,-646,-156,4887,-644,-158,4864,-641
itrsw=1 itrsw=1
pdoffset2g40ma0=10 pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa pdoffset40ma0=0xaaaa
...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504 ...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504
ltecxfnsel=0x22 ltecxfnsel=0x22
ltecxgcigpio=0x32 ltecxgcigpio=0x32
pacalshift5g=0,0,3 maxp2ga0=78
cckbw202gpo=0x5555
cckbw20ul2gpo=0x5555
maxp2ga0=70 ofdmlrbw202gpo=0x2244
cckbw202gpo=0x1000 dot11agofdmhrbw202gpo=0x7744
cckbw20ul2gpo=0x1000 ccode=DE
ofdmlrbw202gpo=0x0033 regrev=0
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82 mcsbw202gpo=0x98886422
#mcsbw205glpo=0x99555000 mcsbw402gpo=0x98777755
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000 maxp5ga0=75,75,75,76
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000 #5GHz_20MHz Offset
#mcsbw405ghpo=0x99555000 mcsbw205glpo=0xba753311
#mcsbw805glpo=0x99555000 mcsbw205gmpo=0xba753311
#mcsbw805gmpo=0x99555000 mcsbw205ghpo=0xba753311
#mcsbw805ghpo=0x99555000
#5GHz_40MHz Offset
maxp5ga0=73,74,73,73 mcsbw405glpo=0xe8753311
mcsbw205glpo=0x8a875444 mcsbw405gmpo=0xe8753311
mcsbw205gmpo=0x8a875444 mcsbw405ghpo=0xd9753311
mcsbw205ghpo=0x8a875444
#5GHz_80MHz Offset
mcsbw405glpo=0xda844333 mcsbw805glpo=0xea633311
mcsbw405gmpo=0xdb844333 mcsbw805gmpo=0xe7422211
mcsbw405ghpo=0xda844333 mcsbw805ghpo=0xda632211
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444 swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
mcsbw805ghpo=0xda555444 swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
...@@ -95,5 +104,29 @@ ed_thresh5g=-54 ...@@ -95,5 +104,29 @@ ed_thresh5g=-54
eu_edthresh2g=-54 eu_edthresh2g=-54
eu_edthresh5g=-54 eu_edthresh5g=-54
#ed_thresh2g=-69
#ed_thresh5g=-69
#eu_edthresh2g=-69
#eu_edthresh5g=-69
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=0
#fdsslevel_ch1=6
#fdsslevel_ch11=4
#btc_mode=1
muxenab=0x10 muxenab=0x10
cckdigfilttype=5
fdss_level_2g=6
#fdss_level_5g=6
#pacalshift5g=0,0,1
tempthresh=102
No preview for this file type
No preview for this file type
#AP6256_NVRAM_V1.1_08252017 #AP6256_NVRAM_V1.3_10092019.txt
# Cloned from bcm94345wlpagb_p2xx.txt # Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $ NVRAMRev=$Rev: 498373 $
sromrev=11 sromrev=11
...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38 ...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38
nocrc=1 nocrc=1
boardtype=0x6e4 boardtype=0x6e4
boardrev=0x1304 boardrev=0x1304
#XTAL 37.4MHz
xtalfreq=37400 xtalfreq=37400
btc_mode=1
#-----------------------------------------
#boardflags: 5GHz eTR switch by default #boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default # 2.4GHz eTR switch by default
# bit1 for btcoex # bit1 for btcoex
boardflags=0x00480201 boardflags=0x00480201
boardflags2=0x40800000 boardflags2=0x40800000
boardflags3=0x48200100 boardflags3=0x48200100
#phycal_tempdelta=15 phycal_tempdelta=15
rxchain=1 rxchain=1
txchain=1 txchain=1
aa2g=1 aa2g=1
...@@ -25,13 +30,22 @@ aa5g=1 ...@@ -25,13 +30,22 @@ aa5g=1
tssipos5g=1 tssipos5g=1
tssipos2g=1 tssipos2g=1
femctrl=0 femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126 AvVmid_c0=1,165,2,100,2,100,2,100,2,100
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515 pa2ga0=-154,5722,-656
#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 #1pa2ga0=-195,5558,-672
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608 pa2ga1=-118,4850,-635
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498 pa5ga0=-193,6098,-740,-192,6095,-738,-199,5996,-730,-182,6148,-741
#3pa5ga0=-214,6002,-737,-209,6102,-746,-209,6024,-738,-200,6149,-747
#2pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-208,5549,-683
#1pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-185,6130,-740
pa5ga1=-142,4930,-655,-150,4859,-646,-156,4887,-644,-158,4864,-641
itrsw=1 itrsw=1
pdoffset2g40ma0=10 pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa pdoffset40ma0=0xaaaa
...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504 ...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504
ltecxfnsel=0x22 ltecxfnsel=0x22
ltecxgcigpio=0x32 ltecxgcigpio=0x32
pacalshift5g=0,0,3 maxp2ga0=78
cckbw202gpo=0x5555
cckbw20ul2gpo=0x5555
maxp2ga0=70 ofdmlrbw202gpo=0x2244
cckbw202gpo=0x1000 dot11agofdmhrbw202gpo=0x7744
cckbw20ul2gpo=0x1000 ccode=DE
ofdmlrbw202gpo=0x0033 regrev=0
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82 mcsbw202gpo=0x98886422
#mcsbw205glpo=0x99555000 mcsbw402gpo=0x98777755
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000 maxp5ga0=75,75,75,76
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000 #5GHz_20MHz Offset
#mcsbw405ghpo=0x99555000 mcsbw205glpo=0xba753311
#mcsbw805glpo=0x99555000 mcsbw205gmpo=0xba753311
#mcsbw805gmpo=0x99555000 mcsbw205ghpo=0xba753311
#mcsbw805ghpo=0x99555000
#5GHz_40MHz Offset
maxp5ga0=73,74,73,73 mcsbw405glpo=0xe8753311
mcsbw205glpo=0x8a875444 mcsbw405gmpo=0xe8753311
mcsbw205gmpo=0x8a875444 mcsbw405ghpo=0xd9753311
mcsbw205ghpo=0x8a875444
#5GHz_80MHz Offset
mcsbw405glpo=0xda844333 mcsbw805glpo=0xea633311
mcsbw405gmpo=0xdb844333 mcsbw805gmpo=0xe7422211
mcsbw405ghpo=0xda844333 mcsbw805ghpo=0xda632211
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444 swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
mcsbw805ghpo=0xda555444 swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
...@@ -95,5 +104,29 @@ ed_thresh5g=-54 ...@@ -95,5 +104,29 @@ ed_thresh5g=-54
eu_edthresh2g=-54 eu_edthresh2g=-54
eu_edthresh5g=-54 eu_edthresh5g=-54
#ed_thresh2g=-69
#ed_thresh5g=-69
#eu_edthresh2g=-69
#eu_edthresh5g=-69
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=0
#fdsslevel_ch1=6
#fdsslevel_ch11=4
#btc_mode=1
muxenab=0x10 muxenab=0x10
cckdigfilttype=5
fdss_level_2g=6
#fdss_level_5g=6
#pacalshift5g=0,0,1
tempthresh=102
No preview for this file type
No preview for this file type
#AP6256_NVRAM_V1.1_08252017 #AP6256_NVRAM_V1.3_10092019.txt
# Cloned from bcm94345wlpagb_p2xx.txt # Cloned from bcm94345wlpagb_p2xx.txt
NVRAMRev=$Rev: 498373 $ NVRAMRev=$Rev: 498373 $
sromrev=11 sromrev=11
...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38 ...@@ -10,14 +10,19 @@ macaddr=00:90:4c:c5:12:38
nocrc=1 nocrc=1
boardtype=0x6e4 boardtype=0x6e4
boardrev=0x1304 boardrev=0x1304
#XTAL 37.4MHz
xtalfreq=37400 xtalfreq=37400
btc_mode=1
#-----------------------------------------
#boardflags: 5GHz eTR switch by default #boardflags: 5GHz eTR switch by default
# 2.4GHz eTR switch by default # 2.4GHz eTR switch by default
# bit1 for btcoex # bit1 for btcoex
boardflags=0x00480201 boardflags=0x00480201
boardflags2=0x40800000 boardflags2=0x40800000
boardflags3=0x48200100 boardflags3=0x48200100
#phycal_tempdelta=15 phycal_tempdelta=15
rxchain=1 rxchain=1
txchain=1 txchain=1
aa2g=1 aa2g=1
...@@ -25,13 +30,22 @@ aa5g=1 ...@@ -25,13 +30,22 @@ aa5g=1
tssipos5g=1 tssipos5g=1
tssipos2g=1 tssipos2g=1
femctrl=0 femctrl=0
AvVmid_c0=0,157,1,126,1,126,1,126,1,126 AvVmid_c0=1,165,2,100,2,100,2,100,2,100
pa2ga0=-164,5427,-623
pa2ga1=-165,3699,-515 pa2ga0=-154,5722,-656
#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 #1pa2ga0=-195,5558,-672
pa5ga0=-127,5380,-603,-130,5395,-608,-148,5369,-622,-147,5222,-608 pa2ga1=-118,4850,-635
pa5ga1=-161,3544,-499,-166,3543,-497,-169,3569,-497,-171,3598,-498 pa5ga0=-193,6098,-740,-192,6095,-738,-199,5996,-730,-182,6148,-741
#3pa5ga0=-214,6002,-737,-209,6102,-746,-209,6024,-738,-200,6149,-747
#2pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-208,5549,-683
#1pa5ga0=-203,5495,-683,-205,5489,-682,-207,5494,-678,-185,6130,-740
pa5ga1=-142,4930,-655,-150,4859,-646,-156,4887,-644,-158,4864,-641
itrsw=1 itrsw=1
pdoffset2g40ma0=10 pdoffset2g40ma0=10
pdoffset40ma0=0xaaaa pdoffset40ma0=0xaaaa
...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504 ...@@ -47,44 +61,39 @@ ltecxpadnum=0x0504
ltecxfnsel=0x22 ltecxfnsel=0x22
ltecxgcigpio=0x32 ltecxgcigpio=0x32
pacalshift5g=0,0,3 maxp2ga0=78
cckbw202gpo=0x5555
cckbw20ul2gpo=0x5555
maxp2ga0=70 ofdmlrbw202gpo=0x2244
cckbw202gpo=0x1000 dot11agofdmhrbw202gpo=0x7744
cckbw20ul2gpo=0x1000 ccode=DE
ofdmlrbw202gpo=0x0033 regrev=0
dot11agofdmhrbw202gpo=0x2222
mcsbw202gpo=0x99333322
cckdigfilttype=5
#maxp5ga0=82,82,82,82 mcsbw202gpo=0x98886422
#mcsbw205glpo=0x99555000 mcsbw402gpo=0x98777755
#mcsbw205gmpo=0x99555000
#mcsbw205ghpo=0x99555000 maxp5ga0=75,75,75,76
#mcsbw405glpo=0x99555000
#mcsbw405gmpo=0x99555000 #5GHz_20MHz Offset
#mcsbw405ghpo=0x99555000 mcsbw205glpo=0xba753311
#mcsbw805glpo=0x99555000 mcsbw205gmpo=0xba753311
#mcsbw805gmpo=0x99555000 mcsbw205ghpo=0xba753311
#mcsbw805ghpo=0x99555000
#5GHz_40MHz Offset
maxp5ga0=73,74,73,73 mcsbw405glpo=0xe8753311
mcsbw205glpo=0x8a875444 mcsbw405gmpo=0xe8753311
mcsbw205gmpo=0x8a875444 mcsbw405ghpo=0xd9753311
mcsbw205ghpo=0x8a875444
#5GHz_80MHz Offset
mcsbw405glpo=0xda844333 mcsbw805glpo=0xea633311
mcsbw405gmpo=0xdb844333 mcsbw805gmpo=0xe7422211
mcsbw405ghpo=0xda844333 mcsbw805ghpo=0xda632211
mcsbw805glpo=0xdb555444
mcsbw805gmpo=0xda555444 swctrlmap_2g=0x00000000,0x00000000,0x00000000,0x010000,0x3ff
mcsbw805ghpo=0xda555444 swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010000,0x3fe
swctrlmap_2g=0x00040004,0x00020002,0x00040004,0x010a02,0x1ff
swctrlmap_5g=0x00100010,0x00200020,0x00200020,0x010a02,0x2f4
swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_5g=0x00000000,0x00000000,0x00000000,0x000000,0x3
swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3 swctrlmapext_2g=0x00000000,0x00000000,0x00000000,0x000000,0x3
...@@ -95,5 +104,29 @@ ed_thresh5g=-54 ...@@ -95,5 +104,29 @@ ed_thresh5g=-54
eu_edthresh2g=-54 eu_edthresh2g=-54
eu_edthresh5g=-54 eu_edthresh5g=-54
#ed_thresh2g=-69
#ed_thresh5g=-69
#eu_edthresh2g=-69
#eu_edthresh5g=-69
ldo1=4
rawtempsense=0x1ff
cckPwrIdxCorr=3
cckTssiDelay=150
ofdmTssiDelay=150
txpwr2gAdcScale=1
txpwr5gAdcScale=1
dot11b_opts=0x3aa85
cbfilttype=0
#fdsslevel_ch1=6
#fdsslevel_ch11=4
#btc_mode=1
muxenab=0x10 muxenab=0x10
cckdigfilttype=5
fdss_level_2g=6
#fdss_level_5g=6
#pacalshift5g=0,0,1
tempthresh=102
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment