# FVIN:1.1.2.1 HMN:P2ML9990_D HVIN:LBEE5XV2EA_DANT
# FVIN:1.1.2.4 HMN:P2ML9990_D HVIN:LBEE5XV2EC_DANT
# Type-2EA/2EC rev3.1.2 NVRAM updated
# Update in Murata,Parameter is common to 2EA-802 and 2EC-001
# For after Indrik FW Version:18.53.366.19 / Applicable to 2EA-802 and 2EC-001


NVRAMRev=$Rev:  $
sromrev=11
boardrev=0x1258
boardtype=0x0896
boardflags=0x00400001
boardflags2=0x00800000
boardflags3=0x40002100
#boardnum=57410
macaddr=00:90:4c:2d:80:01

#Regulatory specific
ccode=0
regrev=0

# Board specific
vendid=0x12be
devid=0xbd31
manfid=0x2d0
antswitch=0
pdgain5g=0
pdgain2g=0
aa2g=3
aa5g=3
agbg0=2
agbg1=2
aga0=2
aga1=2
extpagain5g=2
extpagain2g=2
rxgains2gelnagaina0=0
rxgains2gtrisoa0=13
rxgains2gtrelnabypa0=0
rxgains5gelnagaina0=0
rxgains5gtrisoa0=7
rxgains5gtrelnabypa0=0
rxgains5gmelnagaina0=0
rxgains5gmtrisoa0=7
rxgains5gmtrelnabypa0=0
rxgains5ghelnagaina0=0
rxgains5ghtrisoa0=7
rxgains5ghtrelnabypa0=0
rxgains2gelnagaina1=0
rxgains2gtrisoa1=15
rxgains2gtrelnabypa1=0
rxgains5gelnagaina1=0
rxgains5gtrisoa1=7
rxgains5gtrelnabypa1=0
rxgains5gmelnagaina1=0
rxgains5gmtrisoa1=7
rxgains5gmtrelnabypa1=0
rxgains5ghelnagaina1=0
rxgains5ghtrisoa1=7
rxgains5ghtrelnabypa1=0

#RSSI related
rssicorrnorm_c0=0,0
rssicorrnorm_c1=3,0
rssicorrnorm5g_c0=14,8,15,10,17,6,8,2,6,3,2,6
rssicorrnorm5g_c1=13,8,15,10,17,6,10,2,6,4,2,6
low_pwr_rssi_thresh_qdBm_5g=-334
low_pwr_rssi_bias_5g_c0=0,-3,-6,0,-3,-6,0,-3,-7,0,-4,-7
low_pwr_rssi_bias_5g_c1=0,-3,-7,0,-2,-7,0,-2,-6,0,-3,-7
rssicorrnorm6g_c0=12,11,12,12,12,14,3,2,1,8,7,8
rssicorrnorm6g_c1=12,10,14,10,10,14,0,0,-2,6,0,6
rssi_cal_freq_grp_2g= 0x08,0x01,0x91,0x2a,0x23,0xb3,0xc4
rssi_delta_5gl=-6 4 -8 -8 -6 4 -8 -8 -6 4 -8 -8 -3 6 -3 -4 -3 6 -3 -4 -3 6 -3 -4
rssi_delta_5gml=-1 3 -1 -3 -1 3 -1 -3 -1 3 -1 -3 -1 2 0 -2 -1 2 0 -2 -1 2 0 -2
rssi_delta_5gmu=0 3 -1 -2 0 3 -1 -2 0 3 -1 -2 0 2 0 -2 0 2 0 -2 0 2 0 -2
rssi_delta_5gh=2 4 2 -1 2 4 2 -1 2 4 2 -1 0 0 2 -2 0 0 2 -2 0 0 2 -2
rssi_delta_6gunii5=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rssi_delta_6gunii6=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rssi_delta_6gunii7=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rssi_delta_6gunii8=0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
rssi_cal_rev=1
rxgaincal_rssical=1
gain_cal_temp=25
rxgain_tempcoeff2g_sub=40,40,40,40,40,40,40,40,40,40
rxgain_tempcoeff5gl=18,18
rxgain_tempcoeff5gml=22,22
rxgain_tempcoeff5gmu=22,22
rxgain_tempcoeff5gh=20,20
rxgain_tempcoeff2g_sub_elnaoff=40,40,40,40,40,40,40,40,40,40
rxgain_tempcoeff5gl_elnaoff=18,18
rxgain_tempcoeff5gml_elnaoff=22,22
rxgain_tempcoeff5gmu_elnaoff=22,22
rxgain_tempcoeff5gh_elnaoff=20,20
rxgain_tempcoeff6g_unii5=20,20
rxgain_tempcoeff6g_unii6=20,20
rxgain_tempcoeff6g_unii7=20,20
rxgain_tempcoeff6g_unii8=20,20
rssi_cal_freq_grp_2g= 0x08,0x01,0x91,0x2a,0x23,0xb3,0xc4
rssi_delta_2gb0=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
rssi_delta_2gb1=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
rssi_delta_2gb2=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
rssi_delta_2gb3=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
rssi_delta_2gb4=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0

