pespin has uploaded this change for review.

View Change

bts: Adapt slot_mask to trx defined array size

struct gprs_rlcmac_bts still hardcodes it to 8, but using ARRAY_SIZE
there should aim at seeing the relation between those, and avoid having
one updated without the other.

Related: OS#5827

Change-Id: I165588ba10d8528a9a496175d8dfe9d902c89e55
---
M src/bts.cpp
1 file changed, 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/73/30573/1
diff --git a/src/bts.cpp b/src/bts.cpp
index 5ae0714..06ac5a7 100644
--- a/src/bts.cpp
+++ b/src/bts.cpp
@@ -424,7 +424,7 @@
struct gprs_rlcmac_tbf *tbf;
struct llist_head *tmp;
const struct osmo_mobile_identity *mi;
- uint8_t slot_mask[8];
+ uint8_t slot_mask[ARRAY_SIZE(bts->trx)];
int8_t first_ts; /* must be signed */

/* First, build the MI used to page on PDCH from available subscriber info: */

To view, visit change 30573. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-pcu
Gerrit-Branch: master
Gerrit-Change-Id: I165588ba10d8528a9a496175d8dfe9d902c89e55
Gerrit-Change-Number: 30573
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange