diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-02-07 20:03:15 +0100 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2021-02-07 23:08:57 +0100 |
commit | b1485cd590feaa738b791f7d6835873180d4db02 (patch) | |
tree | 54e37ba654ac1cf68f4edbc0604d8049fa6acfb0 /include | |
parent | 6b36cce2eac3ee77f930e5c6b3597206d6136084 (diff) |
power_control: implement handling of P_Con_INTERVAL parameter
Change-Id: Ibf9956b2c6d829b38e9fda7d1f29790036219f42
Related: SYS#4918
Diffstat (limited to 'include')
-rw-r--r-- | include/osmo-bts/gsm_data.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h index 8071a28f..05b6cf27 100644 --- a/include/osmo-bts/gsm_data.h +++ b/include/osmo-bts/gsm_data.h @@ -201,6 +201,9 @@ struct gsm_power_ctrl_meas_params { /* MS/BS Power Control parameters */ struct gsm_power_ctrl_params { + /* Minimum interval between power level changes */ + uint8_t ctrl_interval; /* 1 step is 2 SACCH periods */ + /* Power change step size (maximum) */ uint8_t inc_step_size_db; /* increasing direction */ uint8_t red_step_size_db; /* reducing direction */ @@ -231,6 +234,8 @@ struct lchan_power_ctrl_state { const struct gsm_power_ctrl_params *dpc_params; /* Measurement pre-processing state (for dynamic mode) */ struct gsm_power_ctrl_meas_proc_state rxlev_meas_proc; + /* Number of SACCH blocks to skip (for dynamic mode) */ + int skip_block_num; /* Depending on the context (MS or BS power control), fields 'current' and 'max' * reflect either the MS power level (magic numbers), or BS Power reduction level |