From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Hansen Date: Tue, 26 May 2009 12:27:30 -0600 Subject: [ath9k-devel] WMM settings and AP performance In-Reply-To: <1243362167.2923.17.camel@jm-desktop> References: <20090526174640.GC9370@tesla> <1243361510.2923.10.camel@jm-desktop> <1243362167.2923.17.camel@jm-desktop> Message-ID: <4A1C3492.1090400@jeffhansen.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Jouni Malinen wrote: > On Tue, 2009-05-26 at 11:11 -0700, Jouni Malinen wrote: > >> On Tue, 2009-05-26 at 10:46 -0700, Luis Rodriguez wrote: >> > >> That 25/30 Mbps to 2 Mbps is quite a huge difference and in order for >> QoS parameters to cause something like this, they would need to be >> seriously wrong.. >> > > And well, it turns out that the values are indeed seriously wrong.. cw > min and max values are swapped by > b4af0b7ffa5f448bd12f81d2539ee2155919d493. > > Jeff: if you have a chance, you could try swapping the cw_max = aCWmin > and cw_min = aCWmax value to actually set cw_max = aCWmax and cw_min = > aCWmin.. In addition to this, I would actually recommend adding the > explicit tx_queue_data* parameters into hostapd.conf even if you are not > using WMM. This should work around the current bug and it will also set > the parameters in a way which are more suitable for an AP (the defaults > set in mac80211 are for station mode). In other words, add following > into hostapd.conf: > > tx_queue_data3_aifs=7 > tx_queue_data3_cwmin=15 > tx_queue_data3_cwmax=1023 > tx_queue_data3_burst=0 > > tx_queue_data2_aifs=3 > tx_queue_data2_cwmin=15 > tx_queue_data2_cwmax=63 > tx_queue_data2_burst=0 > > tx_queue_data1_aifs=1 > tx_queue_data1_cwmin=7 > tx_queue_data1_cwmax=15 > tx_queue_data1_burst=3.0 > > tx_queue_data0_aifs=1 > tx_queue_data0_cwmin=3 > tx_queue_data0_cwmax=7 > tx_queue_data0_burst=1.5 > That's good to know that the settings are separate for AP versus station mode. That's how Madwifi does it as well. I was actually referring to the case where I had a client in one of the LAN ports transmitting (it was the iperf client, and my laptop, a wireless client, was the iperf server), so indeed it was the AP transmitting. I will try these settings later and let you know. -Jeff -- --------------------------------------------------- "If someone's gotta do it, it might as well be me." x at jeffhansen.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20090526/f4ef7fd8/attachment-0001.htm