aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/utils.h
blob: cf5cf7afea4b5bbd6ee0a2c652d95d7d82e645e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SYSMOBTS_UTILS_H
#define SYSMOBTS_UTILS_H

#include <stdint.h>
#include "femtobts.h"

struct gsm_bts_trx;

int band_femto2osmo(GsmL1_FreqBand_t band);

int sysmobts_select_femto_band(struct gsm_bts_trx *trx, uint16_t arfcn);

int sysmobts_get_nominal_power(struct gsm_bts_trx *trx);

int sysmobts_get_target_power(struct gsm_bts_trx *trx);

void sysmobts_pa_pwr_init(struct gsm_bts_trx *trx);
void sysmobts_pa_maybe_step(struct gsm_bts_trx *trx);
#endif