comparison gsm-fw/g23m-gsm/alr/alr_rach.c @ 684:e820049b5cf4

alr_rach.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 23:26:36 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
683:8e40f2974e4c 684:e820049b5cf4
18 +----------------------------------------------------------------------------- 18 +-----------------------------------------------------------------------------
19 */ 19 */
20 20
21 #ifndef ALR_RACH_C 21 #ifndef ALR_RACH_C
22 #define ALR_RACH_C 22 #define ALR_RACH_C
23
24 #include "config.h"
25 #include "fixedconf.h"
26 #include "condat-features.h"
23 27
24 #define ENTITY_PL 28 #define ENTITY_PL
25 29
26 /*==== INCLUDES ===================================================*/ 30 /*==== INCLUDES ===================================================*/
27 #include <string.h> 31 #include <string.h>
323 case BAND_GSM_900: 327 case BAND_GSM_900:
324 case BAND_E_GSM: 328 case BAND_E_GSM:
325 case BAND_GSM_850: 329 case BAND_GSM_850:
326 switch (alr_data->rach_data.ms_class) 330 switch (alr_data->rach_data.ms_class)
327 { 331 {
328 case POW_CLASS_1: /* doesn´t exist */ 332 case POW_CLASS_1: /* doesn't exist */
329 case POW_CLASS_2: /* power class 2, 8W, 39 dBm, level 0..2 */ 333 case POW_CLASS_2: /* power class 2, 8W, 39 dBm, level 0..2 */
330 /* highest level allowed => no cut necessary */ 334 /* highest level allowed => no cut necessary */
331 break; 335 break;
332 case POW_CLASS_3: /* power class 3, 5W, 37 dBm, level 3 */ 336 case POW_CLASS_3: /* power class 3, 5W, 37 dBm, level 3 */
333 if (new_power < 3) 337 if (new_power < 3)