#Related to FW Download. Host may use this
nocrc=1

otpimagesize=502

xtalfreq=37400

txchain=3
rxchain=3

cckdigfilttype=3
cck_txgain_offsetval=24

#bit mask for slice capability bit 0:2G bit 1:5G
bandcap=2

#FDSS Related
fdss_interp_en=0
fdss_level_2g=4,4
fdss_level_5g=9,9
fdss_level_6g=9,9

#LPB related
leg_preamble_boost=6,6,0
lpb_comp=6

#PAPRR Related
paprdis=0
paprrmcsgain2g=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma2g=600,600,600,650,700,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g20=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma5g20=700,600,600,650,700,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g40=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma5g40=1200,550,550,600,700,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain5g80=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma5g80=1200,550,550,650,650,-1,-1,-1,-1,-1,-1,-1
#PAPR params for 6G
#papr params 6G made same as 5G for now
paprrmcsgain6g20=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma6g20=700,600,600,650,700,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain6g40=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma6g40=1200,550,550,600,700,-1,-1,-1,-1,-1,-1,-1
paprrmcsgain6g80=128,128,128,128,128,0,0,0,0,0,0,0
paprrmcsgamma6g80=1200,550,550,650,650,-1,-1,-1,-1,-1,-1,-1

#Tempsense Related
tempthresh=255
tempoffset=255
rawtempsense=0x1ff
phycal_tempdelta=15
temps_period=15
temps_hysteresis=15

#------------- TSSI Related -------------
tssipos2g=1
tssipos5g=1
#AvVmid for 2G,5GLL,LH,HL,HH,6GU5,U6,U7,U8
AvVmid_c0=6,85,4,105,5,95,5,95,5,95,5,95,5,95,5,95,5,95
AvVmid_c1=6,75,5,90,5,90,5,95,4,105,4,105,4,105,4,105,4,105

#limit Tx gain index
txidxcap2g=10
txidxcap5g=10
txidxcap6g=0

# SINGLE RANGE TPC/TSSI
#2G OFDM
pa2ga0=-108,6437,-671
pa2ga1=-59,6202,-626

#2G CCK
pa2ga2=-107,6780,-730
pa2ga3=-46,6732,-718
#5G PA Params LL,LH,HL,HH
pa5ga0=-191,6121,-746,-192,5566,-686,-202,5395,-670,-194,5868,-721
pa5ga1=-200,5619,-710,-171,5554,-658,-206,5076,-635,-177,6087,-736
#6G PA Params UNII-5,6,7,8
pa6ga0=-149,6344,-721,-175,6197,-748,-183,5973,-737,-212,5514,-705
pa6ga1=-225,5510,-706,-200,5573,-681,-202,5903,-729,-229,5547,-715

# Max power and offsets
maxp2ga0=84
maxp2ga1=84
maxp5ga0=72,72,72,72
maxp5ga1=72,72,72,72
#Max Power on 6G UNII-5/6 and UNII-7/8
maxp6ga0=66,62
maxp6ga1=66,62
subband5gver=0x4
paparambwver=3
cckpwroffset0=1
cckpwroffset1=2

pdoffset20ma0=0xf010
pdoffset20ma1=0x1200
pdoffset40ma0=0x0120
pdoffset80ma0=0xf010
pdoffset40ma1=0x2210
pdoffset80ma1=0x2200
pdoffset6g20ma0=0x10ff
pdoffset6g20ma0_group1=0xed40
pdoffset6g20ma1=0x3201
pdoffset6g20ma1_group1=0xfe30
pdoffset6g40ma0=0x35e2
pdoffset6g40ma0_group1=0x1272
pdoffset6g40ma1=0x4335
pdoffset6g40ma1_group1=0x2363
pdoffset6g80ma0=0x4112
pdoffset6g80ma0_group1=0x1023
pdoffset6g80ma1=0x5333
pdoffset6g80ma1_group1=0x1112

