1*b7d5e03cSMatthew Dillon /* 2*b7d5e03cSMatthew Dillon * Copyright (c) 2013 Qualcomm Atheros, Inc. 3*b7d5e03cSMatthew Dillon * 4*b7d5e03cSMatthew Dillon * Permission to use, copy, modify, and/or distribute this software for any 5*b7d5e03cSMatthew Dillon * purpose with or without fee is hereby granted, provided that the above 6*b7d5e03cSMatthew Dillon * copyright notice and this permission notice appear in all copies. 7*b7d5e03cSMatthew Dillon * 8*b7d5e03cSMatthew Dillon * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH 9*b7d5e03cSMatthew Dillon * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY 10*b7d5e03cSMatthew Dillon * AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, 11*b7d5e03cSMatthew Dillon * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 12*b7d5e03cSMatthew Dillon * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 13*b7d5e03cSMatthew Dillon * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 14*b7d5e03cSMatthew Dillon * PERFORMANCE OF THIS SOFTWARE. 15*b7d5e03cSMatthew Dillon */ 16*b7d5e03cSMatthew Dillon 17*b7d5e03cSMatthew Dillon /* 18*b7d5e03cSMatthew Dillon * READ THIS NOTICE! 19*b7d5e03cSMatthew Dillon * 20*b7d5e03cSMatthew Dillon * Values defined in this file may only be changed under exceptional circumstances. 21*b7d5e03cSMatthew Dillon * 22*b7d5e03cSMatthew Dillon * Please ask Fiona Cain before making any changes. 23*b7d5e03cSMatthew Dillon */ 24*b7d5e03cSMatthew Dillon 25*b7d5e03cSMatthew Dillon #ifndef __ar9300templateXB112_h__ 26*b7d5e03cSMatthew Dillon #define __ar9300templateXB112_h__ 27*b7d5e03cSMatthew Dillon 28*b7d5e03cSMatthew Dillon static ar9300_eeprom_t ar9300_template_xb112= 29*b7d5e03cSMatthew Dillon { 30*b7d5e03cSMatthew Dillon 31*b7d5e03cSMatthew Dillon 2, // eeprom_version; 32*b7d5e03cSMatthew Dillon 33*b7d5e03cSMatthew Dillon ar9300_eeprom_template_xb112, // template_version; 34*b7d5e03cSMatthew Dillon 35*b7d5e03cSMatthew Dillon {0x00,0x03,0x7f,0x0,0x0,0x0}, //mac_addr[6]; 36*b7d5e03cSMatthew Dillon 37*b7d5e03cSMatthew Dillon //static A_UINT8 custData[OSPREY_CUSTOMER_DATA_SIZE]= 38*b7d5e03cSMatthew Dillon 39*b7d5e03cSMatthew Dillon {"xb112-041-f0000"}, 40*b7d5e03cSMatthew Dillon // {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}, 41*b7d5e03cSMatthew Dillon 42*b7d5e03cSMatthew Dillon //static OSPREY_BASE_EEP_HEADER base_eep_header= 43*b7d5e03cSMatthew Dillon 44*b7d5e03cSMatthew Dillon { 45*b7d5e03cSMatthew Dillon {0,0x1f}, // reg_dmn[2]; //Does this need to be outside of this structure, if it gets written after calibration 46*b7d5e03cSMatthew Dillon 0x77, // txrx_mask; //4 bits tx and 4 bits rx 47*b7d5e03cSMatthew Dillon {AR9300_OPFLAGS_11G | AR9300_OPFLAGS_11A, 0}, // op_cap_flags; 48*b7d5e03cSMatthew Dillon 0, // rf_silent; 49*b7d5e03cSMatthew Dillon 0, // blue_tooth_options; 50*b7d5e03cSMatthew Dillon 0, // device_cap; 51*b7d5e03cSMatthew Dillon 5, // device_type; // takes lower byte in eeprom location 52*b7d5e03cSMatthew Dillon OSPREY_PWR_TABLE_OFFSET, // pwrTableOffset; // offset in dB to be added to beginning of pdadc table in calibration 53*b7d5e03cSMatthew Dillon {0,0}, // params_for_tuning_caps[2]; //placeholder, get more details from Don 54*b7d5e03cSMatthew Dillon 0x0d, //feature_enable; //bit0 - enable tx temp comp 55*b7d5e03cSMatthew Dillon //bit1 - enable tx volt comp 56*b7d5e03cSMatthew Dillon //bit2 - enable fastClock - default to 1 57*b7d5e03cSMatthew Dillon //bit3 - enable doubling - default to 1 58*b7d5e03cSMatthew Dillon //bit4 - enable internal regulator - default to 0 59*b7d5e03cSMatthew Dillon //bit5 - enable paprd -- default to 0 60*b7d5e03cSMatthew Dillon 0, //misc_configuration: bit0 - turn down drivestrength 61*b7d5e03cSMatthew Dillon 6, // eeprom_write_enable_gpio 62*b7d5e03cSMatthew Dillon 0, // wlan_disable_gpio 63*b7d5e03cSMatthew Dillon 8, // wlan_led_gpio 64*b7d5e03cSMatthew Dillon 0xff, // rx_band_select_gpio 65*b7d5e03cSMatthew Dillon 0, // txrxgain 66*b7d5e03cSMatthew Dillon 0, // swreg 67*b7d5e03cSMatthew Dillon }, 68*b7d5e03cSMatthew Dillon 69*b7d5e03cSMatthew Dillon 70*b7d5e03cSMatthew Dillon //static OSPREY_MODAL_EEP_HEADER modal_header_2g= 71*b7d5e03cSMatthew Dillon { 72*b7d5e03cSMatthew Dillon 73*b7d5e03cSMatthew Dillon 0x110, // ant_ctrl_common; // 4 idle, t1, t2, b (4 bits per setting) 74*b7d5e03cSMatthew Dillon 0x22222, // ant_ctrl_common2; // 4 ra1l1, ra2l1, ra1l2, ra2l2, ra12 75*b7d5e03cSMatthew Dillon {0x10,0x10,0x10}, // ant_ctrl_chain[OSPREY_MAX_CHAINS]; // 6 idle, t, r, rx1, rx12, b (2 bits each) 76*b7d5e03cSMatthew Dillon {0x1b,0x1b,0x1b}, // xatten1_db[OSPREY_MAX_CHAINS]; // 3 //xatten1_db for merlin (0xa20c/b20c 5:0) 77*b7d5e03cSMatthew Dillon {0x15,0x15,0x15}, // xatten1_margin[OSPREY_MAX_CHAINS]; // 3 //xatten1_margin for merlin (0xa20c/b20c 16:12 78*b7d5e03cSMatthew Dillon 50, // temp_slope; 79*b7d5e03cSMatthew Dillon 0, // voltSlope; 80*b7d5e03cSMatthew Dillon {FREQ2FBIN(2464, 1),0,0,0,0}, // spur_chans[OSPREY_EEPROM_MODAL_SPURS]; // spur channels in usual fbin coding format 81*b7d5e03cSMatthew Dillon {-1,0,0}, // noise_floor_thresh_ch[OSPREY_MAX_CHAINS]; // 3 //Check if the register is per chain 82*b7d5e03cSMatthew Dillon {0, 0, 0, 0, 0, 0,0,0,0,0,0}, // reserved 83*b7d5e03cSMatthew Dillon 0, // quick drop 84*b7d5e03cSMatthew Dillon 0, // xpa_bias_lvl; // 1 85*b7d5e03cSMatthew Dillon 0x0e, // tx_frame_to_data_start; // 1 86*b7d5e03cSMatthew Dillon 0x0e, // tx_frame_to_pa_on; // 1 87*b7d5e03cSMatthew Dillon 3, // txClip; // 4 bits tx_clip, 4 bits dac_scale_cck 88*b7d5e03cSMatthew Dillon 0, // antenna_gain; // 1 89*b7d5e03cSMatthew Dillon 0x2c, // switchSettling; // 1 90*b7d5e03cSMatthew Dillon -30, // adcDesiredSize; // 1 91*b7d5e03cSMatthew Dillon 0, // txEndToXpaOff; // 1 92*b7d5e03cSMatthew Dillon 0x2, // txEndToRxOn; // 1 93*b7d5e03cSMatthew Dillon 0xe, // tx_frame_to_xpa_on; // 1 94*b7d5e03cSMatthew Dillon 28, // thresh62; // 1 95*b7d5e03cSMatthew Dillon 0x0c80C080, // paprd_rate_mask_ht20 // 4 96*b7d5e03cSMatthew Dillon 0x0080C080, // paprd_rate_mask_ht40 97*b7d5e03cSMatthew Dillon 0, // switchcomspdt; // 2 98*b7d5e03cSMatthew Dillon 0, // bit: 0,1:chain0, 2,3:chain1, 4,5:chain2 99*b7d5e03cSMatthew Dillon 0, // rf_gain_cap 100*b7d5e03cSMatthew Dillon 0, // tx_gain_cap 101*b7d5e03cSMatthew Dillon {0,0,0,0,0} //futureModal[5]; 102*b7d5e03cSMatthew Dillon }, 103*b7d5e03cSMatthew Dillon 104*b7d5e03cSMatthew Dillon { 105*b7d5e03cSMatthew Dillon 0, // ant_div_control 106*b7d5e03cSMatthew Dillon {0,0}, // base_ext1 107*b7d5e03cSMatthew Dillon 0, // misc_enable 108*b7d5e03cSMatthew Dillon {0,0,0,0,0,0,0,0}, // temp slop extension 109*b7d5e03cSMatthew Dillon 0, // quick drop low 110*b7d5e03cSMatthew Dillon 0, // quick drop high 111*b7d5e03cSMatthew Dillon }, 112*b7d5e03cSMatthew Dillon 113*b7d5e03cSMatthew Dillon //static A_UINT8 cal_freq_pier_2g[OSPREY_NUM_2G_CAL_PIERS]= 114*b7d5e03cSMatthew Dillon { 115*b7d5e03cSMatthew Dillon FREQ2FBIN(2412, 1), 116*b7d5e03cSMatthew Dillon FREQ2FBIN(2437, 1), 117*b7d5e03cSMatthew Dillon FREQ2FBIN(2462, 1) 118*b7d5e03cSMatthew Dillon }, 119*b7d5e03cSMatthew Dillon 120*b7d5e03cSMatthew Dillon //static OSP_CAL_DATA_PER_FREQ_OP_LOOP cal_pier_data_2g[OSPREY_MAX_CHAINS][OSPREY_NUM_2G_CAL_PIERS]= 121*b7d5e03cSMatthew Dillon 122*b7d5e03cSMatthew Dillon { {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 123*b7d5e03cSMatthew Dillon {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 124*b7d5e03cSMatthew Dillon {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 125*b7d5e03cSMatthew Dillon }, 126*b7d5e03cSMatthew Dillon 127*b7d5e03cSMatthew Dillon //A_UINT8 cal_target_freqbin_cck[OSPREY_NUM_2G_CCK_TARGET_POWERS]; 128*b7d5e03cSMatthew Dillon 129*b7d5e03cSMatthew Dillon { 130*b7d5e03cSMatthew Dillon FREQ2FBIN(2412, 1), 131*b7d5e03cSMatthew Dillon FREQ2FBIN(2472, 1) 132*b7d5e03cSMatthew Dillon }, 133*b7d5e03cSMatthew Dillon 134*b7d5e03cSMatthew Dillon //static CAL_TARGET_POWER_LEG cal_target_freqbin_2g[OSPREY_NUM_2G_20_TARGET_POWERS] 135*b7d5e03cSMatthew Dillon { 136*b7d5e03cSMatthew Dillon FREQ2FBIN(2412, 1), 137*b7d5e03cSMatthew Dillon FREQ2FBIN(2437, 1), 138*b7d5e03cSMatthew Dillon FREQ2FBIN(2472, 1) 139*b7d5e03cSMatthew Dillon }, 140*b7d5e03cSMatthew Dillon 141*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_freqbin_2g_ht20[OSPREY_NUM_2G_20_TARGET_POWERS] 142*b7d5e03cSMatthew Dillon { 143*b7d5e03cSMatthew Dillon FREQ2FBIN(2412, 1), 144*b7d5e03cSMatthew Dillon FREQ2FBIN(2437, 1), 145*b7d5e03cSMatthew Dillon FREQ2FBIN(2472, 1) 146*b7d5e03cSMatthew Dillon }, 147*b7d5e03cSMatthew Dillon 148*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_freqbin_2g_ht40[OSPREY_NUM_2G_40_TARGET_POWERS] 149*b7d5e03cSMatthew Dillon { 150*b7d5e03cSMatthew Dillon FREQ2FBIN(2412, 1), 151*b7d5e03cSMatthew Dillon FREQ2FBIN(2437, 1), 152*b7d5e03cSMatthew Dillon FREQ2FBIN(2472, 1) 153*b7d5e03cSMatthew Dillon }, 154*b7d5e03cSMatthew Dillon 155*b7d5e03cSMatthew Dillon //static CAL_TARGET_POWER_LEG cal_target_power_cck[OSPREY_NUM_2G_CCK_TARGET_POWERS]= 156*b7d5e03cSMatthew Dillon { 157*b7d5e03cSMatthew Dillon //1L-5L,5S,11L,11S 158*b7d5e03cSMatthew Dillon {{38,38,38,38}}, 159*b7d5e03cSMatthew Dillon {{38,38,38,38}} 160*b7d5e03cSMatthew Dillon }, 161*b7d5e03cSMatthew Dillon 162*b7d5e03cSMatthew Dillon //static CAL_TARGET_POWER_LEG cal_target_power_2g[OSPREY_NUM_2G_20_TARGET_POWERS]= 163*b7d5e03cSMatthew Dillon { 164*b7d5e03cSMatthew Dillon //6-24,36,48,54 165*b7d5e03cSMatthew Dillon {{38,38,36,34}}, 166*b7d5e03cSMatthew Dillon {{38,38,36,34}}, 167*b7d5e03cSMatthew Dillon {{38,38,34,32}}, 168*b7d5e03cSMatthew Dillon }, 169*b7d5e03cSMatthew Dillon 170*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_2g_ht20[OSPREY_NUM_2G_20_TARGET_POWERS]= 171*b7d5e03cSMatthew Dillon { 172*b7d5e03cSMatthew Dillon //0_8_16,1-3_9-11_17-19, 173*b7d5e03cSMatthew Dillon // 4,5,6,7,12,13,14,15,20,21,22,23 174*b7d5e03cSMatthew Dillon {{36,36,36,36,36,34,34,32,30,28,28,28,28,26}}, 175*b7d5e03cSMatthew Dillon {{36,36,36,36,36,34,36,34,32,30,30,30,28,26}}, 176*b7d5e03cSMatthew Dillon {{36,36,36,36,36,34,34,32,30,28,28,28,28,26}}, 177*b7d5e03cSMatthew Dillon }, 178*b7d5e03cSMatthew Dillon 179*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_2g_ht40[OSPREY_NUM_2G_40_TARGET_POWERS]= 180*b7d5e03cSMatthew Dillon { 181*b7d5e03cSMatthew Dillon //0_8_16,1-3_9-11_17-19, 182*b7d5e03cSMatthew Dillon // 4,5,6,7,12,13,14,15,20,21,22,23 183*b7d5e03cSMatthew Dillon {{36,36,36,36,34,32,32,30,28,26,26,26,26,24}}, 184*b7d5e03cSMatthew Dillon {{36,36,36,36,34,32,34,32,30,28,28,28,28,24}}, 185*b7d5e03cSMatthew Dillon {{36,36,36,36,34,32,32,30,28,26,26,26,26,24}}, 186*b7d5e03cSMatthew Dillon }, 187*b7d5e03cSMatthew Dillon 188*b7d5e03cSMatthew Dillon //static A_UINT8 ctl_index_2g[OSPREY_NUM_CTLS_2G]= 189*b7d5e03cSMatthew Dillon 190*b7d5e03cSMatthew Dillon { 191*b7d5e03cSMatthew Dillon 192*b7d5e03cSMatthew Dillon 0x11, 193*b7d5e03cSMatthew Dillon 0x12, 194*b7d5e03cSMatthew Dillon 0x15, 195*b7d5e03cSMatthew Dillon 0x17, 196*b7d5e03cSMatthew Dillon 0x41, 197*b7d5e03cSMatthew Dillon 0x42, 198*b7d5e03cSMatthew Dillon 0x45, 199*b7d5e03cSMatthew Dillon 0x47, 200*b7d5e03cSMatthew Dillon 0x31, 201*b7d5e03cSMatthew Dillon 0x32, 202*b7d5e03cSMatthew Dillon 0x35, 203*b7d5e03cSMatthew Dillon 0x37 204*b7d5e03cSMatthew Dillon 205*b7d5e03cSMatthew Dillon }, 206*b7d5e03cSMatthew Dillon 207*b7d5e03cSMatthew Dillon //A_UINT8 ctl_freqbin_2G[OSPREY_NUM_CTLS_2G][OSPREY_NUM_BAND_EDGES_2G]; 208*b7d5e03cSMatthew Dillon 209*b7d5e03cSMatthew Dillon { 210*b7d5e03cSMatthew Dillon {FREQ2FBIN(2412, 1), 211*b7d5e03cSMatthew Dillon FREQ2FBIN(2417, 1), 212*b7d5e03cSMatthew Dillon FREQ2FBIN(2457, 1), 213*b7d5e03cSMatthew Dillon FREQ2FBIN(2462, 1)}, 214*b7d5e03cSMatthew Dillon 215*b7d5e03cSMatthew Dillon {FREQ2FBIN(2412, 1), 216*b7d5e03cSMatthew Dillon FREQ2FBIN(2417, 1), 217*b7d5e03cSMatthew Dillon FREQ2FBIN(2462, 1), 218*b7d5e03cSMatthew Dillon 0xFF}, 219*b7d5e03cSMatthew Dillon 220*b7d5e03cSMatthew Dillon {FREQ2FBIN(2412, 1), 221*b7d5e03cSMatthew Dillon FREQ2FBIN(2417, 1), 222*b7d5e03cSMatthew Dillon FREQ2FBIN(2462, 1), 223*b7d5e03cSMatthew Dillon 0xFF}, 224*b7d5e03cSMatthew Dillon 225*b7d5e03cSMatthew Dillon {FREQ2FBIN(2422, 1), 226*b7d5e03cSMatthew Dillon FREQ2FBIN(2427, 1), 227*b7d5e03cSMatthew Dillon FREQ2FBIN(2447, 1), 228*b7d5e03cSMatthew Dillon FREQ2FBIN(2452, 1)}, 229*b7d5e03cSMatthew Dillon 230*b7d5e03cSMatthew Dillon {/*Data[4].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 231*b7d5e03cSMatthew Dillon /*Data[4].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 232*b7d5e03cSMatthew Dillon /*Data[4].ctl_edges[2].bChannel*/FREQ2FBIN(2472, 1), 233*b7d5e03cSMatthew Dillon /*Data[4].ctl_edges[3].bChannel*/FREQ2FBIN(2484, 1)}, 234*b7d5e03cSMatthew Dillon 235*b7d5e03cSMatthew Dillon {/*Data[5].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 236*b7d5e03cSMatthew Dillon /*Data[5].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 237*b7d5e03cSMatthew Dillon /*Data[5].ctl_edges[2].bChannel*/FREQ2FBIN(2472, 1), 238*b7d5e03cSMatthew Dillon 0}, 239*b7d5e03cSMatthew Dillon 240*b7d5e03cSMatthew Dillon {/*Data[6].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 241*b7d5e03cSMatthew Dillon /*Data[6].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 242*b7d5e03cSMatthew Dillon FREQ2FBIN(2472, 1), 243*b7d5e03cSMatthew Dillon 0}, 244*b7d5e03cSMatthew Dillon 245*b7d5e03cSMatthew Dillon {/*Data[7].ctl_edges[0].bChannel*/FREQ2FBIN(2422, 1), 246*b7d5e03cSMatthew Dillon /*Data[7].ctl_edges[1].bChannel*/FREQ2FBIN(2427, 1), 247*b7d5e03cSMatthew Dillon /*Data[7].ctl_edges[2].bChannel*/FREQ2FBIN(2447, 1), 248*b7d5e03cSMatthew Dillon /*Data[7].ctl_edges[3].bChannel*/FREQ2FBIN(2462, 1)}, 249*b7d5e03cSMatthew Dillon 250*b7d5e03cSMatthew Dillon {/*Data[8].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 251*b7d5e03cSMatthew Dillon /*Data[8].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 252*b7d5e03cSMatthew Dillon /*Data[8].ctl_edges[2].bChannel*/FREQ2FBIN(2472, 1), 253*b7d5e03cSMatthew Dillon 0}, 254*b7d5e03cSMatthew Dillon 255*b7d5e03cSMatthew Dillon {/*Data[9].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 256*b7d5e03cSMatthew Dillon /*Data[9].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 257*b7d5e03cSMatthew Dillon /*Data[9].ctl_edges[2].bChannel*/FREQ2FBIN(2472, 1), 258*b7d5e03cSMatthew Dillon 0}, 259*b7d5e03cSMatthew Dillon 260*b7d5e03cSMatthew Dillon {/*Data[10].ctl_edges[0].bChannel*/FREQ2FBIN(2412, 1), 261*b7d5e03cSMatthew Dillon /*Data[10].ctl_edges[1].bChannel*/FREQ2FBIN(2417, 1), 262*b7d5e03cSMatthew Dillon /*Data[10].ctl_edges[2].bChannel*/FREQ2FBIN(2472, 1), 263*b7d5e03cSMatthew Dillon 0}, 264*b7d5e03cSMatthew Dillon 265*b7d5e03cSMatthew Dillon {/*Data[11].ctl_edges[0].bChannel*/FREQ2FBIN(2422, 1), 266*b7d5e03cSMatthew Dillon /*Data[11].ctl_edges[1].bChannel*/FREQ2FBIN(2427, 1), 267*b7d5e03cSMatthew Dillon /*Data[11].ctl_edges[2].bChannel*/FREQ2FBIN(2447, 1), 268*b7d5e03cSMatthew Dillon /*Data[11].ctl_edges[3].bChannel*/FREQ2FBIN(2462, 1)} 269*b7d5e03cSMatthew Dillon }, 270*b7d5e03cSMatthew Dillon 271*b7d5e03cSMatthew Dillon 272*b7d5e03cSMatthew Dillon //OSP_CAL_CTL_DATA_2G ctl_power_data_2g[OSPREY_NUM_CTLS_2G]; 273*b7d5e03cSMatthew Dillon 274*b7d5e03cSMatthew Dillon #if AH_BYTE_ORDER == AH_BIG_ENDIAN 275*b7d5e03cSMatthew Dillon { 276*b7d5e03cSMatthew Dillon 277*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 278*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 279*b7d5e03cSMatthew Dillon {{{1, 60}, {0, 60}, {0, 60}, {1, 60}}}, 280*b7d5e03cSMatthew Dillon 281*b7d5e03cSMatthew Dillon {{{1, 60}, {0, 60}, {0, 60}, {0, 60}}}, 282*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 283*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 284*b7d5e03cSMatthew Dillon 285*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {1, 60}, {0, 60}}}, 286*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 287*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 288*b7d5e03cSMatthew Dillon 289*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {0, 60}, {0, 60}}}, 290*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {1, 60}, {1, 60}}}, 291*b7d5e03cSMatthew Dillon {{{0, 60}, {1, 60}, {1, 60}, {1, 60}}}, 292*b7d5e03cSMatthew Dillon 293*b7d5e03cSMatthew Dillon }, 294*b7d5e03cSMatthew Dillon #else 295*b7d5e03cSMatthew Dillon { 296*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 297*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 298*b7d5e03cSMatthew Dillon {{{60, 1}, {60, 0}, {60, 0}, {60, 1}}}, 299*b7d5e03cSMatthew Dillon 300*b7d5e03cSMatthew Dillon {{{60, 1}, {60, 0}, {60, 0}, {60, 0}}}, 301*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 302*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 303*b7d5e03cSMatthew Dillon 304*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 1}, {60, 0}}}, 305*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 306*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 307*b7d5e03cSMatthew Dillon 308*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 0}, {60, 0}}}, 309*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 1}, {60, 1}}}, 310*b7d5e03cSMatthew Dillon {{{60, 0}, {60, 1}, {60, 1}, {60, 1}}}, 311*b7d5e03cSMatthew Dillon }, 312*b7d5e03cSMatthew Dillon #endif 313*b7d5e03cSMatthew Dillon 314*b7d5e03cSMatthew Dillon //static OSPREY_MODAL_EEP_HEADER modal_header_5g= 315*b7d5e03cSMatthew Dillon 316*b7d5e03cSMatthew Dillon { 317*b7d5e03cSMatthew Dillon 318*b7d5e03cSMatthew Dillon 0x110, // ant_ctrl_common; // 4 idle, t1, t2, b (4 bits per setting) 319*b7d5e03cSMatthew Dillon 0x22222, // ant_ctrl_common2; // 4 ra1l1, ra2l1, ra1l2, ra2l2, ra12 320*b7d5e03cSMatthew Dillon {0x000,0x000,0x000}, // ant_ctrl_chain[OSPREY_MAX_CHAINS]; // 6 idle, t, r, rx1, rx12, b (2 bits each) 321*b7d5e03cSMatthew Dillon {0x13,0x19,0x17}, // xatten1_db[OSPREY_MAX_CHAINS]; // 3 //xatten1_db for merlin (0xa20c/b20c 5:0) 322*b7d5e03cSMatthew Dillon {0x19,0x19,0x19}, // xatten1_margin[OSPREY_MAX_CHAINS]; // 3 //xatten1_margin for merlin (0xa20c/b20c 16:12 323*b7d5e03cSMatthew Dillon 70, // temp_slope; 324*b7d5e03cSMatthew Dillon 15, // voltSlope; 325*b7d5e03cSMatthew Dillon {0,0,0,0,0}, // spur_chans[OSPREY_EEPROM_MODAL_SPURS]; // spur channels in usual fbin coding format 326*b7d5e03cSMatthew Dillon {-1,0,0}, // noise_floor_thresh_ch[OSPREY_MAX_CHAINS]; // 3 //Check if the register is per chain 327*b7d5e03cSMatthew Dillon {0, 0, 0, 0, 0, 0,0,0,0,0,0}, // reserved 328*b7d5e03cSMatthew Dillon 0, // quick drop 329*b7d5e03cSMatthew Dillon 0, // xpa_bias_lvl; // 1 330*b7d5e03cSMatthew Dillon 0x0e, // tx_frame_to_data_start; // 1 331*b7d5e03cSMatthew Dillon 0x0e, // tx_frame_to_pa_on; // 1 332*b7d5e03cSMatthew Dillon 3, // txClip; // 4 bits tx_clip, 4 bits dac_scale_cck 333*b7d5e03cSMatthew Dillon 0, // antenna_gain; // 1 334*b7d5e03cSMatthew Dillon 0x2d, // switchSettling; // 1 335*b7d5e03cSMatthew Dillon -30, // adcDesiredSize; // 1 336*b7d5e03cSMatthew Dillon 0, // txEndToXpaOff; // 1 337*b7d5e03cSMatthew Dillon 0x2, // txEndToRxOn; // 1 338*b7d5e03cSMatthew Dillon 0xe, // tx_frame_to_xpa_on; // 1 339*b7d5e03cSMatthew Dillon 28, // thresh62; // 1 340*b7d5e03cSMatthew Dillon 0x0cf0e0e0, // paprd_rate_mask_ht20 // 4 341*b7d5e03cSMatthew Dillon 0x6cf0e0e0, // paprd_rate_mask_ht40 // 4 342*b7d5e03cSMatthew Dillon 0, // switchcomspdt; // 2 343*b7d5e03cSMatthew Dillon 0, // bit: 0,1:chain0, 2,3:chain1, 4,5:chain2 344*b7d5e03cSMatthew Dillon 0, // rf_gain_cap 345*b7d5e03cSMatthew Dillon 0, // tx_gain_cap 346*b7d5e03cSMatthew Dillon {0,0,0,0,0} //futureModal[5]; 347*b7d5e03cSMatthew Dillon }, 348*b7d5e03cSMatthew Dillon 349*b7d5e03cSMatthew Dillon { // base_ext2 350*b7d5e03cSMatthew Dillon 72, // tempSlopeL; 351*b7d5e03cSMatthew Dillon 105, // tempSlopeH; 352*b7d5e03cSMatthew Dillon {0x10,0x14,0x10}, // xatten1_db_low 353*b7d5e03cSMatthew Dillon {0x19,0x19,0x19}, // xatten1_margin_low 354*b7d5e03cSMatthew Dillon {0x1d,0x20,0x24}, // xatten1_db_high 355*b7d5e03cSMatthew Dillon {0x10,0x10,0x10} // xatten1_margin_high 356*b7d5e03cSMatthew Dillon }, 357*b7d5e03cSMatthew Dillon 358*b7d5e03cSMatthew Dillon //static A_UINT8 cal_freq_pier_5g[OSPREY_NUM_5G_CAL_PIERS]= 359*b7d5e03cSMatthew Dillon { 360*b7d5e03cSMatthew Dillon //pPiers[0] = 361*b7d5e03cSMatthew Dillon FREQ2FBIN(5180, 0), 362*b7d5e03cSMatthew Dillon //pPiers[1] = 363*b7d5e03cSMatthew Dillon FREQ2FBIN(5220, 0), 364*b7d5e03cSMatthew Dillon //pPiers[2] = 365*b7d5e03cSMatthew Dillon FREQ2FBIN(5320, 0), 366*b7d5e03cSMatthew Dillon //pPiers[3] = 367*b7d5e03cSMatthew Dillon FREQ2FBIN(5400, 0), 368*b7d5e03cSMatthew Dillon //pPiers[4] = 369*b7d5e03cSMatthew Dillon FREQ2FBIN(5500, 0), 370*b7d5e03cSMatthew Dillon //pPiers[5] = 371*b7d5e03cSMatthew Dillon FREQ2FBIN(5600, 0), 372*b7d5e03cSMatthew Dillon //pPiers[6] = 373*b7d5e03cSMatthew Dillon FREQ2FBIN(5700, 0), 374*b7d5e03cSMatthew Dillon //pPiers[7] = 375*b7d5e03cSMatthew Dillon FREQ2FBIN(5785, 0) 376*b7d5e03cSMatthew Dillon }, 377*b7d5e03cSMatthew Dillon 378*b7d5e03cSMatthew Dillon //static OSP_CAL_DATA_PER_FREQ_OP_LOOP cal_pier_data_5g[OSPREY_MAX_CHAINS][OSPREY_NUM_5G_CAL_PIERS]= 379*b7d5e03cSMatthew Dillon 380*b7d5e03cSMatthew Dillon { 381*b7d5e03cSMatthew Dillon {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 382*b7d5e03cSMatthew Dillon {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 383*b7d5e03cSMatthew Dillon {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}}, 384*b7d5e03cSMatthew Dillon 385*b7d5e03cSMatthew Dillon }, 386*b7d5e03cSMatthew Dillon 387*b7d5e03cSMatthew Dillon //static CAL_TARGET_POWER_LEG cal_target_freqbin_5g[OSPREY_NUM_5G_20_TARGET_POWERS]= 388*b7d5e03cSMatthew Dillon 389*b7d5e03cSMatthew Dillon { 390*b7d5e03cSMatthew Dillon FREQ2FBIN(5180, 0), 391*b7d5e03cSMatthew Dillon FREQ2FBIN(5220, 0), 392*b7d5e03cSMatthew Dillon FREQ2FBIN(5320, 0), 393*b7d5e03cSMatthew Dillon FREQ2FBIN(5400, 0), 394*b7d5e03cSMatthew Dillon FREQ2FBIN(5500, 0), 395*b7d5e03cSMatthew Dillon FREQ2FBIN(5600, 0), 396*b7d5e03cSMatthew Dillon FREQ2FBIN(5725, 0), 397*b7d5e03cSMatthew Dillon FREQ2FBIN(5825, 0) 398*b7d5e03cSMatthew Dillon }, 399*b7d5e03cSMatthew Dillon 400*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_5g_ht20[OSPREY_NUM_5G_20_TARGET_POWERS]= 401*b7d5e03cSMatthew Dillon 402*b7d5e03cSMatthew Dillon { 403*b7d5e03cSMatthew Dillon FREQ2FBIN(5180, 0), 404*b7d5e03cSMatthew Dillon FREQ2FBIN(5220, 0), 405*b7d5e03cSMatthew Dillon FREQ2FBIN(5320, 0), 406*b7d5e03cSMatthew Dillon FREQ2FBIN(5400, 0), 407*b7d5e03cSMatthew Dillon FREQ2FBIN(5500, 0), 408*b7d5e03cSMatthew Dillon FREQ2FBIN(5600, 0), 409*b7d5e03cSMatthew Dillon FREQ2FBIN(5725, 0), 410*b7d5e03cSMatthew Dillon FREQ2FBIN(5825, 0) 411*b7d5e03cSMatthew Dillon }, 412*b7d5e03cSMatthew Dillon 413*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_5g_ht40[OSPREY_NUM_5G_40_TARGET_POWERS]= 414*b7d5e03cSMatthew Dillon 415*b7d5e03cSMatthew Dillon { 416*b7d5e03cSMatthew Dillon FREQ2FBIN(5180, 0), 417*b7d5e03cSMatthew Dillon FREQ2FBIN(5220, 0), 418*b7d5e03cSMatthew Dillon FREQ2FBIN(5320, 0), 419*b7d5e03cSMatthew Dillon FREQ2FBIN(5400, 0), 420*b7d5e03cSMatthew Dillon FREQ2FBIN(5500, 0), 421*b7d5e03cSMatthew Dillon FREQ2FBIN(5600, 0), 422*b7d5e03cSMatthew Dillon FREQ2FBIN(5725, 0), 423*b7d5e03cSMatthew Dillon FREQ2FBIN(5825, 0) 424*b7d5e03cSMatthew Dillon }, 425*b7d5e03cSMatthew Dillon 426*b7d5e03cSMatthew Dillon 427*b7d5e03cSMatthew Dillon //static CAL_TARGET_POWER_LEG cal_target_power_5g[OSPREY_NUM_5G_20_TARGET_POWERS]= 428*b7d5e03cSMatthew Dillon 429*b7d5e03cSMatthew Dillon 430*b7d5e03cSMatthew Dillon { 431*b7d5e03cSMatthew Dillon //6-24,36,48,54 432*b7d5e03cSMatthew Dillon {{32,32,28,26}}, 433*b7d5e03cSMatthew Dillon {{32,32,28,26}}, 434*b7d5e03cSMatthew Dillon {{32,32,28,26}}, 435*b7d5e03cSMatthew Dillon {{32,32,26,24}}, 436*b7d5e03cSMatthew Dillon {{32,32,26,24}}, 437*b7d5e03cSMatthew Dillon {{32,32,24,22}}, 438*b7d5e03cSMatthew Dillon {{30,30,24,22}}, 439*b7d5e03cSMatthew Dillon {{30,30,24,22}}, 440*b7d5e03cSMatthew Dillon }, 441*b7d5e03cSMatthew Dillon 442*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_5g_ht20[OSPREY_NUM_5G_20_TARGET_POWERS]= 443*b7d5e03cSMatthew Dillon 444*b7d5e03cSMatthew Dillon { 445*b7d5e03cSMatthew Dillon //0_8_16,1-3_9-11_17-19, 446*b7d5e03cSMatthew Dillon // 4,5,6,7,12,13,14,15,20,21,22,23 447*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,28,26,24,24,24,22,22}}, 448*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,28,26,24,24,24,22,22}}, 449*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,28,26,24,24,24,22,22}}, 450*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,26,24,22,22,22,20,20}}, 451*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,26,24,22,20,18,16,16}}, 452*b7d5e03cSMatthew Dillon {{32,32,32,32,28,26,32,24,20,16,18,16,14,14}}, 453*b7d5e03cSMatthew Dillon {{30,30,30,30,28,26,30,24,20,16,18,16,14,14}}, 454*b7d5e03cSMatthew Dillon {{30,30,30,30,28,26,30,24,20,16,18,16,14,14}}, 455*b7d5e03cSMatthew Dillon }, 456*b7d5e03cSMatthew Dillon 457*b7d5e03cSMatthew Dillon //static OSP_CAL_TARGET_POWER_HT cal_target_power_5g_ht40[OSPREY_NUM_5G_40_TARGET_POWERS]= 458*b7d5e03cSMatthew Dillon { 459*b7d5e03cSMatthew Dillon //0_8_16,1-3_9-11_17-19, 460*b7d5e03cSMatthew Dillon // 4,5,6,7,12,13,14,15,20,21,22,23 461*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,28,26,24,24,24,22,22}}, 462*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,28,26,24,24,24,22,22}}, 463*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,28,26,24,24,24,22,22}}, 464*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,26,24,22,22,22,20,20}}, 465*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,26,24,22,20,18,16,16}}, 466*b7d5e03cSMatthew Dillon {{32,32,32,30,28,26,30,22,20,16,18,16,14,14}}, 467*b7d5e03cSMatthew Dillon {{30,30,30,30,28,26,30,22,20,16,18,16,14,14}}, 468*b7d5e03cSMatthew Dillon {{30,30,30,30,28,26,30,22,20,16,18,16,14,14}}, 469*b7d5e03cSMatthew Dillon }, 470*b7d5e03cSMatthew Dillon 471*b7d5e03cSMatthew Dillon //static A_UINT8 ctl_index_5g[OSPREY_NUM_CTLS_5G]= 472*b7d5e03cSMatthew Dillon 473*b7d5e03cSMatthew Dillon { 474*b7d5e03cSMatthew Dillon //pCtlIndex[0] = 475*b7d5e03cSMatthew Dillon 0x10, 476*b7d5e03cSMatthew Dillon //pCtlIndex[1] = 477*b7d5e03cSMatthew Dillon 0x16, 478*b7d5e03cSMatthew Dillon //pCtlIndex[2] = 479*b7d5e03cSMatthew Dillon 0x18, 480*b7d5e03cSMatthew Dillon //pCtlIndex[3] = 481*b7d5e03cSMatthew Dillon 0x40, 482*b7d5e03cSMatthew Dillon //pCtlIndex[4] = 483*b7d5e03cSMatthew Dillon 0x46, 484*b7d5e03cSMatthew Dillon //pCtlIndex[5] = 485*b7d5e03cSMatthew Dillon 0x48, 486*b7d5e03cSMatthew Dillon //pCtlIndex[6] = 487*b7d5e03cSMatthew Dillon 0x30, 488*b7d5e03cSMatthew Dillon //pCtlIndex[7] = 489*b7d5e03cSMatthew Dillon 0x36, 490*b7d5e03cSMatthew Dillon //pCtlIndex[8] = 491*b7d5e03cSMatthew Dillon 0x38 492*b7d5e03cSMatthew Dillon }, 493*b7d5e03cSMatthew Dillon 494*b7d5e03cSMatthew Dillon // A_UINT8 ctl_freqbin_5G[OSPREY_NUM_CTLS_5G][OSPREY_NUM_BAND_EDGES_5G]; 495*b7d5e03cSMatthew Dillon 496*b7d5e03cSMatthew Dillon { 497*b7d5e03cSMatthew Dillon {/* Data[0].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 498*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[1].bChannel*/FREQ2FBIN(5260, 0), 499*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[2].bChannel*/FREQ2FBIN(5280, 0), 500*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[3].bChannel*/FREQ2FBIN(5500, 0), 501*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[4].bChannel*/FREQ2FBIN(5600, 0), 502*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[5].bChannel*/FREQ2FBIN(5700, 0), 503*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[6].bChannel*/FREQ2FBIN(5745, 0), 504*b7d5e03cSMatthew Dillon /* Data[0].ctl_edges[7].bChannel*/FREQ2FBIN(5825, 0)}, 505*b7d5e03cSMatthew Dillon 506*b7d5e03cSMatthew Dillon {/* Data[1].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 507*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[1].bChannel*/FREQ2FBIN(5260, 0), 508*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[2].bChannel*/FREQ2FBIN(5280, 0), 509*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[3].bChannel*/FREQ2FBIN(5500, 0), 510*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[4].bChannel*/FREQ2FBIN(5520, 0), 511*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[5].bChannel*/FREQ2FBIN(5700, 0), 512*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[6].bChannel*/FREQ2FBIN(5745, 0), 513*b7d5e03cSMatthew Dillon /* Data[1].ctl_edges[7].bChannel*/FREQ2FBIN(5825, 0)}, 514*b7d5e03cSMatthew Dillon 515*b7d5e03cSMatthew Dillon {/* Data[2].ctl_edges[0].bChannel*/FREQ2FBIN(5190, 0), 516*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[1].bChannel*/FREQ2FBIN(5230, 0), 517*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[2].bChannel*/FREQ2FBIN(5270, 0), 518*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[3].bChannel*/FREQ2FBIN(5310, 0), 519*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[4].bChannel*/FREQ2FBIN(5510, 0), 520*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[5].bChannel*/FREQ2FBIN(5550, 0), 521*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[6].bChannel*/FREQ2FBIN(5670, 0), 522*b7d5e03cSMatthew Dillon /* Data[2].ctl_edges[7].bChannel*/FREQ2FBIN(5755, 0)}, 523*b7d5e03cSMatthew Dillon 524*b7d5e03cSMatthew Dillon {/* Data[3].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 525*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[1].bChannel*/FREQ2FBIN(5200, 0), 526*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[2].bChannel*/FREQ2FBIN(5260, 0), 527*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[3].bChannel*/FREQ2FBIN(5320, 0), 528*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[4].bChannel*/FREQ2FBIN(5500, 0), 529*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[5].bChannel*/FREQ2FBIN(5700, 0), 530*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[6].bChannel*/0xFF, 531*b7d5e03cSMatthew Dillon /* Data[3].ctl_edges[7].bChannel*/0xFF}, 532*b7d5e03cSMatthew Dillon 533*b7d5e03cSMatthew Dillon {/* Data[4].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 534*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[1].bChannel*/FREQ2FBIN(5260, 0), 535*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[2].bChannel*/FREQ2FBIN(5500, 0), 536*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[3].bChannel*/FREQ2FBIN(5700, 0), 537*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[4].bChannel*/0xFF, 538*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[5].bChannel*/0xFF, 539*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[6].bChannel*/0xFF, 540*b7d5e03cSMatthew Dillon /* Data[4].ctl_edges[7].bChannel*/0xFF}, 541*b7d5e03cSMatthew Dillon 542*b7d5e03cSMatthew Dillon {/* Data[5].ctl_edges[0].bChannel*/FREQ2FBIN(5190, 0), 543*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[1].bChannel*/FREQ2FBIN(5270, 0), 544*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[2].bChannel*/FREQ2FBIN(5310, 0), 545*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[3].bChannel*/FREQ2FBIN(5510, 0), 546*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[4].bChannel*/FREQ2FBIN(5590, 0), 547*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[5].bChannel*/FREQ2FBIN(5670, 0), 548*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[6].bChannel*/0xFF, 549*b7d5e03cSMatthew Dillon /* Data[5].ctl_edges[7].bChannel*/0xFF}, 550*b7d5e03cSMatthew Dillon 551*b7d5e03cSMatthew Dillon {/* Data[6].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 552*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[1].bChannel*/FREQ2FBIN(5200, 0), 553*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[2].bChannel*/FREQ2FBIN(5220, 0), 554*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[3].bChannel*/FREQ2FBIN(5260, 0), 555*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[4].bChannel*/FREQ2FBIN(5500, 0), 556*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[5].bChannel*/FREQ2FBIN(5600, 0), 557*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[6].bChannel*/FREQ2FBIN(5700, 0), 558*b7d5e03cSMatthew Dillon /* Data[6].ctl_edges[7].bChannel*/FREQ2FBIN(5745, 0)}, 559*b7d5e03cSMatthew Dillon 560*b7d5e03cSMatthew Dillon {/* Data[7].ctl_edges[0].bChannel*/FREQ2FBIN(5180, 0), 561*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[1].bChannel*/FREQ2FBIN(5260, 0), 562*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[2].bChannel*/FREQ2FBIN(5320, 0), 563*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[3].bChannel*/FREQ2FBIN(5500, 0), 564*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[4].bChannel*/FREQ2FBIN(5560, 0), 565*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[5].bChannel*/FREQ2FBIN(5700, 0), 566*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[6].bChannel*/FREQ2FBIN(5745, 0), 567*b7d5e03cSMatthew Dillon /* Data[7].ctl_edges[7].bChannel*/FREQ2FBIN(5825, 0)}, 568*b7d5e03cSMatthew Dillon 569*b7d5e03cSMatthew Dillon {/* Data[8].ctl_edges[0].bChannel*/FREQ2FBIN(5190, 0), 570*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[1].bChannel*/FREQ2FBIN(5230, 0), 571*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[2].bChannel*/FREQ2FBIN(5270, 0), 572*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[3].bChannel*/FREQ2FBIN(5510, 0), 573*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[4].bChannel*/FREQ2FBIN(5550, 0), 574*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[5].bChannel*/FREQ2FBIN(5670, 0), 575*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[6].bChannel*/FREQ2FBIN(5755, 0), 576*b7d5e03cSMatthew Dillon /* Data[8].ctl_edges[7].bChannel*/FREQ2FBIN(5795, 0)} 577*b7d5e03cSMatthew Dillon }, 578*b7d5e03cSMatthew Dillon 579*b7d5e03cSMatthew Dillon //static OSP_CAL_CTL_DATA_5G ctlData_5G[OSPREY_NUM_CTLS_5G]= 580*b7d5e03cSMatthew Dillon 581*b7d5e03cSMatthew Dillon #if AH_BYTE_ORDER == AH_BIG_ENDIAN 582*b7d5e03cSMatthew Dillon { 583*b7d5e03cSMatthew Dillon {{{1, 60}, 584*b7d5e03cSMatthew Dillon {1, 60}, 585*b7d5e03cSMatthew Dillon {1, 60}, 586*b7d5e03cSMatthew Dillon {1, 60}, 587*b7d5e03cSMatthew Dillon {1, 60}, 588*b7d5e03cSMatthew Dillon {1, 60}, 589*b7d5e03cSMatthew Dillon {1, 60}, 590*b7d5e03cSMatthew Dillon {0, 60}}}, 591*b7d5e03cSMatthew Dillon 592*b7d5e03cSMatthew Dillon {{{1, 60}, 593*b7d5e03cSMatthew Dillon {1, 60}, 594*b7d5e03cSMatthew Dillon {1, 60}, 595*b7d5e03cSMatthew Dillon {1, 60}, 596*b7d5e03cSMatthew Dillon {1, 60}, 597*b7d5e03cSMatthew Dillon {1, 60}, 598*b7d5e03cSMatthew Dillon {1, 60}, 599*b7d5e03cSMatthew Dillon {0, 60}}}, 600*b7d5e03cSMatthew Dillon 601*b7d5e03cSMatthew Dillon {{{0, 60}, 602*b7d5e03cSMatthew Dillon {1, 60}, 603*b7d5e03cSMatthew Dillon {0, 60}, 604*b7d5e03cSMatthew Dillon {1, 60}, 605*b7d5e03cSMatthew Dillon {1, 60}, 606*b7d5e03cSMatthew Dillon {1, 60}, 607*b7d5e03cSMatthew Dillon {1, 60}, 608*b7d5e03cSMatthew Dillon {1, 60}}}, 609*b7d5e03cSMatthew Dillon 610*b7d5e03cSMatthew Dillon {{{0, 60}, 611*b7d5e03cSMatthew Dillon {1, 60}, 612*b7d5e03cSMatthew Dillon {1, 60}, 613*b7d5e03cSMatthew Dillon {0, 60}, 614*b7d5e03cSMatthew Dillon {1, 60}, 615*b7d5e03cSMatthew Dillon {0, 60}, 616*b7d5e03cSMatthew Dillon {0, 60}, 617*b7d5e03cSMatthew Dillon {0, 60}}}, 618*b7d5e03cSMatthew Dillon 619*b7d5e03cSMatthew Dillon {{{1, 60}, 620*b7d5e03cSMatthew Dillon {1, 60}, 621*b7d5e03cSMatthew Dillon {1, 60}, 622*b7d5e03cSMatthew Dillon {0, 60}, 623*b7d5e03cSMatthew Dillon {0, 60}, 624*b7d5e03cSMatthew Dillon {0, 60}, 625*b7d5e03cSMatthew Dillon {0, 60}, 626*b7d5e03cSMatthew Dillon {0, 60}}}, 627*b7d5e03cSMatthew Dillon 628*b7d5e03cSMatthew Dillon {{{1, 60}, 629*b7d5e03cSMatthew Dillon {1, 60}, 630*b7d5e03cSMatthew Dillon {1, 60}, 631*b7d5e03cSMatthew Dillon {1, 60}, 632*b7d5e03cSMatthew Dillon {1, 60}, 633*b7d5e03cSMatthew Dillon {0, 60}, 634*b7d5e03cSMatthew Dillon {0, 60}, 635*b7d5e03cSMatthew Dillon {0, 60}}}, 636*b7d5e03cSMatthew Dillon 637*b7d5e03cSMatthew Dillon {{{1, 60}, 638*b7d5e03cSMatthew Dillon {1, 60}, 639*b7d5e03cSMatthew Dillon {1, 60}, 640*b7d5e03cSMatthew Dillon {1, 60}, 641*b7d5e03cSMatthew Dillon {1, 60}, 642*b7d5e03cSMatthew Dillon {1, 60}, 643*b7d5e03cSMatthew Dillon {1, 60}, 644*b7d5e03cSMatthew Dillon {1, 60}}}, 645*b7d5e03cSMatthew Dillon 646*b7d5e03cSMatthew Dillon {{{1, 60}, 647*b7d5e03cSMatthew Dillon {1, 60}, 648*b7d5e03cSMatthew Dillon {0, 60}, 649*b7d5e03cSMatthew Dillon {1, 60}, 650*b7d5e03cSMatthew Dillon {1, 60}, 651*b7d5e03cSMatthew Dillon {1, 60}, 652*b7d5e03cSMatthew Dillon {1, 60}, 653*b7d5e03cSMatthew Dillon {0, 60}}}, 654*b7d5e03cSMatthew Dillon 655*b7d5e03cSMatthew Dillon {{{1, 60}, 656*b7d5e03cSMatthew Dillon {0, 60}, 657*b7d5e03cSMatthew Dillon {1, 60}, 658*b7d5e03cSMatthew Dillon {1, 60}, 659*b7d5e03cSMatthew Dillon {1, 60}, 660*b7d5e03cSMatthew Dillon {1, 60}, 661*b7d5e03cSMatthew Dillon {0, 60}, 662*b7d5e03cSMatthew Dillon {1, 60}}}, 663*b7d5e03cSMatthew Dillon } 664*b7d5e03cSMatthew Dillon #else 665*b7d5e03cSMatthew Dillon { 666*b7d5e03cSMatthew Dillon {{{60, 1}, 667*b7d5e03cSMatthew Dillon {60, 1}, 668*b7d5e03cSMatthew Dillon {60, 1}, 669*b7d5e03cSMatthew Dillon {60, 1}, 670*b7d5e03cSMatthew Dillon {60, 1}, 671*b7d5e03cSMatthew Dillon {60, 1}, 672*b7d5e03cSMatthew Dillon {60, 1}, 673*b7d5e03cSMatthew Dillon {60, 0}}}, 674*b7d5e03cSMatthew Dillon 675*b7d5e03cSMatthew Dillon {{{60, 1}, 676*b7d5e03cSMatthew Dillon {60, 1}, 677*b7d5e03cSMatthew Dillon {60, 1}, 678*b7d5e03cSMatthew Dillon {60, 1}, 679*b7d5e03cSMatthew Dillon {60, 1}, 680*b7d5e03cSMatthew Dillon {60, 1}, 681*b7d5e03cSMatthew Dillon {60, 1}, 682*b7d5e03cSMatthew Dillon {60, 0}}}, 683*b7d5e03cSMatthew Dillon 684*b7d5e03cSMatthew Dillon {{{60, 0}, 685*b7d5e03cSMatthew Dillon {60, 1}, 686*b7d5e03cSMatthew Dillon {60, 0}, 687*b7d5e03cSMatthew Dillon {60, 1}, 688*b7d5e03cSMatthew Dillon {60, 1}, 689*b7d5e03cSMatthew Dillon {60, 1}, 690*b7d5e03cSMatthew Dillon {60, 1}, 691*b7d5e03cSMatthew Dillon {60, 1}}}, 692*b7d5e03cSMatthew Dillon 693*b7d5e03cSMatthew Dillon {{{60, 0}, 694*b7d5e03cSMatthew Dillon {60, 1}, 695*b7d5e03cSMatthew Dillon {60, 1}, 696*b7d5e03cSMatthew Dillon {60, 0}, 697*b7d5e03cSMatthew Dillon {60, 1}, 698*b7d5e03cSMatthew Dillon {60, 0}, 699*b7d5e03cSMatthew Dillon {60, 0}, 700*b7d5e03cSMatthew Dillon {60, 0}}}, 701*b7d5e03cSMatthew Dillon 702*b7d5e03cSMatthew Dillon {{{60, 1}, 703*b7d5e03cSMatthew Dillon {60, 1}, 704*b7d5e03cSMatthew Dillon {60, 1}, 705*b7d5e03cSMatthew Dillon {60, 0}, 706*b7d5e03cSMatthew Dillon {60, 0}, 707*b7d5e03cSMatthew Dillon {60, 0}, 708*b7d5e03cSMatthew Dillon {60, 0}, 709*b7d5e03cSMatthew Dillon {60, 0}}}, 710*b7d5e03cSMatthew Dillon 711*b7d5e03cSMatthew Dillon {{{60, 1}, 712*b7d5e03cSMatthew Dillon {60, 1}, 713*b7d5e03cSMatthew Dillon {60, 1}, 714*b7d5e03cSMatthew Dillon {60, 1}, 715*b7d5e03cSMatthew Dillon {60, 1}, 716*b7d5e03cSMatthew Dillon {60, 0}, 717*b7d5e03cSMatthew Dillon {60, 0}, 718*b7d5e03cSMatthew Dillon {60, 0}}}, 719*b7d5e03cSMatthew Dillon 720*b7d5e03cSMatthew Dillon {{{60, 1}, 721*b7d5e03cSMatthew Dillon {60, 1}, 722*b7d5e03cSMatthew Dillon {60, 1}, 723*b7d5e03cSMatthew Dillon {60, 1}, 724*b7d5e03cSMatthew Dillon {60, 1}, 725*b7d5e03cSMatthew Dillon {60, 1}, 726*b7d5e03cSMatthew Dillon {60, 1}, 727*b7d5e03cSMatthew Dillon {60, 1}}}, 728*b7d5e03cSMatthew Dillon 729*b7d5e03cSMatthew Dillon {{{60, 1}, 730*b7d5e03cSMatthew Dillon {60, 1}, 731*b7d5e03cSMatthew Dillon {60, 0}, 732*b7d5e03cSMatthew Dillon {60, 1}, 733*b7d5e03cSMatthew Dillon {60, 1}, 734*b7d5e03cSMatthew Dillon {60, 1}, 735*b7d5e03cSMatthew Dillon {60, 1}, 736*b7d5e03cSMatthew Dillon {60, 0}}}, 737*b7d5e03cSMatthew Dillon 738*b7d5e03cSMatthew Dillon {{{60, 1}, 739*b7d5e03cSMatthew Dillon {60, 0}, 740*b7d5e03cSMatthew Dillon {60, 1}, 741*b7d5e03cSMatthew Dillon {60, 1}, 742*b7d5e03cSMatthew Dillon {60, 1}, 743*b7d5e03cSMatthew Dillon {60, 1}, 744*b7d5e03cSMatthew Dillon {60, 0}, 745*b7d5e03cSMatthew Dillon {60, 1}}}, 746*b7d5e03cSMatthew Dillon } 747*b7d5e03cSMatthew Dillon #endif 748*b7d5e03cSMatthew Dillon }; 749*b7d5e03cSMatthew Dillon 750*b7d5e03cSMatthew Dillon #endif 751