osmo-bts/contrib/ber
Pau Espin 909d943fe8 contrib/ber: Avoid regenerating codec_bit_class.h every build
Automatic generation of a header file using a C program built during
build of osmo-bts creates several problems when cross-compiling.

The generated header file is only 59 lines long, so let's have it
generated in order to avoid having to call the helper program every
time.

A Makefile target is added to easily regenerate the file manually in
case it's needed:
make -C contrib/ber/ update_codec_bit_class_h

Fixes: acf0f0f0bb
Change-Id: I97efdb4ee00537fcae191b4267d0211d582ef372
2023-04-01 21:18:25 +00:00
..
Makefile.am contrib/ber: Avoid regenerating codec_bit_class.h every build 2023-04-01 21:18:25 +00:00
README contrib: Add BER testing tool 2023-03-30 12:56:14 +02:00
codec_bit_class.h contrib/ber: Avoid regenerating codec_bit_class.h every build 2023-04-01 21:18:25 +00:00
rtp_ber.c contrib: Add BER testing tool 2023-03-30 12:56:14 +02:00
rtp_gen_map.c contrib: Add BER testing tool 2023-03-30 12:56:14 +02:00

README

BER testing tool
----------------

* Check all configs (MSC/BSC/BTS) for proper codec support
  - FR enabled
  - EFR enabled
  - AMR 12.2 enabled (and all other modes disabled !)
  - Use `amr-payload octet-aligned` in BSC config

* Check BTS config
  - Disable jitter buffer : `bts N / rtp jitter-buffer 0`

* Check BSC config
  - Disable radio timeout : `network / bts n / radio-link-timeout infinite`

* Start BER testing tool
  - `./rtp_ber 4000`

* On the MSC CLI, start a silent-call, then request GSM to test loop
  - `subscriber imsi <XXX> silent-call start tch/f speech-amr`
  - `subscriber imsi <XXX> ms-test close-loop b`

  Don't forget to terminate the loop and terminate the silent call !

  - `subscriber imsi <XXX> ms-test open-loop`
  - `subscriber imsi <XXX> silent-call stop`