cckbw202gpo=0x3333
cckbw20ul2gpo=0x3333
mcsbw202gpo=0xf7777777
mcsbw402gpo=0x77777777
dot11agofdmhrbw202gpo=0x5555
ofdmlrbw202gpo=0x0056
mcsbw205glpo=0xdd511112
mcsbw405glpo=0xdd555555
mcsbw805glpo=0xdd555555
mcsbw1605glpo=0
mcsbw205gmpo=0xdd511112
mcsbw405gmpo=0xdd555555
mcsbw805gmpo=0xdd555555
mcsbw1605gmpo=0
mcsbw205ghpo=0xdd511112
mcsbw405ghpo=0xdd555555
mcsbw805ghpo=0xdd555555
# ppr offsets for UNII-5/6 of 6GHz band
mcsbw206glpo=0xaa666667
mcsbw406glpo=0xaa666666
mcsbw806glpo=0xaa666666
# ppr offsets for UNII-7/8 of 6GHz band
mcsbw206gmpo=0x88444445
mcsbw406gmpo=0x88444444
mcsbw806gmpo=0x88444444

powoffs2gtna0=-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3,-3
powoffs2gtna1=-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2
mcs1024qam2gpo=0xffff
mcs1024qam5glpo=0xffffff
mcs1024qam5gmpo=0xffffff
mcs1024qam5ghpo=0xffffff
mcs8poexp=0
mcs9poexp=0
mcs10poexp=0
# 1024QAM rates' offset for 6GHz UNII-5/6
mcs1024qam6glpo=0xcccccc
# 1024QAM rates' offset for 6GHz UNII-7/8
mcs1024qam6gmpo=0xaaaaaa

#UL-OFDMA PPR's accros RU's



ruppr2g20bpska0=0x10842
ruppr2g20bpska1=0x10842
ruppr2g20qpska0=0x21084
ruppr2g20qpska1=0x21084
ruppr2g20qam16a0=0x318c6
ruppr2g20qam16a1=0x318c6
ruppr2g20qam64a0=0x42108
ruppr2g20qam64a1=0x42108
ruppr2g20qam256a0=0x739ce
ruppr2g20qam256a1=0x739ce
ruppr2g20qam1024a0=0x7bdef
ruppr2g20qam1024a1=0x7bdef
ruppr5g20bpska0=0x0
ruppr5g20bpska1=0x0
ruppr5g20qpska0=0x0
ruppr5g20qpska1=0x0
ruppr5g20qam16a0=0x10842
ruppr5g20qam16a1=0x10842
ruppr5g20qam64a0=0x21084
ruppr5g20qam64a1=0x21084
ruppr5g20qam256a0=0x42108
ruppr5g20qam256a1=0x42108
ruppr5g20qam1024a0=0x5294a
ruppr5g20qam1024a1=0x5294a
ruppr5g40bpska0=0x0
ruppr5g40bpska1=0x0
ruppr5g40qpska0=0x0
ruppr5g40qpska1=0x0
ruppr5g40qam16a0=0x210842
ruppr5g40qam16a1=0x210842
ruppr5g40qam64a0=0x421084
ruppr5g40qam64a1=0x421084
ruppr5g40qam256a0=0x842108
ruppr5g40qam256a1=0x842108
ruppr5g40qam1024a0=0xa5294a
ruppr5g40qam1024a1=0xa5294a
ruppr5g80bpska0=0x0
ruppr5g80bpska1=0x0
ruppr5g80qpska0=0x0
ruppr5g80qpska1=0x0
ruppr5g80qam16a0=0x8210842
ruppr5g80qam16a1=0x8210842
ruppr5g80qam64a0=0x10421084
ruppr5g80qam64a1=0x10421084
ruppr5g80qam256a0=0x20842108
ruppr5g80qam256a1=0x20842108
ruppr5g80qam1024a0=0x30c6318c
ruppr5g80qam1024a1=0x30c6318c

# 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

# OLPC Related
disable_olpc=0
olpc_thresh5g=36
olpc_anchor5g=40
olpc_thresh2g=56
olpc_anchor2g=60
olpc_thresh6g=44
olpc_anchor6g=56

