# HG changeset patch # User Michael Spacefalcon # Date 1411969886 0 # Node ID a7865809c863829d4046fa90a4921502ca62f552 # Parent a71671d8c2dba761db2e7346553b2dad50c6f152 alr_dedi.c compiles diff -r a71671d8c2db -r a7865809c863 gsm-fw/g23m-gsm/alr/Makefile --- a/gsm-fw/g23m-gsm/alr/Makefile Mon Sep 29 05:07:39 2014 +0000 +++ b/gsm-fw/g23m-gsm/alr/Makefile Mon Sep 29 05:51:26 2014 +0000 @@ -5,7 +5,7 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= alr_cbch.o alr_cs.o alr_csf.o +OBJS= alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o all: ${OBJS} diff -r a71671d8c2db -r a7865809c863 gsm-fw/g23m-gsm/alr/alr_dedi.c --- a/gsm-fw/g23m-gsm/alr/alr_dedi.c Mon Sep 29 05:07:39 2014 +0000 +++ b/gsm-fw/g23m-gsm/alr/alr_dedi.c Mon Sep 29 05:51:26 2014 +0000 @@ -21,6 +21,10 @@ #ifndef ALR_DEDI_C #define ALR_DEDI_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" + #define ENTITY_PL /*==== INCLUDES ===================================================*/ @@ -529,7 +533,7 @@ &alr_data->dedi_data.old_frequency_list, sizeof (T_frequency_list)); - /* + /* * convert channel numbers if needed */ if (dedi_conversion_needed ()) @@ -1604,8 +1608,6 @@ dedi_cyclically_repeat_kc ((UBYTE *)set_ciph->new_ciph_param.A, (UBYTE *)ciph_req->ciph.kc, KLEN); #endif - - alr_data->dedi_data.act_cipher_mode = set_ciph->cipher_mode; alr_data->dedi_data.act_a5_algorithm = set_ciph->a5_algorithm; memcpy (&alr_data->dedi_data.act_cipher_key, @@ -1807,9 +1809,9 @@ +--------------------------------------------------------------------+ PURPOSE : Fills a frequency list for layer 1. - Condatīs representation is a list of USHORT with + Condat's representation is a list of USHORT with 0xFFFF as delimiter. - TIīs representation is different from this. + TI's representation is different from this. */ @@ -1921,7 +1923,7 @@ +--------------------------------------------------------------------+ PURPOSE : The function converts the channel mode representation - from Condatīs notation (equal to GSM) to TIīs values. + from Condat's notation (equal to GSM) to TI's values. */