<div dir="ltr"><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Hi, </span></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">> I'm not sure skipping the adjacent channels completely on 2.4 GHz would</span><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">> be ideal solution here. It is clear that the channels at each end of the</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">> band will require something more accurate. It may also be reasonable to</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">> at least drop the importance of the impact from adjacent channels.</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">I understood that's reasonable, agreed your idea.</span></div><div style="font-size:12.8000001907349px">I tried to test ACS using your latest patch, and I was able to see a good result </div><div style="font-size:12.8000001907349px">as I hoped. In addition, I tested other value witch Eduard mentioned.</div><div style="font-size:12.8000001907349px"><pre style="white-space:pre-wrap;color:rgb(0,0,0)">#define ACS_ADJ_WEIGHT 0.85
#define ACS_NEXT_ADJ_WEIGHT 0.55</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">The experiment result shows it works fine. I attach on the bottom.</pre></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">-An error about patch-</div><div style="font-size:12.8000001907349px">It seems having one mistake. is the part of adding adjacent value of +10MHz.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> adj_chan = acs_find_chan(iface, chan->freq +</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"> (j * 20) + 10);</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">- if (adj_chan && acs_usable_chan(adj_chan))</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">- factor += adj_chan->interference_factor;</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ if (adj_chan && acs_usable_chan(adj_chan)) {</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ factor += ACS_NEXT_ADJ_WEIGHT + <= This line.</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ adj_chan->interference_factor;</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ total_weight += ACS_NEXT_ADJ_WEIGHT;</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ }</span><br></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">it should be</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ factor += ACS_NEXT_ADJ_WEIGHT *</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">+ adj_chan->interference_factor;</span><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">==== result</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">set sample value to each channel interference factor.</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><div>1 =0.78</div><div>2 =0.764</div><div>3 =0.743</div><div>4 =0.729</div><div>5 =0.366</div><div>6 =0.158</div><div>7 =0.404</div><div>8 =0.613</div><div>9 =0.601</div><div>10 =0.585</div><div>11 =0.63</div></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Try to get the ideal channel changing weight definition.</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">1.</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">ACS_ADJ_WEIGHT=0.5</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">ACS_NEXT_ADJ_WEIGHT=0.25</span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">ACS_24GHZ_PREFER_1_6_11=0.8</span><br></div><div style="font-size:12.8000001907349px"><div style="font-size:12.8000001907349px">channel 1: total interference=0.770143, total_weight=1.75</div><div style="font-size:12.8000001907349px">channel 2: total interference=0.759, total_weight=2.25</div><div style="font-size:12.8000001907349px">channel 3: total interference=0.7104, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 4: total interference=0.6056, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 5: total interference=0.4385, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 6: total interference=0.3514, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 7: total interference=0.4125, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 8: total interference=0.5205, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 9: total interference=0.5834, total_weight=2.5</div><div style="font-size:12.8000001907349px">channel 10: total interference=0.601667, total_weight=2.25</div><div style="font-size:12.8000001907349px">channel 11: total interference=0.613, total_weight=1.75</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">2.</div><div><span style="font-size:12.8000001907349px">ACS_ADJ_WEIGHT=0.85</span></div><div><span style="font-size:12.8000001907349px">ACS_NEXT_ADJ_WEIGHT=0.55</span></div><div><span style="font-size:12.8000001907349px">ACS_24GHZ_PREFER_1_6_11=0.8</span><br></div><div><span style="font-size:12.8000001907349px"><div>channel 1: total interference=0.765854, total_weight=2.4</div><div>channel 2: total interference=0.756769, total_weight=3.25</div><div>channel 3: total interference=0.695355, total_weight=3.8</div><div>channel 4: total interference=0.573355, total_weight=3.8</div><div>channel 5: total interference=0.460737, total_weight=3.8</div><div>channel 6: total interference=0.408053, total_weight=3.8</div><div>channel 7: total interference=0.418737, total_weight=3.8</div><div>channel 8: total interference=0.493658, total_weight=3.8</div><div>channel 9: total interference=0.575789, total_weight=3.8</div><div>channel 10: total interference=0.605692, total_weight=3.25</div><div>channel 11: total interference=0.607417, total_weight=2.4</div></span></div></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px"><br></span></div><div style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Thanks,</span></div>
</div>