Change in osmo-bts[master]: power_control: clarify units in 'struct lchan_power_ctrl_state'

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/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue Dec 8 09:45:10 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/osmo-bts/+/21500 )

Change subject: power_control: clarify units in 'struct lchan_power_ctrl_state'
......................................................................

power_control: clarify units in 'struct lchan_power_ctrl_state'

Change-Id: I934f2d1e1064eed7587bc5693ef981bf449a1b81
Related: SYS#4918
---
M include/osmo-bts/gsm_data.h
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve
  laforge: Looks good to me, approved



diff --git a/include/osmo-bts/gsm_data.h b/include/osmo-bts/gsm_data.h
index 6af96fe..fdd5ba3 100644
--- a/include/osmo-bts/gsm_data.h
+++ b/include/osmo-bts/gsm_data.h
@@ -161,6 +161,9 @@
 	uint32_t fn;
 };
 
+/* 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
+ * (attenuation, in dB).  Field 'avg100_rxlev_dbm' is always in dBm. */
 struct lchan_power_ctrl_state {
 	uint8_t current;
 	uint8_t max;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-bts/+/21500
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bts
Gerrit-Branch: master
Gerrit-Change-Id: I934f2d1e1064eed7587bc5693ef981bf449a1b81
Gerrit-Change-Number: 21500
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201208/4cdea25d/attachment.htm>


More information about the gerrit-log mailing list