annotate cdg/cdginc-hybrid/p_rrlc.val @ 46:38cf7fa65976

sprintf/float.c: rounding corner case bug
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 29 Sep 2017 03:23:01 +0000
parents 7fcb2ecddd82
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
30
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 +--------------------------------------------------------------------------+
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 | PROJECT : PROTOCOL STACK |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 | FILE : p_rrlc.val |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 | SOURCE : "sap\rrlc.pdf" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 | LastModified : "2002-10-11" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 | IdAndVersion : "8443.101.02.008" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | SrcFileTime : "Thu Nov 29 09:52:52 2007" |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | Generated by CCDGEN_2.5.5A on Fri Oct 14 21:41:52 2016 |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 | !!DO NOT MODIFY!!DO NOT MODIFY!!DO NOT MODIFY!! |
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 +--------------------------------------------------------------------------+
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 /* PRAGMAS
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 * PREFIX : NONE
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 * COMPATIBILITY_DEFINES : NO (require PREFIX)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 * ALWAYS_ENUM_IN_VAL_FILE: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 * ENABLE_GROUP: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 * CAPITALIZE_TYPENAME: NO
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 #ifndef P_RRLC_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 #define P_RRLC_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #define CDG_ENTER__P_RRLC_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 #define CDG_ENTER__FILENAME _P_RRLC_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 #define CDG_ENTER__P_RRLC_VAL__FILE_TYPE CDGINC
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 #define CDG_ENTER__P_RRLC_VAL__LAST_MODIFIED _2002_10_11
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 #define CDG_ENTER__P_RRLC_VAL__ID_AND_VERSION _8443_101_02_008
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 #define CDG_ENTER__P_RRLC_VAL__SRC_FILE_TIME _Thu_Nov_29_09_52_52_2007
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
35
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
36 #include "CDG_ENTER.h"
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
37
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
38 #undef CDG_ENTER__P_RRLC_VAL
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
39
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
40 #undef CDG_ENTER__FILENAME
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
41
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
42
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
43 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
44 * Value constants for VAL_cause
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
45 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
46 #define LCS_OK (0x0) /* no error */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
47 #define LCS_WRONG_BTS (0xa) /* Serving Cell BTS differs from Reference BTS */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
48 #define LCS_HANDOVER (0x14) /* handover occured during Position Measurement procedure */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
49
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
50 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
51 * Value constants for VAL_sb_flag
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
52 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
53 #define EOTD_INVALID (0x0) /* invalid data */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
54 #define EOTD_VALID (0x1) /* valid data */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
55
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
56 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
57 * Value constants for VAL_eotd_mode
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
58 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
59 #define EOTD_IDLE (0x0) /* Idle mode */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
60 #define EOTD_DEDIC (0x1) /* Dedicated or packet mode */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
61
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
62 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
63 * Value constants for VAL_exp_otd
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
64 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
65
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
66 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
67 * Value constants for VAL_fn
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
68 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
69 #define FNMAX (0x297000) /* max Frame Number + 1 (26*51*2048) */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
70
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
71 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
72 * Value constants for VAL_mfrm_offset
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
73 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
74
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
75 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
76 * Value constants for VAL_otd_type
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
77 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
78 #define ROUGH_RTD (0x0) /* only rough RTD has been provided by the NW */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
79 #define EXPECTED_OTD (0x1) /* only expectedOTD has been provided by the NW */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
80 #define BOTH_OTD (0x2) /* Both OTD / RTD types have been provided by the NW */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
81
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
82 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
83 * Value constants for VAL_rough_rtd
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
84 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
85
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
86 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
87 * Value constants for VAL_tav
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
88 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
89 #define TA_NOT_AVAIL (0xff) /* no Timing Advance in Idle Mode */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
90
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
91 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
92 * Value constants for VAL_uncertainty
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
93 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
94 #define UNC_MAX_2BIT (0x0) /* uncertainty in bits. 0 - 2 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
95 #define UNC_MAX_4BIT (0x1) /* uncertainty in bits. 3 - 4 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
96 #define UNC_MAX_8BIT (0x2) /* uncertainty in bits. 5 - 8 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
97 #define UNC_MAX_12BIT (0x3) /* uncertainty in bits. 9 - 12 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
98 #define UNC_MAX_16BIT (0x4) /* uncertainty in bits. 13 - 16 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
99 #define UNC_MAX_22BIT (0x5) /* uncertainty in bits. 17 - 22 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
100 #define UNC_MAX_30BIT (0x6) /* uncertainty in bits. 23 - 30 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
101 #define UNC_GT_30BIT (0x7) /* uncertainty in bits. > 30 bits */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
102
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
103 /*
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
104 * user defined constants
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
105 */
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
106 #define MAX_NCELL_EOTD_L1 (0xc)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
107 #define MAX_NCELL_EOTD (0xf)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
108 #define MAX_NCELL_EOTD_SI (0x20)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
109 #define XCOR_NO (0x12)
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
110
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
111 #include "CDG_LEAVE.h"
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
112
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
113
7fcb2ecddd82 cdg/cdginc-hybrid: import from Magnetite
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
114 #endif