<p>fixeria has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/14784">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">fixup: pullRadioVector(): properly set modulation type<br><br>Change-Id: Ie576762b8074047dc77bddc32d16fc8ad7ed9c5d<br>---<br>M Transceiver52M/Transceiver.cpp<br>1 file changed, 6 insertions(+), 3 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/84/14784/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/Transceiver52M/Transceiver.cpp b/Transceiver52M/Transceiver.cpp</span><br><span>index 57a602c..b73e698 100644</span><br><span>--- a/Transceiver52M/Transceiver.cpp</span><br><span>+++ b/Transceiver52M/Transceiver.cpp</span><br><span>@@ -618,7 +618,7 @@</span><br><span>   bi->toa = 0.0;</span><br><span>   bi->noise = 0.0;</span><br><span>   bi->idle = false;</span><br><span style="color: hsl(0, 100%, 40%);">-  bi->modulation = (type == EDGE) ? MODULATION_8PSK : MODULATION_GMSK;</span><br><span style="color: hsl(120, 100%, 40%);">+  bi->modulation = MODULATION_GMSK;</span><br><span>   bi->tss = 0; /* TODO: we only support tss 0 right now */</span><br><span>   bi->tsc = 0;</span><br><span>   bi->ci = 0.0;</span><br><span>@@ -674,10 +674,13 @@</span><br><span>   rxBurst = demodAnyBurst(*burst, mSPSRx, ebp.amp, ebp.toa, type);</span><br><span> </span><br><span>   /* EDGE demodulator returns 444 (gSlotLen * 3) bits */</span><br><span style="color: hsl(0, 100%, 40%);">-  if (rxBurst->size() == EDGE_BURST_NBITS)</span><br><span style="color: hsl(120, 100%, 40%);">+  if (rxBurst->size() == EDGE_BURST_NBITS) {</span><br><span style="color: hsl(120, 100%, 40%);">+    bi->modulation = MODULATION_8PSK;</span><br><span>     bi->nbits = EDGE_BURST_NBITS;</span><br><span style="color: hsl(0, 100%, 40%);">-  else /* size() here is actually gSlotLen + 8, due to guard periods */</span><br><span style="color: hsl(120, 100%, 40%);">+  } else { /* size() here is actually gSlotLen + 8, due to guard periods */</span><br><span style="color: hsl(120, 100%, 40%);">+    bi->modulation = MODULATION_GMSK;</span><br><span>     bi->nbits = gSlotLen;</span><br><span style="color: hsl(120, 100%, 40%);">+  }</span><br><span> </span><br><span>   // Convert -1..+1 soft bits to 0..1 soft bits</span><br><span>   vectorSlicer(bi->rx_burst, rxBurst->begin(), bi->nbits);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/14784">change 14784</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-trx/+/14784"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie576762b8074047dc77bddc32d16fc8ad7ed9c5d </div>
<div style="display:none"> Gerrit-Change-Number: 14784 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>