mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-15 06:28:14 +08:00
96 lines
5.7 KiB
C
96 lines
5.7 KiB
C
/**
|
|
* UNPUBLISHED PROPRIETARY SOURCE CODE
|
|
* Copyright (c) 2016 MXCHIP Inc.
|
|
*
|
|
* The contents of this file may not be disclosed to third parties, copied or
|
|
* duplicated in any form, in whole or in part, without the prior written
|
|
* permission of MXCHIP Corporation.
|
|
*
|
|
*/
|
|
|
|
/** @file
|
|
* NVRAM variables which define BCM43362 Parameters for the
|
|
* MXCHIP EMW3166 module.
|
|
*
|
|
*/
|
|
|
|
#ifndef INCLUDED_NVRAM_IMAGE_H_
|
|
#define INCLUDED_NVRAM_IMAGE_H_
|
|
|
|
#include <string.h>
|
|
|
|
#define NVRAM_GENERATED_MAC_ADDRESS "macaddr=C8:93:46:00:00:01"
|
|
|
|
/**
|
|
* Character array of NVRAM image
|
|
*/
|
|
|
|
static const char wifi_nvram_image[] =
|
|
"manfid=0x2d0" "\x00"
|
|
"prodid=0x492" "\x00"
|
|
"vendid=0x14e4" "\x00"
|
|
"devid=0x4343" "\x00"
|
|
"boardtype=0x0598" "\x00"
|
|
"boardrev=0x1309" "\x00"
|
|
"boardnum=777" "\x00"
|
|
"xtalfreq=26000" "\x00"
|
|
"boardflags=0xa00" "\x00"
|
|
"sromrev=3" "\x00"
|
|
"wl0id=0x431b" "\x00"
|
|
NVRAM_GENERATED_MAC_ADDRESS "\x00"
|
|
"aa2g=1" "\x00"
|
|
"ag0=2" "\x00"
|
|
"maxp2ga0=70" "\x00"
|
|
"ofdm2gpo=0x66666666" "\x00"
|
|
"mcs2gpo0=0x8888" "\x00"
|
|
"mcs2gpo1=0x8888" "\x00"
|
|
"pa0maxpwr=80" "\x00"
|
|
"pa0b0=0x14BC" "\x00"
|
|
"pa0b1=0xFD48" "\x00"
|
|
"pa0b2=0xFF15" "\x00"
|
|
"pa0itssit=62" "\x00"
|
|
"pa1itssit=62" "\x00"
|
|
"temp_based_dutycy_en=1" "\x00"
|
|
"tx_duty_cycle_ofdm=100" "\x00"
|
|
"tx_duty_cycle_cck=100" "\x00"
|
|
"tx_ofdm_temp_0=115" "\x00"
|
|
"tx_cck_temp_0=115" "\x00"
|
|
"tx_ofdm_dutycy_0=40" "\x00"
|
|
"tx_cck_dutycy_0=40" "\x00"
|
|
"tx_ofdm_temp_1=255" "\x00"
|
|
"tx_cck_temp_1=255" "\x00"
|
|
"tx_ofdm_dutycy_1=40" "\x00"
|
|
"tx_cck_dutycy_1=40" "\x00"
|
|
"tx_tone_power_index=40" "\x00"
|
|
"tx_tone_power_index.fab.3=48" "\x00"
|
|
"cckPwrOffset=0" "\x00"
|
|
"ccode=0" "\x00"
|
|
"rssismf2g=0xa" "\x00"
|
|
"rssismc2g=0x3" "\x00"
|
|
"rssisav2g=0x7" "\x00"
|
|
"triso2g=0" "\x00"
|
|
"noise_cal_enable_2g=0" "\x00"
|
|
"noise_cal_po_2g=1" "\x00"
|
|
"noise_cal_po_2g.fab.3=4" "\x00"
|
|
"swctrlmap_2g=0x04040404,0x02020202,0x02020202,0x010101,0x1ff" "\x00"
|
|
"temp_add=29767" "\x00"
|
|
"temp_mult=425" "\x00"
|
|
"temp_q=10" "\x00"
|
|
"initxidx2g=45" "\x00"
|
|
"tssitime=1" "\x00"
|
|
"rfreg033=0x19" "\x00"
|
|
"rfreg033_cck=0x1f" "\x00"
|
|
"cckPwrIdxCorr=-8" "\x00"
|
|
"spuravoid_enable2g=1" "\x00"
|
|
"noise_cal_dbg.fab.3=1" "\x00"
|
|
"logen_mode=0xa,0x11,0x00,0x0,0x00" "\x00"
|
|
"noise_cal_high_gain.fab.3=76" "\x00"
|
|
"noise_cal_nf_substract_val.fab.3=356" "\x00"
|
|
"\x00\x00";
|
|
|
|
#else /* ifndef INCLUDED_NVRAM_IMAGE_H_ */
|
|
|
|
#error Wi-Fi NVRAM image included twice
|
|
|
|
#endif /* ifndef INCLUDED_NVRAM_IMAGE_H_ */
|