#LTE Coex Related
ltecxmux=0
ltecxpadnum=0x0504
ltecxfnsel=0x44
ltecxgcigpio=0x04




# SWCTRL Related
swctrlmap_2g=0x00000010,0x00000120,0x00000010,0x000000,0x33f
swctrlmapext_2g=0x00000202,0x00000000,0x00000000,0x000000,0x3f7

swctrlmap_5g=0x00000000,0x00000000,0x00000000,0x000000,0x000
swctrlmapext_5g=0x00000000,0x00000202,0x00000000,0x000000,0x000
fem_table_init_val=0x00000010,0x00000000

fem_table_init_val_ext=0x00000202,0x00000000

clb2gslice0core0=0x038
clb5gslice0core0=0x200
clb2gslice0core1=0x001
clb5gslice0core1=0x200

#For TDM coex use the following
btc_prisel_ant_mask=0x3
clb_swctrl_smask_ant0=0x33f
clb_swctrl_smask_ant1=0x3f7




muxenab=0x10

#BT Coex 1:TDM
btc_mode=5

# --- PAPD Cal related params ----
# 0:NBPAPD 1:WBPAPD

txwbpapden=1

# WB papd cal params
# c02g,c05g20,c05g40,c05g80,c12g,c15g20,c15g40,c15g80
wb_txattn=0,1,1,1,0,1,1,1
wb_rxattn=0,0,0,0,0,0,0,0
wb_tia_gain_mode=2,2,2,2,2,2,2,2
wb_eps_offset=472,467,467,467,472,467,467,467
wb_papdcalidx=10,10,10,10,10,10,10,10
wb_bbmult=64,80,80,80,64,80,80,80
wb_calref_db=26,24,24,24,26,24,24,24
wb_txbuf_offset=43,42,39,39,43,42,39,39
wb_frac_del=255,255,255,255,255,255,255,255
wb_g_frac_bits=10,10,10,10,10,10,10,10

# WB 6G cal params
# u5c0,u5c1,u6c0,u6c1,u7c0,u7c1,u8c0,u8c1
wb_txattn_6g20=1,1,1,1,1,1,1,1
wb_txattn_6g40=1,1,1,1,1,1,1,1
wb_txattn_6g80=1,1,1,1,1,1,1,1
wb_rxattn_6g20=0,0,0,0,0,0,0,0
wb_rxattn_6g40=0,0,0,0,0,0,0,0
wb_rxattn_6g80=0,0,0,0,0,0,0,0
wb_tia_gain_mode_6g20=2,2,2,2,6,6,6,6
wb_tia_gain_mode_6g40=3,3,3,3,6,6,6,6
wb_tia_gain_mode_6g80=4,4,4,4,6,6,6,6
wb_papdcalidx_6g20=10,10,10,10,30,32,30,32
wb_papdcalidx_6g40=25,25,25,25,30,32,30,32
wb_papdcalidx_6g80=27,28,27,28,30,32,30,32
wb_bbmult_6g20=66,64,70,64,76,76,76,86
wb_bbmult_6g40=76,76,68,76,80,80,76,86
wb_bbmult_6g80=76,80,66,80,84,84,84,80
wb_eps_offset_6g20=467,469,467,467,472,473,471,470
wb_eps_offset_6g40=463,463,462,463,471,472,471,470
wb_eps_offset_6g80=464,465,464,466,471,472,468,472
wb_calref_db_6g20=26,26,26,26,27,27,29,28
wb_calref_db_6g40=30,30,32,30,27,27,29,28
wb_calref_db_6g80=32,30,34,30,27,27,29,28

#2nd LUT parameters
wb_multipapd_en=1
wb_PapdLutSel_idx_6g20=42,42,42,43,42,46,39,42
wb_PapdLutSel_idx_6g40=44,42,44,42,42,43,42,45
wb_PapdLutSel_idx_6g80=44,42,43,42,39,44,42,45
wb_eps_index_offset_6g20=0,0,0,2,2,9,3,5
wb_eps_index_offset_6g40=3,7,7,5,2,8,0,8
wb_eps_index_offset_6g80=6,7,5,5,2,4,3,6
wb_papdcalidx_6g20_lut1=10,10,10,10,30,32,30,32
wb_papdcalidx_6g40_lut1=25,25,25,25,30,32,32,32
wb_papdcalidx_6g80_lut1=27,28,27,28,30,10,10,32
wb_bbmult_6g20_lut1=54,50,55,35,52,45,56,66
wb_bbmult_6g40_lut1=28,42,32,45,70,42,50,45
wb_bbmult_6g80_lut1=50,50,50,50,50,30,40,50
wb_calref_db_6g20_lut1=30,26,30,30,30,30,32,28
wb_calref_db_6g40_lut1=30,30,32,30,27,30,35,28
wb_calref_db_6g80_lut1=28,30,30,30,30,30,32,28

