FreeCalypso > hg > freecalypso-reveng
view se_k200i/rf_1900.c @ 405:f7df0f4d7d4f
tfo/find-is-hdr.c: print found offset in hex
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 18 Mar 2023 05:57:23 +0000 |
parents | 07000c2d21cd |
children |
line wrap: on
line source
/* * This compiled-in RF parameter default table has been extracted * out of Vadim's flash1.bin firmware image. This SE K200i version * equals Openmoko's l1_cust.obj version (which is in turn believed * to be unchanged TI's internal mainline) in all parameters except * Tx ramp templates. * * Tx ramp templates depend on the PA type and they are generally not * calibrated per unit, hence most fw designs will incorporate correct * ramp templates for their PA into their compiled-in RF tables. * The same principle appears to hold here as well. */ const T_RF_BAND rf_1900 = { { /* Rx structure */ { /* T_RX_CAL_PARAMS */ 188, 40, 40, 44, }, { /* T_RF_AGC_BANDs */ { 548, 0}, { 622, 0}, { 680, 0}, { 745, 0}, { 812, 0}, { 860, 0}, { 885, 0}, { 991, 0}, { 992, 0}, { 1023, 0}, }, { /* Rx temperature compensation */ { -15, 0}, { -5, 0}, { 6, 0}, { 16, 0}, { 25, 0}, { 35, 0}, { 45, 0}, { 56, 0}, { 66, 0}, { 75, 0}, { 100, 0}, }, }, { /* Tx structure */ { /* levels */ { 429, 0, 0}, /* 0 */ { 353, 1, 0}, /* 1 */ { 302, 2, 0}, /* 2 */ { 246, 3, 0}, /* 3 */ { 200, 4, 0}, /* 4 */ { 164, 5, 0}, /* 5 */ { 135, 6, 0}, /* 6 */ { 111, 7, 0}, /* 7 */ { 91, 8, 0}, /* 8 */ { 75, 9, 0}, /* 9 */ { 60, 10, 0}, /* 10 */ { 49, 11, 0}, /* 11 */ { 40, 12, 0}, /* 12 */ { 33, 13, 0}, /* 13 */ { 26, 14, 0}, /* 14 */ { 26, 15, 0}, /* 15 */ { 26, 15, 0}, /* 16 */ { 26, 15, 0}, /* 17 */ { 26, 15, 0}, /* 18 */ { 26, 15, 0}, /* 19 */ { 26, 15, 0}, /* 20 */ { 26, 15, 0}, /* 21 */ { 26, 15, 0}, /* 22 */ { 26, 15, 0}, /* 23 */ { 26, 15, 0}, /* 24 */ { 26, 15, 0}, /* 25 */ { 26, 15, 0}, /* 26 */ { 26, 15, 0}, /* 27 */ { 26, 15, 0}, /* 28 */ { 26, 0, 0}, /* 29 */ { 26, 0, 0}, /* 30 */ { 26, 0, 0}, /* 31 */ }, { /* channel calibration tables */ { /* calibration table 0 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 810, 128}, { 810, 128}, { 810, 128}, }, { /* calibration table 1 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 810, 128}, { 810, 128}, { 810, 128}, }, { /* calibration table 2 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 810, 128}, { 810, 128}, { 810, 128}, }, { /* calibration table 3 */ { 554, 128}, { 722, 128}, { 746, 128}, { 774, 128}, { 808, 128}, { 810, 128}, { 810, 128}, { 810, 128}, }, }, { /* ramps */ { /* profile 0 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 7, 16, 31, 31, 31, 12, 0, 0}, /* ramp-down */ { 13, 31, 31, 31, 12, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 1 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 2, 3, 4, 17, 30, 31, 31, 10, 0, 0}, /* ramp-down */ { 0, 10, 31, 31, 31, 13, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 2 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 3 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 4 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 5 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 6 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 7 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 8 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 0, 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 9 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 11, 21, 31, 31, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 10 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 21, 21, 31, 21, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 11 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 21, 21, 31, 21, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 12 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 21, 21, 31, 21, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 13 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 21, 21, 31, 21, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 14 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 21, 21, 31, 21, 14, 10, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, { /* profile 15 */ /* ramp-up */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 21, 31, 31, 26, 10, 0, 0}, /* ramp-down */ { 31, 21, 21, 21, 24, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}, }, }, { /* Tx temperature compensation */ { -11, 0, 0, 0}, { 9, 0, 0, 0}, { 39, 0, 0, 0}, { 59, 0, 0, 0}, { 127, 0, 0, 0}, }, }, 0 };