gsm_08_58: extend struct abis_rsl_osmo_temp_ovp_acch_cap

This change adds new [bit-]fields in order to allow:

  * selectively enabling SACCH and/or FACCH,
  * setting the RxQual (BER) threshold.

Change-Id: Ia28293a12de0af71f55e701fb65c46e905dae217
Related: SYS#5319
This commit is contained in:
Vadim Yanitskiy 2021-10-20 14:36:18 +03:00
parent 0a9430ee48
commit 8db64ee810
1 changed files with 11 additions and 1 deletions

View File

@ -141,7 +141,17 @@ struct abis_rsl_osmo_rep_acch_cap {
/* Osmocom specific IE to negotiate temporary overpower of ACCH channels */
struct abis_rsl_osmo_temp_ovp_acch_cap {
uint8_t overpower_db;
#if OSMO_IS_BIG_ENDIAN
uint8_t sacch_enable:1,
facch_enable:1,
rxqual:3,
overpower_db:3;
#elif OSMO_IS_LITTLE_ENDIAN
uint8_t overpower_db:3,
rxqual:3,
facch_enable:1,
sacch_enable:1;
#endif
} __attribute__ ((packed));
/* Chapter 9.1 */