FreeCalypso > hg > fc-magnetite
view src/condat3/frame/config/gprsconst.h @ 547:c3f2f79dc5b8
l1_rf12.c compiled-in default RF band tables: a round of cleanup
* Uncalibrated default g_magic values changed from old Clara RF numbers
(yes, Clara, not even Leonardo) to the approximately correct value
for our current hw;
* Uncalibrated default Rx and Tx channel calibration tables providing
neutral correction values: fixed bogus ARFCNs from blind copy-n-paste
between different bands;
* Restored #if (ORDER2_TX_TEMP_CAL==1) in the Tx temperature compensation
tables;
* Fully rewrote the big comment before these rf_XXX structures to reflect
the current situation.
This change is part of the larger transition in FreeCalypso from reverse
to forward engineering, from reconstruction of lost original bits to
ongoing forward development and maintenance.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 17 Nov 2018 19:57:34 +0000 |
parents | c8bd5a927942 |
children |
line wrap: on
line source
/* +----------------------------------------------------------------------------- | Project : | Modul : +----------------------------------------------------------------------------- | Copyright 2002 Texas Instruments Berlin, AG | All rights reserved. | | This file is confidential and a trade secret of Texas | Instruments Berlin, AG | The receipt of or possession of this file does not convey | any rights to reproduce or disclose its contents or to | manufacture, use, or sell anything it may describe, in | whole, or in part, without the specific written consent of | Texas Instruments Berlin, AG. +----------------------------------------------------------------------------- | Purpose : Constants to determine the dimensions of the frame +----------------------------------------------------------------------------- */ #ifndef GPRSCONST_H #define GPRSCONST_H #include "chipset.cfg" #include "swconfig.cfg" #ifdef MAX_EVENT_GROUPS #undef MAX_EVENT_GROUPS #endif #if (CHIPSET==15) && (REMU==1) #if (LOCOSTO_LITE==1) #define MAX_REMU_SIMULTANEOUS_TIMER 15 #define MAX_REMU_ENTITIES 15 #define MAX_REMU_OS_TASKS 15 #define MAX_REMU_SEMAPHORES 15 #define MAX_REMU_EVENT_GROUPS 15 #else #define MAX_REMU_SIMULTANEOUS_TIMER 30 #define MAX_REMU_ENTITIES 30 #define MAX_REMU_OS_TASKS 30 #if (RELIANCE_FS==1) #if ((DATALIGHT_NOR==1) && (DATALIGHT_NAND==1)) #define MAX_REMU_SEMAPHORES 90 #else #define MAX_REMU_SEMAPHORES 75 #endif #else #define MAX_REMU_SEMAPHORES 55 #endif #define MAX_REMU_EVENT_GROUPS 30 #endif #define MAX_EVENT_GROUPS ( MAX_REMU_ENTITIES + 5 ) #else #define MAX_REMU_SIMULTANEOUS_TIMER 0 #define MAX_REMU_ENTITIES 0 #define MAX_REMU_OS_TASKS 0 #define MAX_REMU_SEMAPHORES 0 #define MAX_REMU_EVENT_GROUPS 0 #define MAX_EVENT_GROUPS 0 #endif #ifdef BTS /* BTU is included */ #ifdef BTT /* BTAV is included */ #ifdef FMS #define BT_ADAPTER_ADD_ENTITIES 9 #define BT_ADAPTER_ADD_OS_TASKS 9 #define BT_ADAPTER_ADD_SEMAPHORES 10 #else #define BT_ADAPTER_ADD_ENTITIES 8 #define BT_ADAPTER_ADD_OS_TASKS 8 #define BT_ADAPTER_ADD_SEMAPHORES 9 #endif #else #define BT_ADAPTER_ADD_ENTITIES 6 #define BT_ADAPTER_ADD_OS_TASKS 6 #define BT_ADAPTER_ADD_SEMAPHORES 2 #endif #else #define BT_ADAPTER_ADD_ENTITIES 3 #define BT_ADAPTER_ADD_OS_TASKS 3 #define BT_ADAPTER_ADD_SEMAPHORES 0 #endif /*==== CONSTANTS ============================================================*/ #define MAX_TIMER 231 #define MAX_SIMULTANEOUS_TIMER (50 + MAX_REMU_SIMULTANEOUS_TIMER) #ifdef FF_BAT /* with GDD_DIO entity */ #if(PSP_STANDALONE==0) #define MAX_ENTITIES (39 + MAX_REMU_ENTITIES + BT_ADAPTER_ADD_ENTITIES) #define MAX_OS_TASKS (33 + MAX_REMU_OS_TASKS + BT_ADAPTER_ADD_OS_TASKS) #else #define MAX_ENTITIES (2 + MAX_REMU_ENTITIES + 0) #define MAX_OS_TASKS (2 + MAX_REMU_OS_TASKS + 0) #endif #define MAX_SEMAPHORES (14+ MAX_REMU_SEMAPHORES + BT_ADAPTER_ADD_SEMAPHORES) #else #if(PSP_STANDALONE==0) #define MAX_ENTITIES (38 + MAX_REMU_ENTITIES + BT_ADAPTER_ADD_ENTITIES) #define MAX_OS_TASKS (32 + MAX_REMU_OS_TASKS + BT_ADAPTER_ADD_OS_TASKS) #else #define MAX_ENTITIES (2 + MAX_REMU_ENTITIES + 0) #define MAX_OS_TASKS (2 + MAX_REMU_OS_TASKS + 0) #endif #define MAX_SEMAPHORES (13 + MAX_REMU_SEMAPHORES + BT_ADAPTER_ADD_SEMAPHORES) #endif /* FF_BAT */ #define MAX_OSISRS 0 #define MAX_COMMUNICATIONS MAX_OS_TASKS #define MAX_POOL_GROUPS 7 #define MAX_MEMORY_POOLS 7 #endif /* GPRSCONST_H */