openbsc: Add new fields for the osmo-bts software

For the osmo-bts software we want to be able to slowly change the
output power. The state is kept inside the trx structure.
This commit is contained in:
Holger Hans Peter Freyther 2014-07-30 18:20:51 +02:00
parent a5cae441e2
commit 9b62580595
1 changed files with 12 additions and 0 deletions

View File

@ -372,11 +372,23 @@ struct gsm_bts_trx {
uint16_t arfcn;
int nominal_power; /* in dBm */
unsigned int max_power_red; /* in actual dB */
#ifndef ROLE_BSC
struct {
unsigned int max_initial_power; /* in dBm */
uint8_t step_size; /* in dB */
int step_interval; /* in seconds */
struct osmo_timer_list step_timer;
int current_power; /* in dBm */
} pa;
unsigned int power_reduce; /* in dB */
struct {
void *l1h;
} role_bts;
#endif
union {
struct {