From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 1 22:21:45 2013 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0FA83134 for ; Mon, 1 Apr 2013 22:21:45 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wg0-f44.google.com (mail-wg0-f44.google.com [74.125.82.44]) by mx1.freebsd.org (Postfix) with ESMTP id A03C060E for ; Mon, 1 Apr 2013 22:21:44 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id z12so2481076wgg.23 for ; Mon, 01 Apr 2013 15:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ggeS5t5uPmkoKnoWic0aFXh/BdV/DlrvTk5EmjFc7M0=; b=SNh5fFBChJrxykt34umP0O/l29o17WBYH19TBtBpL5UY5o249BgpSMTf0nVy+NcYgo UjHpNoToVqSyHUw0gyHaaXStQxKfHNKL1/BCGI3/g3HhXlmdbXDgvly+jy8heUECcI0j 9QKE73PmhqxQdC3u54ohw+6E9wZsZBlPWMxH590Gof6uFG0QXElwl5lnoM95vA2SRMiL tjqYUzSai0M93ktOMyDaG21bkU7xftpXElTXy6X8B4P0dL3wlNnOsuVYzjBEligNBhQk QK6l0as9o3iVT/5O9Y8/o4yc2kFKJEB693bSllOEe49vF+fP35NsaMwTrNNTVLdY1kmC AkHA== MIME-Version: 1.0 X-Received: by 10.180.13.34 with SMTP id e2mr12220212wic.29.1364854903607; Mon, 01 Apr 2013 15:21:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.108.130 with HTTP; Mon, 1 Apr 2013 15:21:43 -0700 (PDT) In-Reply-To: <1ca04345430c497abdd21b72680e4e0b@BN1PR05MB060.namprd05.prod.outlook.com> References: <1ca04345430c497abdd21b72680e4e0b@BN1PR05MB060.namprd05.prod.outlook.com> Date: Mon, 1 Apr 2013 15:21:43 -0700 X-Google-Sender-Auth: pvo1UMTZddD2TH4NWV7LgRUdI9k Message-ID: Subject: Re: 802.11n performance for AR9280 From: Adrian Chadd To: Gleb Romanov Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Apr 2013 22:21:45 -0000 Hi, 9.x doesn't implement 11n aggregation transmission. It only supports 11n MCS rate transmission (with no aggregation) and 11n RX with MCS and aggregation. If you update to -HEAD you should see the performance increase. Adrian On 1 April 2013 15:10, Gleb Romanov wrote: > Hello, > > I have a question about 802.11n performance for AR9280 ( my card is Ubiquiti SR71E ) in hostap mode. To measure performance, I'm looking at the download speeds from my file server (Samba) through a FreeBSD AP to a laptop with Centrino 6300 (agn 3x3:3). > I see 3-4 MBytes/s on the 2.4 GHz band (using ht/20 or ht/40 - doesn't matter) and around 5-6 MB/s on the 5 GHz band (ht/40). > The laptop is running Win 7 and can do 8-9 MB/s with a commercial AP (2.4 GHz ht/20 2x2:2) > > I run 9.1-RELEASE GENERIC and the question is this is the expected performance (from 9.1 RELEASE ) or I'm just doing something wrong? May be bad antennas or wires? > If it is expected and I need to switch to HEAD to do better, can I only update the "ATH_module_releated_stuff" and leave the rest of the base untouched? > Any comments would be helpful! > > Gleb > > > ------- > Here is some info about the system: > Right now it is configured for 2.4 GHz simply because of the range. With 5 GHz I need to in the same room with the AP to get the speeds I mentioned. > > uname -a > FreeBSD fwall 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 > > pciconf -lv > ath0@pci0:3:0:0: class=0x028000 card=0x4e050777 chip=0x002a168c rev=0x01 hdr=0x00 > vendor = 'Atheros Communications Inc.' > device = 'AR928X Wireless Network Adapter (PCI-Express)' > class = network > > /etc/rc.conf > wlans_ath0="wlan0" > create_args_wlan0="wlanmode hostap" > ifconfig_wlan0="apbridge mode 11ng ht channel 3:ht/40" > hostapd_enable="YES" #for wlan0 > hostapd_program="/usr/local/sbin/hostapd" #run from port instead of base > > ifconfig > wlan0: flags=8943 metric 0 mtu 1500 > ether 00:15:6d:85:25:13 > nd6 options=29 > media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng > status: running > ssid badaboom-n channel 3 (2422 MHz 11g ht/40+) bssid 00:15:6d:85:25:13 > country US ecm authmode WPA2/802.11i privacy MIXED deftxkey 2 > AES-CCM 2:128-bit AES-CCM 3:128-bit txpower 27 scanvalid 60 > protmode CTS -htcompat -ampdu ampdulimit 64k ampdudensity 8 -amsdu > smps wme burst dtimperiod 1 -dfs > > /etc/hostapd.conf: > ht_capab=[HT40+][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC12][DELAYED-BA][MAX-AMSDU-7935][DSSS_CCK-40][LDPC][GF][SMPS-DYNAMIC][PSMP][LSIG-TXOP-PROT] > (Here I used all available options. I don't see any difference between using the line and commenting it out. Huh?) > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"