Commit Graph
109 Commits
Author SHA1 Message Date
Laurent THOMAS 1b69fc6c5d fix incorrect usage of time_meas() that is not thread safe API 2023-08-30 15:27:33 +02:00
Robert Schmidt b90a59a671 Trigger Reestablishment via resetting RLC sequence numbers
Plugin can trigger reestablishment (on DU)
and show counters of reestablishment (on CU)
2023-08-12 11:48:17 +02:00
laurent 9121541b3c only cleaning 2023-07-10 12:00:25 +02:00
laurent 1b09f683f9 Fix compilation errors due to -Werror 2023-06-08 19:15:24 +02:00
francescomani eb09a63001 separating MAC and PHY procedures for TA 2023-04-12 10:32:35 +02:00
Robert Schmidt 0b7da43638 Call correct RRC functions in CI telnet module 2023-03-18 11:33:31 +01:00
Robert Schmidt 2560ba84e8 telnet documentation 2023-03-13 19:45:55 +01:00
Robert Schmidt e3520f952e DOC to finish 2023-03-10 12:38:17 +01:00
Robert Schmidt 97d989a865 Add telnet module with CI-specific functions
- adds function to retrieve the only UE's RNTI
- adds function to trigger reestablishment for the only UE present, or a
  specific via its RNTI
- adds function to verify the reestablishment counters
2023-03-10 12:37:02 +01:00
Robert Schmidt e1dc1d9d03 Correctly implement option to load additional SOs for telnet 2023-03-10 12:37:02 +01:00
Robert Schmidt 3b7d6377a0 Link targets that need RRC ASN.1 headers to header-only library
Most targets don't need the symbols from the compiled RRC ASN.1
libraries, but only the headers. In particular when compiling individual
libraries (e.g., for tests), linking the full library makes the RRC
ASN.1 libraries compile and link, when they are not needed (only headers
are needed).

For libraries that can do without these headers, don't link them.
2023-03-06 20:05:38 +01:00
Robert Schmidt 8a15fb7c63 RC: forward declarations and link physims better
The simulators have been changed: due to linker errors that would arise
otherwise, a lot of functions are defined in them to avoid such errors.
Some functions are also defined in header files; in this commit, we
define most functoins in nr_dummy_functions.c, which is compiled in, not
by including the C file, but by adding it to the target in
CMakeLists.txt

- nr_dlsim+nr_ulsim need NR_IF_Module_init(), so it cannot be in
  nr_dummy_functions, but the others need it
- Link correcr NR_IF_Module_init() into these simulators, and reduce
  overall link list
- Correctly link remaining simulators
2023-03-06 20:04:38 +01:00
Robert Schmidt 2cdc433518 Telnet: softmodem exit cmd: do not stop config module 2023-02-23 16:31:04 +01:00
Robert Schmidt 9a0dd7c1b3 Update for webserver; cleanup in CMakeLists.txt
- Add oai header to typescript and html sources, add support to commands
  requiring two parameters, add more helpfiles
- Fix help bug (html comments not removed from tooltips)
- Fix backend build problem and 2 warnings
- Correctly initialize variables in nr_phy_scope.c
- Use add_subdirectory for websrv cmake build
- correctly link to asn1_lte_rrc and asn1_nr_rrc
- fix bug: correctly recognize npm packet
- only configure targets if explicitly asked for by users
- use add_subdirectory
- Use add_subdirectory for telnet cmake build
- Minor cleanup in build_oai
- Move softscope build in dedicated CMakeLists, and comment out
  DEBUG_MAC_INTERFACE option (not found in code)
- Make DEBUG_ASN1 a cmake only option ( no C macro) as it's not used as
  a C macro in the code, and develop align
