dexter has submitted this change. (
https://gerrit.osmocom.org/c/osmo-pcu/+/29892 )
Change subject: pcuif_proto: cosmetic: rename struct member "h" to
"hopping"
......................................................................
pcuif_proto: cosmetic: rename struct member "h" to "hopping"
struct gsm_pcu_if_info_ts has a struct member "h", which controls
frequency hopping. This struct member is named "hopping" in osmo-bts, so
lets rename it here as well to be consistent.
Change-Id: I3156b39cc91da07ee3f97e8c8be60fc989cf112b
---
M include/osmocom/pcu/pcuif_proto.h
M src/pcu_l1_if.cpp
2 files changed, 2 insertions(+), 2 deletions(-)
Approvals:
Jenkins Builder: Verified
fixeria: Looks good to me, approved
diff --git a/include/osmocom/pcu/pcuif_proto.h b/include/osmocom/pcu/pcuif_proto.h
index 8e40a27..bb1f834 100644
--- a/include/osmocom/pcu/pcuif_proto.h
+++ b/include/osmocom/pcu/pcuif_proto.h
@@ -128,7 +128,7 @@
struct gsm_pcu_if_info_ts {
uint8_t tsc;
- uint8_t h;
+ uint8_t hopping;
uint8_t hsn;
uint8_t maio;
uint8_t ma_bit_len;
diff --git a/src/pcu_l1_if.cpp b/src/pcu_l1_if.cpp
index f964b78..c1271a4 100644
--- a/src/pcu_l1_if.cpp
+++ b/src/pcu_l1_if.cpp
@@ -880,7 +880,7 @@
pdch->tsc = its->tsc;
/* (Optional) frequency hopping parameters */
- if (its->h) {
+ if (its->hopping) {
pdch->fh.enabled = true;
pdch->fh.maio = its->maio;
pdch->fh.hsn = its->hsn;
--
To view, visit
https://gerrit.osmocom.org/c/osmo-pcu/+/29892
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I3156b39cc91da07ee3f97e8c8be60fc989cf112b
Gerrit-Change-Number: 29892
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged