| #ifndef FEMTOBTS_H |
| #define FEMTOBTS_H |
| |
| #include <stdlib.h> |
| #include <osmocom/core/utils.h> |
| |
| #include <sysmocom/femtobts/superfemto.h> |
| #include <sysmocom/femtobts/gsml1const.h> |
| |
| #ifdef L1_HAS_RTP_MODE |
| /* This is temporarily disabled, as AMR has some bugs in RTP mode */ |
| //#define USE_L1_RTP_MODE /* Tell L1 to use RTP mode */ |
| #endif |
| |
| enum l1prim_type { |
| L1P_T_REQ, |
| L1P_T_CONF, |
| L1P_T_IND, |
| }; |
| |
| extern const enum l1prim_type femtobts_l1prim_type[GsmL1_PrimId_NUM]; |
| extern const struct value_string femtobts_l1prim_names[GsmL1_PrimId_NUM+1]; |
| extern const GsmL1_PrimId_t femtobts_l1prim_req2conf[GsmL1_PrimId_NUM]; |
| |
| extern const enum l1prim_type femtobts_sysprim_type[SuperFemto_PrimId_NUM]; |
| extern const struct value_string femtobts_sysprim_names[SuperFemto_PrimId_NUM+1]; |
| extern const SuperFemto_PrimId_t femtobts_sysprim_req2conf[SuperFemto_PrimId_NUM]; |
| |
| extern const struct value_string femtobts_l1sapi_names[GsmL1_Sapi_NUM+1]; |
| extern const struct value_string femtobts_l1status_names[GSML1_STATUS_NUM+1]; |
| |
| extern const struct value_string femtobts_tracef_names[29]; |
| |
| extern const struct value_string femtobts_tch_pl_names[15]; |
| |
| extern const struct value_string femtobts_dir_names[6]; |
| |
| enum pdch_cs { |
| PDCH_CS_1, |
| PDCH_CS_2, |
| PDCH_CS_3, |
| PDCH_CS_4, |
| PDCH_MCS_1, |
| PDCH_MCS_2, |
| PDCH_MCS_3, |
| PDCH_MCS_4, |
| PDCH_MCS_5, |
| PDCH_MCS_6, |
| PDCH_MCS_7, |
| PDCH_MCS_8, |
| PDCH_MCS_9, |
| _NUM_PDCH_CS |
| }; |
| |
| extern const uint8_t pdch_msu_size[_NUM_PDCH_CS]; |
| |
| #endif /* FEMTOBTS_H */ |