(This is a patch against the latest, as of last night, git master.)<div><br></div><div>If you enable PCS, you'll never make it out of power-measurement without this patch:</div><div>(This should be applied by everyone.)</div>
<div><br></div><div>---8<---</div><div><div>diff --git a/src/host/layer23/src/mobile/gsm322.c b/src/host/layer23/src/mobile/gsm322.c</div><div>index ce5e1e1..ffecfc3 100644</div><div>--- a/src/host/layer23/src/mobile/gsm322.c</div>
<div>+++ b/src/host/layer23/src/mobile/gsm322.c</div><div>@@ -300,11 +300,14 @@ uint16_t index2arfcn(int index)</div><div> </div><div> int arfcn2index(uint16_t arfcn)</div><div> {</div><div>-<span class="Apple-tab-span" style="white-space:pre">        </span>if ((arfcn & ARFCN_PCS) && arfcn >= 512 && arfcn <= 810)</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">     </span>int is_pcs = arfcn & ARFCN_PCS;</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>arfcn &= ~ARFCN_FLAG_MASK;</div><div>+<span class="Apple-tab-span" style="white-space:pre">      </span>if ((is_pcs) && (arfcn >= 512) && (arfcn <= 810))</div>
<div> <span class="Apple-tab-span" style="white-space:pre">             </span>return (arfcn & 1023)-512+1024;</div><div> <span class="Apple-tab-span" style="white-space:pre"> </span>return arfcn & 1023;</div><div> }</div><div>
 </div><div>+</div><div> static char *bargraph(int value, int min, int max)</div><div> {</div><div> <span class="Apple-tab-span" style="white-space:pre">     </span>static char bar[128];</div></div><div>---8<---</div><div>
<br></div><div>If you enable PCS, you'll never receive packets without this patch: (which I only include for e88 and e86 but it should work for others)</div><div>(This should be applied if you don't use DCS in your area.)</div>
<div><br></div><div>---8<---</div><div><br></div><div><div>diff --git a/src/target/firmware/board/compal/rffe_dualband.c b/src/target/firmware/board/compal/rffe_dualband.c</div><div>index f4b7361..5df1dfc 100644</div><div>
--- a/src/target/firmware/board/compal/rffe_dualband.c</div><div>+++ b/src/target/firmware/board/compal/rffe_dualband.c</div><div>@@ -47,7 +47,8 @@ void rffe_mode(enum gsm_band band, int tx)</div><div> /* Returns RF wiring */</div>
<div> uint32_t rffe_get_rx_ports(void)</div><div> {</div><div>-<span class="Apple-tab-span" style="white-space:pre">    </span>return (1 << PORT_LO) | (1 << PORT_DCS1800);</div><div>+<span class="Apple-tab-span" style="white-space:pre">    </span>// return (1 << PORT_LO) | (1 << PORT_DCS1800);</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">     </span>return (1 << PORT_LO) | (1 << PORT_PCS1900);</div><div> }</div><div> </div><div> uint32_t rffe_get_tx_ports(void)</div><div>diff --git a/src/target/firmware/board/compal_e86/rffe_dualband_e86.c b/src/target/firmware/board/compal_e86/rffe_dualband_e86.c</div>
<div>index 25bb099..10459d9 100644</div><div>--- a/src/target/firmware/board/compal_e86/rffe_dualband_e86.c</div><div>+++ b/src/target/firmware/board/compal_e86/rffe_dualband_e86.c</div><div>@@ -51,7 +51,8 @@ void rffe_mode(enum gsm_band band, int tx)</div>
<div> /* Returns RF wiring */</div><div> uint32_t rffe_get_rx_ports(void)</div><div> {</div><div>-<span class="Apple-tab-span" style="white-space:pre">     </span>return (1 << PORT_LO) | (1 << PORT_DCS1800);</div>
<div>+<span class="Apple-tab-span" style="white-space:pre">     </span>// return (1 << PORT_LO) | (1 << PORT_DCS1800);</div><div>+<span class="Apple-tab-span" style="white-space:pre"> </span>return (1 << PORT_LO) | (1 << PORT_PCS1900);</div>
<div> }</div><div> </div><div> uint32_t rffe_get_tx_ports(void)</div></div><div><br></div><div>---8<---</div>