<div dir="ltr"><div>What does "iw wlan0 station dump" have to say?  In particular, what is the ratio of TX packets to TX retries (or failures)?<br><br></div>I've generally seen 10% TX retries, compared to total TX packets, to be quite ideal.  A substantially higher percentage of TX retries, especially if over 100%, usually indicates a problem with noise or interference.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Apr 30, 2014 at 6:57 PM, cmsv <span dir="ltr"><<a href="mailto:cmsv@wirelesspt.net" target="_blank">cmsv@wirelesspt.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
inline reply<br>
<div><div class="h5"><br>
On 04/24/2014 05:27 AM, Nicolás Echániz wrote:<br>
> El 24/04/14 05:34, cmsv escribió:<br>
>> Recently i have experienced something quite usual to my experience and<br>
>> that was not happening previously in the same scenario where it is<br>
>> happening now.<br>
>><br>
>> Here is the example:<br>
>> 2 nodes at with adhoc at 2.4ghz at a distance of 415 meters<br>
>> one uses an omni 15 dbi antenna at 18dbi and another 24 dbi grid at 16 dbi.<br>
>><br>
>> This link was previously providing up to 21 mbit being 17 mbit a the<br>
>> lowest. Batman-adv TQ value was always around 230 being many times above<br>
>> 250.<br>
>><br>
>> However this has recently changed the same link with 230~250 TQ and the<br>
>> same txpower is now outputting 1.93 Mbits/sec<br>
>><br>
>> I have used iperf for bandwidth tests. Batman-adv version is 2013.4.<br>
>> Although i have considered several types of scenarios that can be<br>
>> causing this issue i have also tested against some which leaves me<br>
>> puzzled in regards to the presented TQ quality and dBm values as the<br>
>> nodes dBm are sometimes bad (ie: -80 ~ -90)<br>
>><br>
>> One of the main questions is: shouldn't batman-adv TQ reflect or be<br>
>> influenced by dBm values ? How come with -90 dBm i get batman-adv to<br>
>> show me 230 TQ ?<br>
>><br>
>> Also any feedback based on your experience regarding this type of<br>
>> scenario is welcome. This situation happened overnight without any<br>
>> access point new configurations or physical setup changes.<br>
<br>
> what's the mcast_rate value?<br>
><br>
> having 230~250 TQ on a -80/-90dBm link seems like you have a very low<br>
> mcast_rate.<br>
<br>
</div></div>I have always used the driver default setup to decide the bitrate and<br>
that worked up to a certain moment. Specifying it did not do much better<br>
but today i found this message<br>
<br>
ath: phy0: unsupported hw bitrate detected 0x1f using 1 Mbit<br>
<br>
Currently:<br>
wireless.@wifi-iface[0].mcast_rate=6000<br>
<br>
and i tested with up to 36000<br>
<br>
But i have also gotten the unsupported hw bitrate message without<br>
setting mcast_rate<br>
<br>
iwinfo reports:<br>
          Tx-Power: 19 dBm  Link Quality: 36/70<br>
          Signal: -74 dBm  Noise: -95 dBm<br>
          Bit Rate: 29.7 MBit/s<br>
          Encryption: WPA PSK (CCMP)<br>
          Type: nl80211  HW Mode(s): 802.11bgn<br>
          Hardware: unknown [Generic MAC80211]<br>
          TX power offset: unknown<br>
          Frequency offset: unknown<br>
          Supports VAPs: yes<br>
<br>
iw reports:<br>
<br>
Frequencies:<br>
                        * 2412 MHz [1] (20.0 dBm)<br>
                        * 2417 MHz [2] (20.0 dBm)<br>
                        * 2422 MHz [3] (20.0 dBm)<br>
                        * 2427 MHz [4] (20.0 dBm)<br>
                        * 2432 MHz [5] (20.0 dBm)<br>
                        * 2437 MHz [6] (20.0 dBm)<br>
                        * 2442 MHz [7] (20.0 dBm)<br>
                        * 2447 MHz [8] (20.0 dBm)<br>
                        * 2452 MHz [9] (20.0 dBm)<br>
                        * 2457 MHz [10] (20.0 dBm)<br>
                        * 2462 MHz [11] (20.0 dBm)<br>
                        * 2467 MHz [12] (20.0 dBm)<br>
                        * 2472 MHz [13] (20.0 dBm)<br>
                        * 2484 MHz [14] (disabled)<br>
<br>
And o notice that i am at the moment unable to set 20dBm unless i<br>
re-flash the device.<br>
<br>
wireless.radio0.htmode=HT20<br>
<br>
                Bitrates (non-HT):<br>
                        * 1.0 Mbps<br>
                        * 2.0 Mbps (short preamble supported)<br>
                        * 5.5 Mbps (short preamble supported)<br>
                        * 11.0 Mbps (short preamble supported)<br>
                        * 6.0 Mbps<br>
                        * 9.0 Mbps<br>
                        * 12.0 Mbps<br>
                        * 18.0 Mbps<br>
                        * 24.0 Mbps<br>
                        * 36.0 Mbps<br>
                        * 48.0 Mbps<br>
                        * 54.0 Mbps<br>
<br>
I also tested while removing HT functionality but without better results<br>
<br>
Horst shows;<br>
91% usage for 1M rate<br>
3.4% usage for 6M rate<br>
4% usage for 36M rate<br>
<br>
another node shows me :<br>
ath: phy0: unsupported hw bitrate detected 0x33 using 1 Mbit<br>
<br>
Chips in at the moment in use: Atheros AR9130 rev 2 and Atheros AR9132 rev 2<br>
<br>
So far it looks like a i have a bug according to atheros mailing lists<br>
<div class="HOEnZb"><div class="h5"> _______________________________________________<br>
> Battlemesh mailing list<br>
> <a href="mailto:Battlemesh@ml.ninux.org">Battlemesh@ml.ninux.org</a><br>
> <a href="http://ml.ninux.org/mailman/listinfo/battlemesh" target="_blank">http://ml.ninux.org/mailman/listinfo/battlemesh</a><br>
><br>
</div></div><br>_______________________________________________<br>
openwrt-users mailing list<br>
<a href="mailto:openwrt-users@lists.openwrt.org">openwrt-users@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Ben West<div><a href="http://gowasabi.net" target="_blank">http://gowasabi.net</a><br><a href="mailto:ben@gowasabi.net" target="_blank">ben@gowasabi.net</a><br>314-246-9434<br>

</div>
</div>