<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Atheros AR9280 testing, settings, craziness, success, YMMV]]></title><description><![CDATA[<p dir="auto">I picked up a bunch of AR9280 based mini-pcie cards on eBay (hint, search for FCC IDs and buy them for less than $7 used).</p>
<p dir="auto">After playing around I have finally been able to get some good performance numbers out of these cards with testing done in N, and pure A.</p>
<p dir="auto">DISCLAIMER!!!<br />
This might well break your toys, so note your original settings and be careful.  I'm still looking at latency issues, even though throughput was the ultimate goal.</p>
<p dir="auto">I am using these settings on an asymmetric connection from Optimum/Cablevision on Eastern Long Island (NY), and I seen to be able to match or come close to wire speed for this hardware, and saturate the connection over wireless using both 802.11A and 802.11N.</p>
<p dir="auto">Running speed tests on speedof.me I noticed that connections across the wireless card tended to stutter, and I intuited that there was an issue with the send and receive buffers.</p>
<p dir="auto">sysctl -a hw.ath dumps the parameters that may be tweaked for the AR9280.  Some tweaks below relate to the AR9280 stuck beacon issue.</p>
<p dir="auto">Here are the settings I'm using:</p>
<p dir="auto">hw.ath.longcal: 30 (custom)<br />
hw.ath.shortcal: 100 (default)<br />
hw.ath.resetcal: 1200 (default)<br />
hw.ath.anical: 100 (default)<br />
hw.ath.rxbuf: 2048 (custom)<br />
hw.ath.txbuf: 896 (custom)<br />
hw.ath.txbuf_mgmt: 80 (custom)<br />
hw.ath.bstuck: 16 (custom)</p>
<p dir="auto">I also played with tcpinflight, and its relevant upper and lower limits, but I'm not sure it makes a difference or even works in FreeBSD 10.</p>
<p dir="auto">(system tunables)<br />
net.inet.tcp.inflight.enable #Enable TCP Inflight mode#: 1<br />
net.inet.tcp.inflight.max #recommended is 1073725440 default in no entry#: 1073725440<br />
net.inet.tcp.inflight.min  #recommended is 6144 default is no entry#: 3584</p>
<p dir="auto">*The last tweak was setting:<br />
net.inet.tcp.experimental.initcwnd10: 1</p>
<p dir="auto">All of the non-standard settings are now entered as custom entries in System-&gt;Advanced-&gt;System_Tunables</p>
<p dir="auto">Research on these toggles is left as an exercise for the reader.</p>
<p dir="auto">If your connection is symmetric, or less lopsided than mine (~18+M-down/~5+M-up), you might try raising the value for hw.ath.txbuf, and hw.ath.txbuf_mgmt (which I expect is the buffer for management beacons).  I just tested buffer values moving up from the default settings in increments divisible by 16.</p>
<p dir="auto">I have attached a sterile PNG of a representative run from my Macbook Pro connected via 5GHz 802.11n on channel 153.</p>
<p dir="auto">I hope this helps someone out.</p>
<p dir="auto">Cheers,<br />
Bennett</p>
<p dir="auto">[HARDWARE: HP-T5730 1G Ram, 1G Flash, upgraded from a Sempron to an AMD Athlon X2 Dual-Core Mobile L310 - AMML310HAX5DM.  WAN NIC is the onboard bge0 interface.  LAN NIC is a Trendnet TU2-ET100 which uses the axe driver and presents as ue0. WIFI: Hon Hai/ HP AR9280 AR5BXB92 MAC: 00:24:2b:XX:XX:XX.  SOFTWARE: nanobsd (1g)/2.2.2-RELEASE (amd64)/built on Mon Apr 13 20:10:22 CDT 2015/FreeBSD 10.1-RELEASE-p9.]<br />
<img src="/public/_imported_attachments_/1/speedof.me_15-04-26_sterile.png" alt="speedof.me_15-04-26_sterile.png" class=" img-fluid img-markdown" /><br />
<img src="/public/_imported_attachments_/1/speedof.me_15-04-26_sterile.png_thumb" alt="speedof.me_15-04-26_sterile.png_thumb" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.netgate.com/topic/83364/atheros-ar9280-testing-settings-craziness-success-ymmv</link><generator>RSS for Node</generator><lastBuildDate>Sun, 19 Apr 2026 11:24:45 GMT</lastBuildDate><atom:link href="https://forum.netgate.com/topic/83364.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 26 Apr 2015 09:46:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Atheros AR9280 testing, settings, craziness, success, YMMV on Thu, 30 Jul 2015 16:53:18 GMT]]></title><description><![CDATA[<p dir="auto">I am using an AR9227 based card with your <em>rxbuf</em> and <em>txbuf</em> settings and can confirm a noticeable throughput increase. I am experiencing other issues with the AR9227 chipset in hostap mode, but I'll be doing a writeup on that in another thread soon. Thank you for doing this research for the community!</p>
]]></description><link>https://forum.netgate.com/post/561139</link><guid isPermaLink="true">https://forum.netgate.com/post/561139</guid><dc:creator><![CDATA[bwooldridge]]></dc:creator><pubDate>Thu, 30 Jul 2015 16:53:18 GMT</pubDate></item><item><title><![CDATA[Reply to Atheros AR9280 testing, settings, craziness, success, YMMV on Tue, 09 Jun 2015 12:38:07 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for this. I just ordered one of these cards for my PFsense rig the other day before I saw your thread. I'll give your settings a try when it arrives. :)</p>
]]></description><link>https://forum.netgate.com/post/549892</link><guid isPermaLink="true">https://forum.netgate.com/post/549892</guid><dc:creator><![CDATA[wiretap]]></dc:creator><pubDate>Tue, 09 Jun 2015 12:38:07 GMT</pubDate></item></channel></rss>