dexter has uploaded this change for review. ( 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(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/92/29892/1
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;