# 2g/5G 2nd PAPD LUT parameters applicable for -40degc
wb_eps_offset_lut1=22,10,7,3,22,10,10,7
wb_calref_db_lut1=23,19,19,19,23,19,19,19
wb_papdcalidx_lut1=10,10,10,10,10,10,10,10
wb_bbmult_lut1=25,40,40,26,25,40,40,40
wb_PapdLutSel_idx_2g5g=53,52,63,62,53,52,53,52

# energy detect threshold
ed_thresh2g=-65
ed_thresh5g=-71
# ED thresh 6GHz grouping: UNII-5/6, UNII-7/8
ed_thresh6g=-71,-71
# energy detect threshold for EU
eu_edthresh2g=-65
eu_edthresh5g=-71
eu_edthresh6g=-71
eu_edthresh6g=-71,-71

btldopu=0

#rpcal coef for imptxbf
rpcal2g=0
rpcal5gb0=238
rpcal5gb1=228
rpcal5gb2=222
rpcal5gb3=229

#Enable LHL PS mode
lhl_ps_mode=3

#Disable FastLPO
fastlpo_dis=1
fastlpo_pcie_dis=1

#Enable lesi and bphymrc
lesimode=1,1,1
bphymrc=1

#temperature throttling
tvpm=1
tvpm_txc_txdc=110,15
tvpm_txc_txdc_lowlimit=1
tvpm_txc_txdc_insert=0,0
tvpm_monitor_period=3
#temperature throttling, aggressive setting
tvpm_txc_txdc_burst=130,35,5
tvpm_txc_txdc_init_step=50

##Dynamic Desense Params for 2 ant hybrid coex
##btcdyn_flags = bit 3- PWRCTRL: bit 2- MSWITCH: bit 1- DESENSE: bit 0- DYNCTL
btcdyn_flags=0xB
btcdyn_dflt_dsns_level=0
btcdyn_low_dsns_level=1
btcdyn_mid_dsns_level=2
btcdyn_high_dsns_level=4
btcdyn_default_btc_mode=5
btcdyn_dsns_rows=2
btcdyn_dsns_row1=5,-4,0,-50,-70
btcdyn_dsns_row0=5,12,0,-50,-65
btcdyn_wlpwr_val=2,4,6,8,10,12,14,16
btcdyn_wlpwr_thresh=-10,-20,-30,-40,-50,-60,-70

# idx 0: PPR temp thresh, default 150
# idx 1: PPR temp thresh hysteresis, default 15
ppr_hitemp_offset=70,10
# CCK high temp offset, 0.5dBm/step, rate(11,5.5,2,1Mbps)
cckbw202gpo_ht=0x6666
# OFDM temp offset for Legacy rates for 2G/5G/6G, 0.5dBm/step, rate(54,48,36,24,18,12,9,6Mbps)
ofdmbw202gpo_ht=0x65555533
ofdmbw205gpo_ht=0x66666666
ofdmbw206gpo_ht=0x66666666
# HE/VHT/HT temp offset for 2G/5G/6G, 0.5dBm/step, rate(C9,C8,M7,M6,M5,M4,M3,M2-0)
mcsbw202gpo_ht=0x66665553
mcsbw205gpo_ht=0x66666666
mcsbw405gpo_ht=0x66666666
mcsbw805gpo_ht=0x66666666
mcsbw206gpo_ht=0x66666666
mcsbw406gpo_ht=0x66666666
mcsbw806gpo_ht=0x66666666
# HE/VHT/HT temp offset for 2G/5G/6G, 0.5dBm/step, rate(C11,C10)
mcsbw202gpo_1024qam_ht=0x66
mcsbw205gpo_1024qam_ht=0x66
mcsbw405gpo_1024qam_ht=0x66
mcsbw805gpo_1024qam_ht=0x66
mcsbw206gpo_1024qam_ht=0x66
mcsbw406gpo_1024qam_ht=0x66
mcsbw806gpo_1024qam_ht=0x66

#Enable low power features
ocl=1
scd=1