From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 18 07:52:20 2012 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 30646792 for ; Thu, 18 Oct 2012 07:52:20 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id F20488FC0A for ; Thu, 18 Oct 2012 07:52:19 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so8676522pad.13 for ; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=jL4kvJmEc8WpFth5nBuK40wfFkosibmYpjvRB4l9JoU=; b=kRg2uFCRu0IZw1ZjqWmgcE90fISDTX7VgQRcHwI6cNQG1G/yXUh+pdY79RjI/Thrmm qpY9jJRwaU018PwkSpj6n267+eqRiMZ7SBP/6QsiLNTUYnvLRMWWUhldIjWizFhX65OY xN/qgeykVJ6ZrxVLmZvYfW/Fw0W+QiS1dNIIq73xwIN5nFa0FHtIkx/r30FOM8RKJQX8 qqTRP7zmmj9pQ4sn2YG2030OGptIQMcbcLLjZ5duLturkwAjM6bio3Ft22PBjhEk/OOh qtusPG39yCN0jMRiQuZ6QFeTnhekoy1b6tDFRinN2YGosx7Fo+V7XzaZY7ByoKCCe0mI uPtw== MIME-Version: 1.0 Received: by 10.68.229.138 with SMTP id sq10mr64309389pbc.126.1350546739207; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.146.233 with HTTP; Thu, 18 Oct 2012 00:52:19 -0700 (PDT) In-Reply-To: <201210180948.57545.jhugo@meraka.csir.co.za> References: <201210180934.48741.jhugo@meraka.csir.co.za> <201210180948.57545.jhugo@meraka.csir.co.za> Date: Thu, 18 Oct 2012 00:52:19 -0700 X-Google-Sender-Auth: WMe3AtG-46mMf_zQO0wQg7-2POo Message-ID: Subject: Re: 11n in adhoc mode From: Adrian Chadd To: Johann Hugo 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: Thu, 18 Oct 2012 07:52:20 -0000 Ah, it looks like the MCS rate stuff isn't being setup or negotiated right? Please file a bug. I'm not sure if I'll have time to dig into it though; but it should be easy to fix. adrian On 18 October 2012 00:48, Johann Hugo wrote: > On Thursday 18 October 2012 09:37:09 Adrian Chadd wrote: > >> Hi, > >> > >> Try disabling ampdu - ifconfig wlanX -ampdu > > > > Nope, still the same. (done on both sides) > > > > mesh-1d04:~ # ifconfig wlan1 -ampdu > > mesh-1d04:~ # ifconfig wlan1 > > wlan1: flags=8843 metric 0 mtu 1500 > > ether 00:0c:42:6c:61:91 > > inet 10.50.50.1 netmask 0xffffff00 broadcast 10.50.50.255 > > inet6 fe80::20c:42ff:fe6c:6191%wlan1 prefixlen 64 scopeid 0x8 > > inet6 fde4:7b85:9218:10:20c:42ff:fe6c:6191 prefixlen 64 > > nd6 options=21 > > media: IEEE 802.11 Wireless Ethernet autoselect mode 11na > > status: running > > ssid testADHOC channel 28 (5140 MHz 11a ht/40-) bssid 02:8c:ca:fe:ca:10 > > regdomain NONE country ZA ecm authmode OPEN privacy OFF txpower 17 > > mcastrate 6 mgmtrate 6 scanvalid 60 -ampdu ampdulimit 8k > > ampdudensity 8 shortgi wme burst > > > > mesh-1d04:~ # ifconfig wlan1 list sta > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > 00:0c:42:6c:61:91 0 28 0M 18.5 30 25 0 I A > > 00:0c:42:6c:63:20 0 28 54M 18.5 0 3 288 I AQ HTCAP WME > > > > mesh-1d04:~ # iperf -c 10.50.50.2 > > ------------------------------------------------------------ > > Client connecting to 10.50.50.2, TCP port 5001 > > TCP window size: 32.5 KByte (default) > > ------------------------------------------------------------ > > [ 3] local 10.50.50.1 port 61073 connected with 10.50.50.2 port 5001 > > [ ID] Interval Transfer Bandwidth > > [ 3] 0.0-10.1 sec 24.5 MBytes 20.4 Mbits/sec > > mesh-1d04:~ # ifconfig wlan1 list sta > > ADDR AID CHAN RATE RSSI IDLE TXSEQ RXSEQ CAPS FLAG > > 00:0c:42:6c:61:91 0 28 0M 18.5 0 43 656 I A > > 00:0c:42:6c:63:20 0 28 54M 18.0 0 17776 59552 I AQ HTCAP WME > > mesh-1d04:~ # athratestats -i ath1 -m 00:0c:42:6c:63:20 > > static_rix (-1) ratemask 0x0 > > [ 250] cur rate 54 Mb since switch: packets 4 ticks 292459 > > [ 250] last sample (6 Mb) cur sample (0 ) packets sent 28 > > [ 250] packets since sample 6 sample tt 0 > > > > [1600] cur rate 54 Mb since switch: packets 1 ticks 292477 > > [1600] last sample (36 Mb) cur sample (0 ) packets sent 17748 > > [1600] packets since sample 20 sample tt 764 > > > > TX Rate TXTOTAL:TXOK EWMA T/ F avg last xmit > > [ 9 Mb:1600] 1:1 (100.0%) 1/ 0 1848uS 291850 > > [18 Mb:1600] 17:17 (100.0%) 19/ 0 1193uS 292315 > > [24 Mb:1600] 28:28 (100.0%) 30/ 0 956uS 292259 > > [36 Mb: 250] 1:1 (100.0%) 1/ 0 464uS 288917 > > [36 Mb:1600] 203:203 (100.0%) 214/ 0 1003uS 292325 > > [48 Mb:1600] 7733:7733 (100.0%) 8335/ 0 794uS 292323 > > [54 Mb: 250] 27:27 (100.0%) 27/ 0 444uS 292478 > > [54 Mb:1600] 9767:9767 (100.0%) 10518/ 0 648uS 292477 > > > > > >> > >> > >> > >> > >> Adrian > >> > >> On 18 October 2012 00:34, Johann Hugo wrote: > >> > Hi > >> > > >> > Finally got a 11n test setup running FreeBSD 10.0-CURRENT on two ARM > >> > boards. > >> > > >> > HW = gateworks ARM > >> > OS = FreeBSD 10.0-CURRENT > >> > Build = arm-10-20121011 > >> > Wifi = RouterBOARD R52nM = AR9220 > >> > > >> > 11n works if one device is in AP mode and the other in ST mode, but I >> > can > >> > get it running with both devices in ADHOC mode. > >> > > >> > Is there a special switch or something that I need to toggle for 11n to > >> > work in ADHOC mode ? > >> > > >> > Johann > >> > > >> > _______________________________________________ > >> > 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" > >