<p>pespin has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22994">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">find_multi_slots: Avoid calling mslot_class_get_tx() on each iteration<br><br>Change-Id: I397495c158bce1c2715991371368b0d84cf69261<br>---<br>M src/gprs_rlcmac_ts_alloc.cpp<br>1 file changed, 1 insertion(+), 1 deletion(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-pcu refs/changes/94/22994/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gprs_rlcmac_ts_alloc.cpp b/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>index 6b34418..469ede3 100644</span><br><span>--- a/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>+++ b/src/gprs_rlcmac_ts_alloc.cpp</span><br><span>@@ -556,7 +556,7 @@</span><br><span>      /* Check for each UL (TX) slot */</span><br><span> </span><br><span>        /* Iterate through possible numbers of TX slots */</span><br><span style="color: hsl(0, 100%, 40%);">-      for (num_tx = 1; num_tx <= mslot_class_get_tx(mslot_class); num_tx += 1) {</span><br><span style="color: hsl(120, 100%, 40%);">+ for (num_tx = 1; num_tx <= Tx; num_tx += 1) {</span><br><span>             uint16_t tx_valid_win = (1 << num_tx) - 1;</span><br><span>             uint8_t rx_mask[MASK_TR + 1];</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-pcu/+/22994">change 22994</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-pcu/+/22994"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-pcu </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I397495c158bce1c2715991371368b0d84cf69261 </div>
<div style="display:none"> Gerrit-Change-Number: 22994 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>