Commit 6416c6d4 authored by Raymond Knopp's avatar Raymond Knopp

minor changes to remove global variable in dci handling

parent 3fd24705
...@@ -57,8 +57,8 @@ ...@@ -57,8 +57,8 @@
static uint8_t d[3*(MAX_DCI_SIZE_BITS + 16) + 96]; //static uint8_t d[3*(MAX_DCI_SIZE_BITS + 16) + 96];
static uint8_t w[3*3*(MAX_DCI_SIZE_BITS+16)]; //static uint8_t w[3*3*(MAX_DCI_SIZE_BITS+16)];
void dci_encoding(uint8_t *a, void dci_encoding(uint8_t *a,
uint8_t A, uint8_t A,
...@@ -70,6 +70,8 @@ void dci_encoding(uint8_t *a, ...@@ -70,6 +70,8 @@ void dci_encoding(uint8_t *a,
uint8_t D = (A + 16); uint8_t D = (A + 16);
uint32_t RCC; uint32_t RCC;
uint8_t d[3*(MAX_DCI_SIZE_BITS + 16) + 96];
uint8_t w[3*3*(MAX_DCI_SIZE_BITS+16)];
#ifdef DEBUG_DCI_ENCODING #ifdef DEBUG_DCI_ENCODING
int32_t i; int32_t i;
...@@ -169,7 +171,7 @@ uint8_t *generate_dci0(uint8_t *dci, ...@@ -169,7 +171,7 @@ uint8_t *generate_dci0(uint8_t *dci,
return(e+coded_bits); return(e+coded_bits);
} }
uint32_t Y; //uint32_t Y;
......
...@@ -29,7 +29,9 @@ ...@@ -29,7 +29,9 @@
*/ */
#define RRC_ENB #define RRC_ENB
#define RRC_ENB_C #define RRC_ENB_C
#include <asn_application.h>
#include <asn_internal.h> /* for _ASN_DEFAULT_STACK_MAX */
#include <per_encoder.h>
#include "rrc_defs.h" #include "rrc_defs.h"
#include "rrc_extern.h" #include "rrc_extern.h"
#include "assertions.h" #include "assertions.h"
......
...@@ -1098,9 +1098,6 @@ int main( int argc, char **argv ) ...@@ -1098,9 +1098,6 @@ int main( int argc, char **argv )
printf("ITTI tasks created\n"); printf("ITTI tasks created\n");
#endif #endif
// init UE_PF_PO and mutex lock
pthread_mutex_init(&ue_pf_po_mutex, NULL);
memset (&UE_PF_PO[0][0], 0, sizeof(UE_PF_PO_t)*NUMBER_OF_UE_MAX*MAX_NUM_CCs);
mlockall(MCL_CURRENT | MCL_FUTURE); mlockall(MCL_CURRENT | MCL_FUTURE);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment