[OpenWrt-Devel] Q: mac80211: defailt distance-settings 0

2014-10-07 Thread Bastian Bittorf
i seems that '/lib/netifd/wireless/mac80211.sh' sets
the default distance to '0' if not defined via uci.

what does that mean? dynamic ack or not?
because 0 seems to be a valid value:

root@box:~ iw phy phy0 set distance
Usage:  iw [options] phy phyname set distance auto|distance

Enable ACK timeout estimation algorithm (dynack) or set appropriate
coverage class for given link distance in meters.
To disable dynack set valid value for coverage class.
Valid values: 0 - 114750

bye, bastian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Q: mac80211: defailt distance-settings 0

2014-10-07 Thread Felix Fietkau
On 2014-10-07 08:15, Bastian Bittorf wrote:
 i seems that '/lib/netifd/wireless/mac80211.sh' sets
 the default distance to '0' if not defined via uci.
 
 what does that mean? dynamic ack or not?
 because 0 seems to be a valid value:
0 does not imply dynamic ACK, it is simply the minimum value.
Enabling dynack by default would be a bad idea.

- Felix
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] Q: mac80211: defailt distance-settings 0 (Felix Fietkau)

2014-10-07 Thread Bill Moffitt




Message: 1
Date: Tue, 07 Oct 2014 12:35:25 +0200
From: Felix Fietkau n...@openwrt.org
To: mailinglist openwrt-devel@lists.openwrt.org
Subject: Re: [OpenWrt-Devel] Q: mac80211: defailt distance-settings 0
Message-ID: 5433c1ed.5050...@openwrt.org
Content-Type: text/plain; charset=windows-1252

On 2014-10-07 08:15, Bastian Bittorf wrote:
 i seems that '/lib/netifd/wireless/mac80211.sh' sets
 the default distance to '0' if not defined via uci.
 
 what does that mean? dynamic ack or not?
 because 0 seems to be a valid value:
0 does not imply dynamic ACK, it is simply the minimum value.
Enabling dynack by default would be a bad idea.

- Felix



Felix-

Thanks for the clarification; I was under the same impression as Bastian. Which 
brings up three follow-up questions:

1. How DO you turn dynack on?
2. When was dynack first added to ath9k and to OpenWRT? (I.e. what's the 
earliest version of OpenWRT in which it can be used?)
3.) Is 0 the right default for distance? Might 100 or 1000 be better values? 

(I'm using OpenWRT for outdoor WiFi in the U.S. with 600 mw access points, so I 
may have a slightly warped sense of what's right here...)

In my experience, the default seems to work OK out to over 2 km.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel