[openbsc PATCH 1/5] openbsc/gsm_data_shared.h: Added the attribute reduce_power in TRX

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Hans Peter Freyther holger at freyther.de
Tue Apr 29 07:14:07 UTC 2014


On Mon, Apr 28, 2014 at 01:38:47PM +0200, Alvaro Neira Ayuso wrote:
> From: Álvaro Neira Ayuso <anayuso at sysmocom.de>

> --- a/openbsc/include/openbsc/gsm_data_shared.h
> +++ b/openbsc/include/openbsc/gsm_data_shared.h
> @@ -371,6 +371,7 @@ struct gsm_bts_trx {
>  	uint16_t arfcn;
>  	int nominal_power;		/* in dBm */
>  	unsigned int max_power_red;	/* in actual dB */
> +	int power_reduce;		/* in dBm */

any reason to make it use int and not unsigned int? As this
is a relative value the right unit is dB (take this with a
grain of salt as I am just a software guy)





More information about the OpenBSC mailing list