Change in libosmocore[master]: protocol/gsm_08_58.h: add ip.access Power Control structures

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 15 09:52:42 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/libosmocore/+/21726 )

Change subject: protocol/gsm_08_58.h: add ip.access Power Control structures
......................................................................

protocol/gsm_08_58.h: add ip.access Power Control structures

Change-Id: I9430bcb79c269efb4f9527f565cf4e12e4444940
Related: SYS#4918
---
M include/osmocom/gsm/protocol/gsm_08_58.h
1 file changed, 44 insertions(+), 0 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/gsm/protocol/gsm_08_58.h b/include/osmocom/gsm/protocol/gsm_08_58.h
index 1ed4438..aeaa6ff 100644
--- a/include/osmocom/gsm/protocol/gsm_08_58.h
+++ b/include/osmocom/gsm/protocol/gsm_08_58.h
@@ -780,6 +780,22 @@
 #endif
 }__attribute__ ((packed));
 
+/*! MS/BS Power Control Thresholds */
+struct ipac_preproc_pc_thresh {
+#if OSMO_IS_LITTLE_ENDIAN
+	uint8_t l_rxlev:6, reserved_l_rxlev:2;
+	uint8_t u_rxlev:6, reserved_u_rxlev:2;
+	uint8_t l_rxqual:3, reserved_l_rxqual:1,
+		u_rxqual:3, reserved_u_rxqual:1;
+#elif OSMO_IS_BIG_ENDIAN
+	uint8_t reserved_l_rxlev:2, l_rxlev:6;
+	uint8_t reserved_u_rxlev:2, u_rxlev:6;
+	uint8_t reserved_l_rxqual:1, l_rxqual:3,
+		reserved_u_rxqual:1, u_rxqual:3;
+#endif
+}__attribute__ ((packed));
+
+/*! Handover Thresholds */
 struct ipac_preproc_ho_thresh {
 #if OSMO_IS_LITTLE_ENDIAN
 	uint8_t l_rxlev_ul_h:6,
@@ -807,6 +823,34 @@
 #endif
 }__attribute__ ((packed));
 
+/*! PC Threshold Comparators */
+struct ipac_preproc_pc_comp {
+#if OSMO_IS_LITTLE_ENDIAN
+	uint8_t p1:5, reserved_p1:3;
+	uint8_t n1:5, reserved_n1:3;
+	uint8_t p2:5, reserved_p2:3;
+	uint8_t n2:5, reserved_n2:3;
+	uint8_t p3:5, reserved_p3:3;
+	uint8_t n3:5, reserved_n3:3;
+	uint8_t p4:5, reserved_p4:3;
+	uint8_t n4:5, reserved_n4:3;
+	uint8_t pc_interval:5, reserved_pc:3;
+	uint8_t red_step_size:4, inc_step_size:4;
+#elif OSMO_IS_BIG_ENDIAN
+	uint8_t reserved_p1:3, p1:5;
+	uint8_t reserved_n1:3, n1:5;
+	uint8_t reserved_p2:3, p2:5;
+	uint8_t reserved_n2:3, n2:5;
+	uint8_t reserved_p3:3, p3:5;
+	uint8_t reserved_n3:3, n3:5;
+	uint8_t reserved_p4:3, p4:5;
+	uint8_t reserved_n4:3, n4:5;
+	uint8_t reserved_pc:3, pc_interval:5;
+	uint8_t inc_step_size:4, red_step_size:4;
+#endif
+}__attribute__ ((packed));
+
+/*! HO Threshold Comparators */
 struct ipac_preproc_ho_comp {
 #if OSMO_IS_LITTLE_ENDIAN
 	uint8_t p5:5,

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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I9430bcb79c269efb4f9527f565cf4e12e4444940
Gerrit-Change-Number: 21726
Gerrit-PatchSet: 3
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20201215/eba25b91/attachment.htm>


More information about the gerrit-log mailing list