nvram_data_items.c
98.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
/*****************************************************************************
* Copyright Statement:
* --------------------
* This software is protected by Copyright and the information contained
* herein is confidential. The software may not be copied and the information
* contained herein may not be used or disclosed except with the written
* permission of MediaTek Inc. (C) 2005
*
* BY OPENING THIS FILE, BUYER HEREBY UNEQUIVOCALLY ACKNOWLEDGES AND AGREES
* THAT THE SOFTWARE/FIRMWARE AND ITS DOCUMENTATIONS ("MEDIATEK SOFTWARE")
* RECEIVED FROM MEDIATEK AND/OR ITS REPRESENTATIVES ARE PROVIDED TO BUYER ON
* AN "AS-IS" BASIS ONLY. MEDIATEK EXPRESSLY DISCLAIMS ANY AND ALL WARRANTIES,
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NONINFRINGEMENT.
* NEITHER DOES MEDIATEK PROVIDE ANY WARRANTY WHATSOEVER WITH RESPECT TO THE
* SOFTWARE OF ANY THIRD PARTY WHICH MAY BE USED BY, INCORPORATED IN, OR
* SUPPLIED WITH THE MEDIATEK SOFTWARE, AND BUYER AGREES TO LOOK ONLY TO SUCH
* THIRD PARTY FOR ANY WARRANTY CLAIM RELATING THERETO. MEDIATEK SHALL ALSO
* NOT BE RESPONSIBLE FOR ANY MEDIATEK SOFTWARE RELEASES MADE TO BUYER'S
* SPECIFICATION OR TO CONFORM TO A PARTICULAR STANDARD OR OPEN FORUM.
*
* BUYER'S SOLE AND EXCLUSIVE REMEDY AND MEDIATEK'S ENTIRE AND CUMULATIVE
* LIABILITY WITH RESPECT TO THE MEDIATEK SOFTWARE RELEASED HEREUNDER WILL BE,
* AT MEDIATEK'S OPTION, TO REVISE OR REPLACE THE MEDIATEK SOFTWARE AT ISSUE,
* OR REFUND ANY SOFTWARE LICENSE FEES OR SERVICE CHARGE PAID BY BUYER TO
* MEDIATEK FOR SUCH MEDIATEK SOFTWARE AT ISSUE.
*
* THE TRANSACTION CONTEMPLATED HEREUNDER SHALL BE CONSTRUED IN ACCORDANCE
* WITH THE LAWS OF THE STATE OF CALIFORNIA, USA, EXCLUDING ITS CONFLICT OF
* LAWS PRINCIPLES. ANY DISPUTES, CONTROVERSIES OR CLAIMS ARISING THEREOF AND
* RELATED THERETO SHALL BE SETTLED BY ARBITRATION IN SAN FRANCISCO, CA, UNDER
* THE RULES OF THE INTERNATIONAL CHAMBER OF COMMERCE (ICC).
*
*****************************************************************************/
/*****************************************************************************
*
* Filename:
* ---------
* nvram_data_items.c
*
* Project:
* --------
* MAUI
*
* Description:
* ------------
* This file contains `vendor' defined logical data items stored in NVRAM.
* These logical data items are used in object code of Protocol Stack software.
*
* As for customizable logical data items, they are defined in nvram_user_config.c
*
* Author:
* -------
* -------
* -------
*
*============================================================================
* HISTORY
* Below this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*------------------------------------------------------------------------------
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
* removed!
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
* removed!
* removed!
*
*
*------------------------------------------------------------------------------
* Upper this line, this part is controlled by PVCS VM. DO NOT MODIFY!!
*============================================================================
****************************************************************************/
#ifndef NVRAM_NOT_PRESENT
#ifdef NVRAM_AUTO_GEN
#include "nvram_auto_gen.h"
#endif
#include "kal_general_types.h"
#include "stack_config.h"
#include "stack_common.h"
#include "ex_item.h"
#include "nvram_defs.h"
#include "nvram_enums.h"
#include "nvram_data_items.h"
#include "nvram_editor_data_item.h"
#include "custom_nvram_config.h"
#include "custom_nvram_sec.h"
#include "custom_nvram_restore.h"
#include "custom_nvram_config.h"
#if defined(__NVRAM_COMPRESS_SUPPORT__) && !defined(NVRAM_AUTO_GEN)
#include "nvram_default_value.h"
#endif
#if defined(__CUSTOMIZED_PORT_SETTING__) && !defined(NVRAM_AUTO_GEN)
#include "custom_port_setting.h"
#endif
#include "tst.h"
#if defined(__UMTS_RAT__) && defined(__MTK_UL1_FDD__)
/* under construction !*/
#endif /* __UMTS_RAT__ && __MTK_UL1_FDD__ */
#ifdef __AST_TL1_TDD__
#include "tl1cal_ast.h"
#include "tl1d_custom_rf.h"
#endif // __AST_TL1_TDD__
#include "l1cal.h"
#if defined(__WIFI_SUPPORT__)
#include "wndrv_cal.h"
#endif
#include "dcl.h"
#include "custom_gprs_pdp_default_qos_config.h"
#if(defined(ISP_SUPPORT))
#include "drv_sw_features_isp.h"
#include "camera_tuning_para.h"
#endif
#include "nvram_default_audio.h" /* NVRAM_EF_CUST_ACOUSTIC_DATA_SIZE */
#ifdef __GAIN_TABLE_SUPPORT__
#include "gain_table.h"
#endif /* __GAIN_TABLE_SUPPORT__ */
#include "adc_channel.h"
#if !defined(__NVRAM_SUPPORT_CUSTPACK__)// && !defined(__L1_STANDALONE__)
// #include "nvram_cust_pack.c"
#if !defined(EXTERNAL_MMI)
extern kal_uint8 COMMON_NVRAM_EF_SMSAL_MAILBOX_ADDR_DEFAULT[];
#endif
extern kal_uint8 COMMON_NVRAM_EF_MS_SECURITY_DEFAULT[];
#ifdef __CPHS__
extern kal_uint8 COMMON_NVRAM_EF_ALS_LINE_ID_DEFAULT[];
#endif
extern kal_uint8 COMMON_NVRAM_EF_MSCAP_DEFAULT[];
extern kal_uint8 COMMON_NVRAM_EF_RAC_PREFERENCE_DEFAULT[];
extern kal_uint8 COMMON_NVRAM_EF_SMSAL_COMMON_PARAM_DEFAULT[];
extern kal_uint8 COMMON_NVRAM_EF_CB_DEFAULT_CH_DEFAULT[];
#ifdef __MOBILE_BROADBAND_PROVISION_CONTEXT__
extern nvram_ef_mobile_broadband_provision_context_struct COMMON_NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_DEFAULT[];
#endif
#if defined (__UL1_HS_PLATFORM__)
#if defined (__MTK_UL1_FDD__)
#if defined (__FDD_RF_CUSTOM_TOOL_SUPPORT__)
/* under construction !*/
/* under construction !*/
#endif
#endif
#endif
#if defined (__UL1_PLATFORM__)
#if defined (__MTK_UL1_FDD__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
#endif
#endif /* __MMI_FMI__*/
/*The chip doesn't support A5/3*/
#if defined( MT6208) || defined( MT6205) || defined( MT6218) || defined( MT6219) || \
defined( MT6217) || defined( MT6227) || defined( MT6226) || defined( MT6228) || \
defined(MT6205B) || defined(MT6226M) || defined(MT6218B)
#define __NO_SUPPORT_A5_3__
#endif
extern void nvram_get_L1_default_value_to_write(nvram_lid_enum lid, kal_uint8 *buffer, kal_uint16 buffer_size);
/**
* Steps of defining logical data item:
* 1> Define LID of new logical data item into `nvram_lid_core_enum' in
* nvram_data_items.h
* 2> Define two constants: SIZE and TOTAL, in nvram_data_items.h
* 3> Define default value of that new logical data item.
* 4> Define attributes of that new logical data item into
* `logical_data_item_table_core'
* 5> Change NVRAM_TOTAL_LID_VENDOR in nvram_user_defs.h
* 6> Add structure defination in nvram_editor_data_item.h
* 7> Add bit-level description in nvram_editor_data_item.h
* 8> Change version number CODED_DATA_VERSION in nvram_user_config.c
*
* Note that multiple copied attribute DOES NOT support for
* near fixed logical data items.
*/
/**
* Step 3:
* Define necessary default values for each logical data item.
*/
kal_uint8 const NVRAM_EF_ZERO_DEFAULT[] = { 0x00 };
kal_uint8 const NVRAM_EF_FF_DEFAULT[] = { 0xFF };
static kal_uint8 const NVRAM_EF_CFU_FLAG_DEFAULT[] = {
0x55, 0x55
};
static kal_uint8 const NVRAM_EF_MM_EQPLMN_LOCIGPRS_DEFAULT[] = {
0x00, //rplmn_rat
0x00, //num_of_eq_plmn
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[0]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[1]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[2]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[3]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[4]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[5]
#ifdef __REL6__
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[6]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[7]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[8]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[9]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[10]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[11]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[12]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[13]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[14]
0x0f, 0x0f, 0x0f, 0x0f, 0x0f, 0x0f, //eq_plmn[15]
#endif
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff //nvram_locigprs
};
#ifdef __TC02_SECURITY_REQUIREMENT__
static kal_uint8 const NVRAM_EF_MM_IMSI_LOCI_GLOCI_DEFAULT[] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, //EF_IMSI
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, //EF_LOCI
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff //EF_GLOCI
};
#endif /* __TC02_SECURITY_REQUIREMENT__ */
#if defined(__ATCMD_ONOFF_CHECK__)
const nvram_atcmd_check_context_struct NVRAM_EF_ATCMD_ONOFF_CHECK_DEFAULT =
{
{ATCMD_CHECK_ENABLE, 0x26598088, ATCMD_CHECK_ENABLE, 0X26598088},
ATCMD_CHECK_ENABLE, /* enable */
{0x26598088, ATCMD_CHECK_ENABLE, 0x26598088}
};
#endif
#if defined(__ETWS_SUPPORT__)
const nvram_ef_etws_setting_struct NVRAM_EF_ETWS_SETTING_DEFAULT =
{
0x00
};
#endif
#if defined(__ENABLE_MYBCCH__)
static kal_uint8 const NVRAM_EF_MYBCCH_SETTING_DEFAULT[] =
{
0xff, 0xff, 0xff, 0xff, 0xff, 0xff
};
#endif
static kal_uint8 const NVRAM_EF_BAND_INFO_DEFAULT[] = {
0x00, /* mcc1 */
0x00, /* mcc2 */
0x00, /* mcc3 */
0x00, /* learned_band */
0x00, /* working_band */
0x00 /* when __BAND_PRIORITY_SEARCH__ is defined, this
* byte is used to set the priority for each band:
*
* 850 1900 1800 900
* +-------------------------------+
* bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
* +-------------------------------+
* The priority of each band is representive by two bits:
*
* <ex> bit 5 and 4 is the priority for 1900 band:
* '0' '0' -> priority value 0
* '0' '1' -> priority value 1
* '1' '0' -> priority value 2
* '1' '1' -> priority value 3
*
* The smaller the value is, the higher the priroity is:
* (1) if no band is preferred, the value can be assigned:
* 0x00, 0x55, 0xaa, or 0xff
* (2) if 900/1800 is prefered, the value can be assigned:
* 0x50, 0xF0, 0xF5 and so on.
* (3) if 850/1900 is prefered, the value can be assigned:
* 0x05, 0x0F, 0x5F and so on.
* (4) if the band prefered order is 1900 -> 8500 -> 900 -> 1800,
* the value 0x4e (0100 1110) should be used.
*/
};
static kal_uint8 const NVRAM_EF_CLASSMARK_RACAP_DEFAULT[] = {
/*---BYTE 1 to BYTE 6 : From MS CLASSMARK3 -------------------------*/
/*Evelyn 071127 add compile option for EDGE CARD: different power class*/
#if defined ( __EDGE_CARD_CLASS_12__ )
#if defined( __EGSM900__) && defined( __DCS1800__)
#if defined ( __DISABLE_EGSM__ )
0x50, /* MS supports P-GSM and DCS band */
#else
0x60, /* MS supports E-GSM and DCS band */
#endif
0x25, /* E-GSM power class 5, DCS power class 2 */
#elif defined( __PGSM900__) && defined( __DCS1800__)
0x50, /* MS supports P-GSM and DCS band */
0x25, /* P-GSM power class 5, DCS power class 2 */
#elif defined( __EGSM900__)
0x60, /* MS supports E-GSM band only */
0x05, /* E-GSM power class 5 */
#elif defined (__PGSM900__)
0x60, /* MS supports P-GSM band only */
0x05, /* P-GSM power class 5 */
#elif defined ( __DCS1800__ )
0x40, /* MS supports DCS band only */
0x02, /* DCS power class 2 */
#else
0x00, /* None of GSM900 and DCS1800 are supported */
0x00,
#endif
#else /*__EDGE_CARD_CALSS_12__ */
/* Claire 030922 change : Support multiband compile option */
#if defined( __EGSM900__) && defined( __DCS1800__)
#if defined ( __DISABLE_EGSM__ )
0x50, /* MS supports P-GSM and DCS band */
#else
0x60, /* MS supports E-GSM and DCS band */
#endif
0x14, /* E-GSM power class 4, DCS power class 1 */
#elif defined( __PGSM900__) && defined( __DCS1800__)
0x50, /* MS supports P-GSM and DCS band */
0x14, /* P-GSM power class 4, DCS power class 1 */
#elif defined( __EGSM900__)
0x60, /* MS supports E-GSM band only */
0x04, /* E-GSM power class 4 */
#elif defined (__PGSM900__)
0x60, /* MS supports P-GSM band only */
0x04, /* P-GSM power class 4 */
#elif defined ( __DCS1800__ )
0x40, /* MS supports DCS band only */
0x01, /* DCS power class 1 */
#else
0x00, /* None of GSM900 and DCS1800 are supported */
0x00,
#endif
#endif /* __EDGE_CARD_CALSS_12__ */
0x01, /* HSCSD multislot cap not present, UCS2 =1 */
/* Claire 030922 change : Support multiband compile option */
#if defined( __GSM450__) || defined( __GSM480__)
#ifdef __AGPS_CONTROL_PLANE__
0xcf, /* Extended Measurement cap = 1, AGPS support (support for conventional GPS), GSM 400 band support */
#else
0x81, /* Extended Measurement cap = 1, AGPS not support (no support for conventional GPS), GSM 400 band support */
#endif /* __AGPS_CONTROL_PLANE__ */
#else
#ifdef __AGPS_CONTROL_PLANE__
0xce, /* Extended Measurement cap = 1, AGPS support (support for conventional GPS), GSM 400 band not support */
#else
0x80, /* Extended Measurement cap = 1, AGPS not support (no support for conventional GPS), GSM 400 band not support */
#endif /* __AGPS_CONTROL_PLANE__ */
#endif
#if !defined( __GSM450__) && !defined( __GSM480__) && !defined( __GSM850__)
0x00, /* GSM 400 and GSM 850 are not suported */
#elif defined( __GSM450__) && !defined( __GSM480__) && !defined( __GSM850__)
0x90, /* GSM 450 is supported with power class 4*/
#elif !defined( __GSM450__) && defined( __GSM480__) && !defined( __GSM850__)
0x50, /* GSM 480 is supported with power class 4*/
#elif !defined( __GSM450__) && !defined( __GSM480__) && defined( __GSM850__)
0x02, /* GSM 850 is supported*/
#elif defined( __GSM450__) && defined( __GSM480__) && !defined( __GSM850__)
0xd0, /* GSM 450 and 480 are supported with power class 4*/
#elif defined( __GSM450__) && !defined( __GSM480__) && defined( __GSM850__)
0x92, /* GSM 450 with power class 4 and GSM 850 are supported*/
#elif !defined( __GSM450__) && defined( __GSM480__) && defined( __GSM850__)
0x52, /* GSM 450 with power class 4 and GSM 850 are supported*/
#else
0xd2, /* GSM 450, 480 with power class 4 and 850 are supported*/
#endif
/*Evelyn 071127 add compile option for EDGE CARD: different power class*/
#if defined( __EDGE_CARD_CLASS_12__ )
#if defined( __GSM850__) && defined( __PCS1900__)
0xb2, /* GSM 850 is power class 5 ,PCS 1900 is suportedwith power class 2*/
#elif defined( __PCS1900__)
0x12, /* PCS 1900 is suported , power class 2 */
#elif defined( __GSM850__)
0xa0, /* GSM 850 is power class 5 */
#else
0x00, /* Both GSM 850 and DCS 1900 are not supported */
#endif
#else /* __EDGE_CARD_CALSS_12__ */
#if defined( __GSM850__) && defined( __PCS1900__)
0x91, /* GSM 850 is power class 4 ,PCS 1900 is suportedwith power class 1*/
#elif defined( __PCS1900__)
0x11, /* PCS 1900 is suported , power class 1 */
#elif defined( __GSM850__)
0x80, /* GSM 850 is power class 4 */
#else
0x00, /* Both GSM 850 and DCS 1900 are not supported */
#endif
#endif /* __EDGE_CARD_CALSS_12__ */
/*---BYTE 7 to BYTE 9 : From MS CLASSMARK2 ----------- */
0x30, /* ES_IND =1, Revision level =01, A51 algo supported---*/
0x58, /* PS cap =1, SS sreen indicator =01, SM cap =1 */
/* CCBS supported */
#if defined(__NO_SUPPORT_A5_3__) && defined(__DISABLE_A5_2__) && defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa4,
#else
0x84,
#endif
#elif !defined(__NO_SUPPORT_A5_3__) && defined(__DISABLE_A5_2__) && defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa6,
#else
0x86,
#endif
#elif defined(__NO_SUPPORT_A5_3__) && !defined(__DISABLE_A5_2__) && defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa5,
#else
0x85,
#endif
#elif !defined(__NO_SUPPORT_A5_3__) && !defined(__DISABLE_A5_2__) && defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa7,
#else
0x87,
#endif
/* CCBS not supported */
#elif defined(__NO_SUPPORT_A5_3__) && defined(__DISABLE_A5_2__) && !defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa0,
#else
0x80,
#endif
#elif !defined(__NO_SUPPORT_A5_3__) && defined(__DISABLE_A5_2__) && !defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa2,
#else
0x82,
#endif
#elif defined(__NO_SUPPORT_A5_3__) && !defined(__DISABLE_A5_2__) && !defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa1,
#else
0x81,
#endif
#else //!defined(__NO_SUPPORT_A5_3__) && !defined(__DISABLE_A5_2__) && !defined(__CCBS_SUPPORT__)
#ifdef __AGPS_CONTROL_PLANE__
0xa3,
#else
0x83,
#endif
#endif
/*---BYTE 10 to BYTE 12 : From MS RA capability and MS network capability --*/
/* BYTE 10:
* bit 8: multislot capability present,
* bit 7 ~ 3: mutlislot capability,
* bit 2: GPRS extended Dynamic Allocation cap =1
* bit 1 : RL indicator = 0 => R98 MS, 1 => R99 MS */
#ifdef __R99__
#if defined(__EDGE_CARD_CLASS_10__) || defined(__GPRS_MULTISLOT_CLASS_10__)
0xab, /* Default GPRS multislot class 10, ext DA support, R99 */
#else
0xb3, /* Default GPRS multislot class 12, ext DA support, R99 */
#endif
#else /* __R99__*/
#if defined(__EDGE_CARD_CLASS_10__) || defined(__GPRS_MULTISLOT_CLASS_10__)
0xaa, /* Default GPRS multislot class 10, ext DA support, R98 */
#else
0xb2, /* Default GPRS multislot class 12, ext DA support, R98 */
#endif
#endif /* __R99__ */
/* BYTE 11:
* bit 8 : GEA1
* bit 7 : GEA2
* bit 6 : GEA3
* bit 5 : GEA4
* bit 4 : GEA5
* bit 3 : GEA6
* bit 2 : GEA7
* bit 1 : SM cap in GPRS =1 */
/* Peter 080520: change complie option */
#ifdef __NO_SUPPORT_A5_3__
0xc1, /* GEA1, 2 and SM cap support */
#else // The chip support A5/3(GEA/3)
0xe1, /* GEA1, 2, 3 and SM cap support */
#endif
/* BYTE 12: Lanslo 20060215: for selecting GPRS or EGPRS capability
* bit 8: PFC mode = 0b
* bit 7: EDGE multislot class present / EDGE support = 1b
* bit 6 ~ 2: EDGE multislot capability = 01100b
* bit 1: EDGE extended dynamic allocation capability = 1b
* Old value 0x80, new 0xd9(PFC on), 0x59 (PFC off) */
/* Evelyn 20090511: open the PFC support bit */
#ifdef __EGPRS_MODE__
#if defined(__EDGE_CARD_CLASS_10__) || defined(__EDGE_MULTISLOT_CLASS_10__)
0xD5, /* PFC on, EGPRS multislot class 10, Ext DA support */
#else
0xD9, /* PFC on, EGPRS multislot class 12, Ext DA support */
#endif
#else /* __EGPRS_MODE__ */
#ifdef __R99__
0x80, /* PFC on */
#else
0x00, /* PFC off */
#endif
#endif /* __EGPRS_MODE__ */
// Jelly 20090602 Use __EPSK_TX__
#if (defined(__EGPRS_MODE__) && defined(__EPSK_TX__))
0xAA, /* BYTE 13: Evelyn 20090422: set 8PSK power class in NVRAM
* bit8~7 : 8psk radio cap 2 = E2 *
* bit6~5 : 8psk radio cap 1 = E2 *
* bit4~3 : 8psk 850 Band = E2 *
* bit2~1 : 8psk 1900 Band = E2 */
#else /* __EGPRS_MODE__ */
0x00, /* No 8PSK power class */
#endif /* __EGPRS_MODE__ */
/* Modify for High multislot class */
#if defined (__MULTISLOT_CLASS_34__) || defined (__MULTISLOT_CLASS_45__)
#if defined(__EPSK_TX__) && !defined(__EPSK_TX_SW_SWITCH_OFF__)
0xEc /* BYTE 14: Evelyn 20090905: set high multislot class
* bit 8 : EPSK_TX
* bit 7 : high multislot class present or not
* bit 6~1 : binany coding for high multislot value
* For example, high multislot class 44 = 0x6c
*/
#else
0x6c /* BYTE 14: Evelyn 20090905: set high multislot class
* bit 8 : EPSK_TX
* bit 7 : high multislot class present or not
* bit 6~1 : binany coding for high multislot value
* For example, high multislot class 44 = 0x6c
*/
#endif
#else
#if defined(__EPSK_TX__) && !defined(__EPSK_TX_SW_SWITCH_OFF__)
0x80 /* BYTE 14: Evelyn 20090905: set high multislot class
* bit 8 : EPSK_TX
*/
#else
0x00 /* BYTE 14: Evelyn 20090905: set high multislot class
* bit 8 : EPSK_TX
*/
#endif
#endif
/* Bit8+Bit7(10 for VAMOS2, 01 for VAMOS1, 00 for no support VAMOS */
/* Other bits are resevered */
#if defined(__VAMOS_2__)
,0x80
#elif defined(__VAMOS_1__)
,0x40
#else
,0x00
#endif
/* Peter, 20080804: Modify the order of classmark3 info */
#if 0
#if defined(__REL4__) || defined(__REL5__) || defined(__SAIC__) || defined(__REPEATED_ACCH__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__REL4__) || defined(__REL5__)
/* under construction !*/
#else
/* under construction !*/
#endif /* defined(__REL4__) || defined(__REL5__) */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __SAIC__
/* under construction !*/
#else
/* under construction !*/
#endif /* __SAIC__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __REPEATED_ACCH__
/* under construction !*/
#else
/* under construction !*/
#endif /* __REPEATED_ACCH__ */
/* under construction !*/
#endif /* defined(__REL4__) || defined(__REL5__) || defined(__SAIC__) || defined(__REPEATED_ACCH__) */
/* under construction !*/
#endif
};
#ifdef __UMTS_RAT__
/* under construction !*/
#ifdef __UMTS_FDD_MODE__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __RFC2507_SUPPORT__
/* under construction !*/
#else
/* under construction !*/
#endif /* __RFC2507_SUPPORT__ */
/* under construction !*/
#ifndef __UMTS_R5__
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#ifndef __UMTS_R5__
/* under construction !*/
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __WCDMA_PREFERRED__
/* under construction !*/
#endif /* __WCDMA_PREFERRED__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
#if defined(__NO_PSDATA_SEND_SCRI__) || defined(__FAST_DORMANCY__)
/* under construction !*/
#endif /* defined(__NO_PSDATA_SEND_SCRI__) || defined(__FAST_DORMANCY__) */
#ifdef __FAST_DORMANCY__
/* under construction !*/
#endif /* __FAST_DORMANCY__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R5__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__UMTS_FDD_MODE__) && defined(__HSDPA_SUPPORT__)
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef FDD_HSDSCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
#ifdef TDD_HSDSCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
#endif /* __UMTS_R5__ */
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R6__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if defined(__UMTS_FDD_MODE__) && defined(__HSUPA_SUPPORT__)
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef FDD_EDCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
#endif /* __UMTS_R6__ */
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __ENHANCED_COMMON_STATE_SUPPORT__
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __CPC_SUPPORT__
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#ifdef __MAC_EHS_SUPPORT__
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* __UMTS_R7__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* __UMTS_FDD_MODE__ */
/* under construction !*/
#ifdef __UMTS_TDD128_MODE__
#ifdef __AST_TL1_TDD__
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __RFC2507_SUPPORT__
/* under construction !*/
#else
/* under construction !*/
#endif /* __RFC2507_SUPPORT__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __AST1001__
/* under construction !*/
#else /* __AST2001__ */
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
#if defined(__NO_PSDATA_SEND_SCRI__) || defined(__FAST_DORMANCY__)
/* under construction !*/
#endif /* defined(__NO_PSDATA_SEND_SCRI__) || defined(__FAST_DORMANCY__) */
#ifdef __FAST_DORMANCY__
/* under construction !*/
#endif /* __FAST_DORMANCY__ */
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R5__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef FDD_HSDSCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
#ifdef TDD_HSDSCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
#endif /* __UMTS_R5__ */
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R6__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef FDD_EDCH_CATEGORY
/* under construction !*/
#else
/* under construction !*/
#endif
/* under construction !*/
#endif /* __UMTS_R6__ */
/* under construction !*/
/* under construction !*/
#ifdef __UMTS_R7__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __ENHANCED_COMMON_STATE_SUPPORT__
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
#ifdef __CPC_SUPPORT__
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#ifdef __MAC_EHS_SUPPORT__
/* under construction !*/
#endif
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* __UMTS_R7__ */
/* under construction !*/
#endif /* __AST_TL1_TDD__ */
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* __UMTS_TDD128_MODE__ */
/* under construction !*/
#endif /* __UMTS_RAT__ */
#ifdef __BTMODULE_RFMD3500__
static kal_uint8 const NVRAM_EF_BTRADIO_RFMD3500_DEFAULT[] = {
/* BluetoothAddress , 6 */ 0xAD,0x5A,0x00,0x00,0x00,0x00,
/* MinEncryptionSize , 1 */ 0x01,
/* MaxEncryptionSize , 1 */ 0x10,
/* HCITransportLayerParameters , 3 */ 0x02,0x00,0x00,
/* FixedPIN , 16 */ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
0x00,0x00,0x00,0x00,0x00,0x00,
/* FixedPINLength , 1 */ 0x00,
/* SleepEnableMask , 1 */ 0x01,
/* LowPowerClockParameter , 8 */ 0x03,0x02,0x00,0x00,0x00,0x10,0x00,0x00,
/* PowerControlConfiguration , 13 */ 0x07,0x07,0x07,0x02,0x00,0x01,0x02,0x03,0x04,0x05,
0x06,0x07,0x07,
/* SleepControlParameters , 12 */ 0x00,0x00,0x14,0x10,0x20,0x30,0x30,0x30,0x30,0x00,
0x03,0x02,
/* DebugControl , 4 */ 0x00,0x00,0x2C,0x01,
/* LCandRMOverrideEnable , 4 */ 0x10,0x00,0x00,0x00,
/* RadioRegisterOverride , 6 */ 0x01,0x00,0x00,0x00,0x0D,0x7F,
/* CodecConfiguration , 8 */ 0x20,0x00,0x10,0x1F,0x00,0x0F,0x0F,0x02,
/* CVSDGainVolumeSettings , 6 */ 0x02,0x00,0x00,0x00,0x0E,0x0E,
/* VoiceSettings , 2 */ 0x60,0x00,
/* UserBaudRate , 3 */ 0x11,0x00,0x17,
/* CoexistenceParameters , 4 */// 0x02,0xA4,0x0E,0x00,
/* LowPowerDriftRate , 1 */ 0x2D,
/* MaxTxPowerLevel , 1 */ 0x04,
/* AdaptiveFrequencyHoppingParameters, 29 */ 0x02,0x00,0x3C,0x00,0x3C,0x00,0x00,0x01,0x0A,0x05,
0x13,0x4F,0x02,0x08,0x01,0x0C,0x01,0x00,0x00,0x00,
0x40,0x00,0x00,0x00,0x40,0x00,0x00,0x0A,0x05,
/* BufferSize , 4 */ 0x7C,0x00,0x7C,0x00,
/* GPIO Mapping , 16 */ 0xFF,0x01,0xFF,0x02,0x04,0x06,0xFF,0x00,0xFF,0x00,
0xFF,0x00,0xFF,0x00,0xFF,0x00,
/* GPIO Polarity , 4 */ 0x00,0x00,0x04,0x00
};
#endif /* __BTMODULE_RFMD3500__*/
#if defined(__GPS_SUPPORT__) && defined(__MNL_SUPPORT__)
static kal_uint8 const NVRAM_EF_MNL_SETTING_DATA_DEFAULT[] = {
/* Internal LNA Enable , 1 */ 0x00,
/* TCXO Frequency Drift , 1 */ 0x01,
/* SBAS Mode , 1 */ 0x00,
/* Clock Type , 1 */ 0x00,
/* Frequency Error for XTAL , 1 */ 0x00,
/* Frame Sync Enable , 1 */ 0x00,
/* Reserved , 10 */ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
#endif /* __GPS_SUPPORT__ & __MNL_SUPPORT__ */
#if defined (__WIFI_BT_SINGLE_ANTENNA_SUPPORT__)
//#if defined(__BTMODULE_MT6276__)|| defined(__BTMODULE_MT6622__) || defined(__BTMODULE_MT6626__)
static kal_uint32 const NVRAM_EF_BWCS_SETTING_DATA_DEFAULT[] =
{
/* Real Time RSSI Threshold : BT / WIFI1 / WIFI2 */
73, 73, 73,
/* Non Real Time RSSI Threshold : BT / WIFI1 / WIFI2 */
73, 73, 73,
/* Antenna path compensation */
10,
/* antenna path switch protection period, Unit is frames (4.615us) */
2000,
/* TX Flow control : medium time / period time */
0x0E00, 0x01,
/* BT RX Range : Low / High */
0xC4, 0xE2,
/* BT TX power : WIFI OFF / WIFI SCO / WIFI ACL */
0x07, 0x07, 0x06,
/* Reserved , 5 */
0x00, 0x00, 0x00, 0x00, 0x00
};
#if 0
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* #if 0 */
#endif /* __WIFI_BT_SINGLE_ANTENNA_SUPPORT__ */
#ifdef __PS_SERVICE__
static kal_uint8 const NVRAM_EF_TCM_PDP_PROFILE_DEFAULT[] = {
0x00, 0x00, 0x21, 0x01,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x10, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // req qos
PS_QOS_PROFILE_DEFAULT_REQ_LENGTH,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_REQ_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_REQ_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_REQ_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_REQ_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_REQ_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_REQ_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_REQ_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_UP_LINK,
//0x10, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
//0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // min qos
PS_QOS_PROFILE_DEFAULT_MIN_LENGTH,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_MIN_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_MIN_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_MIN_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_MIN_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_MIN_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_MIN_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_MIN_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_UP_LINK,
0x08,
0x69, 0x6E, 0x74, 0x65, 0x72, 0x6E, 0x65, 0x74, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x02, 0x02, 0x00, 0x00, 0x01,
0xAC, 0x15, 0x78, 0x06, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00,
0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0xFF, // 228
0x00, 0x00 // N201U value 1520=(0xF0, 0x05) //erica 20070112
};
#endif /* __PS_SERVICE__*/
#if !defined(__CUSTOMIZED_PORT_SETTING__)
static port_setting_struct const NVRAM_EF_PORT_SETTING_DEFAULT[]=
{
{
#if defined (WISDOM_MMI) || defined(NEPTUNE_MMI)
0, /* tst-ps uses uart_port2(value is 1) */
1, /* APP uses uart_port1 (value is 0) */
#elif defined(__DUAL_TALK_MODEM_SUPPORT__)
0, /* tst-ps uses uart_port1 */
1, /* APP uses uart_port2 */
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
0, /* TST-PS uses uart_port1 */
5, /* ATCI uses uart_port_usb2 */
#else
99, /* tst-ps uses uart_port_null(value is 99) */
0, /* APP uses uart_port1 (value is 0) */
#endif
#if defined(EMPTY_MMI)
921600, /* tst default baud rate for project without MMI */
#elif defined (WISDOM_MMI)
/* under construction !*/
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
921600, /* TST-PS baud uses 921600 */
#else
115200, /* tst default baud rate base = 115200 = 0x0001C200 */
#endif
#if defined (__PS_SERVICE__)
115200, /* ps default baud rate base = 115200 = 0x0001C200 */
#else
57600, /* ps default baud rate base = 57600 = 0x0000E100 */
#endif
KAL_FALSE, /* High SpeedSIM */
0, /* SWDBG */
#if defined(__ONLY_ONE_UART__)
1, /* uart power setting (0x03) */
#else
3,
#endif
99, /* CTI uart port: uart_null (value is 0x63 (99) */
0, /* CTI baud rate: auto*/
#if defined (WISDOM_MMI) || defined(NEPTUNE_MMI)
0,
#elif defined(__DUAL_TALK_MODEM_SUPPORT__)
0,
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
1, /* TST-L1 baud uses uart_port2 */
#else
99, /* tst-l1 uart port, same as tst-ps*/
#endif
#if defined(EMPTY_MMI)
921600, /* tst default baud rate for project without MMI */
#elif defined (WISDOM_MMI)
/* under construction !*/
#elif defined(__USB_MULTIPLE_COMPORT_SUPPORT__) && defined(__L4_INIT_MULTIUSB_COM__)
921600, /* TST-L1 baud uses 921600 */
#else
115200, /* tst default baud rate base = 115200 = 0x0001C200 */
#endif
0, /* tst output mode*/
#if !defined( __UL1_STANDALONE__ )
0, /* USB logging mode */
#else
#if defined(__MODEM_3G_LOGGING__) && defined(_DSPIRDBG__)
/* under construction !*/
#else
1,
#endif /* defined(__MODEM_3G_LOGGING__) && defined(_DSPIRDBG__) */
#endif /* __UL1_STANDALONE__ */
99, //TST-DSP
921600, //TST-DSP baudrate
0 // USB CD-ROM config, 0:CD-ROM , 1: COM
},
};
#endif /* !defined(__CUSTOMIZED_PORT_SETTING__) */
#if !defined(__SMS_STORAGE_BY_MMI__) && (SMS_PHONE_ENTRY > 0)
static kal_uint8 const NVRAM_EF_SMSAL_SMS_DEFAULT[] = {
0xfe, /* status */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0xFF, 0xFF, 0xFF,
0xFF, 0xFF, 0xFF, 0xFF
};
#endif
#ifndef __CB_CHANNEL_ONLY_STORED_IN_NVRAM__
/* Cell Broadcast Setting. */
/* The channels set will shown in MMI */
/* This setting may be changed by customer. DON'T remove it. */
static kal_uint8 const COMMON_NVRAM_EF_CB_CH_INFO_DEFAULT[] =
{
0xFF, 0xFF, 0xFF, 0xFF, /* cbmir_mask, default all cbmir turn on */
0xFF, 0xFF, 0xFF, 0xFF, /* dcs_mask, default all dcs turn on */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[0] ~ dcs[4] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[5] ~ dcs[9] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[10] ~ dcs[14] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[15] ~ dcs[19] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[20] ~ dcs[24] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[25] ~ dcs[29] */
0xFF, 0xFF, 0xFF, /* cbmi_me_mask, default all ME cbmi turn on */
0xFF, 0xFF, 0xFF, /* cbmi_sim_mask, default all SIM cbmi turn on */
#if defined(__TOPWELL_SOFTWARD_CB_CHANNEL_IS_K95__) //Ð¡Çø¹ã²¥ÆµµÀĬÈÏ
0x00, 0x32, /* CH 1 , for example: chanel 50 is 0x00, 0x32 */
0x00, 0x3C, /* CH 2 */
0xFF, 0xFF, /* CH 3 */
0xFF, 0xFF, /* CH 4 */
0xFF, 0xFF, /* CH 5 */
0xFF, 0xFF, /* CH 6 */
0xFF, 0xFF, /* CH 7 */
0xFF, 0xFF, /* CH 8 */
0xFF, 0xFF, /* CH 9 */
0xFF, 0xFF, /* CH 10 */
0xFF, 0xFF, /* CH 11 */
0xFF, 0xFF, /* CH 12 */
0xFF, 0xFF, /* CH 13 */
0xFF, 0xFF, /* CH 14 */
0xFF, 0xFF, /* CH 15 */
0xFF, 0xFF, /* CH 16 */
0xFF, 0xFF, /* CH 17 */
0xFF, 0xFF, /* CH 18 */
0xFF, 0xFF, /* CH 19 */
0xFF, 0xFF /* CH 20 */
#else
#ifndef __CMAS__
0xFF, 0xFF, /* CH 1 , for example: chanel 50 is 0x00, 0x32 */
0xFF, 0xFF, /* CH 2 */
0xFF, 0xFF, /* CH 3 */
0xFF, 0xFF, /* CH 4 */
0xFF, 0xFF, /* CH 5 */
0xFF, 0xFF, /* CH 6 */
0xFF, 0xFF, /* CH 7 */
0xFF, 0xFF, /* CH 8 */
0xFF, 0xFF, /* CH 9 */
0xFF, 0xFF, /* CH 10 */
0xFF, 0xFF, /* CH 11 */
0xFF, 0xFF, /* CH 12 */
0xFF, 0xFF, /* CH 13 */
#else
0x11, 0x12, /* CH 1 , for example: chanel 50 is 0x00, 0x32 */
0x11, 0x13, /* CH 2 */
0x11, 0x14, /* CH 3 */
0x11, 0x15, /* CH 4 */
0x11, 0x16, /* CH 5 */
0x11, 0x17, /* CH 6 */
0x11, 0x18, /* CH 7 */
0x11, 0x19, /* CH 8 */
0x11, 0x1A, /* CH 9 */
0x11, 0x1B, /* CH 10 */
0x11, 0x1C, /* CH 11 */
0x11, 0x1D, /* CH 12 */
0x11, 0x1E, /* CH 13 */
#endif
0xFF, 0xFF, /* CH 14 */
0xFF, 0xFF, /* CH 15 */
0xFF, 0xFF, /* CH 16 */
0xFF, 0xFF, /* CH 17 */
0xFF, 0xFF, /* CH 18 */
0xFF, 0xFF, /* CH 19 */
0xFF, 0xFF /* CH 20 */
#endif
};
#else
static kal_uint8 const COMMON_NVRAM_EF_CB_CH_INFO_DEFAULT[] =
{
0xFF, 0xFF, 0xFF, 0xFF, /* cbmir_mask, default all cbmir turn on */
0xFF, 0xFF, 0xFF, 0xFF, /* dcs_mask, default all dcs turn on */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[0] ~ dcs[4] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[5] ~ dcs[9] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[10] ~ dcs[14] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[15] ~ dcs[19] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[20] ~ dcs[24] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, /* dcs[25] ~ dcs[29] */
0xFF, 0xFF, 0xFF, 0xFF, 0xFF,/* cbmi_me_mask, default all ME cbmi turn on */
0xFF, 0xFF, 0xFF, /* cbmi_sim_mask, default all SIM cbmi turn on */
#ifndef __CMAS__
0xFF, 0xFF, /* CH 1 , for example: chanel 50 is 0x00, 0x32 */
0xFF, 0xFF, /* CH 2 */
0xFF, 0xFF, /* CH 3 */
0xFF, 0xFF, /* CH 4 */
0xFF, 0xFF, /* CH 5 */
0xFF, 0xFF, /* CH 6 */
0xFF, 0xFF, /* CH 7 */
0xFF, 0xFF, /* CH 8 */
0xFF, 0xFF, /* CH 9 */
0xFF, 0xFF, /* CH 10 */
0xFF, 0xFF, /* CH 11 */
0xFF, 0xFF, /* CH 12 */
0xFF, 0xFF, /* CH 13 */
#else
0x11, 0x12, /* CH 1 , for example: chanel 50 is 0x00, 0x32 */
0x11, 0x13, /* CH 2 */
0x11, 0x14, /* CH 3 */
0x11, 0x15, /* CH 4 */
0x11, 0x16, /* CH 5 */
0x11, 0x17, /* CH 6 */
0x11, 0x18, /* CH 7 */
0x11, 0x19, /* CH 8 */
0x11, 0x1A, /* CH 9 */
0x11, 0x1B, /* CH 10 */
0x11, 0x1C, /* CH 11 */
0x11, 0x1D, /* CH 12 */
0x11, 0x1E, /* CH 13 */
#endif
0xFF, 0xFF, /* CH 14 */
0xFF, 0xFF, /* CH 15 */
0xFF, 0xFF, /* CH 16 */
0xFF, 0xFF, /* CH 17 */
0xFF, 0xFF, /* CH 18 */
0xFF, 0xFF, /* CH 19 */
0xFF, 0xFF, /* CH 20 */
0xFF, 0xFF, /* CH 21 */
0xFF, 0xFF, /* CH 22 */
0xFF, 0xFF, /* CH 23 */
0xFF, 0xFF, /* CH 24 */
0xFF, 0xFF, /* CH 25 */
0xFF, 0xFF, /* CH 26 */
0xFF, 0xFF, /* CH 27 */
0xFF, 0xFF, /* CH 28 */
0xFF, 0xFF, /* CH 29 */
0xFF, 0xFF, /* CH 30 */
0xFF, 0xFF, /* CH 31 */
0xFF, 0xFF, /* CH 32 */
0xFF, 0xFF, /* CH 33 */
0xFF, 0xFF, /* CH 34 */
0xFF, 0xFF, /* CH 35 */
0xFF, 0xFF, /* CH 36 */
0xFF, 0xFF, /* CH 37 */
0xFF, 0xFF, /* CH 38 */
0xFF, 0xFF, /* CH 39 */
0xFF, 0xFF /* CH 40 */
};
#endif
/* UEM*/
static kal_uint8 const NVRAM_EF_UEM_MANUFACTURE_DATA_DEFAULT[] = {
'M', 'T', 'K', '1', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
#ifdef __DM_MO_SUPPORT__
'M', 'T', 'K', '3', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
#else
'M', 'T', 'K', '2', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
#endif
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
'M', 'T', 'K', '3', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
'M', 'T', 'K', '4', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
'M', 'T', 'K', '5', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
'M', 'T', 'K', '6', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
'M', 'T', 'K', '7', 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
#ifdef __APP_STATIC_QOS_PROFILE_SUPPORT__
/* PS QoS profile */
static nvram_ef_abm_ps_qos_profile_struct const COMMON_NVRAM_EF_ABM_PS_QOS_PROFILE_DEFAULT[] =
{
/* (0) default qos profile */
{
/* req_qos */
/*
16, 0, 0, 3,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
4, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
*/
PS_QOS_PROFILE_DEFAULT_REQ_LENGTH,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_REQ_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_REQ_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_REQ_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_REQ_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_REQ_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_REQ_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_REQ_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_UP_LINK,
/* min_qos */
/*
16, 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,
*/
PS_QOS_PROFILE_DEFAULT_MIN_LENGTH,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_MIN_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_MIN_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_MIN_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_MIN_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_MIN_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_MIN_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_MIN_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_UP_LINK,
},
/* (1) straming qos profile */
{
/* req_qos */
/*
16, 0, 0, 3,
0, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
4, 0, 0, 0,
0, 0, 0, 0,
0, 0, 0, 0,
*/
PS_QOS_PROFILE_DEFAULT_REQ_LENGTH,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_REQ_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_REQ_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_REQ_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_REQ_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_REQ_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_REQ_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_REQ_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_REQ_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_REQ_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_REQ_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_REQ_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_REQ_EXT_GUARANTEED_BIT_RATE_UP_LINK,
/* min_qos */
/*
16, 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,
*/
PS_QOS_PROFILE_DEFAULT_MIN_LENGTH,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_1,
PS_QOS_PROFILE_DEFAULT_MIN_DELAY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_RELIABILITY_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_PEAK_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_2,
PS_QOS_PROFILE_DEFAULT_MIN_PRECEDENCE_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_3,
PS_QOS_PROFILE_DEFAULT_MIN_MEAN_THROUGHPUT,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_CLASS,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_ORDER,
PS_QOS_PROFILE_DEFAULT_MIN_DELIVERY_OF_ERR_SDU,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_SDU_SIZE,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_MAX_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_RESIDUAL_BIT_ERROR_RATE,
PS_QOS_PROFILE_DEFAULT_MIN_SDU_ERROR_RATIO,
PS_QOS_PROFILE_DEFAULT_MIN_TRANSFER_DELAY,
PS_QOS_PROFILE_DEFAULT_MIN_TRAFFIC_HNDL_PRIORITY,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_UPLINK,
PS_QOS_PROFILE_DEFAULT_MIN_GUARANTEED_BIT_RATE_DOWNLINK,
PS_QOS_PROFILE_DEFAULT_MIN_UNUSED_4,
PS_QOS_PROFILE_DEFAULT_MIN_SIGNALING_INDICATION,
PS_QOS_PROFILE_DEFAULT_MIN_SOURCE_STAT_DESCPTOR,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_DONW_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_MAX_BIT_RATE_UP_LINK,
PS_QOS_PROFILE_DEFAULT_MIN_EXT_GUARANTEED_BIT_RATE_UP_LINK,
}
};
#endif /* __APP_STATIC_QOS_PROFILE_SUPPORT__ */
/**
* Step 4:
* The logical data item table.
* Note:
* Each logical data item must be:
* 1> Size must be EVEN
* 2> Size of default value must be equal to the logical data item's size.
*
* The last LID in the MT reign now is MT1k
*/
ltable_entry_struct logical_data_item_table_core[] =
{
{
NVRAM_EF_SYS_EXCEPTION_LID,
NVRAM_EF_SYS_EXCEPTION_TOTAL,
NVRAM_EF_SYS_EXCEPTION_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT03",
VER(NVRAM_EF_SYS_EXCEPTION_LID)
},
{
NVRAM_EF_SYS_STATISTICS_LID,
NVRAM_EF_SYS_STATISTICS_TOTAL,
NVRAM_EF_SYS_STATISTICS_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT04",
VER(NVRAM_EF_SYS_STATISTICS_LID)
},
#if defined(__2G_RF_CUSTOM_TOOL_SUPPORT__)
{
NVRAM_EF_L1_2G_RF_PARAMETER_LID,
NVRAM_EF_L1_2G_RF_PARAMETER_TOTAL,
NVRAM_EF_L1_2G_RF_PARAMETER_SIZE,
NVRAM_DEFAULT_FUNC(nvram_get_L1_default_value_to_write),//NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),//NVRAM_NORMAL_NOT_ZIP((void*)&RF_custom_input_data),//NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),//NVRAM_NORMAL_NOT_ZIP(RF_custom_input_data),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_FUNC_DEFAULT,
NVRAM_ATTR_MULTIPLE,
"MT0W",
VER(NVRAM_EF_L1_2G_RF_PARAMETER_LID)
},
#endif
{
NVRAM_EF_BAND_INFO_LID,
NVRAM_EF_BAND_INFO_TOTAL,
NVRAM_EF_BAND_INFO_SIZE,
NVRAM_NORMAL(NVRAM_EF_BAND_INFO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTIPLE,
"MT0X",
VER(NVRAM_EF_BAND_INFO_LID)
},
{
NVRAM_EF_TST_FILTER_LID,
NVRAM_EF_TST_FILTER_TOTAL,
NVRAM_EF_TST_FILTER_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT0Y",
VER(NVRAM_EF_TST_FILTER_LID)
},
{
NVRAM_EF_PORT_SETTING_LID,
NVRAM_EF_PORT_SETTING_TOTAL,
NVRAM_EF_PORT_SETTING_SIZE,
#if defined(__CUSTOMIZED_PORT_SETTING__) && !defined(NVRAM_AUTO_GEN)
NVRAM_NORMAL(NVRAM_EF_CUSTOM_PORT_SETTING_DEFAULT),
#else
NVRAM_NORMAL(NVRAM_EF_PORT_SETTING_DEFAULT),
#endif
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_NOT_ZIP_DEFAULT,
"MT0Z",
VER(NVRAM_EF_PORT_SETTING_LID)
},
#if !defined(__SMS_STORAGE_BY_MMI__) && (SMS_PHONE_ENTRY > 0)
{
NVRAM_EF_SMSAL_SMS_LID,
NVRAM_EF_SMSAL_SMS_TOTAL,
NVRAM_EF_SMSAL_SMS_SIZE,
NVRAM_NORMAL(NVRAM_EF_SMSAL_SMS_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTIREC_READ,
"MT40",
VER(NVRAM_EF_SMSAL_SMS_LID)
},
#endif
#if !defined(EXTERNAL_MMI)
{
NVRAM_EF_SMSAL_MAILBOX_ADDR_LID,
NVRAM_EF_SMSAL_MAILBOX_ADDR_TOTAL,
NVRAM_EF_SMSAL_MAILBOX_ADDR_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_SMSAL_MAILBOX_ADDR_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_AVERAGE,
"MT41",
VER(NVRAM_EF_SMSAL_MAILBOX_ADDR_LID)
},
#endif
{
NVRAM_EF_SMSAL_COMMON_PARAM_LID,
NVRAM_EF_SMSAL_COMMON_PARAM_TOTAL,
NVRAM_EF_SMSAL_COMMON_PARAM_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_SMSAL_COMMON_PARAM_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_FACTORY_RESET,
"MT42",
VER(NVRAM_EF_SMSAL_COMMON_PARAM_LID)
},
{
NVRAM_EF_SMSAL_SMSP_LID,
NVRAM_EF_SMSAL_SMSP_TOTAL,
NVRAM_EF_SMSAL_SMSP_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_MULTIREC_READ,
"MT43",
VER(NVRAM_EF_SMSAL_SMSP_LID)
},
{
NVRAM_EF_SMSAL_MWIS_LID,
NVRAM_EF_SMSAL_MWIS_TOTAL,
NVRAM_EF_SMSAL_MWIS_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT44",
VER(NVRAM_EF_SMSAL_MWIS_LID)
},
{
NVRAM_EF_CB_DEFAULT_CH_LID,
NVRAM_EF_CB_DEFAULT_CH_TOTAL,
NVRAM_EF_CB_DEFAULT_CH_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_CB_DEFAULT_CH_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_FACTORY_RESET,
"MT45",
VER(NVRAM_EF_CB_DEFAULT_CH_LID)
},
{
NVRAM_EF_CB_CH_INFO_LID,
NVRAM_EF_CB_CH_INFO_TOTAL,
NVRAM_EF_CB_CH_INFO_SIZE,
NVRAM_NORMAL(COMMON_NVRAM_EF_CB_CH_INFO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_FACTORY_RESET,
"MT46",
VER(NVRAM_EF_CB_CH_INFO_LID)
},
#if (( (!defined(EMPTY_MMI) && !defined(EXTERNAL_MMI)) && (!defined(__MSG_ID_MMI_PS_GET_GPRS_DATA_COUNTER_REQ_PHASE_OUT__)) ) || (defined(__TCM_UT__)))
{
NVRAM_EF_TCM_STATISTICS_LID,
NVRAM_EF_TCM_STATISTICS_TOTAL,
NVRAM_EF_TCM_STATISTICS_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT47",
VER(NVRAM_EF_TCM_STATISTICS_LID)
},
#endif // ~ #if ( (!defined(EMPTY_MMI) && !defined(EXTERNAL_MMI)) && (!defined(__MSG_ID_MMI_PS_GET_GPRS_DATA_COUNTER_REQ_PHASE_OUT__)) )
#if defined (__PS_SERVICE__) && defined (__MOD_TCM__) && defined (__EXT_PDP_CONTEXT_ON__)
{
NVRAM_EF_TCM_PDP_PROFILE_LID,
NVRAM_EF_TCM_PDP_PROFILE_TOTAL,
NVRAM_EF_TCM_PDP_PROFILE_SIZE,
NVRAM_NORMAL(NVRAM_EF_TCM_PDP_PROFILE_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT48",
VER(NVRAM_EF_TCM_PDP_PROFILE_LID)
},
#endif // ~ #if defined (__PS_SERVICE__) && defined (__MOD_TCM__) && defined (__EXT_PDP_CONTEXT_ON__)
{
NVRAM_EF_CFU_FLAG_LID,
NVRAM_EF_CFU_FLAG_TOTAL,
NVRAM_EF_CFU_FLAG_SIZE,
NVRAM_NORMAL(NVRAM_EF_CFU_FLAG_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT49",
VER(NVRAM_EF_CFU_FLAG_LID)
},
{
NVRAM_EF_MM_EQPLMN_LOCIGPRS_LID,
NVRAM_EF_MM_EQPLMN_LOCIGPRS_TOTAL,
NVRAM_EF_MM_EQPLMN_LOCIGPRS_SIZE,
NVRAM_NORMAL(NVRAM_EF_MM_EQPLMN_LOCIGPRS_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT4A",
VER(NVRAM_EF_MM_EQPLMN_LOCIGPRS_LID)
},
#if defined (__CPHS__) || defined (__CCM_NO_RESET__)
{
NVRAM_EF_ALS_LINE_ID_LID,
NVRAM_EF_ALS_LINE_ID_TOTAL,
NVRAM_EF_ALS_LINE_ID_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_ALS_LINE_ID_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_AVERAGE,
"MT4C",
VER(NVRAM_EF_ALS_LINE_ID_LID)
},
#endif/* (__CPHS__) || (__CCM_NO_RESET__)*/
{
NVRAM_EF_MSCAP_LID,
NVRAM_EF_MSCAP_TOTAL,
NVRAM_EF_MSCAP_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_MSCAP_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_WRITEPROTECT | NVRAM_ATTR_MULTIPLE,
"MT4D",
VER(NVRAM_EF_MSCAP_LID)
},
{
NVRAM_EF_CLASSMARK_RACAP_LID,
NVRAM_EF_CLASSMARK_RACAP_TOTAL,
NVRAM_EF_CLASSMARK_RACAP_SIZE,
NVRAM_NORMAL(NVRAM_EF_CLASSMARK_RACAP_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_WRITEPROTECT | NVRAM_ATTR_MULTIPLE,
"MT17",
VER(NVRAM_EF_CLASSMARK_RACAP_LID)
},
{
NVRAM_EF_SIM_ASSERT_LID,
NVRAM_EF_SIM_ASSERT_TOTAL,
NVRAM_EF_SIM_ASSERT_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_RING,
"MT18",
VER(NVRAM_EF_SIM_ASSERT_LID)
},
{
NVRAM_EF_RTC_DATA_LID,
NVRAM_EF_RTC_DATA_TOTAL,
NVRAM_EF_RTC_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT19",
VER(NVRAM_EF_RTC_DATA_LID)
},
#if defined(__UMTS_RAT__) || defined(__STORED_CELL_SELECTION_INFO__)
{
NVRAM_EF_NET_PAR_LID,
NVRAM_EF_NET_PAR_TOTAL,
NVRAM_EF_NET_PAR_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT1A",
VER(NVRAM_EF_NET_PAR_LID)
},
#endif
#ifdef __UMTS_RAT__
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#if (defined(__UMTS_TDD128_MODE__) && defined(__UMTS_R7__)) || (defined(__SEARCH_ALL_EHPLMN_TOGETHER__))
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
/* under construction !*/
#endif /* __UMTS_RAT__ */
#if defined(__MA_L1__) || defined(__UMTS_RAT__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif
#if 0
#if !defined(__LOW_COST_SUPPORT_COMMON__) && defined(__FLC_SUPPORT__ )&& defined(__MTK_INTERNAL__)
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
/* under construction !*/
#endif /* !__LOW_COST_SUPPORT_COMMON__&&__MTK_INTERNAL__ && __FLC_SUPPORT__ */
#endif
#if defined (__E_COMPASS_SENSOR_SUPPORT__)
{
NVRAM_EF_ECOMPASS_DATA_LID,
NVRAM_EF_ECOMPASS_DATA_TOTAL,
NVRAM_EF_ECOMPASS_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT1D",
VER(NVRAM_EF_ECOMPASS_DATA_LID)
},
#endif /* __E_COMPASS_SENSOR_SUPPORT__ */
#ifdef __BAND_BLOCK__
{
NVRAM_EF_BAND_BLOCK_LID,
NVRAM_EF_BAND_BLOCK_TOTAL,
NVRAM_EF_BAND_BLOCK_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTIPLE,
"MT1E",
VER(NVRAM_EF_BAND_BLOCK_LID),
},
#endif /* __BAND_BLOCK__ */
#ifdef __BTMODULE_RFMD3500__
{
NVRAM_EF_BTRADIO_RFMD3500_LID,
NVRAM_EF_BTRADIO_RFMD3500_TOTAL,
NVRAM_EF_BTRADIO_RFMD3500_SIZE,
NVRAM_NORMAL(NVRAM_EF_BTRADIO_RFMD3500_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT1G",
VER(NVRAM_EF_BTRADIO_RFMD3500_LID)
},
#endif
#if defined(__ATCMD_ONOFF_CHECK__)
{
NVRAM_EF_ATCMD_ON_OFF_CHECK_LID,
NVRAM_EF_ATCMD_ON_OFF_CHECK_TOTAL,
NVRAM_EF_ATCMD_ON_OFF_CHECK_SIZE,
NVRAM_NORMAL(&NVRAM_EF_ATCMD_ONOFF_CHECK_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MSP | NVRAM_ATTR_CONFIDENTIAL,
"MT30",
VER(NVRAM_EF_ATCMD_ON_OFF_CHECK_LID)
},
#endif
#if defined(__TST_DNT_LOGGING__)
{
NVRAM_EF_PS_L2COPRO_FILTER_SETTINGS_LID,
NVRAM_EF_PS_L2COPRO_FILTER_SETTINGS_TOTAL,
NVRAM_EF_PS_L2COPRO_FILTER_SETTINGS_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT31",
VER(NVRAM_EF_PS_L2COPRO_FILTER_SETTINGS_LID)
},
#endif //#if defined(__TST_DNT_LOGGING__)
#if defined(__ETWS_SUPPORT__)
{
NVRAM_EF_ETWS_SETTING_LID,
NVRAM_EF_ETWS_SETTING_TOTAL,
NVRAM_EF_ETWS_SETTING_SIZE,
NVRAM_NORMAL(&NVRAM_EF_ETWS_SETTING_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT32",
VER(NVRAM_EF_ETWS_SETTING_LID)
},
#endif
{
NVRAM_EF_CSM_ESSP_LID,
NVRAM_EF_CSM_ESSP_TOTAL,
NVRAM_EF_CSM_ESSP_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT35",
VER(NVRAM_EF_CSM_ESSP_LID)
},
/* UEM*/
{
NVRAM_EF_CUST_HW_LEVEL_TBL_LID,
NVRAM_EF_CUST_HW_LEVEL_TBL_TOTAL,
NVRAM_EF_CUST_HW_LEVEL_TBL_SIZE,
#if defined(__MMI_FMI__)
NVRAM_NORMAL((const kal_uint8 *)NVRAM_EF_CUST_HW_LEVEL_TBL_DEFAULT),
#else
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
#endif
NVRAM_CATEGORY_USER,
NVRAM_ATTR_SW_VERNO_RESET | NVRAM_ATTR_ZIP_DEFAULT,
"MT67",
VER(NVRAM_EF_CUST_HW_LEVEL_TBL_LID)
},
{
NVRAM_EF_UEM_MANUFACTURE_DATA_LID,
NVRAM_EF_UEM_MANUFACTURE_DATA_TOTAL,
NVRAM_EF_UEM_MANUFACTURE_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_UEM_MANUFACTURE_DATA_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_ZIP_DEFAULT,
"MT68",
VER(NVRAM_EF_UEM_MANUFACTURE_DATA_LID)
},
{
NVRAM_EF_UEM_RMI_DATA_LID,
NVRAM_EF_UEM_RMI_DATA_TOTAL,
NVRAM_EF_UEM_RMI_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_ZIP_DEFAULT,
"MT69",
VER(NVRAM_EF_UEM_RMI_DATA_LID)
},
#ifdef __GPS_SUPPORT__
{
NVRAM_EF_GPS_SETTING_DATA_LID,
NVRAM_EF_GPS_SETTING_DATA_TOTAL,
NVRAM_EF_GPS_SETTING_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6D",
VER(NVRAM_EF_GPS_SETTING_DATA_LID)
},
#endif /* __GPS_SUPPORT__ */
#if defined(__GPS_SUPPORT__) && defined(__MNL_SUPPORT__)
{
NVRAM_EF_MNL_SETTING_DATA_LID,
NVRAM_EF_MNL_SETTING_DATA_TOTAL,
NVRAM_EF_MNL_SETTING_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_MNL_SETTING_DATA_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6E",
VER(NVRAM_EF_MNL_SETTING_DATA_LID)
},
#endif /* __GPS_SUPPORT__ & __MNL_SUPPORT__ */
#if defined(__WIFI_BT_SINGLE_ANTENNA_SUPPORT__)
{
NVRAM_EF_BWCS_SETTING_DATA_LID,
NVRAM_EF_BWCS_SETTING_DATA_TOTAL,
NVRAM_EF_BWCS_SETTING_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_BWCS_SETTING_DATA_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6F",
VER(NVRAM_EF_BWCS_SETTING_DATA_LID)
},
#endif /* __WIFI_BT_SINGLE_ANTENNA_SUPPORT__ */
{
NVRAM_EF_MS_SECURITY_LID,
NVRAM_EF_MS_SECURITY_TOTAL,
NVRAM_EF_MS_SECURITY_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_MS_SECURITY_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
#ifdef __TC01__
/* under construction !*/
#else
#ifdef __TOPWELL_BASE_BUG__
NVRAM_ATTR_MULTIPLE | NVRAM_ATTR_CONFIDENTIAL | NVRAM_ATTR_FACTORY_RESET,
#else
NVRAM_ATTR_MULTIPLE | NVRAM_ATTR_CONFIDENTIAL,
#endif
#endif
"MT6G",
VER(NVRAM_EF_MS_SECURITY_LID)
},
#if !defined(__PHB_NO_CALL_LOG__) & !defined(__L1_STANDALONE__)
{
NVRAM_EF_PHB_LN_ENTRY_LID,
NVRAM_EF_PHB_LN_ENTRY_TOTAL,
NVRAM_EF_PHB_LN_ENTRY_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6H",
VER(NVRAM_EF_PHB_LN_ENTRY_LID)
},
{
NVRAM_EF_PHB_LN_TYPE_SEQ_LID,
NVRAM_EF_PHB_LN_TYPE_SEQ_TOTAL,
NVRAM_EF_PHB_LN_TYPE_SEQ_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6I",
VER(NVRAM_EF_PHB_LN_TYPE_SEQ_LID)
},
#endif /* !defined(__PHB_NO_CALL_LOG__) & !defined(__L1_STANDALONE__) */
#ifdef __APP_STATIC_QOS_PROFILE_SUPPORT__
{
NVRAM_EF_ABM_PS_QOS_PROFILE_LID,
NVRAM_EF_ABM_PS_QOS_PROFILE_TOTAL,
NVRAM_EF_ABM_PS_QOS_PROFILE_SIZE,
NVRAM_NORMAL(COMMON_NVRAM_EF_ABM_PS_QOS_PROFILE_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_MULTIREC_READ | NVRAM_ATTR_MULTI_DEFAULT,
"MT6J",
VER(NVRAM_EF_ABM_PS_QOS_PROFILE_LID)
},
#endif/*__APP_STATIC_QOS_PROFILE_SUPPORT__ */
{
NVRAM_EF_SYS_CACHE_OCTET_LID,
NVRAM_EF_SYS_CACHE_OCTET_TOTAL,
NVRAM_EF_SYS_CACHE_OCTET_SIZE,
NVRAM_NORMAL_NOT_GEN(NVRAM_EF_SYS_CACHE_OCTET_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTI_DEFAULT | NVRAM_ATTR_NOT_ZIP_DEFAULT,
"MT6K",
VER(NVRAM_EF_SYS_CACHE_OCTET_LID)
},
#ifdef __DRM_V02__
{
NVRAM_EF_DRM_SETTING_LID,
NVRAM_EF_DRM_SETTING_TOTAL,
NVRAM_EF_DRM_SETTING_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTIREC_READ | NVRAM_ATTR_CONFIDENTIAL,
"MT6L",
VER(NVRAM_EF_DRM_SETTING_LID)
},
{
NVRAM_EF_DRM_STIME_LID,
NVRAM_EF_DRM_STIME_TOTAL,
NVRAM_EF_DRM_STIME_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_CONFIDENTIAL,
"MT6M",
VER(NVRAM_EF_DRM_STIME_LID)
},
{
NVRAM_EF_DRM_CERPATH_LID,
NVRAM_EF_DRM_CERPATH_TOTAL,
NVRAM_EF_DRM_CERPATH_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6N",
VER(NVRAM_EF_DRM_CERPATH_LID)
},
#endif /* __DRM_V02__ */
{
NVRAM_EF_RAC_PREFERENCE_LID,
NVRAM_EF_RAC_PREFERENCE_TOTAL,
NVRAM_EF_RAC_PREFERENCE_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_RAC_PREFERENCE_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_FACTORY_RESET,
"MT6S",
VER(NVRAM_EF_RAC_PREFERENCE_LID)
},
#ifdef __TC02_SECURITY_REQUIREMENT__
{
NVRAM_EF_MM_IMSI_LOCI_GLOCI_LID,
NVRAM_EF_MM_IMSI_LOCI_GLOCI_TOTAL,
NVRAM_EF_MM_IMSI_LOCI_GLOCI_SIZE,
NVRAM_SECUPACK(NVRAM_EF_MM_IMSI_LOCI_GLOCI_DEFAULT),
NVRAM_CATEGORY_SECUPACK,
NVRAM_ATTR_MSP | NVRAM_ATTR_CONFIDENTIAL,
"MT6T",
VER(NVRAM_EF_MM_IMSI_LOCI_GLOCI_LID)
},
#endif /* __TC02_SECURITY_REQUIREMENT__ */
{
NVRAM_EF_PS_CONFORMANCE_TESTMODE_LID,
NVRAM_EF_PS_CONFORMANCE_TESTMODE_TOTAL,
NVRAM_EF_PS_CONFORMANCE_TESTMODE_SIZE,
//#ifdef __SEARCH_ALL_EHPLMN_TOGETHER__
// NVRAM_NORMAL(NVRAM_EF_PS_CONFORMANCE_TESTMODE_DEFAULT),
//#else
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
//#endif
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT6U",
VER(NVRAM_EF_PS_CONFORMANCE_TESTMODE_LID)
},
#if !defined(L4_NOT_PRESENT)
#ifndef __PHB_STORAGE_BY_MMI__
{
NVRAM_EF_PHB_LID,
NVRAM_EF_PHB_TOTAL,
NVRAM_EF_PHB_SIZE,
NVRAM_NORMAL(NVRAM_EF_FF_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_MULTIREC_READ,
"MT6V",
VER(NVRAM_EF_PHB_LID)
},
#endif
#endif
//__MOBILE_BROADBAND_PROVISION_CONTEXT__
#ifdef __MOBILE_BROADBAND_PROVISION_CONTEXT__
{
NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_LID,
NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_TOTAL,
NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_SIZE,
NVRAM_CUSTPACK(COMMON_NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_DEFAULT),
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_MULTI_DEFAULT,
"MT70",
VER(NVRAM_EF_MOBILE_BROADBAND_PROVISION_CONTEXT_LID)
//"MB PROVISION CONTEXT",
//NVRAM_APP_RESERVED
},
#endif /* __MOBILE_BROADBAND_PROVISION_CONTEXT__ */
{
NVRAM_EF_TST_CONFIG_LID,
NVRAM_EF_TST_CONFIG_TOTAL,
NVRAM_EF_TST_CONFIG_SIZE,
NVRAM_NORMAL(NVRAM_EF_ZERO_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE | NVRAM_ATTR_NOT_ZIP_DEFAULT,
"MT72",
VER(NVRAM_EF_TST_CONFIG_LID)
},
#if defined(__ENABLE_MYBCCH__)
{
NVRAM_EF_MYBCCH_SETTING_DATA_LID,
NVRAM_EF_MYBCCH_SETTING_DATA_TOTAL,
NVRAM_EF_MYBCCH_SETTING_DATA_SIZE,
NVRAM_NORMAL(NVRAM_EF_MYBCCH_SETTING_DEFAULT),
NVRAM_CATEGORY_USER,
NVRAM_ATTR_AVERAGE,
"MT73",
VER(NVRAM_EF_MYBCCH_SETTING_DATA_LID)
},
#endif
};
/* Configure NVRAM_EF_SYS_CACHE_OCTET_LID begin */
#ifdef NVRAM_AUTO_GEN
nvram_sys_cache_entry nvram_sys_cache[] =
{
SYS_CACHE_ENTRY(NVRAM_SYS_CACHE_BEGIN,
NVRAM_APP_RESERVED,
KAL_FALSE,
"Record system cache will be restore or not",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_FLIGHTMODE_STATE,
NVRAM_APP_RESERVED,
KAL_TRUE,
"NVRAM_SYS_FLIGHTMODE_STATE",
#if (GEMINI_PLUS == 4)
0x00, 0x00, 0x0F, 0x00, 0x01, 0x00, 0x00, 0x00),
#elif (GEMINI_PLUS == 3)
0x00, 0x00, 0x07, 0x00, 0x01, 0x00, 0x00, 0x00),
#elif (GEMINI_PLUS == 2)
0x00, 0x00, 0x03, 0x00, 0x01, 0x00, 0x00, 0x00),
#else
0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00),
#endif
SYS_CACHE_ENTRY(NVRAM_SYS_DSP_PATCH,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_DSP_PATCH",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_SIM_PLUS_SETTING,
NVRAM_APP_RESERVED,
KAL_TRUE,
"NVRAM_SYS_SIM_PLUS_SETTING",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_FIXED_GAIN_MECH_FOR_HELIOS2,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_FIXED_GAIN_MECH_FOR_HELIOS2",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_FACTORY_FLAG,
NVRAM_APP_RESERVED,
KAL_TRUE,
"NVRAM_SYS_FACTORY_FLAG",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_LAST_FAT_STATUS,
NVRAM_APP_RESERVED,
KAL_TRUE,
"NVRAM_SYS_LAST_FAT_STATUS",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_INFO,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_INFO",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#if defined(NEPTUNE_MMI)
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#elif defined(__OP01_FWPBW__)
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#elif defined (__TOPWELL_MMI_PHB_COMPARE_DIGIT_9__)
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x09, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#elif defined (__TOPWELL_MMI_PHB_COMPARE_DIGIT_10__)
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x0A, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#elif defined (__TOPWELL_MMI_PHB_COMPARE_DIGIT_11__)
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x0B, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#else
SYS_CACHE_ENTRY(NVRAM_SYS_PHB_COMPARE_DIGIT,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_PHB_COMPARE_DIGIT",
0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
#endif
SYS_CACHE_ENTRY(NVRAM_SYS_SVN,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_SVN",
0x87, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_USB_BOOT_MODE,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_USB_BOOT_MODE\0",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_USB_TETHERING_MODE,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_USB_TETHERING_MODE\0",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_AUTO_TEST,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_AUTO_TEST\0",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_SWLA,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_SWLA\0",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_MS_CALI_ACC,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_MS_CALI_ACC\0",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
SYS_CACHE_ENTRY(NVRAM_SYS_MOT_DECRYPTION,
NVRAM_APP_RESERVED,
KAL_FALSE,
"NVRAM_SYS_MOT_DECRYPTION\0",
0x12, 0x34, 0x56, 0x78, 0x9a, 0xbc, 0xde, 0xf0),
/* !!Add a entry above this line by using SYS_CACHE_ENTRY macro */
SYS_CACHE_ENTRY(NVRAM_SYS_CACHE_MAX,
NVRAM_APP_RESERVED,
KAL_FALSE,
"The last record of system cache",
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00),
};
#endif
/* Configure NVRAM_EF_SYS_CACHE_OCTET_LID end */
#endif /* NVRAM_NOT_PRESENT */