<p>tnt <strong>uploaded patch set #4</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18119">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">om2k: Fix the frequency specifier for TX/RX/TS conf requests<br><br>* OM2K_DEI_FREQ_SPEC_RX:<br><br>  (hop << 15) | (rx_addr << 10) | arfcn<br><br>  . hop     Hopping marker<br>  . rx_addr is not really the TRX number, it's just a sequential number<br>            different for all TRX, doesn't need to be 'in-order' of TRX<br>  . arfcn   The ARFCN number (0 for hopping and 1023 for 'no frequency')<br><br>* OM2K_DEI_FREQ_SPEC_TX:<br><br>  (hop << 15) | (tx_id << 10) | arfcn<br><br>  tx_id Pretty much same as rx_id except here we know that the order<br>  doesn't have to match TRX order. It seems to even vary from one<br>  reboot to another on some real-world capture we got.<br><br>  . hop     Hopping marker<br>  . tx_addr Same as 'rx_addr' above but for TX<br>  . arfcn   The ARFCN number (0 for hopping and 1023 for 'no frequency')<br><br>* OM2K_DEI_FREQ_LIST:<br><br>  Groups of 3 bytes (24 bits), 1 per frequency used.<br><br>  (tx_addr << 20) | (rx_addr << 16) | (is_c0 << 10) | arfcn<br><br>  . tx_addr See above<br>  . rx_addr See above<br>  . is_c0   Must be 1 if that ARFCN hosts the C0. (first TRX of a MCTR)<br>  . arfcn   The ARFCN number<br><br>  (Note MAIO must also be set properly on the different TRX/TS sharing<br>   a frequency ... )<br><br>The way we generate theses here is what we gathered from real-world<br>traces:<br> - Each 'TX' of each TRX is set to the ARFCN set in that TRX config<br> - Each 'RX' of each TRX is configures as 'hopping'<br>   (which I assume means it will just pick the appropriate freq ?)<br> - For each TS, we use :<br>   . tx_addr of the TRX that has the ARFCN we want to TX on<br>   . rx_addr of the TRX where the TS we're configuring is<br>   . arfcn   The actual ARFCN we want to add to the list<br><br>This is incomplete but will work for the 1 MCTR case.<br><br>Config for multiple MCTR or multiple virtual-bts still need to be<br>handled but it's not yet known exactly how those need to be<br>configured.<br><br>Signed-off-by: Sylvain Munaut <tnt@246tNt.com><br>Change-Id: Ie39a857543adaa11d1822346d8563ce3718412c8<br>---<br>M src/osmo-bsc/abis_om2000.c<br>1 file changed, 38 insertions(+), 7 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/19/18119/4</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-bsc/+/18119">change 18119</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-bsc/+/18119"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bsc </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Ie39a857543adaa11d1822346d8563ce3718412c8 </div>
<div style="display:none"> Gerrit-Change-Number: 18119 </div>
<div style="display:none"> Gerrit-PatchSet: 4 </div>
<div style="display:none"> Gerrit-Owner: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: tnt <tnt@246tNt.com> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>