- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly
For automated changes based on OAI PL v1.1:
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml
The rest (cmake, files with missing license, cmake) manually.
44 lines
1.5 KiB
C
44 lines
1.5 KiB
C
/*
|
|
* SPDX-License-Identifier: LicenseRef-CSSL-1.0
|
|
*/
|
|
|
|
#ifndef OAI_VRTSIM_CIRDB_PROVIDER_H
|
|
#define OAI_VRTSIM_CIRDB_PROVIDER_H
|
|
|
|
#include <stdint.h>
|
|
#include "SIMULATION/TOOLS/sim.h"
|
|
|
|
/*
|
|
Selection and timing options:
|
|
|
|
want_model_id: TDL family index. Allowed: 0 (TDL-A), 1 (TDL-B), 2 (TDL-C), 3 (TDL-D), 4 (TDL-E).
|
|
Set < 0 to express no preference.
|
|
want_ds_ns: RMS delay spread in ns. Typical values: 30, 100, 300. Nonnegative float.
|
|
Set < 0 to express no preference.
|
|
want_speed_mps: UE speed in m/s. Typical: walking ≈ 1.5, urban 3..10, vehicular 10..30.
|
|
Set < 0 to express no preference.
|
|
*/
|
|
typedef struct {
|
|
const char *yaml_path; /* optional absolute path to vrtsim.yaml */
|
|
const char *bin_path; /* optional absolute path to cir_db.bin */
|
|
|
|
int want_model_id; /* 0..4, or <0 for no preference */
|
|
float want_ds_ns; /* nonnegative, or <0 for no preference */
|
|
float want_speed_mps; /* nonnegative, or <0 for no preference */
|
|
} cirdb_select_opts_t;
|
|
|
|
/* Initialize provider and publish snapshot 0 through channel_desc_out. */
|
|
void cirdb_connect(int id,
|
|
int num_tx_antennas,
|
|
int num_rx_antennas,
|
|
const cirdb_select_opts_t *sel,
|
|
channel_desc_t **channel_desc_out);
|
|
|
|
/* Advance snapshot selection based on elapsed nanoseconds since the start. */
|
|
void cirdb_update(uint64_t ns_since_start);
|
|
|
|
/* Tear down and free resources. */
|
|
void cirdb_stop(void);
|
|
|
|
#endif /* OAI_VRTSIM_CIRDB_PROVIDER_H */
|