2023-02-21 17:01:07 +01:00
laurent b74ba0fb92 cleaning only 2023-01-19 14:52:39 +01:00
Robert Schmidt 23c92ee0ed Merge remote-tracking branch 'origin/websrv2' into integration_2022_wk50 2022-12-15 16:30:33 +01:00
frtabu e65f13e175 review fixes 2022-12-08 15:27:33 +01:00
Robert Schmidt 09b4c65782 Generate and build LTE RRC ASN.1 during build time 2022-12-02 15:43:05 +01:00
Robert Schmidt 60bc5397e8 Generate and build NR RRC ASN.1 during build time 2022-12-02 15:42:59 +01:00
Robert Schmidt 287c182925 Remove FlexRAN
- Remove any FlexRAN code
- Cleanup config files
- Remove LFDS7, libyaml dependencies
2022-11-30 14:30:18 +01:00
frtabu 21b3484e02 Initial web server implementation 2022-11-30 11:34:54 +01:00
francescomani 44ee11be8e cleanup NR UE dead code 2022-10-18 09:03:25 +02:00
Robert Schmidt 634e38bd31 Remove DEADLINE_SCHEDULER and CPU_AFFINITY defines 2022-10-14 09:14:18 +02:00
Robert Schmidt 5662fb2177 Merge remote-tracking branch 'origin/develop-ta' into integration_2022_wk41 2022-10-11 23:31:49 +02:00
Robert Schmidt 767f2e31db Merge remote-tracking branch 'origin/ci-physim-cleanup' into integration_2022_wk41 2022-10-10 16:12:43 +02:00
Robert Schmidt 02d69da11d Merge remote-tracking branch 'origin/ue-remove-thread-id' into integration_2022_wk40 2022-10-05 16:11:47 +02:00
Sakthivel Velumani 8a71877eec Remove thread id and make slot processing in series 2022-09-29 13:43:16 -04:00
Robert Schmidt 6160ab14be Remove targets/bin/ 2022-09-29 10:03:28 +02:00
laurent 2822415952 remove unused variables 2022-09-20 13:49:43 +02:00
Arash Sahbafard 7265feb4e1 Telnetsrv cmd to print TA values in UE 2022-08-26 13:44:26 +02:00
Arash Sahbafard b68057ef2a Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ no parameters 2022-08-26 13:44:26 +02:00
Arash Sahbafard 25bd5fb915 Telnetsrv: TELNETSRV_CMDFLAG_PUSHINTPOOLQ cmds get fifo
Previously, only the first out of multiple telnet commands with
TELNETSRV_CMDFLAG_PUSHINTPOOLQ option would get a pointer to the fifo
queue, which is fixed in this commit.

Further, add_telnetcmd() now checks whether TELNET_MAXCMD is reached,
and prints and error.

Reformatted/simplified the function.
2022-08-26 13:44:26 +02:00
Robert Schmidt 211b6feadf Use (portable) rdtsc_oai() in tpool 2022-02-25 17:55:27 +01:00
Robert Schmidt 72a4ed80da Merge remote-tracking branch 'origin/msc-removal' into integration_2022_wk08 2022-02-19 19:43:11 +01:00
Robert Schmidt b9a216d79a Take timing measurements for UL DLSCH decoding steps
- Measure time of deinterleaving, rate unmatching, and LDPC decoding of
  DLSCH decoding
- Add merge_meas() function to merge measurements into one
- Rename time meas variables with "turbo" to "ldpc"
2022-01-28 16:10:50 +01:00
Robert Schmidt 71619bb7b4 Add measurement stats for rx_pdsch and ul_indication 2022-01-28 16:10:50 +01:00
Robert Schmidt 00e058537d Remove MSC library, it is not used anywhere 2022-01-27 10:53:07 +01:00
Robert Schmidt dc294a8b63 Drop unneeded form.h include from telnet 2021-12-09 15:29:37 +01:00
frtabu 94c7ad6f47 minor fix after rebase on develop 2021-10-20 17:09:46 +02:00
frtabu b15373e414 remove 2 useless modif which added alignment attributes, fix telnet server compilation erro 2021-10-20 17:09:46 +02:00
frtabu c3c02bbd91 Use same port number for source and destination number in new gtp implementation. 2021-10-20 17:09:46 +02:00
frtabu 9707cb9910 rebase on develop 2021-10-20 17:09:46 +02:00
frtabu 40fcd549ad enhance cpu measurment implementation 2021-10-20 17:09:46 +02:00
frtabu 272b42e8a1 remove file telnetsrv_5gUE_measurements.c (renamed) 2021-10-20 17:09:46 +02:00
frtabu cf09105b9a start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
frtabu 9ca6305013 Add more measurments in telnet server for 5G UE 2021-10-20 17:09:46 +02:00
frtabu c1f4bb18ea start implementing access to nrUE cpu measurments via telnet server, as ith lte enb 2021-10-20 17:09:46 +02:00
Laurent THOMAS b5bbfdade3 after merge, remain compile errors 2021-05-16 23:57:35 +02:00
hardy 246afc7ccb Merge remote-tracking branch 'origin/sim-channels' into integration_2020_wk15 2021-04-14 14:37:09 +02:00
Laurent OpenCells 4511e70fac fix from ci results 2021-04-05 12:56:52 +02:00