mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 20:50:33 +00:00
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into next
This commit is contained in:
commit
622786aed1
@ -54,7 +54,8 @@ galileo_pcps_8ms_acquisition_cc::galileo_pcps_8ms_acquisition_cc(
|
|||||||
unsigned int sampled_ms, unsigned int max_dwells,
|
unsigned int sampled_ms, unsigned int max_dwells,
|
||||||
unsigned int doppler_max, long freq, long fs_in,
|
unsigned int doppler_max, long freq, long fs_in,
|
||||||
int samples_per_ms, int samples_per_code,
|
int samples_per_ms, int samples_per_code,
|
||||||
bool dump, std::string dump_filename) : gr::block("galileo_pcps_8ms_acquisition_cc",
|
bool dump,
|
||||||
|
std::string dump_filename) : gr::block("galileo_pcps_8ms_acquisition_cc",
|
||||||
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
||||||
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
||||||
{
|
{
|
||||||
|
@ -71,9 +71,7 @@ gps_pcps_acquisition_fpga_sc::gps_pcps_acquisition_fpga_sc(
|
|||||||
int samples_per_code, int vector_length, unsigned int nsamples_total,
|
int samples_per_code, int vector_length, unsigned int nsamples_total,
|
||||||
bool bit_transition_flag, bool use_CFAR_algorithm_flag,
|
bool bit_transition_flag, bool use_CFAR_algorithm_flag,
|
||||||
unsigned int select_queue_Fpga, std::string device_name, bool dump,
|
unsigned int select_queue_Fpga, std::string device_name, bool dump,
|
||||||
std::string dump_filename) :
|
std::string dump_filename) : gr::block("pcps_acquisition_fpga_sc",
|
||||||
|
|
||||||
gr::block("pcps_acquisition_fpga_sc",
|
|
||||||
gr::io_signature::make(0, 0, sizeof(lv_16sc_t)),
|
gr::io_signature::make(0, 0, sizeof(lv_16sc_t)),
|
||||||
gr::io_signature::make(0, 0, 0))
|
gr::io_signature::make(0, 0, 0))
|
||||||
{
|
{
|
||||||
|
@ -65,7 +65,8 @@ pcps_acquisition::pcps_acquisition(
|
|||||||
int samples_per_ms, int samples_per_code,
|
int samples_per_ms, int samples_per_code,
|
||||||
bool bit_transition_flag, bool use_CFAR_algorithm_flag,
|
bool bit_transition_flag, bool use_CFAR_algorithm_flag,
|
||||||
bool dump, bool blocking,
|
bool dump, bool blocking,
|
||||||
std::string dump_filename, size_t it_size) : gr::block("pcps_acquisition",
|
std::string dump_filename,
|
||||||
|
size_t it_size) : gr::block("pcps_acquisition",
|
||||||
gr::io_signature::make(1, 1, it_size * sampled_ms * samples_per_ms * (bit_transition_flag ? 2 : 1)),
|
gr::io_signature::make(1, 1, it_size * sampled_ms * samples_per_ms * (bit_transition_flag ? 2 : 1)),
|
||||||
gr::io_signature::make(0, 0, it_size * sampled_ms * samples_per_ms * (bit_transition_flag ? 2 : 1)))
|
gr::io_signature::make(0, 0, it_size * sampled_ms * samples_per_ms * (bit_transition_flag ? 2 : 1)))
|
||||||
{
|
{
|
||||||
|
@ -61,7 +61,8 @@ pcps_cccwsr_acquisition_cc::pcps_cccwsr_acquisition_cc(
|
|||||||
unsigned int sampled_ms, unsigned int max_dwells,
|
unsigned int sampled_ms, unsigned int max_dwells,
|
||||||
unsigned int doppler_max, long freq, long fs_in,
|
unsigned int doppler_max, long freq, long fs_in,
|
||||||
int samples_per_ms, int samples_per_code,
|
int samples_per_ms, int samples_per_code,
|
||||||
bool dump, std::string dump_filename) : gr::block("pcps_cccwsr_acquisition_cc",
|
bool dump,
|
||||||
|
std::string dump_filename) : gr::block("pcps_cccwsr_acquisition_cc",
|
||||||
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
||||||
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
||||||
{
|
{
|
||||||
|
@ -67,7 +67,8 @@ pcps_quicksync_acquisition_cc::pcps_quicksync_acquisition_cc(
|
|||||||
unsigned int doppler_max, long freq, long fs_in,
|
unsigned int doppler_max, long freq, long fs_in,
|
||||||
int samples_per_ms, int samples_per_code,
|
int samples_per_ms, int samples_per_code,
|
||||||
bool bit_transition_flag,
|
bool bit_transition_flag,
|
||||||
bool dump, std::string dump_filename) : gr::block("pcps_quicksync_acquisition_cc",
|
bool dump,
|
||||||
|
std::string dump_filename) : gr::block("pcps_quicksync_acquisition_cc",
|
||||||
gr::io_signature::make(1, 1, (sizeof(gr_complex) * sampled_ms * samples_per_ms)),
|
gr::io_signature::make(1, 1, (sizeof(gr_complex) * sampled_ms * samples_per_ms)),
|
||||||
gr::io_signature::make(0, 0, (sizeof(gr_complex) * sampled_ms * samples_per_ms)))
|
gr::io_signature::make(0, 0, (sizeof(gr_complex) * sampled_ms * samples_per_ms)))
|
||||||
{
|
{
|
||||||
|
@ -76,7 +76,8 @@ pcps_tong_acquisition_cc::pcps_tong_acquisition_cc(
|
|||||||
long freq, long fs_in, int samples_per_ms,
|
long freq, long fs_in, int samples_per_ms,
|
||||||
int samples_per_code, unsigned int tong_init_val,
|
int samples_per_code, unsigned int tong_init_val,
|
||||||
unsigned int tong_max_val, unsigned int tong_max_dwells,
|
unsigned int tong_max_val, unsigned int tong_max_dwells,
|
||||||
bool dump, std::string dump_filename) : gr::block("pcps_tong_acquisition_cc",
|
bool dump,
|
||||||
|
std::string dump_filename) : gr::block("pcps_tong_acquisition_cc",
|
||||||
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
gr::io_signature::make(1, 1, sizeof(gr_complex) * sampled_ms * samples_per_ms),
|
||||||
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
gr::io_signature::make(0, 0, sizeof(gr_complex) * sampled_ms * samples_per_ms))
|
||||||
{
|
{
|
||||||
|
@ -50,82 +50,83 @@
|
|||||||
#define __CLFFT_H
|
#define __CLFFT_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef __APPLE__
|
#ifdef __APPLE__
|
||||||
#include <OpenCL/opencl.h>
|
#include <OpenCL/opencl.h>
|
||||||
#else
|
#else
|
||||||
#include <CL/cl.h>
|
#include <CL/cl.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// XForm type
|
// XForm type
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
clFFT_Forward = -1,
|
clFFT_Forward = -1,
|
||||||
clFFT_Inverse = 1
|
clFFT_Inverse = 1
|
||||||
|
|
||||||
}clFFT_Direction;
|
} clFFT_Direction;
|
||||||
|
|
||||||
// XForm dimension
|
// XForm dimension
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
clFFT_1D = 0,
|
clFFT_1D = 0,
|
||||||
clFFT_2D = 1,
|
clFFT_2D = 1,
|
||||||
clFFT_3D = 3
|
clFFT_3D = 3
|
||||||
|
|
||||||
}clFFT_Dimension;
|
} clFFT_Dimension;
|
||||||
|
|
||||||
// XForm Data type
|
// XForm Data type
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
clFFT_SplitComplexFormat = 0,
|
clFFT_SplitComplexFormat = 0,
|
||||||
clFFT_InterleavedComplexFormat = 1
|
clFFT_InterleavedComplexFormat = 1
|
||||||
}clFFT_DataFormat;
|
} clFFT_DataFormat;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
unsigned int x;
|
unsigned int x;
|
||||||
unsigned int y;
|
unsigned int y;
|
||||||
unsigned int z;
|
unsigned int z;
|
||||||
}clFFT_Dim3;
|
} clFFT_Dim3;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
float *real;
|
float *real;
|
||||||
float *imag;
|
float *imag;
|
||||||
} clFFT_SplitComplex;
|
} clFFT_SplitComplex;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
float real;
|
float real;
|
||||||
float imag;
|
float imag;
|
||||||
}clFFT_Complex;
|
} clFFT_Complex;
|
||||||
|
|
||||||
typedef void* clFFT_Plan;
|
typedef void *clFFT_Plan;
|
||||||
|
|
||||||
clFFT_Plan clFFT_CreatePlan( cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_DataFormat dataFormat, cl_int *error_code );
|
clFFT_Plan clFFT_CreatePlan(cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_DataFormat dataFormat, cl_int *error_code);
|
||||||
|
|
||||||
void clFFT_DestroyPlan( clFFT_Plan plan );
|
void clFFT_DestroyPlan(clFFT_Plan plan);
|
||||||
|
|
||||||
cl_int clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan plan, cl_int batchSize, clFFT_Direction dir,
|
cl_int clFFT_ExecuteInterleaved(cl_command_queue queue, clFFT_Plan plan, cl_int batchSize, clFFT_Direction dir,
|
||||||
cl_mem data_in, cl_mem data_out,
|
cl_mem data_in, cl_mem data_out,
|
||||||
cl_int num_events, cl_event *event_list, cl_event *event );
|
cl_int num_events, cl_event *event_list, cl_event *event);
|
||||||
|
|
||||||
cl_int clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan plan, cl_int batchSize, clFFT_Direction dir,
|
cl_int clFFT_ExecutePlannar(cl_command_queue queue, clFFT_Plan plan, cl_int batchSize, clFFT_Direction dir,
|
||||||
cl_mem data_in_real, cl_mem data_in_imag, cl_mem data_out_real, cl_mem data_out_imag,
|
cl_mem data_in_real, cl_mem data_in_imag, cl_mem data_out_real, cl_mem data_out_imag,
|
||||||
cl_int num_events, cl_event *event_list, cl_event *event );
|
cl_int num_events, cl_event *event_list, cl_event *event);
|
||||||
|
|
||||||
cl_int clFFT_1DTwistInterleaved(clFFT_Plan Plan, cl_command_queue queue, cl_mem array,
|
cl_int clFFT_1DTwistInterleaved(clFFT_Plan Plan, cl_command_queue queue, cl_mem array,
|
||||||
size_t numRows, size_t numCols, size_t startRow, size_t rowsToProcess, clFFT_Direction dir);
|
size_t numRows, size_t numCols, size_t startRow, size_t rowsToProcess, clFFT_Direction dir);
|
||||||
|
|
||||||
|
|
||||||
cl_int clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real, cl_mem array_imag,
|
cl_int clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real, cl_mem array_imag,
|
||||||
size_t numRows, size_t numCols, size_t startRow, size_t rowsToProcess, clFFT_Direction dir);
|
size_t numRows, size_t numCols, size_t startRow, size_t rowsToProcess, clFFT_Direction dir);
|
||||||
|
|
||||||
void clFFT_DumpPlan( clFFT_Plan plan, FILE *file);
|
void clFFT_DumpPlan(clFFT_Plan plan, FILE *file);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -218,8 +218,7 @@ static string baseKernels = string(
|
|||||||
" fftKernel16((a), dir); \\\n"
|
" fftKernel16((a), dir); \\\n"
|
||||||
" fftKernel16((a) + 16, dir); \\\n"
|
" fftKernel16((a) + 16, dir); \\\n"
|
||||||
" bitreverse32((a)); \\\n"
|
" bitreverse32((a)); \\\n"
|
||||||
"}\n\n"
|
"}\n\n");
|
||||||
);
|
|
||||||
|
|
||||||
static string twistKernelInterleaved = string(
|
static string twistKernelInterleaved = string(
|
||||||
"__kernel void \\\n"
|
"__kernel void \\\n"
|
||||||
@ -243,8 +242,7 @@ static string twistKernelInterleaved = string(
|
|||||||
" startIndex += numCols; \\\n"
|
" startIndex += numCols; \\\n"
|
||||||
" } \\\n"
|
" } \\\n"
|
||||||
" } \\\n"
|
" } \\\n"
|
||||||
"} \\\n"
|
"} \\\n");
|
||||||
);
|
|
||||||
|
|
||||||
static string twistKernelPlannar = string(
|
static string twistKernelPlannar = string(
|
||||||
"__kernel void \\\n"
|
"__kernel void \\\n"
|
||||||
@ -269,9 +267,7 @@ static string twistKernelPlannar = string(
|
|||||||
" startIndex += numCols; \\\n"
|
" startIndex += numCols; \\\n"
|
||||||
" } \\\n"
|
" } \\\n"
|
||||||
" } \\\n"
|
" } \\\n"
|
||||||
"} \\\n"
|
"} \\\n");
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -52,19 +52,19 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
||||||
#define max(a,b) (((a)>(b)) ? (a) : (b))
|
#define max(a, b) (((a) > (b)) ? (a) : (b))
|
||||||
#define min(a,b) (((a)<(b)) ? (a) : (b))
|
#define min(a, b) (((a) < (b)) ? (a) : (b))
|
||||||
|
|
||||||
static cl_int
|
static cl_int
|
||||||
allocateTemporaryBufferInterleaved(cl_fft_plan *plan, cl_uint batchSize)
|
allocateTemporaryBufferInterleaved(cl_fft_plan *plan, cl_uint batchSize)
|
||||||
{
|
{
|
||||||
cl_int err = CL_SUCCESS;
|
cl_int err = CL_SUCCESS;
|
||||||
if(plan->temp_buffer_needed && plan->last_batch_size != batchSize)
|
if (plan->temp_buffer_needed && plan->last_batch_size != batchSize)
|
||||||
{
|
{
|
||||||
plan->last_batch_size = batchSize;
|
plan->last_batch_size = batchSize;
|
||||||
size_t tmpLength = plan->n.x * plan->n.y * plan->n.z * batchSize * 2 * sizeof(cl_float);
|
size_t tmpLength = plan->n.x * plan->n.y * plan->n.z * batchSize * 2 * sizeof(cl_float);
|
||||||
|
|
||||||
if(plan->tempmemobj)
|
if (plan->tempmemobj)
|
||||||
clReleaseMemObject(plan->tempmemobj);
|
clReleaseMemObject(plan->tempmemobj);
|
||||||
|
|
||||||
plan->tempmemobj = clCreateBuffer(plan->context, CL_MEM_READ_WRITE, tmpLength, NULL, &err);
|
plan->tempmemobj = clCreateBuffer(plan->context, CL_MEM_READ_WRITE, tmpLength, NULL, &err);
|
||||||
@ -77,15 +77,15 @@ allocateTemporaryBufferPlannar(cl_fft_plan *plan, cl_uint batchSize)
|
|||||||
{
|
{
|
||||||
cl_int err = CL_SUCCESS;
|
cl_int err = CL_SUCCESS;
|
||||||
cl_int terr;
|
cl_int terr;
|
||||||
if(plan->temp_buffer_needed && plan->last_batch_size != batchSize)
|
if (plan->temp_buffer_needed && plan->last_batch_size != batchSize)
|
||||||
{
|
{
|
||||||
plan->last_batch_size = batchSize;
|
plan->last_batch_size = batchSize;
|
||||||
size_t tmpLength = plan->n.x * plan->n.y * plan->n.z * batchSize * sizeof(cl_float);
|
size_t tmpLength = plan->n.x * plan->n.y * plan->n.z * batchSize * sizeof(cl_float);
|
||||||
|
|
||||||
if(plan->tempmemobj_real)
|
if (plan->tempmemobj_real)
|
||||||
clReleaseMemObject(plan->tempmemobj_real);
|
clReleaseMemObject(plan->tempmemobj_real);
|
||||||
|
|
||||||
if(plan->tempmemobj_imag)
|
if (plan->tempmemobj_imag)
|
||||||
clReleaseMemObject(plan->tempmemobj_imag);
|
clReleaseMemObject(plan->tempmemobj_imag);
|
||||||
|
|
||||||
plan->tempmemobj_real = clCreateBuffer(plan->context, CL_MEM_READ_WRITE, tmpLength, NULL, &err);
|
plan->tempmemobj_real = clCreateBuffer(plan->context, CL_MEM_READ_WRITE, tmpLength, NULL, &err);
|
||||||
@ -95,18 +95,17 @@ allocateTemporaryBufferPlannar(cl_fft_plan *plan, cl_uint batchSize)
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void getKernelWorkDimensions(cl_fft_plan *plan, cl_fft_kernel_info *kernelInfo, cl_int *batchSize, size_t *gWorkItems, size_t *lWorkItems)
|
||||||
getKernelWorkDimensions(cl_fft_plan *plan, cl_fft_kernel_info *kernelInfo, cl_int *batchSize, size_t *gWorkItems, size_t *lWorkItems)
|
|
||||||
{
|
{
|
||||||
*lWorkItems = kernelInfo->num_workitems_per_workgroup;
|
*lWorkItems = kernelInfo->num_workitems_per_workgroup;
|
||||||
int numWorkGroups = kernelInfo->num_workgroups;
|
int numWorkGroups = kernelInfo->num_workgroups;
|
||||||
int numXFormsPerWG = kernelInfo->num_xforms_per_workgroup;
|
int numXFormsPerWG = kernelInfo->num_xforms_per_workgroup;
|
||||||
|
|
||||||
switch(kernelInfo->dir)
|
switch (kernelInfo->dir)
|
||||||
{
|
{
|
||||||
case cl_fft_kernel_x:
|
case cl_fft_kernel_x:
|
||||||
*batchSize *= (plan->n.y * plan->n.z);
|
*batchSize *= (plan->n.y * plan->n.z);
|
||||||
numWorkGroups = (*batchSize % numXFormsPerWG) ? (*batchSize/numXFormsPerWG + 1) : (*batchSize/numXFormsPerWG);
|
numWorkGroups = (*batchSize % numXFormsPerWG) ? (*batchSize / numXFormsPerWG + 1) : (*batchSize / numXFormsPerWG);
|
||||||
numWorkGroups *= kernelInfo->num_workgroups;
|
numWorkGroups *= kernelInfo->num_workgroups;
|
||||||
break;
|
break;
|
||||||
case cl_fft_kernel_y:
|
case cl_fft_kernel_y:
|
||||||
@ -122,13 +121,13 @@ getKernelWorkDimensions(cl_fft_plan *plan, cl_fft_kernel_info *kernelInfo, cl_in
|
|||||||
}
|
}
|
||||||
|
|
||||||
cl_int
|
cl_int
|
||||||
clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize, clFFT_Direction dir,
|
clFFT_ExecuteInterleaved(cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize, clFFT_Direction dir,
|
||||||
cl_mem data_in, cl_mem data_out,
|
cl_mem data_in, cl_mem data_out,
|
||||||
cl_int num_events, cl_event *event_list, cl_event *event )
|
cl_int num_events, cl_event *event_list, cl_event *event)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
cl_fft_plan *plan = (cl_fft_plan *) Plan;
|
cl_fft_plan *plan = (cl_fft_plan *)Plan;
|
||||||
if(plan->format != clFFT_InterleavedComplexFormat)
|
if (plan->format != clFFT_InterleavedComplexFormat)
|
||||||
return CL_INVALID_VALUE;
|
return CL_INVALID_VALUE;
|
||||||
|
|
||||||
cl_int err;
|
cl_int err;
|
||||||
@ -137,7 +136,7 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
|
|
||||||
cl_int isInPlace = data_in == data_out ? 1 : 0;
|
cl_int isInPlace = data_in == data_out ? 1 : 0;
|
||||||
|
|
||||||
if((err = allocateTemporaryBufferInterleaved(plan, batchSize)) != CL_SUCCESS)
|
if ((err = allocateTemporaryBufferInterleaved(plan, batchSize)) != CL_SUCCESS)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
cl_mem memObj[3];
|
cl_mem memObj[3];
|
||||||
@ -152,10 +151,10 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
int currWrite = 1;
|
int currWrite = 1;
|
||||||
|
|
||||||
// at least one external dram shuffle (transpose) required
|
// at least one external dram shuffle (transpose) required
|
||||||
if(plan->temp_buffer_needed)
|
if (plan->temp_buffer_needed)
|
||||||
{
|
{
|
||||||
// in-place transform
|
// in-place transform
|
||||||
if(isInPlace)
|
if (isInPlace)
|
||||||
{
|
{
|
||||||
inPlaceDone = 0;
|
inPlaceDone = 0;
|
||||||
currRead = 1;
|
currRead = 1;
|
||||||
@ -166,9 +165,9 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
currWrite = (numKernels & 1) ? 1 : 2;
|
currWrite = (numKernels & 1) ? 1 : 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(kernelInfo)
|
while (kernelInfo)
|
||||||
{
|
{
|
||||||
if( isInPlace && numKernelsOdd && !inPlaceDone && kernelInfo->in_place_possible)
|
if (isInPlace && numKernelsOdd && !inPlaceDone && kernelInfo->in_place_possible)
|
||||||
{
|
{
|
||||||
currWrite = currRead;
|
currWrite = currRead;
|
||||||
inPlaceDone = 1;
|
inPlaceDone = 1;
|
||||||
@ -182,7 +181,7 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
err |= clSetKernelArg(kernelInfo->kernel, 3, sizeof(cl_int), &s);
|
err |= clSetKernelArg(kernelInfo->kernel, 3, sizeof(cl_int), &s);
|
||||||
|
|
||||||
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
currRead = (currWrite == 1) ? 1 : 2;
|
currRead = (currWrite == 1) ? 1 : 2;
|
||||||
@ -193,9 +192,9 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
}
|
}
|
||||||
// no dram shuffle (transpose required) transform
|
// no dram shuffle (transpose required) transform
|
||||||
// all kernels can execute in-place.
|
// all kernels can execute in-place.
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
while(kernelInfo)
|
while (kernelInfo)
|
||||||
{
|
{
|
||||||
s = batchSize;
|
s = batchSize;
|
||||||
getKernelWorkDimensions(plan, kernelInfo, &s, &gWorkItems, &lWorkItems);
|
getKernelWorkDimensions(plan, kernelInfo, &s, &gWorkItems, &lWorkItems);
|
||||||
@ -205,7 +204,7 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
err |= clSetKernelArg(kernelInfo->kernel, 3, sizeof(cl_int), &s);
|
err |= clSetKernelArg(kernelInfo->kernel, 3, sizeof(cl_int), &s);
|
||||||
|
|
||||||
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
currRead = 1;
|
currRead = 1;
|
||||||
@ -219,14 +218,14 @@ clFFT_ExecuteInterleaved( cl_command_queue queue, clFFT_Plan Plan, cl_int batchS
|
|||||||
}
|
}
|
||||||
|
|
||||||
cl_int
|
cl_int
|
||||||
clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize, clFFT_Direction dir,
|
clFFT_ExecutePlannar(cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize, clFFT_Direction dir,
|
||||||
cl_mem data_in_real, cl_mem data_in_imag, cl_mem data_out_real, cl_mem data_out_imag,
|
cl_mem data_in_real, cl_mem data_in_imag, cl_mem data_out_real, cl_mem data_out_imag,
|
||||||
cl_int num_events, cl_event *event_list, cl_event *event)
|
cl_int num_events, cl_event *event_list, cl_event *event)
|
||||||
{
|
{
|
||||||
int s;
|
int s;
|
||||||
cl_fft_plan *plan = (cl_fft_plan *) Plan;
|
cl_fft_plan *plan = (cl_fft_plan *)Plan;
|
||||||
|
|
||||||
if(plan->format != clFFT_SplitComplexFormat)
|
if (plan->format != clFFT_SplitComplexFormat)
|
||||||
return CL_INVALID_VALUE;
|
return CL_INVALID_VALUE;
|
||||||
|
|
||||||
cl_int err;
|
cl_int err;
|
||||||
@ -235,7 +234,7 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
|
|
||||||
cl_int isInPlace = ((data_in_real == data_out_real) && (data_in_imag == data_out_imag)) ? 1 : 0;
|
cl_int isInPlace = ((data_in_real == data_out_real) && (data_in_imag == data_out_imag)) ? 1 : 0;
|
||||||
|
|
||||||
if((err = allocateTemporaryBufferPlannar(plan, batchSize)) != CL_SUCCESS)
|
if ((err = allocateTemporaryBufferPlannar(plan, batchSize)) != CL_SUCCESS)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
cl_mem memObj_real[3];
|
cl_mem memObj_real[3];
|
||||||
@ -255,10 +254,10 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
int currWrite = 1;
|
int currWrite = 1;
|
||||||
|
|
||||||
// at least one external dram shuffle (transpose) required
|
// at least one external dram shuffle (transpose) required
|
||||||
if(plan->temp_buffer_needed)
|
if (plan->temp_buffer_needed)
|
||||||
{
|
{
|
||||||
// in-place transform
|
// in-place transform
|
||||||
if(isInPlace)
|
if (isInPlace)
|
||||||
{
|
{
|
||||||
inPlaceDone = 0;
|
inPlaceDone = 0;
|
||||||
currRead = 1;
|
currRead = 1;
|
||||||
@ -269,9 +268,9 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
currWrite = (numKernels & 1) ? 1 : 2;
|
currWrite = (numKernels & 1) ? 1 : 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
while(kernelInfo)
|
while (kernelInfo)
|
||||||
{
|
{
|
||||||
if( isInPlace && numKernelsOdd && !inPlaceDone && kernelInfo->in_place_possible)
|
if (isInPlace && numKernelsOdd && !inPlaceDone && kernelInfo->in_place_possible)
|
||||||
{
|
{
|
||||||
currWrite = currRead;
|
currWrite = currRead;
|
||||||
inPlaceDone = 1;
|
inPlaceDone = 1;
|
||||||
@ -287,7 +286,7 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
err |= clSetKernelArg(kernelInfo->kernel, 5, sizeof(cl_int), &s);
|
err |= clSetKernelArg(kernelInfo->kernel, 5, sizeof(cl_int), &s);
|
||||||
|
|
||||||
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
currRead = (currWrite == 1) ? 1 : 2;
|
currRead = (currWrite == 1) ? 1 : 2;
|
||||||
@ -297,9 +296,9 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// no dram shuffle (transpose required) transform
|
// no dram shuffle (transpose required) transform
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
while(kernelInfo)
|
while (kernelInfo)
|
||||||
{
|
{
|
||||||
s = batchSize;
|
s = batchSize;
|
||||||
getKernelWorkDimensions(plan, kernelInfo, &s, &gWorkItems, &lWorkItems);
|
getKernelWorkDimensions(plan, kernelInfo, &s, &gWorkItems, &lWorkItems);
|
||||||
@ -311,7 +310,7 @@ clFFT_ExecutePlannar( cl_command_queue queue, clFFT_Plan Plan, cl_int batchSize,
|
|||||||
err |= clSetKernelArg(kernelInfo->kernel, 5, sizeof(cl_int), &s);
|
err |= clSetKernelArg(kernelInfo->kernel, 5, sizeof(cl_int), &s);
|
||||||
|
|
||||||
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
err |= clEnqueueNDRangeKernel(queue, kernelInfo->kernel, 1, NULL, &gWorkItems, &lWorkItems, 0, NULL, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
currRead = 1;
|
currRead = 1;
|
||||||
@ -328,9 +327,9 @@ cl_int
|
|||||||
clFFT_1DTwistInterleaved(clFFT_Plan Plan, cl_command_queue queue, cl_mem array,
|
clFFT_1DTwistInterleaved(clFFT_Plan Plan, cl_command_queue queue, cl_mem array,
|
||||||
unsigned numRows, unsigned numCols, unsigned startRow, unsigned rowsToProcess, clFFT_Direction dir)
|
unsigned numRows, unsigned numCols, unsigned startRow, unsigned rowsToProcess, clFFT_Direction dir)
|
||||||
{
|
{
|
||||||
cl_fft_plan *plan = (cl_fft_plan *) Plan;
|
cl_fft_plan *plan = (cl_fft_plan *)Plan;
|
||||||
|
|
||||||
unsigned int N = numRows*numCols;
|
unsigned int N = numRows * numCols;
|
||||||
unsigned int nCols = numCols;
|
unsigned int nCols = numCols;
|
||||||
unsigned int sRow = startRow;
|
unsigned int sRow = startRow;
|
||||||
unsigned int rToProcess = rowsToProcess;
|
unsigned int rToProcess = rowsToProcess;
|
||||||
@ -339,17 +338,17 @@ clFFT_1DTwistInterleaved(clFFT_Plan Plan, cl_command_queue queue, cl_mem array,
|
|||||||
|
|
||||||
cl_device_id device_id;
|
cl_device_id device_id;
|
||||||
err = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE, sizeof(cl_device_id), &device_id, NULL);
|
err = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE, sizeof(cl_device_id), &device_id, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
size_t gSize;
|
size_t gSize;
|
||||||
err = clGetKernelWorkGroupInfo(plan->twist_kernel, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &gSize, NULL);
|
err = clGetKernelWorkGroupInfo(plan->twist_kernel, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &gSize, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
gSize = min(128, gSize);
|
gSize = min(128, gSize);
|
||||||
size_t numGlobalThreads[1] = { max(numCols / gSize, 1)*gSize };
|
size_t numGlobalThreads[1] = {max(numCols / gSize, 1) * gSize};
|
||||||
size_t numLocalThreads[1] = { gSize };
|
size_t numLocalThreads[1] = {gSize};
|
||||||
|
|
||||||
err |= clSetKernelArg(plan->twist_kernel, 0, sizeof(cl_mem), &array);
|
err |= clSetKernelArg(plan->twist_kernel, 0, sizeof(cl_mem), &array);
|
||||||
err |= clSetKernelArg(plan->twist_kernel, 1, sizeof(unsigned int), &sRow);
|
err |= clSetKernelArg(plan->twist_kernel, 1, sizeof(unsigned int), &sRow);
|
||||||
@ -367,9 +366,9 @@ cl_int
|
|||||||
clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real, cl_mem array_imag,
|
clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real, cl_mem array_imag,
|
||||||
unsigned numRows, unsigned numCols, unsigned startRow, unsigned rowsToProcess, clFFT_Direction dir)
|
unsigned numRows, unsigned numCols, unsigned startRow, unsigned rowsToProcess, clFFT_Direction dir)
|
||||||
{
|
{
|
||||||
cl_fft_plan *plan = (cl_fft_plan *) Plan;
|
cl_fft_plan *plan = (cl_fft_plan *)Plan;
|
||||||
|
|
||||||
unsigned int N = numRows*numCols;
|
unsigned int N = numRows * numCols;
|
||||||
unsigned int nCols = numCols;
|
unsigned int nCols = numCols;
|
||||||
unsigned int sRow = startRow;
|
unsigned int sRow = startRow;
|
||||||
unsigned int rToProcess = rowsToProcess;
|
unsigned int rToProcess = rowsToProcess;
|
||||||
@ -378,17 +377,17 @@ clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real,
|
|||||||
|
|
||||||
cl_device_id device_id;
|
cl_device_id device_id;
|
||||||
err = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE, sizeof(cl_device_id), &device_id, NULL);
|
err = clGetCommandQueueInfo(queue, CL_QUEUE_DEVICE, sizeof(cl_device_id), &device_id, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
size_t gSize;
|
size_t gSize;
|
||||||
err = clGetKernelWorkGroupInfo(plan->twist_kernel, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &gSize, NULL);
|
err = clGetKernelWorkGroupInfo(plan->twist_kernel, device_id, CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &gSize, NULL);
|
||||||
if(err)
|
if (err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
gSize = min(128, gSize);
|
gSize = min(128, gSize);
|
||||||
size_t numGlobalThreads[1] = { max(numCols / gSize, 1)*gSize };
|
size_t numGlobalThreads[1] = {max(numCols / gSize, 1) * gSize};
|
||||||
size_t numLocalThreads[1] = { gSize };
|
size_t numLocalThreads[1] = {gSize};
|
||||||
|
|
||||||
err |= clSetKernelArg(plan->twist_kernel, 0, sizeof(cl_mem), &array_real);
|
err |= clSetKernelArg(plan->twist_kernel, 0, sizeof(cl_mem), &array_real);
|
||||||
err |= clSetKernelArg(plan->twist_kernel, 1, sizeof(cl_mem), &array_imag);
|
err |= clSetKernelArg(plan->twist_kernel, 1, sizeof(cl_mem), &array_imag);
|
||||||
@ -402,4 +401,3 @@ clFFT_1DTwistPlannar(clFFT_Plan Plan, cl_command_queue queue, cl_mem array_real,
|
|||||||
|
|
||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ typedef enum kernel_dir_t
|
|||||||
cl_fft_kernel_x,
|
cl_fft_kernel_x,
|
||||||
cl_fft_kernel_y,
|
cl_fft_kernel_y,
|
||||||
cl_fft_kernel_z
|
cl_fft_kernel_z
|
||||||
}cl_fft_kernel_dir;
|
} cl_fft_kernel_dir;
|
||||||
|
|
||||||
typedef struct kernel_info_t
|
typedef struct kernel_info_t
|
||||||
{
|
{
|
||||||
@ -74,7 +74,7 @@ typedef struct kernel_info_t
|
|||||||
cl_fft_kernel_dir dir;
|
cl_fft_kernel_dir dir;
|
||||||
int in_place_possible;
|
int in_place_possible;
|
||||||
kernel_info_t *next;
|
kernel_info_t *next;
|
||||||
}cl_fft_kernel_info;
|
} cl_fft_kernel_info;
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
@ -156,7 +156,7 @@ typedef struct
|
|||||||
// transposes with appropriate padding to avoid bank conflicts to local memory
|
// transposes with appropriate padding to avoid bank conflicts to local memory
|
||||||
// e.g. on NVidia it is 16.
|
// e.g. on NVidia it is 16.
|
||||||
unsigned num_local_mem_banks;
|
unsigned num_local_mem_banks;
|
||||||
}cl_fft_plan;
|
} cl_fft_plan;
|
||||||
|
|
||||||
void FFT1D(cl_fft_plan *plan, cl_fft_kernel_dir dir);
|
void FFT1D(cl_fft_plan *plan, cl_fft_kernel_dir dir);
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -67,12 +67,12 @@ getBlockConfigAndKernelString(cl_fft_plan *plan)
|
|||||||
plan->temp_buffer_needed = 0;
|
plan->temp_buffer_needed = 0;
|
||||||
*plan->kernel_string += baseKernels;
|
*plan->kernel_string += baseKernels;
|
||||||
|
|
||||||
if(plan->format == clFFT_SplitComplexFormat)
|
if (plan->format == clFFT_SplitComplexFormat)
|
||||||
*plan->kernel_string += twistKernelPlannar;
|
*plan->kernel_string += twistKernelPlannar;
|
||||||
else
|
else
|
||||||
*plan->kernel_string += twistKernelInterleaved;
|
*plan->kernel_string += twistKernelInterleaved;
|
||||||
|
|
||||||
switch(plan->dim)
|
switch (plan->dim)
|
||||||
{
|
{
|
||||||
case clFFT_1D:
|
case clFFT_1D:
|
||||||
FFT1D(plan, cl_fft_kernel_x);
|
FFT1D(plan, cl_fft_kernel_x);
|
||||||
@ -95,7 +95,7 @@ getBlockConfigAndKernelString(cl_fft_plan *plan)
|
|||||||
|
|
||||||
plan->temp_buffer_needed = 0;
|
plan->temp_buffer_needed = 0;
|
||||||
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
||||||
while(kInfo)
|
while (kInfo)
|
||||||
{
|
{
|
||||||
plan->temp_buffer_needed |= !kInfo->in_place_possible;
|
plan->temp_buffer_needed |= !kInfo->in_place_possible;
|
||||||
kInfo = kInfo->next;
|
kInfo = kInfo->next;
|
||||||
@ -106,11 +106,11 @@ getBlockConfigAndKernelString(cl_fft_plan *plan)
|
|||||||
static void
|
static void
|
||||||
deleteKernelInfo(cl_fft_kernel_info *kInfo)
|
deleteKernelInfo(cl_fft_kernel_info *kInfo)
|
||||||
{
|
{
|
||||||
if(kInfo)
|
if (kInfo)
|
||||||
{
|
{
|
||||||
if(kInfo->kernel_name)
|
if (kInfo->kernel_name)
|
||||||
free(kInfo->kernel_name);
|
free(kInfo->kernel_name);
|
||||||
if(kInfo->kernel)
|
if (kInfo->kernel)
|
||||||
clReleaseKernel(kInfo->kernel);
|
clReleaseKernel(kInfo->kernel);
|
||||||
free(kInfo);
|
free(kInfo);
|
||||||
}
|
}
|
||||||
@ -121,7 +121,7 @@ destroy_plan(cl_fft_plan *Plan)
|
|||||||
{
|
{
|
||||||
cl_fft_kernel_info *kernel_info = Plan->kernel_info;
|
cl_fft_kernel_info *kernel_info = Plan->kernel_info;
|
||||||
|
|
||||||
while(kernel_info)
|
while (kernel_info)
|
||||||
{
|
{
|
||||||
cl_fft_kernel_info *tmp = kernel_info->next;
|
cl_fft_kernel_info *tmp = kernel_info->next;
|
||||||
deleteKernelInfo(kernel_info);
|
deleteKernelInfo(kernel_info);
|
||||||
@ -130,32 +130,32 @@ destroy_plan(cl_fft_plan *Plan)
|
|||||||
|
|
||||||
Plan->kernel_info = NULL;
|
Plan->kernel_info = NULL;
|
||||||
|
|
||||||
if(Plan->kernel_string)
|
if (Plan->kernel_string)
|
||||||
{
|
{
|
||||||
delete Plan->kernel_string;
|
delete Plan->kernel_string;
|
||||||
Plan->kernel_string = NULL;
|
Plan->kernel_string = NULL;
|
||||||
}
|
}
|
||||||
if(Plan->twist_kernel)
|
if (Plan->twist_kernel)
|
||||||
{
|
{
|
||||||
clReleaseKernel(Plan->twist_kernel);
|
clReleaseKernel(Plan->twist_kernel);
|
||||||
Plan->twist_kernel = NULL;
|
Plan->twist_kernel = NULL;
|
||||||
}
|
}
|
||||||
if(Plan->program)
|
if (Plan->program)
|
||||||
{
|
{
|
||||||
clReleaseProgram(Plan->program);
|
clReleaseProgram(Plan->program);
|
||||||
Plan->program = NULL;
|
Plan->program = NULL;
|
||||||
}
|
}
|
||||||
if(Plan->tempmemobj)
|
if (Plan->tempmemobj)
|
||||||
{
|
{
|
||||||
clReleaseMemObject(Plan->tempmemobj);
|
clReleaseMemObject(Plan->tempmemobj);
|
||||||
Plan->tempmemobj = NULL;
|
Plan->tempmemobj = NULL;
|
||||||
}
|
}
|
||||||
if(Plan->tempmemobj_real)
|
if (Plan->tempmemobj_real)
|
||||||
{
|
{
|
||||||
clReleaseMemObject(Plan->tempmemobj_real);
|
clReleaseMemObject(Plan->tempmemobj_real);
|
||||||
Plan->tempmemobj_real = NULL;
|
Plan->tempmemobj_real = NULL;
|
||||||
}
|
}
|
||||||
if(Plan->tempmemobj_imag)
|
if (Plan->tempmemobj_imag)
|
||||||
{
|
{
|
||||||
clReleaseMemObject(Plan->tempmemobj_imag);
|
clReleaseMemObject(Plan->tempmemobj_imag);
|
||||||
Plan->tempmemobj_imag = NULL;
|
Plan->tempmemobj_imag = NULL;
|
||||||
@ -169,20 +169,20 @@ createKernelList(cl_fft_plan *plan)
|
|||||||
cl_fft_kernel_info *kernel_info = plan->kernel_info;
|
cl_fft_kernel_info *kernel_info = plan->kernel_info;
|
||||||
|
|
||||||
cl_int err;
|
cl_int err;
|
||||||
while(kernel_info)
|
while (kernel_info)
|
||||||
{
|
{
|
||||||
kernel_info->kernel = clCreateKernel(program, kernel_info->kernel_name, &err);
|
kernel_info->kernel = clCreateKernel(program, kernel_info->kernel_name, &err);
|
||||||
if(!kernel_info->kernel || err != CL_SUCCESS)
|
if (!kernel_info->kernel || err != CL_SUCCESS)
|
||||||
return err;
|
return err;
|
||||||
kernel_info = kernel_info->next;
|
kernel_info = kernel_info->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(plan->format == clFFT_SplitComplexFormat)
|
if (plan->format == clFFT_SplitComplexFormat)
|
||||||
plan->twist_kernel = clCreateKernel(program, "clFFT_1DTwistSplit", &err);
|
plan->twist_kernel = clCreateKernel(program, "clFFT_1DTwistSplit", &err);
|
||||||
else
|
else
|
||||||
plan->twist_kernel = clCreateKernel(program, "clFFT_1DTwistInterleaved", &err);
|
plan->twist_kernel = clCreateKernel(program, "clFFT_1DTwistInterleaved", &err);
|
||||||
|
|
||||||
if(!plan->twist_kernel || err)
|
if (!plan->twist_kernel || err)
|
||||||
return err;
|
return err;
|
||||||
|
|
||||||
return CL_SUCCESS;
|
return CL_SUCCESS;
|
||||||
@ -196,19 +196,19 @@ int getMaxKernelWorkGroupSize(cl_fft_plan *plan, unsigned int *max_wg_size, unsi
|
|||||||
unsigned wg_size;
|
unsigned wg_size;
|
||||||
|
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for(i = 0; i < num_devices; i++)
|
for (i = 0; i < num_devices; i++)
|
||||||
{
|
{
|
||||||
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
||||||
while(kInfo)
|
while (kInfo)
|
||||||
{
|
{
|
||||||
err = clGetKernelWorkGroupInfo(kInfo->kernel, devices[i], CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &wg_size, NULL);
|
err = clGetKernelWorkGroupInfo(kInfo->kernel, devices[i], CL_KERNEL_WORK_GROUP_SIZE, sizeof(size_t), &wg_size, NULL);
|
||||||
if(err != CL_SUCCESS)
|
if (err != CL_SUCCESS)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
if(wg_size < kInfo->num_workitems_per_workgroup)
|
if (wg_size < kInfo->num_workitems_per_workgroup)
|
||||||
reg_needed |= 1;
|
reg_needed |= 1;
|
||||||
|
|
||||||
if(*max_wg_size > wg_size)
|
if (*max_wg_size > wg_size)
|
||||||
*max_wg_size = wg_size;
|
*max_wg_size = wg_size;
|
||||||
|
|
||||||
kInfo = kInfo->next;
|
kInfo = kInfo->next;
|
||||||
@ -218,18 +218,19 @@ int getMaxKernelWorkGroupSize(cl_fft_plan *plan, unsigned int *max_wg_size, unsi
|
|||||||
return reg_needed;
|
return reg_needed;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define ERR_MACRO(err) { \
|
#define ERR_MACRO(err) \
|
||||||
if( err != CL_SUCCESS) \
|
|
||||||
{ \
|
{ \
|
||||||
if(error_code) \
|
if (err != CL_SUCCESS) \
|
||||||
|
{ \
|
||||||
|
if (error_code) \
|
||||||
*error_code = err; \
|
*error_code = err; \
|
||||||
clFFT_DestroyPlan((clFFT_Plan) plan); \
|
clFFT_DestroyPlan((clFFT_Plan)plan); \
|
||||||
return (clFFT_Plan) NULL; \
|
return (clFFT_Plan)NULL; \
|
||||||
} \
|
} \
|
||||||
}
|
}
|
||||||
|
|
||||||
clFFT_Plan
|
clFFT_Plan
|
||||||
clFFT_CreatePlan(cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_DataFormat dataFormat, cl_int *error_code )
|
clFFT_CreatePlan(cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_DataFormat dataFormat, cl_int *error_code)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
cl_int err;
|
cl_int err;
|
||||||
@ -242,21 +243,21 @@ clFFT_CreatePlan(cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_Da
|
|||||||
size_t ret_size;
|
size_t ret_size;
|
||||||
cl_device_type device_type;
|
cl_device_type device_type;
|
||||||
|
|
||||||
if(!context)
|
if (!context)
|
||||||
ERR_MACRO(CL_INVALID_VALUE);
|
ERR_MACRO(CL_INVALID_VALUE);
|
||||||
|
|
||||||
isPow2 |= n.x && !( (n.x - 1) & n.x );
|
isPow2 |= n.x && !((n.x - 1) & n.x);
|
||||||
isPow2 |= n.y && !( (n.y - 1) & n.y );
|
isPow2 |= n.y && !((n.y - 1) & n.y);
|
||||||
isPow2 |= n.z && !( (n.z - 1) & n.z );
|
isPow2 |= n.z && !((n.z - 1) & n.z);
|
||||||
|
|
||||||
if(!isPow2)
|
if (!isPow2)
|
||||||
ERR_MACRO(CL_INVALID_VALUE);
|
ERR_MACRO(CL_INVALID_VALUE);
|
||||||
|
|
||||||
if( (dim == clFFT_1D && (n.y != 1 || n.z != 1)) || (dim == clFFT_2D && n.z != 1) )
|
if ((dim == clFFT_1D && (n.y != 1 || n.z != 1)) || (dim == clFFT_2D && n.z != 1))
|
||||||
ERR_MACRO(CL_INVALID_VALUE);
|
ERR_MACRO(CL_INVALID_VALUE);
|
||||||
|
|
||||||
plan = (cl_fft_plan *) malloc(sizeof(cl_fft_plan));
|
plan = (cl_fft_plan *)malloc(sizeof(cl_fft_plan));
|
||||||
if(!plan)
|
if (!plan)
|
||||||
ERR_MACRO(CL_OUT_OF_RESOURCES);
|
ERR_MACRO(CL_OUT_OF_RESOURCES);
|
||||||
|
|
||||||
plan->context = context;
|
plan->context = context;
|
||||||
@ -282,13 +283,13 @@ clFFT_CreatePlan(cl_context context, clFFT_Dim3 n, clFFT_Dimension dim, clFFT_Da
|
|||||||
patch_kernel_source:
|
patch_kernel_source:
|
||||||
|
|
||||||
plan->kernel_string = new string("");
|
plan->kernel_string = new string("");
|
||||||
if(!plan->kernel_string)
|
if (!plan->kernel_string)
|
||||||
ERR_MACRO(CL_OUT_OF_RESOURCES);
|
ERR_MACRO(CL_OUT_OF_RESOURCES);
|
||||||
|
|
||||||
getBlockConfigAndKernelString(plan);
|
getBlockConfigAndKernelString(plan);
|
||||||
|
|
||||||
const char *source_str = plan->kernel_string->c_str();
|
const char *source_str = plan->kernel_string->c_str();
|
||||||
plan->program = clCreateProgramWithSource(context, 1, (const char**) &source_str, NULL, &err);
|
plan->program = clCreateProgramWithSource(context, 1, (const char **)&source_str, NULL, &err);
|
||||||
ERR_MACRO(err);
|
ERR_MACRO(err);
|
||||||
|
|
||||||
err = clGetContextInfo(context, CL_CONTEXT_DEVICES, sizeof(devices), devices, &ret_size);
|
err = clGetContextInfo(context, CL_CONTEXT_DEVICES, sizeof(devices), devices, &ret_size);
|
||||||
@ -296,12 +297,12 @@ patch_kernel_source:
|
|||||||
|
|
||||||
num_devices = (int)(ret_size / sizeof(cl_device_id));
|
num_devices = (int)(ret_size / sizeof(cl_device_id));
|
||||||
|
|
||||||
for(i = 0; i < num_devices; i++)
|
for (i = 0; i < num_devices; i++)
|
||||||
{
|
{
|
||||||
err = clGetDeviceInfo(devices[i], CL_DEVICE_TYPE, sizeof(device_type), &device_type, NULL);
|
err = clGetDeviceInfo(devices[i], CL_DEVICE_TYPE, sizeof(device_type), &device_type, NULL);
|
||||||
ERR_MACRO(err);
|
ERR_MACRO(err);
|
||||||
|
|
||||||
if(device_type == CL_DEVICE_TYPE_GPU)
|
if (device_type == CL_DEVICE_TYPE_GPU)
|
||||||
{
|
{
|
||||||
gpu_found = 1;
|
gpu_found = 1;
|
||||||
err = clBuildProgram(plan->program, 1, &devices[i], "-cl-mad-enable", NULL, NULL);
|
err = clBuildProgram(plan->program, 1, &devices[i], "-cl-mad-enable", NULL, NULL);
|
||||||
@ -314,7 +315,7 @@ patch_kernel_source:
|
|||||||
err = clGetProgramBuildInfo(plan->program, devices[i], CL_PROGRAM_BUILD_LOG, 0, NULL, &log_size);
|
err = clGetProgramBuildInfo(plan->program, devices[i], CL_PROGRAM_BUILD_LOG, 0, NULL, &log_size);
|
||||||
ERR_MACRO(err);
|
ERR_MACRO(err);
|
||||||
|
|
||||||
build_log = (char *) malloc(log_size + 1);
|
build_log = (char *)malloc(log_size + 1);
|
||||||
|
|
||||||
err = clGetProgramBuildInfo(plan->program, devices[i], CL_PROGRAM_BUILD_LOG, log_size, build_log, NULL);
|
err = clGetProgramBuildInfo(plan->program, devices[i], CL_PROGRAM_BUILD_LOG, log_size, build_log, NULL);
|
||||||
ERR_MACRO(err);
|
ERR_MACRO(err);
|
||||||
@ -331,7 +332,7 @@ patch_kernel_source:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!gpu_found)
|
if (!gpu_found)
|
||||||
ERR_MACRO(CL_INVALID_CONTEXT);
|
ERR_MACRO(CL_INVALID_CONTEXT);
|
||||||
|
|
||||||
err = createKernelList(plan);
|
err = createKernelList(plan);
|
||||||
@ -342,12 +343,12 @@ patch_kernel_source:
|
|||||||
// setting this as limit i.e max group size and rebuild.
|
// setting this as limit i.e max group size and rebuild.
|
||||||
unsigned int max_kernel_wg_size;
|
unsigned int max_kernel_wg_size;
|
||||||
int patching_req = getMaxKernelWorkGroupSize(plan, &max_kernel_wg_size, num_devices, devices);
|
int patching_req = getMaxKernelWorkGroupSize(plan, &max_kernel_wg_size, num_devices, devices);
|
||||||
if(patching_req == -1)
|
if (patching_req == -1)
|
||||||
{
|
{
|
||||||
ERR_MACRO(err);
|
ERR_MACRO(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(patching_req)
|
if (patching_req)
|
||||||
{
|
{
|
||||||
destroy_plan(plan);
|
destroy_plan(plan);
|
||||||
plan->max_work_item_per_workgroup = max_kernel_wg_size;
|
plan->max_work_item_per_workgroup = max_kernel_wg_size;
|
||||||
@ -355,23 +356,22 @@ patch_kernel_source:
|
|||||||
}
|
}
|
||||||
|
|
||||||
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
||||||
while(kInfo)
|
while (kInfo)
|
||||||
{
|
{
|
||||||
plan->num_kernels++;
|
plan->num_kernels++;
|
||||||
kInfo = kInfo->next;
|
kInfo = kInfo->next;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(error_code)
|
if (error_code)
|
||||||
*error_code = CL_SUCCESS;
|
*error_code = CL_SUCCESS;
|
||||||
|
|
||||||
return (clFFT_Plan) plan;
|
return (clFFT_Plan)plan;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void clFFT_DestroyPlan(clFFT_Plan plan)
|
||||||
clFFT_DestroyPlan(clFFT_Plan plan)
|
|
||||||
{
|
{
|
||||||
cl_fft_plan *Plan = (cl_fft_plan *) plan;
|
cl_fft_plan *Plan = (cl_fft_plan *)plan;
|
||||||
if(Plan)
|
if (Plan)
|
||||||
{
|
{
|
||||||
destroy_plan(Plan);
|
destroy_plan(Plan);
|
||||||
clReleaseContext(Plan->context);
|
clReleaseContext(Plan->context);
|
||||||
@ -379,19 +379,19 @@ clFFT_DestroyPlan(clFFT_Plan plan)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void clFFT_DumpPlan( clFFT_Plan Plan, FILE *file)
|
void clFFT_DumpPlan(clFFT_Plan Plan, FILE *file)
|
||||||
{
|
{
|
||||||
size_t gDim, lDim;
|
size_t gDim, lDim;
|
||||||
FILE *out;
|
FILE *out;
|
||||||
if(!file)
|
if (!file)
|
||||||
out = stdout;
|
out = stdout;
|
||||||
else
|
else
|
||||||
out = file;
|
out = file;
|
||||||
|
|
||||||
cl_fft_plan *plan = (cl_fft_plan *) Plan;
|
cl_fft_plan *plan = (cl_fft_plan *)Plan;
|
||||||
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
cl_fft_kernel_info *kInfo = plan->kernel_info;
|
||||||
|
|
||||||
while(kInfo)
|
while (kInfo)
|
||||||
{
|
{
|
||||||
cl_int s = 1;
|
cl_int s = 1;
|
||||||
getKernelWorkDimensions(plan, kInfo, &s, &gDim, &lDim);
|
getKernelWorkDimensions(plan, kInfo, &s, &gDim, &lDim);
|
||||||
|
@ -253,11 +253,12 @@ const unsigned int tbl_CRC24Q[] = {
|
|||||||
0x42FA2F, 0xC4B6D4, 0xC82F22, 0x4E63D9, 0xD11CCE, 0x575035, 0x5BC9C3, 0xDD8538};
|
0x42FA2F, 0xC4B6D4, 0xC82F22, 0x4E63D9, 0xD11CCE, 0x575035, 0x5BC9C3, 0xDD8538};
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C"
|
||||||
void dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *);
|
{
|
||||||
extern void dgetrf_(int *, int *, double *, int *, int *, int *);
|
void dgemm_(char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *);
|
||||||
extern void dgetri_(int *, double *, int *, int *, double *, int *, int *);
|
extern void dgetrf_(int *, int *, double *, int *, int *, int *);
|
||||||
extern void dgetrs_(char *, int *, int *, double *, int *, int *, double *, int *, int *);
|
extern void dgetri_(int *, double *, int *, int *, double *, int *, int *);
|
||||||
|
extern void dgetrs_(char *, int *, int *, double *, int *, int *, double *, int *, int *);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
// enable inline functions for C code
|
// enable inline functions for C code
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
#ifndef __cplusplus
|
#ifndef __cplusplus
|
||||||
# define inline __inline
|
#define inline __inline
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
@ -23,12 +23,15 @@ typedef ptrdiff_t ssize_t;
|
|||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
#if _MSC_VER < 1800
|
#if _MSC_VER < 1800
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
static inline long lrint(double x){return (long)(x > 0.0 ? x + 0.5 : x - 0.5);}
|
static inline long lrint(double x)
|
||||||
static inline long lrintf(float x){return (long)(x > 0.0f ? x + 0.5f : x - 0.5f);}
|
{
|
||||||
static inline long long llrint(double x){return (long long)(x > 0.0 ? x + 0.5 : x - 0.5);}
|
return (long)(x > 0.0 ? x + 0.5 : x - 0.5);
|
||||||
static inline long long llrintf(float x){return (long long)(x > 0.0f ? x + 0.5f : x - 0.5f);}
|
}
|
||||||
static inline double rint(double x){return (x > 0.0)? floor(x + 0.5) : ceil(x - 0.5);}
|
static inline long lrintf(float x) { return (long)(x > 0.0f ? x + 0.5f : x - 0.5f); }
|
||||||
static inline float rintf(float x){return (x > 0.0f)? floorf(x + 0.5f) : ceilf(x - 0.5f);}
|
static inline long long llrint(double x) { return (long long)(x > 0.0 ? x + 0.5 : x - 0.5); }
|
||||||
|
static inline long long llrintf(float x) { return (long long)(x > 0.0f ? x + 0.5f : x - 0.5f); }
|
||||||
|
static inline double rint(double x) { return (x > 0.0) ? floor(x + 0.5) : ceil(x - 0.5); }
|
||||||
|
static inline float rintf(float x) { return (x > 0.0f) ? floorf(x + 0.5f) : ceilf(x - 0.5f); }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
@ -43,7 +46,10 @@ static inline float rintf(float x){return (x > 0.0f)? floorf(x + 0.5f) : ceilf(x
|
|||||||
// random and srandom
|
// random and srandom
|
||||||
////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
static inline long int random (void) { return rand(); }
|
static inline long int random(void)
|
||||||
static inline void srandom (unsigned int seed) { srand(seed); }
|
{
|
||||||
|
return rand();
|
||||||
|
}
|
||||||
|
static inline void srandom(unsigned int seed) { srand(seed); }
|
||||||
|
|
||||||
#endif // _MSC_CONFIG_H_ ]
|
#endif // _MSC_CONFIG_H_ ]
|
||||||
|
@ -35,15 +35,19 @@ struct volk_gnsssdr_machine *get_machine(void)
|
|||||||
extern unsigned int n_volk_gnsssdr_machines;
|
extern unsigned int n_volk_gnsssdr_machines;
|
||||||
static struct volk_gnsssdr_machine *machine = NULL;
|
static struct volk_gnsssdr_machine *machine = NULL;
|
||||||
|
|
||||||
if(machine != NULL)
|
if (machine != NULL)
|
||||||
return machine;
|
return machine;
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
unsigned int max_score = 0;
|
unsigned int max_score = 0;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
struct volk_gnsssdr_machine *max_machine = NULL;
|
struct volk_gnsssdr_machine *max_machine = NULL;
|
||||||
for(i=0; i<n_volk_gnsssdr_machines; i++) {
|
for (i = 0; i < n_volk_gnsssdr_machines; i++)
|
||||||
if(!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch()))) {
|
{
|
||||||
if(volk_gnsssdr_machines[i]->caps > max_score) {
|
if (!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch())))
|
||||||
|
{
|
||||||
|
if (volk_gnsssdr_machines[i]->caps > max_score)
|
||||||
|
{
|
||||||
max_score = volk_gnsssdr_machines[i]->caps;
|
max_score = volk_gnsssdr_machines[i]->caps;
|
||||||
max_machine = volk_gnsssdr_machines[i];
|
max_machine = volk_gnsssdr_machines[i];
|
||||||
}
|
}
|
||||||
@ -52,7 +56,7 @@ struct volk_gnsssdr_machine *get_machine(void)
|
|||||||
machine = max_machine;
|
machine = max_machine;
|
||||||
//printf("Using Volk machine: %s\n", machine->name);
|
//printf("Using Volk machine: %s\n", machine->name);
|
||||||
__alignment = machine->alignment;
|
__alignment = machine->alignment;
|
||||||
__alignment_mask = (intptr_t)(__alignment-1);
|
__alignment_mask = (intptr_t)(__alignment - 1);
|
||||||
return machine;
|
return machine;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -63,29 +67,35 @@ void volk_gnsssdr_list_machines(void)
|
|||||||
extern unsigned int n_volk_gnsssdr_machines;
|
extern unsigned int n_volk_gnsssdr_machines;
|
||||||
|
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
for(i=0; i<n_volk_gnsssdr_machines; i++) {
|
for (i = 0; i < n_volk_gnsssdr_machines; i++)
|
||||||
if(!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch()))) {
|
{
|
||||||
|
if (!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch())))
|
||||||
|
{
|
||||||
printf("%s;", volk_gnsssdr_machines[i]->name);
|
printf("%s;", volk_gnsssdr_machines[i]->name);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
printf("\n");
|
printf("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
const char* volk_gnsssdr_get_machine(void)
|
const char *volk_gnsssdr_get_machine(void)
|
||||||
{
|
{
|
||||||
extern struct volk_gnsssdr_machine *volk_gnsssdr_machines[];
|
extern struct volk_gnsssdr_machine *volk_gnsssdr_machines[];
|
||||||
extern unsigned int n_volk_gnsssdr_machines;
|
extern unsigned int n_volk_gnsssdr_machines;
|
||||||
static struct volk_gnsssdr_machine *machine = NULL;
|
static struct volk_gnsssdr_machine *machine = NULL;
|
||||||
|
|
||||||
if(machine != NULL)
|
if (machine != NULL)
|
||||||
return machine->name;
|
return machine->name;
|
||||||
else {
|
else
|
||||||
|
{
|
||||||
unsigned int max_score = 0;
|
unsigned int max_score = 0;
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
struct volk_gnsssdr_machine *max_machine = NULL;
|
struct volk_gnsssdr_machine *max_machine = NULL;
|
||||||
for(i=0; i<n_volk_gnsssdr_machines; i++) {
|
for (i = 0; i < n_volk_gnsssdr_machines; i++)
|
||||||
if(!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch()))) {
|
{
|
||||||
if(volk_gnsssdr_machines[i]->caps > max_score) {
|
if (!(volk_gnsssdr_machines[i]->caps & (~volk_gnsssdr_get_lvarch())))
|
||||||
|
{
|
||||||
|
if (volk_gnsssdr_machines[i]->caps > max_score)
|
||||||
|
{
|
||||||
max_score = volk_gnsssdr_machines[i]->caps;
|
max_score = volk_gnsssdr_machines[i]->caps;
|
||||||
max_machine = volk_gnsssdr_machines[i];
|
max_machine = volk_gnsssdr_machines[i];
|
||||||
}
|
}
|
||||||
@ -104,12 +114,14 @@ size_t volk_gnsssdr_get_alignment(void)
|
|||||||
|
|
||||||
bool volk_gnsssdr_is_aligned(const void *ptr)
|
bool volk_gnsssdr_is_aligned(const void *ptr)
|
||||||
{
|
{
|
||||||
return ((intptr_t)(ptr) & __alignment_mask) == 0;
|
return ((intptr_t)(ptr)&__alignment_mask) == 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define LV_HAVE_GENERIC
|
#define LV_HAVE_GENERIC
|
||||||
#define LV_HAVE_DISPATCHER
|
#define LV_HAVE_DISPATCHER
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
%for kern in kernels:
|
%for kern in kernels:
|
||||||
|
|
||||||
%if kern.has_dispatcher:
|
%if kern.has_dispatcher:
|
||||||
@ -190,6 +202,8 @@ void ${kern.name}_manual(${kern.arglist_full}, const char* impl_name)
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
volk_gnsssdr_func_desc_t ${kern.name}_get_func_desc(void) {
|
volk_gnsssdr_func_desc_t ${kern.name}_get_func_desc(void) {
|
||||||
const char **impl_names = get_machine()->${kern.name}_impl_names;
|
const char **impl_names = get_machine()->${kern.name}_impl_names;
|
||||||
const int *impl_deps = get_machine()->${kern.name}_impl_deps;
|
const int *impl_deps = get_machine()->${kern.name}_impl_deps;
|
||||||
@ -205,3 +219,5 @@ volk_gnsssdr_func_desc_t ${kern.name}_get_func_desc(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
%endfor
|
%endfor
|
||||||
|
|
||||||
|
// clang-format on
|
||||||
|
@ -42,7 +42,7 @@ typedef struct volk_gnsssdr_func_desc
|
|||||||
VOLK_API void volk_gnsssdr_list_machines(void);
|
VOLK_API void volk_gnsssdr_list_machines(void);
|
||||||
|
|
||||||
//! Returns the name of the machine this instance will use
|
//! Returns the name of the machine this instance will use
|
||||||
VOLK_API const char* volk_gnsssdr_get_machine(void);
|
VOLK_API const char *volk_gnsssdr_get_machine(void);
|
||||||
|
|
||||||
//! Get the machine alignment in bytes
|
//! Get the machine alignment in bytes
|
||||||
VOLK_API size_t volk_gnsssdr_get_alignment(void);
|
VOLK_API size_t volk_gnsssdr_get_alignment(void);
|
||||||
@ -73,6 +73,7 @@ VOLK_API bool volk_gnsssdr_is_aligned(const void *ptr);
|
|||||||
//! A function pointer to the dispatcher implementation
|
//! A function pointer to the dispatcher implementation
|
||||||
extern VOLK_API ${kern.pname} ${kern.name};
|
extern VOLK_API ${kern.pname} ${kern.name};
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
//! A function pointer to the fastest aligned implementation
|
//! A function pointer to the fastest aligned implementation
|
||||||
extern VOLK_API ${kern.pname} ${kern.name}_a;
|
extern VOLK_API ${kern.pname} ${kern.name}_a;
|
||||||
|
|
||||||
@ -85,6 +86,7 @@ extern VOLK_API void ${kern.name}_manual(${kern.arglist_full}, const char* impl_
|
|||||||
//! Get description parameters for this kernel
|
//! Get description parameters for this kernel
|
||||||
extern VOLK_API volk_gnsssdr_func_desc_t ${kern.name}_get_func_desc(void);
|
extern VOLK_API volk_gnsssdr_func_desc_t ${kern.name}_get_func_desc(void);
|
||||||
%endfor
|
%endfor
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
__VOLK_DECL_END
|
__VOLK_DECL_END
|
||||||
|
|
||||||
|
@ -19,10 +19,11 @@
|
|||||||
#ifndef INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED_H
|
#ifndef INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED_H
|
||||||
#define INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED_H
|
#define INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED_H
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
%for i, arch in enumerate(archs):
|
%for i, arch in enumerate(archs):
|
||||||
//#ifndef LV_${arch.name.upper()}
|
//#ifndef LV_${arch.name.upper()}
|
||||||
#define LV_${arch.name.upper()} ${i}
|
#define LV_${arch.name.upper()} ${i}
|
||||||
//#endif
|
//#endif
|
||||||
%endfor
|
%endfor
|
||||||
|
// clang-format on
|
||||||
#endif /*INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED*/
|
#endif /*INCLUDED_VOLK_GNSSSDR_CONFIG_FIXED*/
|
||||||
|
@ -24,50 +24,54 @@
|
|||||||
struct VOLK_CPU volk_gnsssdr_cpu;
|
struct VOLK_CPU volk_gnsssdr_cpu;
|
||||||
|
|
||||||
#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64)
|
#if defined(__i386__) || defined(__x86_64__) || defined(_M_IX86) || defined(_M_X64)
|
||||||
#define VOLK_CPU_x86
|
#define VOLK_CPU_x86
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
|
|
||||||
//implement get cpuid for gcc compilers using a system or local copy of cpuid.h
|
//implement get cpuid for gcc compilers using a system or local copy of cpuid.h
|
||||||
#if defined(__GNUC__)
|
#if defined(__GNUC__)
|
||||||
#include <cpuid.h>
|
#include <cpuid.h>
|
||||||
#define cpuid_x86(op, r) __get_cpuid(op, (unsigned int *)r+0, (unsigned int *)r+1, (unsigned int *)r+2, (unsigned int *)r+3)
|
#define cpuid_x86(op, r) __get_cpuid(op, (unsigned int *)r + 0, (unsigned int *)r + 1, (unsigned int *)r + 2, (unsigned int *)r + 3)
|
||||||
#define cpuid_x86_count(op, count, regs) __cpuid_count(op, count, *((unsigned int*)regs), *((unsigned int*)regs+1), *((unsigned int*)regs+2), *((unsigned int*)regs+3))
|
#define cpuid_x86_count(op, count, regs) __cpuid_count(op, count, *((unsigned int *)regs), *((unsigned int *)regs + 1), *((unsigned int *)regs + 2), *((unsigned int *)regs + 3))
|
||||||
|
|
||||||
/* Return Intel AVX extended CPU capabilities register.
|
/* Return Intel AVX extended CPU capabilities register.
|
||||||
* This function will bomb on non-AVX-capable machines, so
|
* This function will bomb on non-AVX-capable machines, so
|
||||||
* check for AVX capability before executing.
|
* check for AVX capability before executing.
|
||||||
*/
|
*/
|
||||||
#if ((__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 2) || (__clang_major__ >= 3)) && defined(HAVE_XGETBV)
|
#if ((__GNUC__ > 4 || __GNUC__ == 4 && __GNUC_MINOR__ >= 2) || (__clang_major__ >= 3)) && defined(HAVE_XGETBV)
|
||||||
static inline unsigned long long _xgetbv(unsigned int index){
|
static inline unsigned long long _xgetbv(unsigned int index)
|
||||||
|
{
|
||||||
unsigned int eax, edx;
|
unsigned int eax, edx;
|
||||||
__VOLK_ASM __VOLK_VOLATILE ("xgetbv" : "=a"(eax), "=d"(edx) : "c"(index));
|
__VOLK_ASM __VOLK_VOLATILE("xgetbv"
|
||||||
|
: "=a"(eax), "=d"(edx)
|
||||||
|
: "c"(index));
|
||||||
return ((unsigned long long)edx << 32) | eax;
|
return ((unsigned long long)edx << 32) | eax;
|
||||||
}
|
}
|
||||||
#define __xgetbv() _xgetbv(0)
|
#define __xgetbv() _xgetbv(0)
|
||||||
#else
|
#else
|
||||||
#define __xgetbv() 0
|
#define __xgetbv() 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
//implement get cpuid for MSVC compilers using __cpuid intrinsic
|
//implement get cpuid for MSVC compilers using __cpuid intrinsic
|
||||||
#elif defined(_MSC_VER) && defined(HAVE_INTRIN_H)
|
#elif defined(_MSC_VER) && defined(HAVE_INTRIN_H)
|
||||||
#include <intrin.h>
|
#include <intrin.h>
|
||||||
#define cpuid_x86(op, r) __cpuid(((int*)r), op)
|
#define cpuid_x86(op, r) __cpuid(((int *)r), op)
|
||||||
|
|
||||||
#if defined(_XCR_XFEATURE_ENABLED_MASK)
|
#if defined(_XCR_XFEATURE_ENABLED_MASK)
|
||||||
#define __xgetbv() _xgetbv(_XCR_XFEATURE_ENABLED_MASK)
|
#define __xgetbv() _xgetbv(_XCR_XFEATURE_ENABLED_MASK)
|
||||||
#else
|
#else
|
||||||
#define __xgetbv() 0
|
#define __xgetbv() 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#error "A get cpuid for volk_gnsssdr is not available on this compiler..."
|
#error "A get cpuid for volk_gnsssdr is not available on this compiler..."
|
||||||
#endif //defined(__GNUC__)
|
#endif //defined(__GNUC__)
|
||||||
|
|
||||||
#endif //defined(VOLK_CPU_x86)
|
#endif //defined(VOLK_CPU_x86)
|
||||||
|
|
||||||
static inline unsigned int cpuid_count_x86_bit(unsigned int level, unsigned int count, unsigned int reg, unsigned int bit) {
|
static inline unsigned int cpuid_count_x86_bit(unsigned int level, unsigned int count, unsigned int reg, unsigned int bit)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
unsigned int regs[4] = {0};
|
unsigned int regs[4] = {0};
|
||||||
cpuid_x86_count(level, count, regs);
|
cpuid_x86_count(level, count, regs);
|
||||||
@ -77,10 +81,11 @@ static inline unsigned int cpuid_count_x86_bit(unsigned int level, unsigned int
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned int cpuid_x86_bit(unsigned int reg, unsigned int op, unsigned int bit) {
|
static inline unsigned int cpuid_x86_bit(unsigned int reg, unsigned int op, unsigned int bit)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
unsigned int regs[4];
|
unsigned int regs[4];
|
||||||
memset(regs, 0, sizeof(unsigned int)*4);
|
memset(regs, 0, sizeof(unsigned int) * 4);
|
||||||
cpuid_x86(op, regs);
|
cpuid_x86(op, regs);
|
||||||
return regs[reg] >> bit & 0x01;
|
return regs[reg] >> bit & 0x01;
|
||||||
#else
|
#else
|
||||||
@ -88,10 +93,11 @@ static inline unsigned int cpuid_x86_bit(unsigned int reg, unsigned int op, unsi
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned int check_extended_cpuid(unsigned int val) {
|
static inline unsigned int check_extended_cpuid(unsigned int val)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
unsigned int regs[4];
|
unsigned int regs[4];
|
||||||
memset(regs, 0, sizeof(unsigned int)*4);
|
memset(regs, 0, sizeof(unsigned int) * 4);
|
||||||
cpuid_x86(0x80000000, regs);
|
cpuid_x86(0x80000000, regs);
|
||||||
return regs[0] >= val;
|
return regs[0] >= val;
|
||||||
#else
|
#else
|
||||||
@ -99,7 +105,8 @@ static inline unsigned int check_extended_cpuid(unsigned int val) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned int get_avx_enabled(void) {
|
static inline unsigned int get_avx_enabled(void)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
return __xgetbv() & 0x6;
|
return __xgetbv() & 0x6;
|
||||||
#else
|
#else
|
||||||
@ -107,7 +114,8 @@ static inline unsigned int get_avx_enabled(void) {
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unsigned int get_avx2_enabled(void) {
|
static inline unsigned int get_avx2_enabled(void)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_x86)
|
#if defined(VOLK_CPU_x86)
|
||||||
return __xgetbv() & 0x6;
|
return __xgetbv() & 0x6;
|
||||||
#else
|
#else
|
||||||
@ -117,26 +125,28 @@ static inline unsigned int get_avx2_enabled(void) {
|
|||||||
|
|
||||||
//neon detection is linux specific
|
//neon detection is linux specific
|
||||||
#if defined(__arm__) && defined(__linux__)
|
#if defined(__arm__) && defined(__linux__)
|
||||||
#include <asm/hwcap.h>
|
#include <asm/hwcap.h>
|
||||||
#include <linux/auxvec.h>
|
#include <linux/auxvec.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#define VOLK_CPU_ARM
|
#define VOLK_CPU_ARM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static int has_neon(void){
|
static int has_neon(void)
|
||||||
|
{
|
||||||
#if defined(VOLK_CPU_ARM)
|
#if defined(VOLK_CPU_ARM)
|
||||||
FILE *auxvec_f;
|
FILE *auxvec_f;
|
||||||
unsigned long auxvec[2];
|
unsigned long auxvec[2];
|
||||||
unsigned int found_neon = 0;
|
unsigned int found_neon = 0;
|
||||||
auxvec_f = fopen("/proc/self/auxv", "rb");
|
auxvec_f = fopen("/proc/self/auxv", "rb");
|
||||||
if(!auxvec_f) return 0;
|
if (!auxvec_f) return 0;
|
||||||
|
|
||||||
size_t r = 1;
|
size_t r = 1;
|
||||||
//so auxv is basically 32b of ID and 32b of value
|
//so auxv is basically 32b of ID and 32b of value
|
||||||
//so it goes like this
|
//so it goes like this
|
||||||
while(!found_neon && r) {
|
while (!found_neon && r)
|
||||||
|
{
|
||||||
r = fread(auxvec, sizeof(unsigned long), 2, auxvec_f);
|
r = fread(auxvec, sizeof(unsigned long), 2, auxvec_f);
|
||||||
if((auxvec[0] == AT_HWCAP) && (auxvec[1] & HWCAP_NEON))
|
if ((auxvec[0] == AT_HWCAP) && (auxvec[1] & HWCAP_NEON))
|
||||||
found_neon = 1;
|
found_neon = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -146,6 +156,7 @@ static int has_neon(void){
|
|||||||
return 0;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
%for arch in archs:
|
%for arch in archs:
|
||||||
static int i_can_has_${arch.name} (void) {
|
static int i_can_has_${arch.name} (void) {
|
||||||
@ -195,3 +206,4 @@ unsigned int volk_gnsssdr_get_lvarch() {
|
|||||||
%endfor
|
%endfor
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
// clang-format on
|
||||||
|
@ -23,16 +23,18 @@
|
|||||||
|
|
||||||
__VOLK_DECL_BEGIN
|
__VOLK_DECL_BEGIN
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
struct VOLK_CPU {
|
struct VOLK_CPU {
|
||||||
%for arch in archs:
|
%for arch in archs:
|
||||||
int (*has_${arch.name}) ();
|
int (*has_${arch.name}) ();
|
||||||
%endfor
|
%endfor
|
||||||
};
|
};
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
extern struct VOLK_CPU volk_gnsssdr_cpu;
|
extern struct VOLK_CPU volk_gnsssdr_cpu;
|
||||||
|
|
||||||
void volk_gnsssdr_cpu_init ();
|
void volk_gnsssdr_cpu_init();
|
||||||
unsigned int volk_gnsssdr_get_lvarch ();
|
unsigned int volk_gnsssdr_get_lvarch();
|
||||||
|
|
||||||
__VOLK_DECL_END
|
__VOLK_DECL_END
|
||||||
|
|
||||||
|
@ -16,6 +16,8 @@
|
|||||||
* along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
* along with GNSS-SDR. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
|
|
||||||
<% this_machine = machine_dict[args[0]] %>
|
<% this_machine = machine_dict[args[0]] %>
|
||||||
<% arch_names = this_machine.arch_names %>
|
<% arch_names = this_machine.arch_names %>
|
||||||
|
|
||||||
@ -31,6 +33,7 @@
|
|||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
%for kern in kernels:
|
%for kern in kernels:
|
||||||
#include <volk_gnsssdr/${kern.name}.h>
|
#include <volk_gnsssdr/${kern.name}.h>
|
||||||
%endfor
|
%endfor
|
||||||
@ -56,3 +59,4 @@ struct volk_gnsssdr_machine volk_gnsssdr_machine_${this_machine.name} = {
|
|||||||
<% len_impls = len(impls) %> ${len_impls},
|
<% len_impls = len(impls) %> ${len_impls},
|
||||||
%endfor
|
%endfor
|
||||||
};
|
};
|
||||||
|
// clang-format on
|
||||||
|
@ -20,6 +20,7 @@
|
|||||||
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
|
#include <volk_gnsssdr/volk_gnsssdr_typedefs.h>
|
||||||
#include "volk_gnsssdr_machines.h"
|
#include "volk_gnsssdr_machines.h"
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
struct volk_gnsssdr_machine *volk_gnsssdr_machines[] = {
|
struct volk_gnsssdr_machine *volk_gnsssdr_machines[] = {
|
||||||
%for machine in machines:
|
%for machine in machines:
|
||||||
#ifdef LV_MACHINE_${machine.name.upper()}
|
#ifdef LV_MACHINE_${machine.name.upper()}
|
||||||
@ -27,5 +28,5 @@ struct volk_gnsssdr_machine *volk_gnsssdr_machines[] = {
|
|||||||
#endif
|
#endif
|
||||||
%endfor
|
%endfor
|
||||||
};
|
};
|
||||||
|
// clang-format on
|
||||||
unsigned int n_volk_gnsssdr_machines = sizeof(volk_gnsssdr_machines)/sizeof(*volk_gnsssdr_machines);
|
unsigned int n_volk_gnsssdr_machines = sizeof(volk_gnsssdr_machines) / sizeof(*volk_gnsssdr_machines);
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
|
|
||||||
__VOLK_DECL_BEGIN
|
__VOLK_DECL_BEGIN
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
struct volk_gnsssdr_machine {
|
struct volk_gnsssdr_machine {
|
||||||
const unsigned int caps; //capabilities (i.e., archs compiled into this machine, in the volk_gnsssdr_get_lvarch format)
|
const unsigned int caps; //capabilities (i.e., archs compiled into this machine, in the volk_gnsssdr_get_lvarch format)
|
||||||
const char *name;
|
const char *name;
|
||||||
@ -48,5 +49,6 @@ extern struct volk_gnsssdr_machine volk_gnsssdr_machine_${machine.name};
|
|||||||
%endfor
|
%endfor
|
||||||
|
|
||||||
__VOLK_DECL_END
|
__VOLK_DECL_END
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
#endif //INCLUDED_LIBVOLK_GNSSSDR_MACHINES_H
|
#endif //INCLUDED_LIBVOLK_GNSSSDR_MACHINES_H
|
||||||
|
@ -22,8 +22,10 @@
|
|||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <volk_gnsssdr/volk_gnsssdr_complex.h>
|
#include <volk_gnsssdr/volk_gnsssdr_complex.h>
|
||||||
|
|
||||||
|
// clang-format off
|
||||||
%for kern in kernels:
|
%for kern in kernels:
|
||||||
typedef void (*${kern.pname})(${kern.arglist_types});
|
typedef void (*${kern.pname})(${kern.arglist_types});
|
||||||
%endfor
|
%endfor
|
||||||
|
// clang-format on
|
||||||
|
|
||||||
#endif /*INCLUDED_VOLK_GNSSSDR_TYPEDEFS*/
|
#endif /*INCLUDED_VOLK_GNSSSDR_TYPEDEFS*/
|
||||||
|
@ -45,7 +45,8 @@
|
|||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
|
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#include "cnav_msg.h"
|
#include "cnav_msg.h"
|
||||||
#include "edc.h"
|
#include "edc.h"
|
||||||
#include "bits.h"
|
#include "bits.h"
|
||||||
|
@ -42,7 +42,8 @@
|
|||||||
#include <utility>
|
#include <utility>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#include "cnav_msg.h"
|
#include "cnav_msg.h"
|
||||||
#include "edc.h"
|
#include "edc.h"
|
||||||
#include "bits.h"
|
#include "bits.h"
|
||||||
|
@ -34,7 +34,8 @@
|
|||||||
#ifndef GNSS_SDR_SUPL_CLIENT_H_
|
#ifndef GNSS_SDR_SUPL_CLIENT_H_
|
||||||
#define GNSS_SDR_SUPL_CLIENT_H_
|
#define GNSS_SDR_SUPL_CLIENT_H_
|
||||||
|
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#include "supl.h"
|
#include "supl.h"
|
||||||
}
|
}
|
||||||
#include "GPS_L1_CA.h"
|
#include "GPS_L1_CA.h"
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Accuracy */
|
/* Accuracy */
|
||||||
typedef long Accuracy_t;
|
typedef long Accuracy_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_Accuracy;
|
extern asn_TYPE_descriptor_t asn_DEF_Accuracy;
|
||||||
asn_struct_free_f Accuracy_free;
|
asn_struct_free_f Accuracy_free;
|
||||||
asn_struct_print_f Accuracy_print;
|
asn_struct_print_f Accuracy_print;
|
||||||
asn_constr_check_f Accuracy_constraint;
|
asn_constr_check_f Accuracy_constraint;
|
||||||
ber_type_decoder_f Accuracy_decode_ber;
|
ber_type_decoder_f Accuracy_decode_ber;
|
||||||
der_type_encoder_f Accuracy_encode_der;
|
der_type_encoder_f Accuracy_encode_der;
|
||||||
xer_type_decoder_f Accuracy_decode_xer;
|
xer_type_decoder_f Accuracy_decode_xer;
|
||||||
xer_type_encoder_f Accuracy_encode_xer;
|
xer_type_encoder_f Accuracy_encode_xer;
|
||||||
per_type_decoder_f Accuracy_decode_uper;
|
per_type_decoder_f Accuracy_decode_uper;
|
||||||
per_type_encoder_f Accuracy_encode_uper;
|
per_type_encoder_f Accuracy_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AccuracyOpt */
|
/* AccuracyOpt */
|
||||||
typedef struct AccuracyOpt
|
typedef struct AccuracyOpt
|
||||||
{
|
{
|
||||||
Accuracy_t *accuracy /* OPTIONAL */;
|
Accuracy_t *accuracy /* OPTIONAL */;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AccuracyOpt_t;
|
} AccuracyOpt_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AccuracyOpt;
|
extern asn_TYPE_descriptor_t asn_DEF_AccuracyOpt;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AcquisAssist */
|
/* AcquisAssist */
|
||||||
typedef struct AcquisAssist
|
typedef struct AcquisAssist
|
||||||
{
|
{
|
||||||
TimeRelation_t timeRelation;
|
TimeRelation_t timeRelation;
|
||||||
SeqOfAcquisElement_t acquisList;
|
SeqOfAcquisElement_t acquisList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AcquisAssist_t;
|
} AcquisAssist_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AcquisAssist;
|
extern asn_TYPE_descriptor_t asn_DEF_AcquisAssist;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,16 +16,17 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct AddionalDopplerFields;
|
struct AddionalDopplerFields;
|
||||||
struct AddionalAngleFields;
|
struct AddionalAngleFields;
|
||||||
|
|
||||||
/* AcquisElement */
|
/* AcquisElement */
|
||||||
typedef struct AcquisElement
|
typedef struct AcquisElement
|
||||||
{
|
{
|
||||||
SatelliteID_t svid;
|
SatelliteID_t svid;
|
||||||
long doppler0;
|
long doppler0;
|
||||||
struct AddionalDopplerFields *addionalDoppler /* OPTIONAL */;
|
struct AddionalDopplerFields *addionalDoppler /* OPTIONAL */;
|
||||||
@ -37,10 +38,10 @@ typedef struct AcquisElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AcquisElement_t;
|
} AcquisElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AcquisElement;
|
extern asn_TYPE_descriptor_t asn_DEF_AcquisElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AddionalAngleFields */
|
/* AddionalAngleFields */
|
||||||
typedef struct AddionalAngleFields
|
typedef struct AddionalAngleFields
|
||||||
{
|
{
|
||||||
long azimuth;
|
long azimuth;
|
||||||
long elevation;
|
long elevation;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AddionalAngleFields_t;
|
} AddionalAngleFields_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AddionalAngleFields;
|
extern asn_TYPE_descriptor_t asn_DEF_AddionalAngleFields;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AddionalDopplerFields */
|
/* AddionalDopplerFields */
|
||||||
typedef struct AddionalDopplerFields
|
typedef struct AddionalDopplerFields
|
||||||
{
|
{
|
||||||
long doppler1;
|
long doppler1;
|
||||||
long dopplerUncertainty;
|
long dopplerUncertainty;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AddionalDopplerFields_t;
|
} AddionalDopplerFields_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AddionalDopplerFields;
|
extern asn_TYPE_descriptor_t asn_DEF_AddionalDopplerFields;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AdditionalAssistanceData */
|
/* AdditionalAssistanceData */
|
||||||
typedef struct AdditionalAssistanceData
|
typedef struct AdditionalAssistanceData
|
||||||
{
|
{
|
||||||
GPSAssistanceData_t *gpsAssistanceData /* OPTIONAL */;
|
GPSAssistanceData_t *gpsAssistanceData /* OPTIONAL */;
|
||||||
ExtensionContainer_t *extensionContainer /* OPTIONAL */;
|
ExtensionContainer_t *extensionContainer /* OPTIONAL */;
|
||||||
/*
|
/*
|
||||||
@ -33,10 +34,10 @@ typedef struct AdditionalAssistanceData
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AdditionalAssistanceData_t;
|
} AdditionalAssistanceData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AdditionalAssistanceData;
|
extern asn_TYPE_descriptor_t asn_DEF_AdditionalAssistanceData;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AdditionalDopplerFields */
|
/* AdditionalDopplerFields */
|
||||||
typedef struct AdditionalDopplerFields
|
typedef struct AdditionalDopplerFields
|
||||||
{
|
{
|
||||||
long doppler1;
|
long doppler1;
|
||||||
long dopplerUncertainty;
|
long dopplerUncertainty;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AdditionalDopplerFields_t;
|
} AdditionalDopplerFields_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AdditionalDopplerFields;
|
extern asn_TYPE_descriptor_t asn_DEF_AdditionalDopplerFields;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AlertFlag */
|
/* AlertFlag */
|
||||||
typedef long AlertFlag_t;
|
typedef long AlertFlag_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AlertFlag;
|
extern asn_TYPE_descriptor_t asn_DEF_AlertFlag;
|
||||||
asn_struct_free_f AlertFlag_free;
|
asn_struct_free_f AlertFlag_free;
|
||||||
asn_struct_print_f AlertFlag_print;
|
asn_struct_print_f AlertFlag_print;
|
||||||
asn_constr_check_f AlertFlag_constraint;
|
asn_constr_check_f AlertFlag_constraint;
|
||||||
ber_type_decoder_f AlertFlag_decode_ber;
|
ber_type_decoder_f AlertFlag_decode_ber;
|
||||||
der_type_encoder_f AlertFlag_encode_der;
|
der_type_encoder_f AlertFlag_encode_der;
|
||||||
xer_type_decoder_f AlertFlag_decode_xer;
|
xer_type_decoder_f AlertFlag_decode_xer;
|
||||||
xer_type_encoder_f AlertFlag_encode_xer;
|
xer_type_encoder_f AlertFlag_encode_xer;
|
||||||
per_type_decoder_f AlertFlag_decode_uper;
|
per_type_decoder_f AlertFlag_decode_uper;
|
||||||
per_type_encoder_f AlertFlag_encode_uper;
|
per_type_encoder_f AlertFlag_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Almanac-KeplerianSet */
|
/* Almanac-KeplerianSet */
|
||||||
typedef struct Almanac_KeplerianSet
|
typedef struct Almanac_KeplerianSet
|
||||||
{
|
{
|
||||||
long kepAlmanacE;
|
long kepAlmanacE;
|
||||||
long kepAlmanacDeltaI;
|
long kepAlmanacDeltaI;
|
||||||
long kepAlmanacOmegaDot;
|
long kepAlmanacOmegaDot;
|
||||||
@ -34,10 +35,10 @@ typedef struct Almanac_KeplerianSet
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} Almanac_KeplerianSet_t;
|
} Almanac_KeplerianSet_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_Almanac_KeplerianSet;
|
extern asn_TYPE_descriptor_t asn_DEF_Almanac_KeplerianSet;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Almanac */
|
/* Almanac */
|
||||||
typedef struct Almanac
|
typedef struct Almanac
|
||||||
{
|
{
|
||||||
long alamanacWNa;
|
long alamanacWNa;
|
||||||
SeqOfAlmanacElement_t almanacList;
|
SeqOfAlmanacElement_t almanacList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} Almanac_t;
|
} Almanac_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_Almanac;
|
extern asn_TYPE_descriptor_t asn_DEF_Almanac;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,12 +16,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AlmanacElement */
|
/* AlmanacElement */
|
||||||
typedef struct AlmanacElement
|
typedef struct AlmanacElement
|
||||||
{
|
{
|
||||||
SatelliteID_t satelliteID;
|
SatelliteID_t satelliteID;
|
||||||
long almanacE;
|
long almanacE;
|
||||||
long alamanacToa;
|
long alamanacToa;
|
||||||
@ -37,10 +38,10 @@ typedef struct AlmanacElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AlmanacElement_t;
|
} AlmanacElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AlmanacElement;
|
extern asn_TYPE_descriptor_t asn_DEF_AlmanacElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AntiSpoofFlag */
|
/* AntiSpoofFlag */
|
||||||
typedef long AntiSpoofFlag_t;
|
typedef long AntiSpoofFlag_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AntiSpoofFlag;
|
extern asn_TYPE_descriptor_t asn_DEF_AntiSpoofFlag;
|
||||||
asn_struct_free_f AntiSpoofFlag_free;
|
asn_struct_free_f AntiSpoofFlag_free;
|
||||||
asn_struct_print_f AntiSpoofFlag_print;
|
asn_struct_print_f AntiSpoofFlag_print;
|
||||||
asn_constr_check_f AntiSpoofFlag_constraint;
|
asn_constr_check_f AntiSpoofFlag_constraint;
|
||||||
ber_type_decoder_f AntiSpoofFlag_decode_ber;
|
ber_type_decoder_f AntiSpoofFlag_decode_ber;
|
||||||
der_type_encoder_f AntiSpoofFlag_encode_der;
|
der_type_encoder_f AntiSpoofFlag_encode_der;
|
||||||
xer_type_decoder_f AntiSpoofFlag_decode_xer;
|
xer_type_decoder_f AntiSpoofFlag_decode_xer;
|
||||||
xer_type_encoder_f AntiSpoofFlag_encode_xer;
|
xer_type_encoder_f AntiSpoofFlag_encode_xer;
|
||||||
per_type_decoder_f AntiSpoofFlag_decode_uper;
|
per_type_decoder_f AntiSpoofFlag_decode_uper;
|
||||||
per_type_encoder_f AntiSpoofFlag_encode_uper;
|
per_type_encoder_f AntiSpoofFlag_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* AssistBTSData-R98-ExpOTD */
|
/* AssistBTSData-R98-ExpOTD */
|
||||||
typedef struct AssistBTSData_R98_ExpOTD
|
typedef struct AssistBTSData_R98_ExpOTD
|
||||||
{
|
{
|
||||||
ExpectedOTD_t expectedOTD;
|
ExpectedOTD_t expectedOTD;
|
||||||
ExpOTDUncertainty_t expOTDuncertainty;
|
ExpOTDUncertainty_t expOTDuncertainty;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AssistBTSData_R98_ExpOTD_t;
|
} AssistBTSData_R98_ExpOTD_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData_R98_ExpOTD;
|
extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData_R98_ExpOTD;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -18,15 +18,16 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct CalcAssistanceBTS;
|
struct CalcAssistanceBTS;
|
||||||
|
|
||||||
/* AssistBTSData */
|
/* AssistBTSData */
|
||||||
typedef struct AssistBTSData
|
typedef struct AssistBTSData
|
||||||
{
|
{
|
||||||
BSIC_t bsic;
|
BSIC_t bsic;
|
||||||
MultiFrameOffset_t multiFrameOffset;
|
MultiFrameOffset_t multiFrameOffset;
|
||||||
TimeSlotScheme_t timeSlotScheme;
|
TimeSlotScheme_t timeSlotScheme;
|
||||||
@ -35,10 +36,10 @@ typedef struct AssistBTSData
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AssistBTSData_t;
|
} AssistBTSData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData;
|
extern asn_TYPE_descriptor_t asn_DEF_AssistBTSData;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,20 +16,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct ReferenceAssistData;
|
struct ReferenceAssistData;
|
||||||
struct MsrAssistData;
|
struct MsrAssistData;
|
||||||
struct SystemInfoAssistData;
|
struct SystemInfoAssistData;
|
||||||
struct GPS_AssistData;
|
struct GPS_AssistData;
|
||||||
struct Rel98_AssistanceData_Extension;
|
struct Rel98_AssistanceData_Extension;
|
||||||
struct Rel5_AssistanceData_Extension;
|
struct Rel5_AssistanceData_Extension;
|
||||||
|
|
||||||
/* AssistanceData */
|
/* AssistanceData */
|
||||||
typedef struct AssistanceData
|
typedef struct AssistanceData
|
||||||
{
|
{
|
||||||
struct ReferenceAssistData *referenceAssistData /* OPTIONAL */;
|
struct ReferenceAssistData *referenceAssistData /* OPTIONAL */;
|
||||||
struct MsrAssistData *msrAssistData /* OPTIONAL */;
|
struct MsrAssistData *msrAssistData /* OPTIONAL */;
|
||||||
struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */;
|
struct SystemInfoAssistData *systemInfoAssistData /* OPTIONAL */;
|
||||||
@ -45,10 +46,10 @@ typedef struct AssistanceData
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} AssistanceData_t;
|
} AssistanceData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_AssistanceData;
|
extern asn_TYPE_descriptor_t asn_DEF_AssistanceData;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BCCHCarrier */
|
/* BCCHCarrier */
|
||||||
typedef long BCCHCarrier_t;
|
typedef long BCCHCarrier_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BCCHCarrier;
|
extern asn_TYPE_descriptor_t asn_DEF_BCCHCarrier;
|
||||||
asn_struct_free_f BCCHCarrier_free;
|
asn_struct_free_f BCCHCarrier_free;
|
||||||
asn_struct_print_f BCCHCarrier_print;
|
asn_struct_print_f BCCHCarrier_print;
|
||||||
asn_constr_check_f BCCHCarrier_constraint;
|
asn_constr_check_f BCCHCarrier_constraint;
|
||||||
ber_type_decoder_f BCCHCarrier_decode_ber;
|
ber_type_decoder_f BCCHCarrier_decode_ber;
|
||||||
der_type_encoder_f BCCHCarrier_encode_der;
|
der_type_encoder_f BCCHCarrier_encode_der;
|
||||||
xer_type_decoder_f BCCHCarrier_decode_xer;
|
xer_type_decoder_f BCCHCarrier_decode_xer;
|
||||||
xer_type_encoder_f BCCHCarrier_encode_xer;
|
xer_type_encoder_f BCCHCarrier_encode_xer;
|
||||||
per_type_decoder_f BCCHCarrier_decode_uper;
|
per_type_decoder_f BCCHCarrier_decode_uper;
|
||||||
per_type_encoder_f BCCHCarrier_encode_uper;
|
per_type_encoder_f BCCHCarrier_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -8,24 +8,25 @@
|
|||||||
#include <OCTET_STRING.h> /* Some help from OCTET STRING */
|
#include <OCTET_STRING.h> /* Some help from OCTET STRING */
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef struct BIT_STRING_s
|
typedef struct BIT_STRING_s
|
||||||
{
|
{
|
||||||
uint8_t *buf; /* BIT STRING body */
|
uint8_t *buf; /* BIT STRING body */
|
||||||
int size; /* Size of the above buffer */
|
int size; /* Size of the above buffer */
|
||||||
|
|
||||||
int bits_unused; /* Unused trailing bits in the last octet (0..7) */
|
int bits_unused; /* Unused trailing bits in the last octet (0..7) */
|
||||||
|
|
||||||
asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */
|
asn_struct_ctx_t _asn_ctx; /* Parsing across buffer boundaries */
|
||||||
} BIT_STRING_t;
|
} BIT_STRING_t;
|
||||||
|
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING;
|
extern asn_TYPE_descriptor_t asn_DEF_BIT_STRING;
|
||||||
|
|
||||||
asn_struct_print_f BIT_STRING_print; /* Human-readable output */
|
asn_struct_print_f BIT_STRING_print; /* Human-readable output */
|
||||||
asn_constr_check_f BIT_STRING_constraint;
|
asn_constr_check_f BIT_STRING_constraint;
|
||||||
xer_type_encoder_f BIT_STRING_encode_xer;
|
xer_type_encoder_f BIT_STRING_encode_xer;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -8,26 +8,27 @@
|
|||||||
#include <asn_application.h>
|
#include <asn_application.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The underlying integer may contain various values, but everything
|
* The underlying integer may contain various values, but everything
|
||||||
* non-zero is capped to 0xff by the DER encoder. The BER decoder may
|
* non-zero is capped to 0xff by the DER encoder. The BER decoder may
|
||||||
* yield non-zero values different from 1, beware.
|
* yield non-zero values different from 1, beware.
|
||||||
*/
|
*/
|
||||||
typedef int BOOLEAN_t;
|
typedef int BOOLEAN_t;
|
||||||
|
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
|
extern asn_TYPE_descriptor_t asn_DEF_BOOLEAN;
|
||||||
|
|
||||||
asn_struct_free_f BOOLEAN_free;
|
asn_struct_free_f BOOLEAN_free;
|
||||||
asn_struct_print_f BOOLEAN_print;
|
asn_struct_print_f BOOLEAN_print;
|
||||||
ber_type_decoder_f BOOLEAN_decode_ber;
|
ber_type_decoder_f BOOLEAN_decode_ber;
|
||||||
der_type_encoder_f BOOLEAN_encode_der;
|
der_type_encoder_f BOOLEAN_encode_der;
|
||||||
xer_type_decoder_f BOOLEAN_decode_xer;
|
xer_type_decoder_f BOOLEAN_decode_xer;
|
||||||
xer_type_encoder_f BOOLEAN_encode_xer;
|
xer_type_encoder_f BOOLEAN_encode_xer;
|
||||||
per_type_decoder_f BOOLEAN_decode_uper;
|
per_type_decoder_f BOOLEAN_decode_uper;
|
||||||
per_type_encoder_f BOOLEAN_encode_uper;
|
per_type_encoder_f BOOLEAN_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BSIC */
|
/* BSIC */
|
||||||
typedef long BSIC_t;
|
typedef long BSIC_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BSIC;
|
extern asn_TYPE_descriptor_t asn_DEF_BSIC;
|
||||||
asn_struct_free_f BSIC_free;
|
asn_struct_free_f BSIC_free;
|
||||||
asn_struct_print_f BSIC_print;
|
asn_struct_print_f BSIC_print;
|
||||||
asn_constr_check_f BSIC_constraint;
|
asn_constr_check_f BSIC_constraint;
|
||||||
ber_type_decoder_f BSIC_decode_ber;
|
ber_type_decoder_f BSIC_decode_ber;
|
||||||
der_type_encoder_f BSIC_encode_der;
|
der_type_encoder_f BSIC_encode_der;
|
||||||
xer_type_decoder_f BSIC_decode_xer;
|
xer_type_decoder_f BSIC_decode_xer;
|
||||||
xer_type_encoder_f BSIC_encode_xer;
|
xer_type_encoder_f BSIC_encode_xer;
|
||||||
per_type_decoder_f BSIC_decode_uper;
|
per_type_decoder_f BSIC_decode_uper;
|
||||||
per_type_encoder_f BSIC_encode_uper;
|
per_type_encoder_f BSIC_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BSICAndCarrier */
|
/* BSICAndCarrier */
|
||||||
typedef struct BSICAndCarrier
|
typedef struct BSICAndCarrier
|
||||||
{
|
{
|
||||||
BCCHCarrier_t carrier;
|
BCCHCarrier_t carrier;
|
||||||
BSIC_t bsic;
|
BSIC_t bsic;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} BSICAndCarrier_t;
|
} BSICAndCarrier_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BSICAndCarrier;
|
extern asn_TYPE_descriptor_t asn_DEF_BSICAndCarrier;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include "Ext-GeographicalInformation.h"
|
#include "Ext-GeographicalInformation.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BTSPosition */
|
/* BTSPosition */
|
||||||
typedef Ext_GeographicalInformation_t BTSPosition_t;
|
typedef Ext_GeographicalInformation_t BTSPosition_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BTSPosition;
|
extern asn_TYPE_descriptor_t asn_DEF_BTSPosition;
|
||||||
asn_struct_free_f BTSPosition_free;
|
asn_struct_free_f BTSPosition_free;
|
||||||
asn_struct_print_f BTSPosition_print;
|
asn_struct_print_f BTSPosition_print;
|
||||||
asn_constr_check_f BTSPosition_constraint;
|
asn_constr_check_f BTSPosition_constraint;
|
||||||
ber_type_decoder_f BTSPosition_decode_ber;
|
ber_type_decoder_f BTSPosition_decode_ber;
|
||||||
der_type_encoder_f BTSPosition_encode_der;
|
der_type_encoder_f BTSPosition_encode_der;
|
||||||
xer_type_decoder_f BTSPosition_decode_xer;
|
xer_type_decoder_f BTSPosition_decode_xer;
|
||||||
xer_type_encoder_f BTSPosition_encode_xer;
|
xer_type_encoder_f BTSPosition_encode_xer;
|
||||||
per_type_decoder_f BTSPosition_decode_uper;
|
per_type_decoder_f BTSPosition_decode_uper;
|
||||||
per_type_encoder_f BTSPosition_encode_uper;
|
per_type_encoder_f BTSPosition_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BadSignalElement */
|
/* BadSignalElement */
|
||||||
typedef struct BadSignalElement
|
typedef struct BadSignalElement
|
||||||
{
|
{
|
||||||
SVID_t badSVID;
|
SVID_t badSVID;
|
||||||
long *badSignalID /* OPTIONAL */;
|
long *badSignalID /* OPTIONAL */;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} BadSignalElement_t;
|
} BadSignalElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BadSignalElement;
|
extern asn_TYPE_descriptor_t asn_DEF_BadSignalElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* BitNumber */
|
/* BitNumber */
|
||||||
typedef long BitNumber_t;
|
typedef long BitNumber_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_BitNumber;
|
extern asn_TYPE_descriptor_t asn_DEF_BitNumber;
|
||||||
asn_struct_free_f BitNumber_free;
|
asn_struct_free_f BitNumber_free;
|
||||||
asn_struct_print_f BitNumber_print;
|
asn_struct_print_f BitNumber_print;
|
||||||
asn_constr_check_f BitNumber_constraint;
|
asn_constr_check_f BitNumber_constraint;
|
||||||
ber_type_decoder_f BitNumber_decode_ber;
|
ber_type_decoder_f BitNumber_decode_ber;
|
||||||
der_type_encoder_f BitNumber_encode_der;
|
der_type_encoder_f BitNumber_encode_der;
|
||||||
xer_type_decoder_f BitNumber_decode_xer;
|
xer_type_decoder_f BitNumber_decode_xer;
|
||||||
xer_type_encoder_f BitNumber_encode_xer;
|
xer_type_encoder_f BitNumber_encode_xer;
|
||||||
per_type_decoder_f BitNumber_decode_uper;
|
per_type_decoder_f BitNumber_decode_uper;
|
||||||
per_type_encoder_f BitNumber_encode_uper;
|
per_type_encoder_f BitNumber_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* CalcAssistanceBTS */
|
/* CalcAssistanceBTS */
|
||||||
typedef struct CalcAssistanceBTS
|
typedef struct CalcAssistanceBTS
|
||||||
{
|
{
|
||||||
FineRTD_t fineRTD;
|
FineRTD_t fineRTD;
|
||||||
ReferenceWGS84_t referenceWGS84;
|
ReferenceWGS84_t referenceWGS84;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} CalcAssistanceBTS_t;
|
} CalcAssistanceBTS_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_CalcAssistanceBTS;
|
extern asn_TYPE_descriptor_t asn_DEF_CalcAssistanceBTS;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* CellID */
|
/* CellID */
|
||||||
typedef long CellID_t;
|
typedef long CellID_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_CellID;
|
extern asn_TYPE_descriptor_t asn_DEF_CellID;
|
||||||
asn_struct_free_f CellID_free;
|
asn_struct_free_f CellID_free;
|
||||||
asn_struct_print_f CellID_print;
|
asn_struct_print_f CellID_print;
|
||||||
asn_constr_check_f CellID_constraint;
|
asn_constr_check_f CellID_constraint;
|
||||||
ber_type_decoder_f CellID_decode_ber;
|
ber_type_decoder_f CellID_decode_ber;
|
||||||
der_type_encoder_f CellID_encode_der;
|
der_type_encoder_f CellID_encode_der;
|
||||||
xer_type_decoder_f CellID_decode_xer;
|
xer_type_decoder_f CellID_decode_xer;
|
||||||
xer_type_encoder_f CellID_encode_xer;
|
xer_type_encoder_f CellID_encode_xer;
|
||||||
per_type_decoder_f CellID_decode_uper;
|
per_type_decoder_f CellID_decode_uper;
|
||||||
per_type_encoder_f CellID_encode_uper;
|
per_type_encoder_f CellID_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* CellIDAndLAC */
|
/* CellIDAndLAC */
|
||||||
typedef struct CellIDAndLAC
|
typedef struct CellIDAndLAC
|
||||||
{
|
{
|
||||||
LAC_t referenceLAC;
|
LAC_t referenceLAC;
|
||||||
CellID_t referenceCI;
|
CellID_t referenceCI;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} CellIDAndLAC_t;
|
} CellIDAndLAC_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_CellIDAndLAC;
|
extern asn_TYPE_descriptor_t asn_DEF_CellIDAndLAC;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct ReferenceTime;
|
struct ReferenceTime;
|
||||||
struct RefLocation;
|
struct RefLocation;
|
||||||
struct DGPSCorrections;
|
struct DGPSCorrections;
|
||||||
struct NavigationModel;
|
struct NavigationModel;
|
||||||
struct IonosphericModel;
|
struct IonosphericModel;
|
||||||
struct UTCModel;
|
struct UTCModel;
|
||||||
struct Almanac;
|
struct Almanac;
|
||||||
struct AcquisAssist;
|
struct AcquisAssist;
|
||||||
struct SeqOf_BadSatelliteSet;
|
struct SeqOf_BadSatelliteSet;
|
||||||
|
|
||||||
/* ControlHeader */
|
/* ControlHeader */
|
||||||
typedef struct ControlHeader
|
typedef struct ControlHeader
|
||||||
{
|
{
|
||||||
struct ReferenceTime *referenceTime /* OPTIONAL */;
|
struct ReferenceTime *referenceTime /* OPTIONAL */;
|
||||||
struct RefLocation *refLocation /* OPTIONAL */;
|
struct RefLocation *refLocation /* OPTIONAL */;
|
||||||
struct DGPSCorrections *dgpsCorrections /* OPTIONAL */;
|
struct DGPSCorrections *dgpsCorrections /* OPTIONAL */;
|
||||||
@ -43,10 +44,10 @@ typedef struct ControlHeader
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} ControlHeader_t;
|
} ControlHeader_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ControlHeader;
|
extern asn_TYPE_descriptor_t asn_DEF_ControlHeader;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,12 +16,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* DGANSSSgnElement */
|
/* DGANSSSgnElement */
|
||||||
typedef struct DGANSSSgnElement
|
typedef struct DGANSSSgnElement
|
||||||
{
|
{
|
||||||
SVID_t svID;
|
SVID_t svID;
|
||||||
long iod;
|
long iod;
|
||||||
long udre;
|
long udre;
|
||||||
@ -30,10 +31,10 @@ typedef struct DGANSSSgnElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} DGANSSSgnElement_t;
|
} DGANSSSgnElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_DGANSSSgnElement;
|
extern asn_TYPE_descriptor_t asn_DEF_DGANSSSgnElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,22 +16,23 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* DGPSCorrections */
|
/* DGPSCorrections */
|
||||||
typedef struct DGPSCorrections
|
typedef struct DGPSCorrections
|
||||||
{
|
{
|
||||||
long gpsTOW;
|
long gpsTOW;
|
||||||
long status;
|
long status;
|
||||||
SeqOfSatElement_t satList;
|
SeqOfSatElement_t satList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} DGPSCorrections_t;
|
} DGPSCorrections_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_DGPSCorrections;
|
extern asn_TYPE_descriptor_t asn_DEF_DGPSCorrections;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -8,15 +8,16 @@
|
|||||||
#include <INTEGER.h>
|
#include <INTEGER.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef INTEGER_t ENUMERATED_t; /* Implemented via INTEGER */
|
typedef INTEGER_t ENUMERATED_t; /* Implemented via INTEGER */
|
||||||
|
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ENUMERATED;
|
extern asn_TYPE_descriptor_t asn_DEF_ENUMERATED;
|
||||||
|
|
||||||
per_type_decoder_f ENUMERATED_decode_uper;
|
per_type_decoder_f ENUMERATED_decode_uper;
|
||||||
per_type_encoder_f ENUMERATED_encode_uper;
|
per_type_encoder_f ENUMERATED_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* EOTDQuality */
|
/* EOTDQuality */
|
||||||
typedef struct EOTDQuality
|
typedef struct EOTDQuality
|
||||||
{
|
{
|
||||||
long nbrOfMeasurements;
|
long nbrOfMeasurements;
|
||||||
long stdOfEOTD;
|
long stdOfEOTD;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} EOTDQuality_t;
|
} EOTDQuality_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_EOTDQuality;
|
extern asn_TYPE_descriptor_t asn_DEF_EOTDQuality;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,33 +14,35 @@
|
|||||||
#include <ENUMERATED.h>
|
#include <ENUMERATED.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum EnvironmentCharacter {
|
typedef enum EnvironmentCharacter
|
||||||
|
{
|
||||||
EnvironmentCharacter_badArea = 0,
|
EnvironmentCharacter_badArea = 0,
|
||||||
EnvironmentCharacter_notBadArea = 1,
|
EnvironmentCharacter_notBadArea = 1,
|
||||||
EnvironmentCharacter_mixedArea = 2
|
EnvironmentCharacter_mixedArea = 2
|
||||||
/*
|
/*
|
||||||
* Enumeration is extensible
|
* Enumeration is extensible
|
||||||
*/
|
*/
|
||||||
} e_EnvironmentCharacter;
|
} e_EnvironmentCharacter;
|
||||||
|
|
||||||
/* EnvironmentCharacter */
|
/* EnvironmentCharacter */
|
||||||
typedef ENUMERATED_t EnvironmentCharacter_t;
|
typedef ENUMERATED_t EnvironmentCharacter_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_EnvironmentCharacter;
|
extern asn_TYPE_descriptor_t asn_DEF_EnvironmentCharacter;
|
||||||
asn_struct_free_f EnvironmentCharacter_free;
|
asn_struct_free_f EnvironmentCharacter_free;
|
||||||
asn_struct_print_f EnvironmentCharacter_print;
|
asn_struct_print_f EnvironmentCharacter_print;
|
||||||
asn_constr_check_f EnvironmentCharacter_constraint;
|
asn_constr_check_f EnvironmentCharacter_constraint;
|
||||||
ber_type_decoder_f EnvironmentCharacter_decode_ber;
|
ber_type_decoder_f EnvironmentCharacter_decode_ber;
|
||||||
der_type_encoder_f EnvironmentCharacter_encode_der;
|
der_type_encoder_f EnvironmentCharacter_encode_der;
|
||||||
xer_type_decoder_f EnvironmentCharacter_decode_xer;
|
xer_type_decoder_f EnvironmentCharacter_decode_xer;
|
||||||
xer_type_encoder_f EnvironmentCharacter_encode_xer;
|
xer_type_encoder_f EnvironmentCharacter_encode_xer;
|
||||||
per_type_decoder_f EnvironmentCharacter_decode_uper;
|
per_type_decoder_f EnvironmentCharacter_decode_uper;
|
||||||
per_type_encoder_f EnvironmentCharacter_encode_uper;
|
per_type_encoder_f EnvironmentCharacter_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* EphemerisSubframe1Reserved */
|
/* EphemerisSubframe1Reserved */
|
||||||
typedef struct EphemerisSubframe1Reserved
|
typedef struct EphemerisSubframe1Reserved
|
||||||
{
|
{
|
||||||
long reserved1;
|
long reserved1;
|
||||||
long reserved2;
|
long reserved2;
|
||||||
long reserved3;
|
long reserved3;
|
||||||
@ -28,10 +29,10 @@ typedef struct EphemerisSubframe1Reserved
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} EphemerisSubframe1Reserved_t;
|
} EphemerisSubframe1Reserved_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_EphemerisSubframe1Reserved;
|
extern asn_TYPE_descriptor_t asn_DEF_EphemerisSubframe1Reserved;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,11 +14,13 @@
|
|||||||
#include <ENUMERATED.h>
|
#include <ENUMERATED.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum ErrorCodes {
|
typedef enum ErrorCodes
|
||||||
|
{
|
||||||
ErrorCodes_unDefined = 0,
|
ErrorCodes_unDefined = 0,
|
||||||
ErrorCodes_missingComponet = 1,
|
ErrorCodes_missingComponet = 1,
|
||||||
ErrorCodes_incorrectData = 2,
|
ErrorCodes_incorrectData = 2,
|
||||||
@ -28,22 +30,22 @@ typedef enum ErrorCodes {
|
|||||||
/*
|
/*
|
||||||
* Enumeration is extensible
|
* Enumeration is extensible
|
||||||
*/
|
*/
|
||||||
} e_ErrorCodes;
|
} e_ErrorCodes;
|
||||||
|
|
||||||
/* ErrorCodes */
|
/* ErrorCodes */
|
||||||
typedef ENUMERATED_t ErrorCodes_t;
|
typedef ENUMERATED_t ErrorCodes_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ErrorCodes;
|
extern asn_TYPE_descriptor_t asn_DEF_ErrorCodes;
|
||||||
asn_struct_free_f ErrorCodes_free;
|
asn_struct_free_f ErrorCodes_free;
|
||||||
asn_struct_print_f ErrorCodes_print;
|
asn_struct_print_f ErrorCodes_print;
|
||||||
asn_constr_check_f ErrorCodes_constraint;
|
asn_constr_check_f ErrorCodes_constraint;
|
||||||
ber_type_decoder_f ErrorCodes_decode_ber;
|
ber_type_decoder_f ErrorCodes_decode_ber;
|
||||||
der_type_encoder_f ErrorCodes_encode_der;
|
der_type_encoder_f ErrorCodes_encode_der;
|
||||||
xer_type_decoder_f ErrorCodes_decode_xer;
|
xer_type_decoder_f ErrorCodes_decode_xer;
|
||||||
xer_type_encoder_f ErrorCodes_encode_xer;
|
xer_type_encoder_f ErrorCodes_encode_xer;
|
||||||
per_type_decoder_f ErrorCodes_decode_uper;
|
per_type_decoder_f ErrorCodes_decode_uper;
|
||||||
per_type_encoder_f ErrorCodes_encode_uper;
|
per_type_encoder_f ErrorCodes_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ExpOTDUncertainty */
|
/* ExpOTDUncertainty */
|
||||||
typedef long ExpOTDUncertainty_t;
|
typedef long ExpOTDUncertainty_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ExpOTDUncertainty;
|
extern asn_TYPE_descriptor_t asn_DEF_ExpOTDUncertainty;
|
||||||
asn_struct_free_f ExpOTDUncertainty_free;
|
asn_struct_free_f ExpOTDUncertainty_free;
|
||||||
asn_struct_print_f ExpOTDUncertainty_print;
|
asn_struct_print_f ExpOTDUncertainty_print;
|
||||||
asn_constr_check_f ExpOTDUncertainty_constraint;
|
asn_constr_check_f ExpOTDUncertainty_constraint;
|
||||||
ber_type_decoder_f ExpOTDUncertainty_decode_ber;
|
ber_type_decoder_f ExpOTDUncertainty_decode_ber;
|
||||||
der_type_encoder_f ExpOTDUncertainty_encode_der;
|
der_type_encoder_f ExpOTDUncertainty_encode_der;
|
||||||
xer_type_decoder_f ExpOTDUncertainty_decode_xer;
|
xer_type_decoder_f ExpOTDUncertainty_decode_xer;
|
||||||
xer_type_encoder_f ExpOTDUncertainty_encode_xer;
|
xer_type_encoder_f ExpOTDUncertainty_encode_xer;
|
||||||
per_type_decoder_f ExpOTDUncertainty_decode_uper;
|
per_type_decoder_f ExpOTDUncertainty_decode_uper;
|
||||||
per_type_encoder_f ExpOTDUncertainty_encode_uper;
|
per_type_encoder_f ExpOTDUncertainty_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ExpectedOTD */
|
/* ExpectedOTD */
|
||||||
typedef long ExpectedOTD_t;
|
typedef long ExpectedOTD_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ExpectedOTD;
|
extern asn_TYPE_descriptor_t asn_DEF_ExpectedOTD;
|
||||||
asn_struct_free_f ExpectedOTD_free;
|
asn_struct_free_f ExpectedOTD_free;
|
||||||
asn_struct_print_f ExpectedOTD_print;
|
asn_struct_print_f ExpectedOTD_print;
|
||||||
asn_constr_check_f ExpectedOTD_constraint;
|
asn_constr_check_f ExpectedOTD_constraint;
|
||||||
ber_type_decoder_f ExpectedOTD_decode_ber;
|
ber_type_decoder_f ExpectedOTD_decode_ber;
|
||||||
der_type_encoder_f ExpectedOTD_encode_der;
|
der_type_encoder_f ExpectedOTD_encode_der;
|
||||||
xer_type_decoder_f ExpectedOTD_decode_xer;
|
xer_type_decoder_f ExpectedOTD_decode_xer;
|
||||||
xer_type_encoder_f ExpectedOTD_encode_xer;
|
xer_type_encoder_f ExpectedOTD_encode_xer;
|
||||||
per_type_decoder_f ExpectedOTD_decode_uper;
|
per_type_decoder_f ExpectedOTD_decode_uper;
|
||||||
per_type_encoder_f ExpectedOTD_encode_uper;
|
per_type_encoder_f ExpectedOTD_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <OCTET_STRING.h>
|
#include <OCTET_STRING.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Ext-GeographicalInformation */
|
/* Ext-GeographicalInformation */
|
||||||
typedef OCTET_STRING_t Ext_GeographicalInformation_t;
|
typedef OCTET_STRING_t Ext_GeographicalInformation_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_Ext_GeographicalInformation;
|
extern asn_TYPE_descriptor_t asn_DEF_Ext_GeographicalInformation;
|
||||||
asn_struct_free_f Ext_GeographicalInformation_free;
|
asn_struct_free_f Ext_GeographicalInformation_free;
|
||||||
asn_struct_print_f Ext_GeographicalInformation_print;
|
asn_struct_print_f Ext_GeographicalInformation_print;
|
||||||
asn_constr_check_f Ext_GeographicalInformation_constraint;
|
asn_constr_check_f Ext_GeographicalInformation_constraint;
|
||||||
ber_type_decoder_f Ext_GeographicalInformation_decode_ber;
|
ber_type_decoder_f Ext_GeographicalInformation_decode_ber;
|
||||||
der_type_encoder_f Ext_GeographicalInformation_encode_der;
|
der_type_encoder_f Ext_GeographicalInformation_encode_der;
|
||||||
xer_type_decoder_f Ext_GeographicalInformation_decode_xer;
|
xer_type_decoder_f Ext_GeographicalInformation_decode_xer;
|
||||||
xer_type_encoder_f Ext_GeographicalInformation_encode_xer;
|
xer_type_encoder_f Ext_GeographicalInformation_encode_xer;
|
||||||
per_type_decoder_f Ext_GeographicalInformation_decode_uper;
|
per_type_decoder_f Ext_GeographicalInformation_decode_uper;
|
||||||
per_type_encoder_f Ext_GeographicalInformation_encode_uper;
|
per_type_encoder_f Ext_GeographicalInformation_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,21 +15,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Extended-reference */
|
/* Extended-reference */
|
||||||
typedef struct Extended_reference
|
typedef struct Extended_reference
|
||||||
{
|
{
|
||||||
long smlc_code;
|
long smlc_code;
|
||||||
long transaction_ID;
|
long transaction_ID;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} Extended_reference_t;
|
} Extended_reference_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_Extended_reference;
|
extern asn_TYPE_descriptor_t asn_DEF_Extended_reference;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <INTEGER.h>
|
#include <INTEGER.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* ExtensionContainer */
|
/* ExtensionContainer */
|
||||||
typedef INTEGER_t ExtensionContainer_t;
|
typedef INTEGER_t ExtensionContainer_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_ExtensionContainer;
|
extern asn_TYPE_descriptor_t asn_DEF_ExtensionContainer;
|
||||||
asn_struct_free_f ExtensionContainer_free;
|
asn_struct_free_f ExtensionContainer_free;
|
||||||
asn_struct_print_f ExtensionContainer_print;
|
asn_struct_print_f ExtensionContainer_print;
|
||||||
asn_constr_check_f ExtensionContainer_constraint;
|
asn_constr_check_f ExtensionContainer_constraint;
|
||||||
ber_type_decoder_f ExtensionContainer_decode_ber;
|
ber_type_decoder_f ExtensionContainer_decode_ber;
|
||||||
der_type_encoder_f ExtensionContainer_encode_der;
|
der_type_encoder_f ExtensionContainer_encode_der;
|
||||||
xer_type_decoder_f ExtensionContainer_decode_xer;
|
xer_type_decoder_f ExtensionContainer_decode_xer;
|
||||||
xer_type_encoder_f ExtensionContainer_encode_xer;
|
xer_type_encoder_f ExtensionContainer_encode_xer;
|
||||||
per_type_decoder_f ExtensionContainer_decode_uper;
|
per_type_decoder_f ExtensionContainer_decode_uper;
|
||||||
per_type_encoder_f ExtensionContainer_encode_uper;
|
per_type_encoder_f ExtensionContainer_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FineRTD */
|
/* FineRTD */
|
||||||
typedef long FineRTD_t;
|
typedef long FineRTD_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_FineRTD;
|
extern asn_TYPE_descriptor_t asn_DEF_FineRTD;
|
||||||
asn_struct_free_f FineRTD_free;
|
asn_struct_free_f FineRTD_free;
|
||||||
asn_struct_print_f FineRTD_print;
|
asn_struct_print_f FineRTD_print;
|
||||||
asn_constr_check_f FineRTD_constraint;
|
asn_constr_check_f FineRTD_constraint;
|
||||||
ber_type_decoder_f FineRTD_decode_ber;
|
ber_type_decoder_f FineRTD_decode_ber;
|
||||||
der_type_encoder_f FineRTD_encode_der;
|
der_type_encoder_f FineRTD_encode_der;
|
||||||
xer_type_decoder_f FineRTD_decode_xer;
|
xer_type_decoder_f FineRTD_decode_xer;
|
||||||
xer_type_encoder_f FineRTD_encode_xer;
|
xer_type_encoder_f FineRTD_encode_xer;
|
||||||
per_type_decoder_f FineRTD_decode_uper;
|
per_type_decoder_f FineRTD_decode_uper;
|
||||||
per_type_encoder_f FineRTD_encode_uper;
|
per_type_encoder_f FineRTD_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,29 +14,31 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum FixType {
|
typedef enum FixType
|
||||||
|
{
|
||||||
FixType_twoDFix = 0,
|
FixType_twoDFix = 0,
|
||||||
FixType_threeDFix = 1
|
FixType_threeDFix = 1
|
||||||
} e_FixType;
|
} e_FixType;
|
||||||
|
|
||||||
/* FixType */
|
/* FixType */
|
||||||
typedef long FixType_t;
|
typedef long FixType_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_FixType;
|
extern asn_TYPE_descriptor_t asn_DEF_FixType;
|
||||||
asn_struct_free_f FixType_free;
|
asn_struct_free_f FixType_free;
|
||||||
asn_struct_print_f FixType_print;
|
asn_struct_print_f FixType_print;
|
||||||
asn_constr_check_f FixType_constraint;
|
asn_constr_check_f FixType_constraint;
|
||||||
ber_type_decoder_f FixType_decode_ber;
|
ber_type_decoder_f FixType_decode_ber;
|
||||||
der_type_encoder_f FixType_encode_der;
|
der_type_encoder_f FixType_encode_der;
|
||||||
xer_type_decoder_f FixType_decode_xer;
|
xer_type_decoder_f FixType_decode_xer;
|
||||||
xer_type_encoder_f FixType_encode_xer;
|
xer_type_encoder_f FixType_encode_xer;
|
||||||
per_type_decoder_f FixType_decode_uper;
|
per_type_decoder_f FixType_decode_uper;
|
||||||
per_type_encoder_f FixType_encode_uper;
|
per_type_encoder_f FixType_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FrameDrift */
|
/* FrameDrift */
|
||||||
typedef long FrameDrift_t;
|
typedef long FrameDrift_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_FrameDrift;
|
extern asn_TYPE_descriptor_t asn_DEF_FrameDrift;
|
||||||
asn_struct_free_f FrameDrift_free;
|
asn_struct_free_f FrameDrift_free;
|
||||||
asn_struct_print_f FrameDrift_print;
|
asn_struct_print_f FrameDrift_print;
|
||||||
asn_constr_check_f FrameDrift_constraint;
|
asn_constr_check_f FrameDrift_constraint;
|
||||||
ber_type_decoder_f FrameDrift_decode_ber;
|
ber_type_decoder_f FrameDrift_decode_ber;
|
||||||
der_type_encoder_f FrameDrift_encode_der;
|
der_type_encoder_f FrameDrift_encode_der;
|
||||||
xer_type_decoder_f FrameDrift_decode_xer;
|
xer_type_decoder_f FrameDrift_decode_xer;
|
||||||
xer_type_encoder_f FrameDrift_encode_xer;
|
xer_type_encoder_f FrameDrift_encode_xer;
|
||||||
per_type_decoder_f FrameDrift_decode_uper;
|
per_type_decoder_f FrameDrift_decode_uper;
|
||||||
per_type_encoder_f FrameDrift_encode_uper;
|
per_type_encoder_f FrameDrift_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* FrameNumber */
|
/* FrameNumber */
|
||||||
typedef long FrameNumber_t;
|
typedef long FrameNumber_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_FrameNumber;
|
extern asn_TYPE_descriptor_t asn_DEF_FrameNumber;
|
||||||
asn_struct_free_f FrameNumber_free;
|
asn_struct_free_f FrameNumber_free;
|
||||||
asn_struct_print_f FrameNumber_print;
|
asn_struct_print_f FrameNumber_print;
|
||||||
asn_constr_check_f FrameNumber_constraint;
|
asn_constr_check_f FrameNumber_constraint;
|
||||||
ber_type_decoder_f FrameNumber_decode_ber;
|
ber_type_decoder_f FrameNumber_decode_ber;
|
||||||
der_type_encoder_f FrameNumber_encode_der;
|
der_type_encoder_f FrameNumber_encode_der;
|
||||||
xer_type_decoder_f FrameNumber_decode_xer;
|
xer_type_decoder_f FrameNumber_decode_xer;
|
||||||
xer_type_encoder_f FrameNumber_encode_xer;
|
xer_type_encoder_f FrameNumber_encode_xer;
|
||||||
per_type_decoder_f FrameNumber_decode_uper;
|
per_type_decoder_f FrameNumber_decode_uper;
|
||||||
per_type_encoder_f FrameNumber_encode_uper;
|
per_type_encoder_f FrameNumber_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSS-AssistData */
|
/* GANSS-AssistData */
|
||||||
typedef struct GANSS_AssistData
|
typedef struct GANSS_AssistData
|
||||||
{
|
{
|
||||||
GANSS_ControlHeader_t ganss_controlHeader;
|
GANSS_ControlHeader_t ganss_controlHeader;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSS_AssistData_t;
|
} GANSS_AssistData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSS_AssistData;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSS_AssistData;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,25 +14,26 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct GANSSCommonAssistData;
|
struct GANSSCommonAssistData;
|
||||||
struct SeqOfGANSSGenericAssistDataElement;
|
struct SeqOfGANSSGenericAssistDataElement;
|
||||||
|
|
||||||
/* GANSS-ControlHeader */
|
/* GANSS-ControlHeader */
|
||||||
typedef struct GANSS_ControlHeader
|
typedef struct GANSS_ControlHeader
|
||||||
{
|
{
|
||||||
struct GANSSCommonAssistData *ganssCommonAssistData /* OPTIONAL */;
|
struct GANSSCommonAssistData *ganssCommonAssistData /* OPTIONAL */;
|
||||||
struct SeqOfGANSSGenericAssistDataElement *ganssGenericAssistDataList /* OPTIONAL */;
|
struct SeqOfGANSSGenericAssistDataElement *ganssGenericAssistDataList /* OPTIONAL */;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSS_ControlHeader_t;
|
} GANSS_ControlHeader_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSS_ControlHeader;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSS_ControlHeader;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -18,15 +18,16 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct ReferenceFrame;
|
struct ReferenceFrame;
|
||||||
|
|
||||||
/* GANSS-MsrSetElement */
|
/* GANSS-MsrSetElement */
|
||||||
typedef struct GANSS_MsrSetElement
|
typedef struct GANSS_MsrSetElement
|
||||||
{
|
{
|
||||||
struct ReferenceFrame *referenceFrame /* OPTIONAL */;
|
struct ReferenceFrame *referenceFrame /* OPTIONAL */;
|
||||||
GANSSTODm_t *ganssTODm /* OPTIONAL */;
|
GANSSTODm_t *ganssTODm /* OPTIONAL */;
|
||||||
long *deltaGNASSTOD /* OPTIONAL */;
|
long *deltaGNASSTOD /* OPTIONAL */;
|
||||||
@ -35,10 +36,10 @@ typedef struct GANSS_MsrSetElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSS_MsrSetElement_t;
|
} GANSS_MsrSetElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSS_MsrSetElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSS_MsrSetElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSS-SgnElement */
|
/* GANSS-SgnElement */
|
||||||
typedef struct GANSS_SgnElement
|
typedef struct GANSS_SgnElement
|
||||||
{
|
{
|
||||||
SVID_t svID;
|
SVID_t svID;
|
||||||
long cNo;
|
long cNo;
|
||||||
MpathIndic_t mpathDet;
|
MpathIndic_t mpathDet;
|
||||||
@ -35,10 +36,10 @@ typedef struct GANSS_SgnElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSS_SgnElement_t;
|
} GANSS_SgnElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSS-SgnTypeElement */
|
/* GANSS-SgnTypeElement */
|
||||||
typedef struct GANSS_SgnTypeElement
|
typedef struct GANSS_SgnTypeElement
|
||||||
{
|
{
|
||||||
long ganssSignalID;
|
long ganssSignalID;
|
||||||
SeqOfGANSS_SgnElement_t ganss_SgnList;
|
SeqOfGANSS_SgnElement_t ganss_SgnList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSS_SgnTypeElement_t;
|
} GANSS_SgnTypeElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnTypeElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSS_SgnTypeElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,22 @@
|
|||||||
#include <constr_CHOICE.h>
|
#include <constr_CHOICE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum GANSSAlmanacElement_PR {
|
typedef enum GANSSAlmanacElement_PR
|
||||||
|
{
|
||||||
GANSSAlmanacElement_PR_NOTHING, /* No components present */
|
GANSSAlmanacElement_PR_NOTHING, /* No components present */
|
||||||
GANSSAlmanacElement_PR_keplerianAlmanacSet,
|
GANSSAlmanacElement_PR_keplerianAlmanacSet,
|
||||||
/* Extensions may appear below */
|
/* Extensions may appear below */
|
||||||
|
|
||||||
} GANSSAlmanacElement_PR;
|
} GANSSAlmanacElement_PR;
|
||||||
|
|
||||||
/* GANSSAlmanacElement */
|
/* GANSSAlmanacElement */
|
||||||
typedef struct GANSSAlmanacElement
|
typedef struct GANSSAlmanacElement
|
||||||
{
|
{
|
||||||
GANSSAlmanacElement_PR present;
|
GANSSAlmanacElement_PR present;
|
||||||
union GANSSAlmanacElement_u
|
union GANSSAlmanacElement_u
|
||||||
{
|
{
|
||||||
@ -41,10 +43,10 @@ typedef struct GANSSAlmanacElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSAlmanacElement_t;
|
} GANSSAlmanacElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSAlmanacModel */
|
/* GANSSAlmanacModel */
|
||||||
typedef struct GANSSAlmanacModel
|
typedef struct GANSSAlmanacModel
|
||||||
{
|
{
|
||||||
long weekNumber;
|
long weekNumber;
|
||||||
SVIDMASK_t svIDMask;
|
SVIDMASK_t svIDMask;
|
||||||
long *toa /* OPTIONAL */;
|
long *toa /* OPTIONAL */;
|
||||||
@ -31,10 +32,10 @@ typedef struct GANSSAlmanacModel
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSAlmanacModel_t;
|
} GANSSAlmanacModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSAlmanacModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <OCTET_STRING.h>
|
#include <OCTET_STRING.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSAssistanceData */
|
/* GANSSAssistanceData */
|
||||||
typedef OCTET_STRING_t GANSSAssistanceData_t;
|
typedef OCTET_STRING_t GANSSAssistanceData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSAssistanceData;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSAssistanceData;
|
||||||
asn_struct_free_f GANSSAssistanceData_free;
|
asn_struct_free_f GANSSAssistanceData_free;
|
||||||
asn_struct_print_f GANSSAssistanceData_print;
|
asn_struct_print_f GANSSAssistanceData_print;
|
||||||
asn_constr_check_f GANSSAssistanceData_constraint;
|
asn_constr_check_f GANSSAssistanceData_constraint;
|
||||||
ber_type_decoder_f GANSSAssistanceData_decode_ber;
|
ber_type_decoder_f GANSSAssistanceData_decode_ber;
|
||||||
der_type_encoder_f GANSSAssistanceData_encode_der;
|
der_type_encoder_f GANSSAssistanceData_encode_der;
|
||||||
xer_type_decoder_f GANSSAssistanceData_decode_xer;
|
xer_type_decoder_f GANSSAssistanceData_decode_xer;
|
||||||
xer_type_encoder_f GANSSAssistanceData_encode_xer;
|
xer_type_encoder_f GANSSAssistanceData_encode_xer;
|
||||||
per_type_decoder_f GANSSAssistanceData_decode_uper;
|
per_type_decoder_f GANSSAssistanceData_decode_uper;
|
||||||
per_type_encoder_f GANSSAssistanceData_encode_uper;
|
per_type_encoder_f GANSSAssistanceData_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,22 @@
|
|||||||
#include <constr_CHOICE.h>
|
#include <constr_CHOICE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum GANSSClockModel_PR {
|
typedef enum GANSSClockModel_PR
|
||||||
|
{
|
||||||
GANSSClockModel_PR_NOTHING, /* No components present */
|
GANSSClockModel_PR_NOTHING, /* No components present */
|
||||||
GANSSClockModel_PR_standardClockModelList,
|
GANSSClockModel_PR_standardClockModelList,
|
||||||
/* Extensions may appear below */
|
/* Extensions may appear below */
|
||||||
|
|
||||||
} GANSSClockModel_PR;
|
} GANSSClockModel_PR;
|
||||||
|
|
||||||
/* GANSSClockModel */
|
/* GANSSClockModel */
|
||||||
typedef struct GANSSClockModel
|
typedef struct GANSSClockModel
|
||||||
{
|
{
|
||||||
GANSSClockModel_PR present;
|
GANSSClockModel_PR present;
|
||||||
union GANSSClockModel_u
|
union GANSSClockModel_u
|
||||||
{
|
{
|
||||||
@ -41,10 +43,10 @@ typedef struct GANSSClockModel
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSClockModel_t;
|
} GANSSClockModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSClockModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSClockModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,17 +14,18 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct GANSSReferenceTime;
|
struct GANSSReferenceTime;
|
||||||
struct GANSSRefLocation;
|
struct GANSSRefLocation;
|
||||||
struct GANSSIonosphericModel;
|
struct GANSSIonosphericModel;
|
||||||
|
|
||||||
/* GANSSCommonAssistData */
|
/* GANSSCommonAssistData */
|
||||||
typedef struct GANSSCommonAssistData
|
typedef struct GANSSCommonAssistData
|
||||||
{
|
{
|
||||||
struct GANSSReferenceTime *ganssReferenceTime /* OPTIONAL */;
|
struct GANSSReferenceTime *ganssReferenceTime /* OPTIONAL */;
|
||||||
struct GANSSRefLocation *ganssRefLocation /* OPTIONAL */;
|
struct GANSSRefLocation *ganssRefLocation /* OPTIONAL */;
|
||||||
struct GANSSIonosphericModel *ganssIonosphericModel /* OPTIONAL */;
|
struct GANSSIonosphericModel *ganssIonosphericModel /* OPTIONAL */;
|
||||||
@ -35,10 +36,10 @@ typedef struct GANSSCommonAssistData
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSCommonAssistData_t;
|
} GANSSCommonAssistData_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSCommonAssistData;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSCommonAssistData;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSDataBit */
|
/* GANSSDataBit */
|
||||||
typedef long GANSSDataBit_t;
|
typedef long GANSSDataBit_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBit;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBit;
|
||||||
asn_struct_free_f GANSSDataBit_free;
|
asn_struct_free_f GANSSDataBit_free;
|
||||||
asn_struct_print_f GANSSDataBit_print;
|
asn_struct_print_f GANSSDataBit_print;
|
||||||
asn_constr_check_f GANSSDataBit_constraint;
|
asn_constr_check_f GANSSDataBit_constraint;
|
||||||
ber_type_decoder_f GANSSDataBit_decode_ber;
|
ber_type_decoder_f GANSSDataBit_decode_ber;
|
||||||
der_type_encoder_f GANSSDataBit_encode_der;
|
der_type_encoder_f GANSSDataBit_encode_der;
|
||||||
xer_type_decoder_f GANSSDataBit_decode_xer;
|
xer_type_decoder_f GANSSDataBit_decode_xer;
|
||||||
xer_type_encoder_f GANSSDataBit_encode_xer;
|
xer_type_encoder_f GANSSDataBit_encode_xer;
|
||||||
per_type_decoder_f GANSSDataBit_decode_uper;
|
per_type_decoder_f GANSSDataBit_decode_uper;
|
||||||
per_type_encoder_f GANSSDataBit_encode_uper;
|
per_type_encoder_f GANSSDataBit_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSDataBitAssist */
|
/* GANSSDataBitAssist */
|
||||||
typedef struct GANSSDataBitAssist
|
typedef struct GANSSDataBitAssist
|
||||||
{
|
{
|
||||||
long ganssTOD;
|
long ganssTOD;
|
||||||
SVID_t svID;
|
SVID_t svID;
|
||||||
long ganssDataTypeID;
|
long ganssDataTypeID;
|
||||||
@ -30,10 +31,10 @@ typedef struct GANSSDataBitAssist
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSDataBitAssist_t;
|
} GANSSDataBitAssist_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBitAssist;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSDataBitAssist;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSDiffCorrections */
|
/* GANSSDiffCorrections */
|
||||||
typedef struct GANSSDiffCorrections
|
typedef struct GANSSDiffCorrections
|
||||||
{
|
{
|
||||||
long dganssRefTime;
|
long dganssRefTime;
|
||||||
SeqOfSgnTypeElement_t sgnTypeList;
|
SeqOfSgnTypeElement_t sgnTypeList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSDiffCorrections_t;
|
} GANSSDiffCorrections_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSDiffCorrections;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSDiffCorrections;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,22 +15,23 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct SeqOfGANSSTimeModel;
|
struct SeqOfGANSSTimeModel;
|
||||||
struct GANSSDiffCorrections;
|
struct GANSSDiffCorrections;
|
||||||
struct GANSSNavModel;
|
struct GANSSNavModel;
|
||||||
struct GANSSRealTimeIntegrity;
|
struct GANSSRealTimeIntegrity;
|
||||||
struct GANSSDataBitAssist;
|
struct GANSSDataBitAssist;
|
||||||
struct GANSSRefMeasurementAssist;
|
struct GANSSRefMeasurementAssist;
|
||||||
struct GANSSAlmanacModel;
|
struct GANSSAlmanacModel;
|
||||||
struct GANSSUTCModel;
|
struct GANSSUTCModel;
|
||||||
|
|
||||||
/* GANSSGenericAssistDataElement */
|
/* GANSSGenericAssistDataElement */
|
||||||
typedef struct GANSSGenericAssistDataElement
|
typedef struct GANSSGenericAssistDataElement
|
||||||
{
|
{
|
||||||
long *ganssID /* OPTIONAL */;
|
long *ganssID /* OPTIONAL */;
|
||||||
struct SeqOfGANSSTimeModel *ganssTimeModel /* OPTIONAL */;
|
struct SeqOfGANSSTimeModel *ganssTimeModel /* OPTIONAL */;
|
||||||
struct GANSSDiffCorrections *ganssDiffCorrections /* OPTIONAL */;
|
struct GANSSDiffCorrections *ganssDiffCorrections /* OPTIONAL */;
|
||||||
@ -47,10 +48,10 @@ typedef struct GANSSGenericAssistDataElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSGenericAssistDataElement_t;
|
} GANSSGenericAssistDataElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSGenericAssistDataElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSGenericAssistDataElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,12 +15,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSIonoStormFlags */
|
/* GANSSIonoStormFlags */
|
||||||
typedef struct GANSSIonoStormFlags
|
typedef struct GANSSIonoStormFlags
|
||||||
{
|
{
|
||||||
long ionoStormFlag1;
|
long ionoStormFlag1;
|
||||||
long ionoStormFlag2;
|
long ionoStormFlag2;
|
||||||
long ionoStormFlag3;
|
long ionoStormFlag3;
|
||||||
@ -29,10 +30,10 @@ typedef struct GANSSIonoStormFlags
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSIonoStormFlags_t;
|
} GANSSIonoStormFlags_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonoStormFlags;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonoStormFlags;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,22 +15,23 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSIonosphereModel */
|
/* GANSSIonosphereModel */
|
||||||
typedef struct GANSSIonosphereModel
|
typedef struct GANSSIonosphereModel
|
||||||
{
|
{
|
||||||
long ai0;
|
long ai0;
|
||||||
long ai1;
|
long ai1;
|
||||||
long ai2;
|
long ai2;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSIonosphereModel_t;
|
} GANSSIonosphereModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphereModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphereModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,15 +15,16 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct GANSSIonoStormFlags;
|
struct GANSSIonoStormFlags;
|
||||||
|
|
||||||
/* GANSSIonosphericModel */
|
/* GANSSIonosphericModel */
|
||||||
typedef struct GANSSIonosphericModel
|
typedef struct GANSSIonosphericModel
|
||||||
{
|
{
|
||||||
GANSSIonosphereModel_t ganssIonoModel;
|
GANSSIonosphereModel_t ganssIonoModel;
|
||||||
struct GANSSIonoStormFlags *ganssIonoStormFlags /* OPTIONAL */;
|
struct GANSSIonoStormFlags *ganssIonoStormFlags /* OPTIONAL */;
|
||||||
/*
|
/*
|
||||||
@ -33,10 +34,10 @@ typedef struct GANSSIonosphericModel
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSIonosphericModel_t;
|
} GANSSIonosphericModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphericModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSIonosphericModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -20,15 +20,16 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct ReferenceFrame;
|
struct ReferenceFrame;
|
||||||
|
|
||||||
/* GANSSLocationInfo */
|
/* GANSSLocationInfo */
|
||||||
typedef struct GANSSLocationInfo
|
typedef struct GANSSLocationInfo
|
||||||
{
|
{
|
||||||
struct ReferenceFrame *referenceFrame /* OPTIONAL */;
|
struct ReferenceFrame *referenceFrame /* OPTIONAL */;
|
||||||
GANSSTODm_t *ganssTODm /* OPTIONAL */;
|
GANSSTODm_t *ganssTODm /* OPTIONAL */;
|
||||||
long *ganssTODFrac /* OPTIONAL */;
|
long *ganssTODFrac /* OPTIONAL */;
|
||||||
@ -45,10 +46,10 @@ typedef struct GANSSLocationInfo
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSLocationInfo_t;
|
} GANSSLocationInfo_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSLocationInfo;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSLocationInfo;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSMeasureInfo */
|
/* GANSSMeasureInfo */
|
||||||
typedef struct GANSSMeasureInfo
|
typedef struct GANSSMeasureInfo
|
||||||
{
|
{
|
||||||
SeqOfGANSS_MsrSetElement_t ganssMsrSetList;
|
SeqOfGANSS_MsrSetElement_t ganssMsrSetList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSMeasureInfo_t;
|
} GANSSMeasureInfo_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSMeasureInfo;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSMeasureInfo;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,12 +16,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSNavModel */
|
/* GANSSNavModel */
|
||||||
typedef struct GANSSNavModel
|
typedef struct GANSSNavModel
|
||||||
{
|
{
|
||||||
long nonBroadcastIndFlag;
|
long nonBroadcastIndFlag;
|
||||||
long *toeMSB /* OPTIONAL */;
|
long *toeMSB /* OPTIONAL */;
|
||||||
long *eMSB /* OPTIONAL */;
|
long *eMSB /* OPTIONAL */;
|
||||||
@ -30,10 +31,10 @@ typedef struct GANSSNavModel
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSNavModel_t;
|
} GANSSNavModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSNavModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSNavModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,22 @@
|
|||||||
#include <constr_CHOICE.h>
|
#include <constr_CHOICE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum GANSSOrbitModel_PR {
|
typedef enum GANSSOrbitModel_PR
|
||||||
|
{
|
||||||
GANSSOrbitModel_PR_NOTHING, /* No components present */
|
GANSSOrbitModel_PR_NOTHING, /* No components present */
|
||||||
GANSSOrbitModel_PR_keplerianSet,
|
GANSSOrbitModel_PR_keplerianSet,
|
||||||
/* Extensions may appear below */
|
/* Extensions may appear below */
|
||||||
|
|
||||||
} GANSSOrbitModel_PR;
|
} GANSSOrbitModel_PR;
|
||||||
|
|
||||||
/* GANSSOrbitModel */
|
/* GANSSOrbitModel */
|
||||||
typedef struct GANSSOrbitModel
|
typedef struct GANSSOrbitModel
|
||||||
{
|
{
|
||||||
GANSSOrbitModel_PR present;
|
GANSSOrbitModel_PR present;
|
||||||
union GANSSOrbitModel_u
|
union GANSSOrbitModel_u
|
||||||
{
|
{
|
||||||
@ -41,10 +43,10 @@ typedef struct GANSSOrbitModel
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSOrbitModel_t;
|
} GANSSOrbitModel_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSOrbitModel;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSOrbitModel;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,29 +14,31 @@
|
|||||||
#include <BIT_STRING.h>
|
#include <BIT_STRING.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Dependencies */
|
/* Dependencies */
|
||||||
typedef enum GANSSPositioningMethod {
|
typedef enum GANSSPositioningMethod
|
||||||
|
{
|
||||||
GANSSPositioningMethod_gps = 0,
|
GANSSPositioningMethod_gps = 0,
|
||||||
GANSSPositioningMethod_galileo = 1
|
GANSSPositioningMethod_galileo = 1
|
||||||
} e_GANSSPositioningMethod;
|
} e_GANSSPositioningMethod;
|
||||||
|
|
||||||
/* GANSSPositioningMethod */
|
/* GANSSPositioningMethod */
|
||||||
typedef BIT_STRING_t GANSSPositioningMethod_t;
|
typedef BIT_STRING_t GANSSPositioningMethod_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethod;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSPositioningMethod;
|
||||||
asn_struct_free_f GANSSPositioningMethod_free;
|
asn_struct_free_f GANSSPositioningMethod_free;
|
||||||
asn_struct_print_f GANSSPositioningMethod_print;
|
asn_struct_print_f GANSSPositioningMethod_print;
|
||||||
asn_constr_check_f GANSSPositioningMethod_constraint;
|
asn_constr_check_f GANSSPositioningMethod_constraint;
|
||||||
ber_type_decoder_f GANSSPositioningMethod_decode_ber;
|
ber_type_decoder_f GANSSPositioningMethod_decode_ber;
|
||||||
der_type_encoder_f GANSSPositioningMethod_encode_der;
|
der_type_encoder_f GANSSPositioningMethod_encode_der;
|
||||||
xer_type_decoder_f GANSSPositioningMethod_decode_xer;
|
xer_type_decoder_f GANSSPositioningMethod_decode_xer;
|
||||||
xer_type_encoder_f GANSSPositioningMethod_encode_xer;
|
xer_type_encoder_f GANSSPositioningMethod_encode_xer;
|
||||||
per_type_decoder_f GANSSPositioningMethod_decode_uper;
|
per_type_decoder_f GANSSPositioningMethod_decode_uper;
|
||||||
per_type_encoder_f GANSSPositioningMethod_encode_uper;
|
per_type_encoder_f GANSSPositioningMethod_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSRealTimeIntegrity */
|
/* GANSSRealTimeIntegrity */
|
||||||
typedef struct GANSSRealTimeIntegrity
|
typedef struct GANSSRealTimeIntegrity
|
||||||
{
|
{
|
||||||
SeqOfBadSignalElement_t ganssBadSignalList;
|
SeqOfBadSignalElement_t ganssBadSignalList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSRealTimeIntegrity_t;
|
} GANSSRealTimeIntegrity_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSRealTimeIntegrity;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSRealTimeIntegrity;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,20 +15,21 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSRefLocation */
|
/* GANSSRefLocation */
|
||||||
typedef struct GANSSRefLocation
|
typedef struct GANSSRefLocation
|
||||||
{
|
{
|
||||||
Ext_GeographicalInformation_t threeDLocation;
|
Ext_GeographicalInformation_t threeDLocation;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSRefLocation_t;
|
} GANSSRefLocation_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefLocation;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefLocation;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,21 +16,22 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSRefMeasurementAssist */
|
/* GANSSRefMeasurementAssist */
|
||||||
typedef struct GANSSRefMeasurementAssist
|
typedef struct GANSSRefMeasurementAssist
|
||||||
{
|
{
|
||||||
long *ganssSignalID /* OPTIONAL */;
|
long *ganssSignalID /* OPTIONAL */;
|
||||||
SeqOfGANSSRefMeasurementElement_t ganssRefMeasAssitList;
|
SeqOfGANSSRefMeasurementElement_t ganssRefMeasAssitList;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSRefMeasurementAssist_t;
|
} GANSSRefMeasurementAssist_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementAssist;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementAssist;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -16,16 +16,17 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct AdditionalDopplerFields;
|
struct AdditionalDopplerFields;
|
||||||
struct AddionalAngleFields;
|
struct AddionalAngleFields;
|
||||||
|
|
||||||
/* GANSSRefMeasurementElement */
|
/* GANSSRefMeasurementElement */
|
||||||
typedef struct GANSSRefMeasurementElement
|
typedef struct GANSSRefMeasurementElement
|
||||||
{
|
{
|
||||||
SVID_t svID;
|
SVID_t svID;
|
||||||
long doppler0;
|
long doppler0;
|
||||||
struct AdditionalDopplerFields *additionalDoppler /* OPTIONAL */;
|
struct AdditionalDopplerFields *additionalDoppler /* OPTIONAL */;
|
||||||
@ -40,10 +41,10 @@ typedef struct GANSSRefMeasurementElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSRefMeasurementElement_t;
|
} GANSSRefMeasurementElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefMeasurementElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -17,12 +17,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSRefTimeInfo */
|
/* GANSSRefTimeInfo */
|
||||||
typedef struct GANSSRefTimeInfo
|
typedef struct GANSSRefTimeInfo
|
||||||
{
|
{
|
||||||
long *ganssDay /* OPTIONAL */;
|
long *ganssDay /* OPTIONAL */;
|
||||||
GANSSTOD_t ganssTOD;
|
GANSSTOD_t ganssTOD;
|
||||||
GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */;
|
GANSSTODUncertainty_t *ganssTODUncertainty /* OPTIONAL */;
|
||||||
@ -30,10 +31,10 @@ typedef struct GANSSRefTimeInfo
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSRefTimeInfo_t;
|
} GANSSRefTimeInfo_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefTimeInfo;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSRefTimeInfo;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -15,24 +15,25 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Forward declarations */
|
/* Forward declarations */
|
||||||
struct GANSSTOD_GSMTimeAssociation;
|
struct GANSSTOD_GSMTimeAssociation;
|
||||||
|
|
||||||
/* GANSSReferenceTime */
|
/* GANSSReferenceTime */
|
||||||
typedef struct GANSSReferenceTime
|
typedef struct GANSSReferenceTime
|
||||||
{
|
{
|
||||||
GANSSRefTimeInfo_t ganssRefTimeInfo;
|
GANSSRefTimeInfo_t ganssRefTimeInfo;
|
||||||
struct GANSSTOD_GSMTimeAssociation *ganssTOD_GSMTimeAssociation /* OPTIONAL */;
|
struct GANSSTOD_GSMTimeAssociation *ganssTOD_GSMTimeAssociation /* OPTIONAL */;
|
||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSReferenceTime_t;
|
} GANSSReferenceTime_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSReferenceTime;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSReferenceTime;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -18,12 +18,13 @@
|
|||||||
#include <constr_SEQUENCE.h>
|
#include <constr_SEQUENCE.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSSatelliteElement */
|
/* GANSSSatelliteElement */
|
||||||
typedef struct GANSSSatelliteElement
|
typedef struct GANSSSatelliteElement
|
||||||
{
|
{
|
||||||
SVID_t svID;
|
SVID_t svID;
|
||||||
long svHealth;
|
long svHealth;
|
||||||
long iod;
|
long iod;
|
||||||
@ -36,10 +37,10 @@ typedef struct GANSSSatelliteElement
|
|||||||
|
|
||||||
/* Context for parsing across buffer boundaries */
|
/* Context for parsing across buffer boundaries */
|
||||||
asn_struct_ctx_t _asn_ctx;
|
asn_struct_ctx_t _asn_ctx;
|
||||||
} GANSSSatelliteElement_t;
|
} GANSSSatelliteElement_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSSatelliteElement;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSSatelliteElement;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
@ -14,23 +14,24 @@
|
|||||||
#include <NativeInteger.h>
|
#include <NativeInteger.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C"
|
||||||
|
{
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* GANSSSignalID */
|
/* GANSSSignalID */
|
||||||
typedef long GANSSSignalID_t;
|
typedef long GANSSSignalID_t;
|
||||||
|
|
||||||
/* Implementation */
|
/* Implementation */
|
||||||
extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalID;
|
extern asn_TYPE_descriptor_t asn_DEF_GANSSSignalID;
|
||||||
asn_struct_free_f GANSSSignalID_free;
|
asn_struct_free_f GANSSSignalID_free;
|
||||||
asn_struct_print_f GANSSSignalID_print;
|
asn_struct_print_f GANSSSignalID_print;
|
||||||
asn_constr_check_f GANSSSignalID_constraint;
|
asn_constr_check_f GANSSSignalID_constraint;
|
||||||
ber_type_decoder_f GANSSSignalID_decode_ber;
|
ber_type_decoder_f GANSSSignalID_decode_ber;
|
||||||
der_type_encoder_f GANSSSignalID_encode_der;
|
der_type_encoder_f GANSSSignalID_encode_der;
|
||||||
xer_type_decoder_f GANSSSignalID_decode_xer;
|
xer_type_decoder_f GANSSSignalID_decode_xer;
|
||||||
xer_type_encoder_f GANSSSignalID_encode_xer;
|
xer_type_encoder_f GANSSSignalID_encode_xer;
|
||||||
per_type_decoder_f GANSSSignalID_decode_uper;
|
per_type_decoder_f GANSSSignalID_decode_uper;
|
||||||
per_type_encoder_f GANSSSignalID_encode_uper;
|
per_type_encoder_f GANSSSignalID_encode_uper;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user