aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2015-12-13 17:07:01 +0100
committerHarald Welte <laforge@gnumonks.org>2015-12-13 17:07:01 +0100
commitacf211d9666b362bea9e8f6c9457fff59e0b1aff (patch)
tree008812d9566956030e4714cfb67223906e569525
parent116033d0d1240cf35a20830324c82774a18d3e8e (diff)
gsm_data_shared: Add per-lchan power control parameters on BTS sidelaforge/power_control
This is where the BTS stores its decoded power control related configuration.
-rw-r--r--openbsc/include/openbsc/gsm_data_shared.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/openbsc/include/openbsc/gsm_data_shared.h b/openbsc/include/openbsc/gsm_data_shared.h
index 24ab6d8ff..97bc9c57e 100644
--- a/openbsc/include/openbsc/gsm_data_shared.h
+++ b/openbsc/include/openbsc/gsm_data_shared.h
@@ -308,10 +308,15 @@ struct gsm_lchan {
/* Kind of the release/activation. E.g. RSL or PCU */
int rel_act_kind;
- /* power handling */
+ /* power control parameters as set by the BSC */
+ struct {
+ struct gsm_power_control ul;
+ struct gsm_power_control dl;
+ } power_control;
+
+ /* BTS side MS power control loop */
struct {
uint8_t current;
- uint8_t fixed;
} ms_power_ctrl;
#endif
};