Date: Sun, 9 Dec 2012 15:05:57 -0800 From: Adrian Chadd <adrian@freebsd.org> To: Johann Hugo <jhugo@meraka.csir.co.za> Cc: freebsd-wireless@freebsd.org Subject: Re: [ath] Degraded throughput - adhoc mode Message-ID: <CAJ-Vmo=gJ3AqyDEhnv%2BO5Spqhu3Noe5eqhgUx1C=3y75WV8h6Q@mail.gmail.com> In-Reply-To: <201205181133.57403.jhugo@meraka.csir.co.za> References: <201205181133.57403.jhugo@meraka.csir.co.za>
next in thread | previous in thread | raw e-mail | index | archive | help
On 18 May 2012 02:33, Johann Hugo <jhugo@meraka.csir.co.za> wrote: > Hi > > We have an outdoor wifi mesh network with various atheros adapters configured > in adhoc mode. (FreeBSD-9) Hi, Please try -HEAD. I _think_ I've handled the WME configuration side of things right in IBSS mode. The problem with IBSS is that nodes are automatically created whenever frames are received; then a beacon frame will update the current configuration. So if you create an IBSS STA node based on receiving a data frame (and not a beacon) then it may create things with no WME config, and it'll just default to the default (non-aggressive mode) WME parameters. Now, my -HEAD patch may actually be incorrect, because it changes the global WME config for that particular device; there's no real per-node WME configuration unfortunately. I don't have a very large IBSS setup to test how this works in practice and I will admit I haven't sat down and really tried to understand / implement IBSS stuff in any useful fashion. But it did come up and it did parse the WME IE correctly. So just make sure you configure the WMM parameters on both sides to have aggressive BE parameters (aifs 2, cwmin4, cwmax 10, txop 64) and then reassociate. I may end up reverting the WME IE parsing for now and just requiring people statically configure the WME parameters on each node. I'll experiment some more and then commit it to -HEAD. But the ath IE parsing works and I now see fast-frames used in adhoc mode, which will bump the throughput up a bit on the non-11n NICs. Adrian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmo=gJ3AqyDEhnv%2BO5Spqhu3Noe5eqhgUx1C=3y75WV8h6Q>