From owner-freebsd-wireless@FreeBSD.ORG Sun Apr 24 17:57:31 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4187106566B for ; Sun, 24 Apr 2011 17:57:31 +0000 (UTC) (envelope-from petar@smokva.net) Received: from morrison.andev.ch (morrison.andev.ch [78.47.142.202]) by mx1.freebsd.org (Postfix) with ESMTP id 654968FC17 for ; Sun, 24 Apr 2011 17:57:31 +0000 (UTC) Received: from pintail.smokva.net (84-73-24-182.dclient.hispeed.ch [84.73.24.182]) by morrison.andev.ch (Postfix) with ESMTP id 9D7A65DA4E for ; Sun, 24 Apr 2011 19:57:29 +0200 (CEST) Date: Sun, 24 Apr 2011 19:57:28 +0200 From: Petar Bogdanovic To: freebsd-wireless@freebsd.org Message-ID: <20110424175728.GA12886@pintail.smokva.net> Mail-Followup-To: freebsd-wireless@freebsd.org References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> <20110422153827.GA26063@pintail.smokva.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30) Subject: Re: ath: tx-rate stops adapting after a while X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 24 Apr 2011 17:57:32 -0000 On Sat, Apr 23, 2011 at 01:14:43AM +0800, Adrian Chadd wrote: > > Do that when it's happy @ 54mbit, then when it isn't. Let's compare. Ok, here we go: (1) sample_stats after a few hours happiness only [HWADDR-FREEBSD-AP] refcnt 5 static_rix 0 ratemask 0x0 [ 250] cur rix 0 since switch: packets 0 ticks 0 [ 250] last sample 0 cur sample 0 packets sent 0 [ 250] packets since sample 0 sample tt 0 [1600] cur rix 0 since switch: packets 0 ticks 0 [1600] last sample 0 cur sample 0 packets sent 0 [1600] packets since sample 0 sample tt 0 [HWADDR-NETBSD-STA] refcnt 3 static_rix -1 ratemask 0xfcf [ 250] cur rix 10 since switch: packets 1 ticks 96635490 [ 250] last sample 11 cur sample -1 packets sent 2819633 [ 250] packets since sample 8 sample tt 444 [1600] cur rix 11 since switch: packets 2 ticks 96515658 [1600] last sample 10 cur sample -1 packets sent 5805129 [1600] packets since sample 2 sample tt 672 [ 1: 250] 24:24 (100%) T 24 F 0 avg 3216 last 169832 [ 1:1600] 5:5 (100%) T 6 F 0 avg 16940 last 9861244 [11:1600] 1:1 (100%) T 1 F 0 avg 2085 last 9867211 [12: 250] 1972:1972 (100%) T 2111 F 0 avg 673 last 3197972 [18: 250] 7173:7172 ( 99%) T 7737 F 0 avg 639 last 3177528 [18:1600] 3:2 ( 66%) T 8 F 1 avg 1820 last 8846212 [24: 250] 42567:42563 ( 99%) T 44791 F 0 avg 516 last 3175409 [24:1600] 927:923 ( 99%) T 992 F 0 avg 1102 last 3216447 [36: 250] 339953:339935 ( 99%) T 355486 F 0 avg 505 last 3161841 [36:1600] 12573:12555 ( 99%) T 13346 F 0 avg 850 last 3204473 [48: 250] 986272:986199 ( 99%) T 1030354 F 0 avg 448 last 240193 [48:1600] 896245:896161 ( 99%) T 927385 F 0 avg 768 last 3178500 [54: 250] 1441934:1441804 ( 99%) T 1505752 F 0 avg 477 last 360073 [54:1600] 4895676:4895500 ( 99%) T 5048083 F 0 avg 644 last 360095 [HWADDR-OSX106-STA] refcnt 3 static_rix -1 ratemask 0xfcf [ 250] cur rix 11 since switch: packets 7 ticks 96872650 [ 250] last sample 8 cur sample -1 packets sent 268 [ 250] packets since sample 7 sample tt 492 [1600] cur rix 10 since switch: packets 128 ticks 96873953 [1600] last sample 11 cur sample -1 packets sent 19736 [1600] packets since sample 1 sample tt 644 [ 1: 250] 5:5 (100%) T 6 F 0 avg 3980 last 170183 [ 1:1600] 1:0 ( 0%) T 3 F 1 avg 28642 last 62489 [12: 250] 8:8 (100%) T 11 F 0 avg 1195 last 214446 [12:1600] 2:2 (100%) T 2 F 0 avg 1480 last 57381 [18: 250] 12:12 (100%) T 14 F 0 avg 655 last 155966 [18:1600] 146:146 (100%) T 164 F 0 avg 1323 last 52414 [24: 250] 16:16 (100%) T 19 F 0 avg 631 last 18212 [24:1600] 905:904 ( 99%) T 1030 F 0 avg 1260 last 6699 [36: 250] 6:6 (100%) T 9 F 0 avg 829 last 143665 [36:1600] 605:603 ( 99%) T 681 F 0 avg 941 last 2139 [48: 250] 28:27 ( 96%) T 33 F 0 avg 635 last 18481 [48:1600] 5598:5595 ( 99%) T 6180 F 0 avg 771 last 1259 [54: 250] 199:199 (100%) T 214 F 0 avg 519 last 3158 [54:1600] 12488:12485 ( 99%) T 13925 F 0 avg 814 last 1307 (2) sample_stats after a few hours being happy, then depressed.. for the sake of comparison, I included the stats for an always happy OSX box [HWADDR-FREEBSD-AP] refcnt 4 static_rix 0 ratemask 0x0 [ 250] cur rix 0 since switch: packets 0 ticks 0 [ 250] last sample 0 cur sample 0 packets sent 0 [ 250] packets since sample 0 sample tt 0 [1600] cur rix 0 since switch: packets 0 ticks 0 [1600] last sample 0 cur sample 0 packets sent 0 [1600] packets since sample 0 sample tt 0 [HWADDR-NETBSD-STA] refcnt 65 static_rix -1 ratemask 0xfcf [ 250] cur rix 9 since switch: packets 2 ticks 84635202 [ 250] last sample 11 cur sample -1 packets sent 7530330 [ 250] packets since sample 6 sample tt 444 [1600] cur rix 3 since switch: packets 20 ticks 84658350 [1600] last sample 8 cur sample -1 packets sent 168841 [1600] packets since sample 2 sample tt 940 [ 1: 250] 546:545 ( 99%) T 717 F 0 avg 4149 last 20012 [ 1:1600] 1:0 ( 0%) T 3 F 1 avg 14016 last 898932 [ 5: 250] 48:48 (100%) T 49 F 0 avg 1314 last 5066666 [11: 250] 373:373 (100%) T 429 F 0 avg 1374 last 6129628 [11:1600] 168619:168619 (100%) T 175842 F 0 avg 2142 last 323 [12: 250] 33141:33021 ( 99%) T 36265 F 0 avg 670 last 225657 [12:1600] 152:32 ( 21%) T 663 F 115 avg 2218 last 6130416 [18: 250] 56864:56664 ( 99%) T 63313 F 0 avg 633 last 224868 [18:1600] 216:16 ( 7%) T 1360 F 185 avg 1286 last 3206776 [24: 250] 190793:190116 ( 99%) T 207079 F 0 avg 512 last 188474 [24:1600] 686:9 ( 1%) T 5050 F 638 avg 940 last 1244466 [36: 250] 746945:746368 ( 99%) T 789265 F 0 avg 488 last 23353 [36:1600] 585:8 ( 1%) T 4082 F 577 avg 892 last 289086 [48: 250] 2384880:2383906 ( 99%) T 2503980 F 0 avg 556 last 135017 [48:1600] 1006:32 ( 3%) T 6951 F 970 avg 691 last 279662 [54: 250] 4124833:4121865 ( 99%) T 4326694 F 0 avg 513 last 66133 [54:1600] 3031:63 ( 2%) T 21813 F 2960 avg 767 last 357176 [HWADDR-OSX106-STA] refcnt 7 static_rix -1 ratemask 0xfcf [ 250] cur rix 10 since switch: packets 4 ticks 84656713 [ 250] last sample 11 cur sample -1 packets sent 110264 [ 250] packets since sample 2 sample tt 444 [1600] cur rix 11 since switch: packets 54 ticks 84657320 [1600] last sample 10 cur sample 10 packets sent 505325 [1600] packets since sample 3 sample tt 672 [ 1: 250] 20:17 ( 85%) T 27 F 0 avg 3977 last 20537 [ 1:1600] 17:12 ( 70%) T 36 F 0 avg 25887 last 115951 [ 5: 250] 2:2 (100%) T 2 F 0 avg 1295 last 5277352 [ 5:1600] 1:1 (100%) T 1 F 0 avg 3259 last 3356857 [11:1600] 4:4 (100%) T 7 F 0 avg 5426 last 115902 [12: 250] 581:581 (100%) T 585 F 0 avg 597 last 39452 [12:1600] 3:3 (100%) T 8 F 0 avg 13568 last 1076285 [18: 250] 1263:1262 ( 99%) T 1290 F 0 avg 600 last 159936 [18:1600] 817:816 ( 99%) T 847 F 0 avg 2927 last 356098 [24: 250] 3462:3461 ( 99%) T 3526 F 0 avg 509 last 35807 [24:1600] 8321:8317 ( 99%) T 8588 F 0 avg 1000 last 105002 [36: 250] 11383:11380 ( 99%) T 11578 F 0 avg 492 last 8258 [36:1600] 2220:2215 ( 99%) T 2402 F 0 avg 909 last 10730 [48: 250] 32340:32335 ( 99%) T 32821 F 0 avg 448 last 1812 [48:1600] 74473:74455 ( 99%) T 76257 F 0 avg 685 last 2116 [54: 250] 61249:61243 ( 99%) T 62101 F 0 avg 463 last 2078 [54:1600] 419600:419540 ( 99%) T 426599 F 0 avg 689 last 1233 From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 11:07:12 2011 Return-Path: Delivered-To: freebsd-wireless@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F4C51065673 for ; Mon, 25 Apr 2011 11:07:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4CBFD8FC26 for ; Mon, 25 Apr 2011 11:07:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p3PB7CoA084749 for ; Mon, 25 Apr 2011 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p3PB7BSR084745 for freebsd-wireless@FreeBSD.org; Mon, 25 Apr 2011 11:07:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 25 Apr 2011 11:07:11 GMT Message-Id: <201104251107.p3PB7BSR084745@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-wireless@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-wireless@FreeBSD.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 11:07:12 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/156327 wireless [bwn] bwn driver causes 20%-50% packet loss o kern/156322 wireless [wpi] no ahdemo support for if_wpi o kern/156321 wireless [ath] ahdemo doesn't work with if_ath o kern/155100 wireless [ath] ath driver on busy channel: "stuck beacon" p kern/154598 wireless [ath] Atheros 5424/2424 can't connect to WPA network o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption o kern/154007 wireless [ath] Atheros ar9287 card does not get recognized. o kern/153448 wireless [ath] ath networking device loses association after a o kern/152750 wireless [ath] ath0 lot of bad series hwrate o kern/151198 wireless [ath] ath/5416 fails bgscan with "ath0: ath_chan_set: o kern/149786 wireless [bwn] bwn on Dell Inspiron 1150: connections stall o kern/149539 wireless [ath] atheros ar9287 is not supported by ath_hal o kern/149516 wireless [ath] ath(4) hostap with fake MAC/BSSID results in sta o kern/149373 wireless [realtek/atheros]: None of my network card working o kern/149307 wireless [ath] Doesn't work Atheros 9285 o kern/148322 wireless [ath] Triggering atheros wifi beacon misses in hostap o kern/148317 wireless [ath] FreeBSD 7.x hostap memory leak in net80211 or At o kern/148112 wireless [ath] Atheros 9285 cannot register with wifi AP (timeo o kern/148078 wireless [ath] wireless networking stops functioning o kern/144987 wireless [wpi] [panic] injecting packets with wlaninject using o bin/144109 wireless hostapd(8) uses the MAC of the wireless interface, but o kern/143868 wireless [ath] [patch] [request] allow Atheros watchdog timeout o conf/143079 wireless hostapd(8) startup missing multi wlan functionality p kern/140567 wireless [ath] [patch] ath is not worked on my notebook PC o kern/140245 wireless [ath] [panic] Kernel panic during network activity on o kern/137592 wireless [ath] panic - 7-STABLE (Aug 7, 2009 UTC) crashes on ne o kern/136943 wireless [wpi] [lor] wpi0_com_lock / wpi0 o kern/136836 wireless [ath] atheros card stops functioning after about 12 ho o kern/132722 wireless [ath] Wifi ath0 associates fine with AP, but DHCP or I o bin/131549 wireless ifconfig(8) can't clear 'monitor' mode on the wireless o kern/126475 wireless [ath] [panic] ath pcmcia card inevitably panics under o kern/125721 wireless [ath] Terrible throughput/high ping latency with Ubiqu o kern/125332 wireless [ath] [panic] crash under any non-tiny networking unde o kern/124767 wireless [iwi] Wireless connection using iwi0 driver (Intel 220 o kern/124753 wireless [ieee80211] net80211 discards power-save queue packets o docs/120456 wireless ath(4) needs to specify requirement on wlan_scan_sta o kern/119513 wireless [ath] [irq] inserting dlink dwl-g630 wireless card res o kern/116747 wireless [ndis] FreeBSD 7.0-CURRENT crash with Dell TrueMobile f kern/105348 wireless [ath] ath device stopps TX 40 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 13:53:24 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9366D106564A for ; Mon, 25 Apr 2011 13:53:24 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 247A58FC08 for ; Mon, 25 Apr 2011 13:53:23 +0000 (UTC) Received: by wyf23 with SMTP id 23so2066878wyf.13 for ; Mon, 25 Apr 2011 06:53:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=9gmPxIWVrmR/uJImmBn8brOSfIbNNhvpVcNhkkMeO2o=; b=tLiQIo4H8qqRfunoi/T2ycapU3Q8UZKZ4sm2elQdNjn/VXoWphnT7pQP5qXLJoW1Za h3Na5w5cWlXLkZAGFm+6gO7akCNQMH887lv1j+547emkhHVwtn/ZEVI0nL4h1vwFLLes nCpVmJ9F4X/5UbgCqP2CWN4yyDID58EWI0QdI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=GWLDl5cAu5Y51WOwFv4zKLo3ZOw9XBn23e7Z30yidBNQtW4qFMwsiYuDSbkFGezdAc YeeWe37vshyLB/paBelXYYR9J+w9CaIWPhIXEC21rGzdYks3+t2mcHDqxVzty1mDdEYn Xa2HG9vdXzV69R5DFf5XEwgBE2RBTETYgIFLM= MIME-Version: 1.0 Received: by 10.227.63.6 with SMTP id z6mr2388913wbh.53.1303739602899; Mon, 25 Apr 2011 06:53:22 -0700 (PDT) Received: by 10.227.174.13 with HTTP; Mon, 25 Apr 2011 06:53:22 -0700 (PDT) In-Reply-To: <20110424175728.GA12886@pintail.smokva.net> References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> <20110422153827.GA26063@pintail.smokva.net> <20110424175728.GA12886@pintail.smokva.net> Date: Mon, 25 Apr 2011 21:53:22 +0800 Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: ath: tx-rate stops adapting after a while X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 13:53:24 -0000 hm. I have seen this at home but only in artificial setups. I am glad you're seeing this. The problem is that it isn't immediately obvious if it is a tx problem, an rx problem or a bit of both. Would you mind trying -head first? Just so you are running the same code as i am? On 25/04/2011, Petar Bogdanovic wrote: > On Sat, Apr 23, 2011 at 01:14:43AM +0800, Adrian Chadd wrote: >> >> Do that when it's happy @ 54mbit, then when it isn't. Let's compare. > > Ok, here we go: > > (1) sample_stats after a few hours happiness only > > [HWADDR-FREEBSD-AP] refcnt 5 static_rix 0 ratemask 0x0 > [ 250] cur rix 0 since switch: packets 0 ticks 0 > [ 250] last sample 0 cur sample 0 packets sent 0 > [ 250] packets since sample 0 sample tt 0 > [1600] cur rix 0 since switch: packets 0 ticks 0 > [1600] last sample 0 cur sample 0 packets sent 0 > [1600] packets since sample 0 sample tt 0 > > [HWADDR-NETBSD-STA] refcnt 3 static_rix -1 ratemask 0xfcf > [ 250] cur rix 10 since switch: packets 1 ticks 96635490 > [ 250] last sample 11 cur sample -1 packets sent 2819633 > [ 250] packets since sample 8 sample tt 444 > [1600] cur rix 11 since switch: packets 2 ticks 96515658 > [1600] last sample 10 cur sample -1 packets sent 5805129 > [1600] packets since sample 2 sample tt 672 > [ 1: 250] 24:24 (100%) T 24 F 0 avg 3216 last > 169832 > [ 1:1600] 5:5 (100%) T 6 F 0 avg 16940 last > 9861244 > [11:1600] 1:1 (100%) T 1 F 0 avg 2085 last > 9867211 > [12: 250] 1972:1972 (100%) T 2111 F 0 avg 673 last > 3197972 > [18: 250] 7173:7172 ( 99%) T 7737 F 0 avg 639 last > 3177528 > [18:1600] 3:2 ( 66%) T 8 F 1 avg 1820 last > 8846212 > [24: 250] 42567:42563 ( 99%) T 44791 F 0 avg 516 last > 3175409 > [24:1600] 927:923 ( 99%) T 992 F 0 avg 1102 last > 3216447 > [36: 250] 339953:339935 ( 99%) T 355486 F 0 avg 505 last > 3161841 > [36:1600] 12573:12555 ( 99%) T 13346 F 0 avg 850 last > 3204473 > [48: 250] 986272:986199 ( 99%) T 1030354 F 0 avg 448 last > 240193 > [48:1600] 896245:896161 ( 99%) T 927385 F 0 avg 768 last > 3178500 > [54: 250] 1441934:1441804 ( 99%) T 1505752 F 0 avg 477 last > 360073 > [54:1600] 4895676:4895500 ( 99%) T 5048083 F 0 avg 644 last > 360095 > > [HWADDR-OSX106-STA] refcnt 3 static_rix -1 ratemask 0xfcf > [ 250] cur rix 11 since switch: packets 7 ticks 96872650 > [ 250] last sample 8 cur sample -1 packets sent 268 > [ 250] packets since sample 7 sample tt 492 > [1600] cur rix 10 since switch: packets 128 ticks 96873953 > [1600] last sample 11 cur sample -1 packets sent 19736 > [1600] packets since sample 1 sample tt 644 > [ 1: 250] 5:5 (100%) T 6 F 0 avg 3980 last > 170183 > [ 1:1600] 1:0 ( 0%) T 3 F 1 avg 28642 last > 62489 > [12: 250] 8:8 (100%) T 11 F 0 avg 1195 last > 214446 > [12:1600] 2:2 (100%) T 2 F 0 avg 1480 last > 57381 > [18: 250] 12:12 (100%) T 14 F 0 avg 655 last > 155966 > [18:1600] 146:146 (100%) T 164 F 0 avg 1323 last > 52414 > [24: 250] 16:16 (100%) T 19 F 0 avg 631 last > 18212 > [24:1600] 905:904 ( 99%) T 1030 F 0 avg 1260 last 6699 > [36: 250] 6:6 (100%) T 9 F 0 avg 829 last > 143665 > [36:1600] 605:603 ( 99%) T 681 F 0 avg 941 last 2139 > [48: 250] 28:27 ( 96%) T 33 F 0 avg 635 last > 18481 > [48:1600] 5598:5595 ( 99%) T 6180 F 0 avg 771 last 1259 > [54: 250] 199:199 (100%) T 214 F 0 avg 519 last 3158 > [54:1600] 12488:12485 ( 99%) T 13925 F 0 avg 814 last 1307 > > > (2) sample_stats after a few hours being happy, then depressed.. for the > sake of comparison, I included the stats for an always happy OSX box > > [HWADDR-FREEBSD-AP] refcnt 4 static_rix 0 ratemask 0x0 > [ 250] cur rix 0 since switch: packets 0 ticks 0 > [ 250] last sample 0 cur sample 0 packets sent 0 > [ 250] packets since sample 0 sample tt 0 > [1600] cur rix 0 since switch: packets 0 ticks 0 > [1600] last sample 0 cur sample 0 packets sent 0 > [1600] packets since sample 0 sample tt 0 > > [HWADDR-NETBSD-STA] refcnt 65 static_rix -1 ratemask 0xfcf > [ 250] cur rix 9 since switch: packets 2 ticks 84635202 > [ 250] last sample 11 cur sample -1 packets sent 7530330 > [ 250] packets since sample 6 sample tt 444 > [1600] cur rix 3 since switch: packets 20 ticks 84658350 > [1600] last sample 8 cur sample -1 packets sent 168841 > [1600] packets since sample 2 sample tt 940 > [ 1: 250] 546:545 ( 99%) T 717 F 0 avg 4149 last > 20012 > [ 1:1600] 1:0 ( 0%) T 3 F 1 avg 14016 last > 898932 > [ 5: 250] 48:48 (100%) T 49 F 0 avg 1314 last > 5066666 > [11: 250] 373:373 (100%) T 429 F 0 avg 1374 last > 6129628 > [11:1600] 168619:168619 (100%) T 175842 F 0 avg 2142 last 323 > [12: 250] 33141:33021 ( 99%) T 36265 F 0 avg 670 last > 225657 > [12:1600] 152:32 ( 21%) T 663 F 115 avg 2218 last > 6130416 > [18: 250] 56864:56664 ( 99%) T 63313 F 0 avg 633 last > 224868 > [18:1600] 216:16 ( 7%) T 1360 F 185 avg 1286 last > 3206776 > [24: 250] 190793:190116 ( 99%) T 207079 F 0 avg 512 last > 188474 > [24:1600] 686:9 ( 1%) T 5050 F 638 avg 940 last > 1244466 > [36: 250] 746945:746368 ( 99%) T 789265 F 0 avg 488 last > 23353 > [36:1600] 585:8 ( 1%) T 4082 F 577 avg 892 last > 289086 > [48: 250] 2384880:2383906 ( 99%) T 2503980 F 0 avg 556 last > 135017 > [48:1600] 1006:32 ( 3%) T 6951 F 970 avg 691 last > 279662 > [54: 250] 4124833:4121865 ( 99%) T 4326694 F 0 avg 513 last > 66133 > [54:1600] 3031:63 ( 2%) T 21813 F 2960 avg 767 last > 357176 > > [HWADDR-OSX106-STA] refcnt 7 static_rix -1 ratemask 0xfcf > [ 250] cur rix 10 since switch: packets 4 ticks 84656713 > [ 250] last sample 11 cur sample -1 packets sent 110264 > [ 250] packets since sample 2 sample tt 444 > [1600] cur rix 11 since switch: packets 54 ticks 84657320 > [1600] last sample 10 cur sample 10 packets sent 505325 > [1600] packets since sample 3 sample tt 672 > [ 1: 250] 20:17 ( 85%) T 27 F 0 avg 3977 last > 20537 > [ 1:1600] 17:12 ( 70%) T 36 F 0 avg 25887 last > 115951 > [ 5: 250] 2:2 (100%) T 2 F 0 avg 1295 last > 5277352 > [ 5:1600] 1:1 (100%) T 1 F 0 avg 3259 last > 3356857 > [11:1600] 4:4 (100%) T 7 F 0 avg 5426 last > 115902 > [12: 250] 581:581 (100%) T 585 F 0 avg 597 last > 39452 > [12:1600] 3:3 (100%) T 8 F 0 avg 13568 last > 1076285 > [18: 250] 1263:1262 ( 99%) T 1290 F 0 avg 600 last > 159936 > [18:1600] 817:816 ( 99%) T 847 F 0 avg 2927 last > 356098 > [24: 250] 3462:3461 ( 99%) T 3526 F 0 avg 509 last > 35807 > [24:1600] 8321:8317 ( 99%) T 8588 F 0 avg 1000 last > 105002 > [36: 250] 11383:11380 ( 99%) T 11578 F 0 avg 492 last 8258 > [36:1600] 2220:2215 ( 99%) T 2402 F 0 avg 909 last > 10730 > [48: 250] 32340:32335 ( 99%) T 32821 F 0 avg 448 last 1812 > [48:1600] 74473:74455 ( 99%) T 76257 F 0 avg 685 last 2116 > [54: 250] 61249:61243 ( 99%) T 62101 F 0 avg 463 last 2078 > [54:1600] 419600:419540 ( 99%) T 426599 F 0 avg 689 last 1233 > _______________________________________________ > 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" > From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 14:15:14 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF33E1065674 for ; Mon, 25 Apr 2011 14:15:14 +0000 (UTC) (envelope-from petar@smokva.net) Received: from morrison.andev.ch (morrison.andev.ch [78.47.142.202]) by mx1.freebsd.org (Postfix) with ESMTP id 7DF508FC21 for ; Mon, 25 Apr 2011 14:15:14 +0000 (UTC) Received: from pintail.smokva.net (84-73-24-182.dclient.hispeed.ch [84.73.24.182]) by morrison.andev.ch (Postfix) with ESMTP id D263F5DA89 for ; Mon, 25 Apr 2011 16:15:12 +0200 (CEST) Date: Mon, 25 Apr 2011 16:15:11 +0200 From: Petar Bogdanovic To: freebsd-wireless@freebsd.org Message-ID: <20110425141511.GA20184@pintail.smokva.net> Mail-Followup-To: freebsd-wireless@freebsd.org References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> <20110422153827.GA26063@pintail.smokva.net> <20110424175728.GA12886@pintail.smokva.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21+23 (f7160c94ff70) (2010-12-30) Subject: Re: ath: tx-rate stops adapting after a while X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 14:15:14 -0000 On Mon, Apr 25, 2011 at 09:53:22PM +0800, Adrian Chadd wrote: > > Would you mind trying -head first? Just so you are running the same > code as i am? Sure, I'll just need some time to do it right since this box is part of a custom build-framework and upgrading isn't as straight-forward as one would think it is. Will report back as soon as it runs HEAD, thanks for your help so far! Petar Bogdanovic From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 15:43:34 2011 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 256AC1065670 for ; Mon, 25 Apr 2011 15:43:34 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id D41AC8FC12 for ; Mon, 25 Apr 2011 15:43:33 +0000 (UTC) Received: by vxc34 with SMTP id 34so2563561vxc.13 for ; Mon, 25 Apr 2011 08:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=FV7Jx2ZODfnAMrbO8s4UoKD/9rcv9CgUS0/qSTHQpwM=; b=Nus3C0RHqXka1Oj7rlOZydQoAH6s9duauj/B0GL1OIHqVRgj/PuV6SF+TUh4+q7EmD NnbCD5EE6NqgBYdG95tcSmQi8eMdN0GMBOvDD5wp4Sc6M5d8qM86TP6GBodeYmwsWVcb 0rseusIsi39o692DY4rd3i69PdyxxZn74aAMU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; b=R5Bare1GWXTUblHQRrDtEvE/63Vh2DDbOOqMiXE9+Z5PsFURnPXfnR3IPEPyrZVHsp TLHCWEfFgVVQ0OZjPIqgjRW7gWVBJ/cLIN4rvmF6byUas3cRXcGAapCD0NwXhKA3Sy4X tKBp/vD/kS/tbnzIKwWNDytWlSmzTU9sU4qEo= Received: by 10.52.0.130 with SMTP id 2mr6561290vde.180.1303744770068; Mon, 25 Apr 2011 08:19:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.181.202 with HTTP; Mon, 25 Apr 2011 08:19:00 -0700 (PDT) From: Eitan Adler Date: Mon, 25 Apr 2011 11:19:00 -0400 Message-ID: To: wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Issues with bwn wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 15:43:34 -0000 On the same computer I have here: http://forum.nginx.org/read.php?23,138126,138310,template=head%3F%3F I've been having similar issues recently and I'm hoping to finally resolve them. The only change from then is that I am now using 8-STABLE (r219789) 1) For some reason setting the ssid via ifconfig and setting wlan0 to "up" doesn't do anything. I need to use wpa_supplicant even for an OPEN network 2) I start wpa_supplicant with network = { ssid="fubar" key_mgmt=NONE } and then run dhlient wlan0. After this it seems that like I am associated and I'm able to ping "google.com" for some number of packets and then it loses packets. The routes, /etc/resolv.conf, and ip address all seem in order - even after it stops responding. ifconfig wlan0 still says "status: associated" even though I am unable to ping anything or access the internet. In _some_ cases "dig" still works. 3) Sometimes I see the channel cycling somewhat randomly during the "associated but not working" time. 4) ifconfig wlan0 scan never shows anything but ifconfig wlan0 list scan does. Any pointers or ideas to resolve these issues would be great! -- Eitan Adler From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 15:46:49 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61E3D1065676 for ; Mon, 25 Apr 2011 15:46:49 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id E4E068FC1B for ; Mon, 25 Apr 2011 15:46:48 +0000 (UTC) Received: by wyf23 with SMTP id 23so2160930wyf.13 for ; Mon, 25 Apr 2011 08:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Pcyzvb7MWxxudiz4Fiyjl9+wOaJ+vH+3AdgU20Ec2xg=; b=R6WiJ3pZqJ/8lZb7M5hH4J2FsiJYbuc6DPOBbUveCgDTaTHwfzGbA6Eb7df1QymPyV Rv2QZSstU5X03lsX8EAsy1VRRp8Mqu9PjAgFPHT7J+IT/ZdoDHcFXKY+f8v8BBnvpElG VlB+WXhJGrvw7TUkpffTy2032hdZTwqDCoO6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=lNxX4Du/xYcNdGb1Yx/IBtI82JkWqeMH4Iap7LPU8Th0ljj7uGy8szApsOXCb0UZOL ghh2E8p6Pf3BEhO1+qN9gbyzCz/qb/ul1j22+aRTwBhx9WBJUGb0uz3VeSW5p9jYZCL7 GBKH+zGyJBEp7yukIDI/yYDVmtjGWsZXaM9JY= MIME-Version: 1.0 Received: by 10.227.37.220 with SMTP id y28mr3995935wbd.82.1303746407668; Mon, 25 Apr 2011 08:46:47 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.174.13 with HTTP; Mon, 25 Apr 2011 08:46:47 -0700 (PDT) In-Reply-To: <20110425141511.GA20184@pintail.smokva.net> References: <20110421222524.GA5730@pintail.smokva.net> <20110422090705.GA1183@pintail.smokva.net> <20110422153827.GA26063@pintail.smokva.net> <20110424175728.GA12886@pintail.smokva.net> <20110425141511.GA20184@pintail.smokva.net> Date: Mon, 25 Apr 2011 23:46:47 +0800 X-Google-Sender-Auth: 43WCCTMD9kydyb7zNy_N3k2OPmo Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ath: tx-rate stops adapting after a while X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 15:46:49 -0000 Don't forget you now need ath -and- ath_pci devices compiled in for -HEAD. Adrian On 25 April 2011 22:15, Petar Bogdanovic wrote: > On Mon, Apr 25, 2011 at 09:53:22PM +0800, Adrian Chadd wrote: >> >> Would you mind trying -head first? Just so you are running the same >> code as i am? > > Sure, I'll just need some time to do it right since this box is part of > a custom build-framework and upgrading isn't as straight-forward as one > would think it is. > > Will report back as soon as it runs HEAD, thanks for your help so far! > > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Petar Bogdanovic > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.or= g" > From owner-freebsd-wireless@FreeBSD.ORG Mon Apr 25 15:58:33 2011 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B01A1065672 for ; Mon, 25 Apr 2011 15:58:33 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5BEC28FC1E for ; Mon, 25 Apr 2011 15:58:33 +0000 (UTC) Received: by vws18 with SMTP id 18so2560322vws.13 for ; Mon, 25 Apr 2011 08:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=ZOViDvTgkFqDwGZrX1wPZ9Uowo94MXVunNgEzWEnDks=; b=OPuO3eka8Y0Y6qGtQkELv6INzq5PvxDPW1OFOGR6iLDJbIn3ApyCO5b1PQHhCrr7rL jtwTMBufjP4ods+V+AIizdHpS5G2NQgd/jxMn2tgmN1u2t5bDKYYdEapZW5KDYBr1K28 twdtJmec1uNn4pTl63wuzkO8V5s4F9WEki7PE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; b=GafRjQrxi81OX2/Hcu169lwmPTkbObdULdW+c95Vuh47/nGK4Hm0MGMex+r33Zhgkf B544Pjqr8rEo4MCeI6yNbt013XHBmRVzh5OcMG1d17BJ4ywAhKE3Vgo6GUOvAw+4/8yF G7ve5/9crIabMYHFbgFDEbM6GBT1u1qSguIB4= Received: by 10.52.95.46 with SMTP id dh14mr6082169vdb.60.1303747112071; Mon, 25 Apr 2011 08:58:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.181.202 with HTTP; Mon, 25 Apr 2011 08:58:02 -0700 (PDT) From: Eitan Adler Date: Mon, 25 Apr 2011 11:58:02 -0400 Message-ID: To: wireless@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: undocumented capabilities/flags in ifconfig(1) and in the handbookj X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 25 Apr 2011 15:58:33 -0000 In ifconfig(1) under "list scan" and "list sta" a number of letters are documented. 1) The same letters are documented for both of them - even though there are a different set of flags (list sta) or capabilities (list scan) The letters 'I' 'c' 'C' 'B' 's' 'R' and 'D' are not documented as capabilities in the man page While 'Q' 'N' 'R' 'M' 'M+' 'I' 'S+' 's' 't' and 'r' are the flags which are not currently documented in the man page I have been trying to work my way through the code to understand what each of these mean: The following list is incomplete and probably inaccurate. c / C - I'm unsure exactly what this means. something here is pollable. Lowercase c means that it is capable while uppercase means it is required. It appears to only be used in usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c s - documented only in the handbook: Short slot time. Indicates that the 802.11g network is using a short slot time because there are no legacy (802.11b) stations present. I - documented only in the handbook: IBSS/ad-hoc network. Indicates that the station is part of an ad-hoc network (in contrast to an ESS network). B - ????? R - station is 801.11/i RSN capable D - ????? Q - station is using/capable of using QoS N - ????? M - ????? M+ - ????? S+ - station is using 20Mhz short preamble as well as 40Mhz t / r - station is transmitting / receiving 802.11 n A - MSDU I am hoping to get a better understanding of what these mean so I can submit a diff against the man page and handbook. -- Eitan Adler From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 26 15:25:34 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D25AB1065670 for ; Tue, 26 Apr 2011 15:25:34 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6D9458FC14 for ; Tue, 26 Apr 2011 15:25:34 +0000 (UTC) Received: by fxm11 with SMTP id 11so713566fxm.13 for ; Tue, 26 Apr 2011 08:25:33 -0700 (PDT) Received: by 10.204.20.74 with SMTP id e10mr847965bkb.148.1303831533218; Tue, 26 Apr 2011 08:25:33 -0700 (PDT) Received: from jessie.localnet (p5B2ECD44.dip0.t-ipconnect.de [91.46.205.68]) by mx.google.com with ESMTPS id u15sm1328243bkf.16.2011.04.26.08.25.29 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 08:25:29 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-wireless@freebsd.org Date: Tue, 26 Apr 2011 17:24:36 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-31-generic; KDE/4.4.5; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104261724.36685.bschmidt@freebsd.org> Cc: Subject: Re: undocumented capabilities/flags in ifconfig(1) and in the handbookj X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org 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: Tue, 26 Apr 2011 15:25:35 -0000 On Monday, April 25, 2011 17:58:02 Eitan Adler wrote: > In ifconfig(1) under "list scan" and "list sta" a number of letters > are documented. > > 1) The same letters are documented for both of them - even though > there are a different set of flags (list sta) or capabilities (list > scan) > > The letters 'I' 'c' 'C' 'B' 's' 'R' and 'D' are not documented as > capabilities in the man page > > While 'Q' 'N' 'R' 'M' 'M+' 'I' 'S+' 's' 't' and 'r' are the flags > which are not currently documented in the man page > > I have been trying to work my way through the code to understand what > each of these mean: The following list is incomplete and probably > inaccurate. > > c / C - I'm unsure exactly what this means. something here is > pollable. Lowercase c means that it is capable while uppercase means > it is required. It appears to only be used in > usr.sbin/bsnmpd/modules/snmp_wlan/wlan_sys.c > s - documented only in the handbook: Short slot time. Indicates > that the 802.11g network is using a short slot time because there are > no legacy (802.11b) stations present. > I - documented only in the handbook: IBSS/ad-hoc network. Indicates > that the station is part of an ad-hoc network (in contrast to an ESS > network). > B - ????? > R - station is 801.11/i RSN capable > D - ????? > Q - station is using/capable of using QoS > N - ????? > M - ????? > M+ - ????? > S+ - station is using 20Mhz short preamble as well as 40Mhz > t / r - station is transmitting / receiving 802.11 n A - MSDU I assume you've obtained those from getcaps()/getflags() in sbin/ifconfig/ifieee80211.c? If so, that conditions there should give you some clue about the purpose/meaning of the flags. Some hints for caps: - for c/C have a look at chapter 9.3 in IEEE802.11-2007 about PCF. - B, also called PBCC, is a 802.11b add-on which defines 22M and 33M rates, haven't seen those yet. - s: short slottime - S: short preamble - A: this is a frequency hoping features. I doubt that we currently support any FH hardware, so this might just be removed/ignored. - D: Indicates that the ESS/IBSS supports OFDM rates, refer to 19.7. - I: it's an IBSS - E: It's an ESS - P: privacy as in WEP is in use - R: it's an RSN for flags: - A: node is authenticated - Q: QoS/WME capable node - E: indicates that the node supports the ERP rateset (a OFDM rate subset) - P: node is in power save mode - H: node is HT capable - H+: node is HT capable and using htcompat mode (pre-11n-draft-stuff-thingy) - W: node is using WPS (Wireless Protected Setup) - N: quote: Transitional Security Network. Permits clients to associate and use WEP while WPA is configured. - T: transmit AMPDU support - R: receive AMPDU support - M: Spatial Multiplexing Power Save supported/enabled - M+: Spatial Multiplexing Power Save + RTS supported/enabled - I: RIFS - Reduced Inter-Frame Spacing supported - S: short guard interval on 40MHz supported - S+: short guard interval on 20 + 40MHz supported - s: short guard interval on 20MHz supported - t: transmit AMSDU supported - r: receive AMSDU supported HTH > I am hoping to get a better understanding of what these mean so I can > submit a diff against the man page and handbook. Go for it! -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Tue Apr 26 15:38:12 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D32A7106566B for ; Tue, 26 Apr 2011 15:38:12 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F08F8FC0C for ; Tue, 26 Apr 2011 15:38:12 +0000 (UTC) Received: by fxm11 with SMTP id 11so728391fxm.13 for ; Tue, 26 Apr 2011 08:38:11 -0700 (PDT) Received: by 10.223.6.11 with SMTP id 11mr8066fax.92.1303832289613; Tue, 26 Apr 2011 08:38:09 -0700 (PDT) Received: from jessie.localnet (p5B2ECD44.dip0.t-ipconnect.de [91.46.205.68]) by mx.google.com with ESMTPS id p16sm2039221fax.21.2011.04.26.08.38.07 (version=SSLv3 cipher=OTHER); Tue, 26 Apr 2011 08:38:08 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-wireless@freebsd.org Date: Tue, 26 Apr 2011 17:37:15 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-31-generic; KDE/4.4.5; i686; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201104261737.15553.bschmidt@freebsd.org> Cc: Subject: Re: Issues with bwn wireless X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org 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: Tue, 26 Apr 2011 15:38:12 -0000 On Monday, April 25, 2011 17:19:00 Eitan Adler wrote: > On the same computer I have here: > http://forum.nginx.org/read.php?23,138126,138310,template=head%3F%3F > I've been having similar issues recently and I'm hoping to finally > resolve them. The only change from then is that I am now using > 8-STABLE (r219789) > > 1) For some reason setting the ssid via ifconfig and setting wlan0 to > "up" doesn't do anything. I need to use wpa_supplicant even for an > OPEN network No clue.. see 2) > 2) I start wpa_supplicant with > network = { > ssid="fubar" > key_mgmt=NONE > } > and then run dhlient wlan0. > After this it seems that like I am associated and I'm able to ping > "google.com" for some number of packets and then it loses packets. > The routes, /etc/resolv.conf, and ip address all seem in order - even > after it stops responding. > ifconfig wlan0 still says "status: associated" even though I am unable > to ping anything or access the internet. In _some_ cases "dig" still > works. Can you post debug output of wpa_supplicant/bwn? % sysctl dev.bwn.0.debug=-1 % wpa_supplicant -Dbsd -iwlan0 -c/etc/wpa_supplicant.conf -ddt > 3) Sometimes I see the channel cycling somewhat randomly during the > "associated but not working" time. Sounds like a background scan issue, try with % ifconfig wlan0 -bgscan > 4) ifconfig wlan0 scan never shows anything but ifconfig wlan0 list scan does. This should be fixed in HEAD. > Any pointers or ideas to resolve these issues would be great! > > > -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 28 02:37:43 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B8D2106566C; Thu, 28 Apr 2011 02:37:43 +0000 (UTC) (envelope-from freebsd@snap.net.nz) Received: from snapmx1.ironport.snap.net.nz (snapmx1.ironport.snap.net.nz [202.37.100.100]) by mx1.freebsd.org (Postfix) with ESMTP id 135FF8FC15; Thu, 28 Apr 2011 02:37:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AswBAG/SuE3KfG1Y/2dsb2JhbACYEj+NLsU/hXYEjlqOQw X-IronPort-AV: E=Sophos;i="4.64,277,1301832000"; d="scan'208";a="49851067" Received: from rupert.snap.net.nz ([202.37.100.140]) by smtp1.ironport.snap.net.nz with ESMTP; 28 Apr 2011 14:37:24 +1200 X-Sender-IP: 202.124.109.88 X-Sender-IP: 202.124.109.88 Received: from akllappt.local (88.109.124.202.static.snap.net.nz [202.124.109.88]) by rupert.snap.net.nz (Postfix) with ESMTP id 30400201BA; Thu, 28 Apr 2011 14:37:24 +1200 (NZST) Message-ID: <4DB8D2E0.6000400@snap.net.nz> Date: Thu, 28 Apr 2011 14:37:20 +1200 From: Peter Toth User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110421 Thunderbird/3.1.9 MIME-Version: 1.0 To: bschmidt@freebsd.org References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> In-Reply-To: <201104200815.58433.bschmidt@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Apr 2011 02:37:43 -0000 On 04/20/11 18:15, Bernhard Schmidt wrote: > On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: >> Hi there, >> >> I have a company laptop which comes with the advanced centrino intel >> chipset see bellow. >> >> The iwn driver requested the iwn6005fw firmware module which is not >> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD >> repository and converted it to a proper loadable module. >> >> The interface is working OK for about 2 minutes (with WPA2) and then it >> bounces UP and DOWN - if I reload wpasupplicant it will associate again >> and works for 2 minutes then it will drop again. >> >> Anyone got this chipset working somehow? - seems like it is supported in >> OpenBSD. >> >> Details here: >> iwn0: mem 0xd4000000-0xd4001fff irq 19 at >> device 0.0 on pci37 >> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 >> iwn0: [ITHREAD] >> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps >> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps >> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps >> 24Mbps 36Mbps 48Mbps 54Mbps > Can you pull the driver files from HEAD[1] rebuild the module and > try again? I've committed a few changes lately which fixes the > calibration on at least the 6230(6005b). > > [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ > I can confirm now after a few days of active usage - all is working as expected. No errors and no link drops. From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 28 06:02:45 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DF67106566C for ; Thu, 28 Apr 2011 06:02:45 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id C89DB8FC14 for ; Thu, 28 Apr 2011 06:02:44 +0000 (UTC) Received: by bwz12 with SMTP id 12so2890375bwz.13 for ; Wed, 27 Apr 2011 23:02:43 -0700 (PDT) Received: by 10.204.48.210 with SMTP id s18mr2735946bkf.176.1303970563579; Wed, 27 Apr 2011 23:02:43 -0700 (PDT) Received: from jessie.localnet (p5B2ECD9C.dip0.t-ipconnect.de [91.46.205.156]) by mx.google.com with ESMTPS id q25sm801846bkk.10.2011.04.27.23.02.38 (version=SSLv3 cipher=OTHER); Wed, 27 Apr 2011 23:02:40 -0700 (PDT) Sender: Bernhard Schmidt From: Bernhard Schmidt To: Peter Toth Date: Thu, 28 Apr 2011 08:01:42 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.32-31-generic; KDE/4.4.5; i686; ; ) References: <4DAE2133.20108@snap.net.nz> <201104200815.58433.bschmidt@freebsd.org> <4DB8D2E0.6000400@snap.net.nz> In-Reply-To: <4DB8D2E0.6000400@snap.net.nz> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201104280801.42503.bschmidt@freebsd.org> Cc: freebsd-wireless@freebsd.org Subject: Re: Intel(R) PRO/Wireless 6205a X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bschmidt@freebsd.org 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, 28 Apr 2011 06:02:45 -0000 On Thursday, April 28, 2011 04:37:20 Peter Toth wrote: > On 04/20/11 18:15, Bernhard Schmidt wrote: > > On Wednesday, April 20, 2011 01:56:35 Peter Toth wrote: > >> Hi there, > >> > >> I have a company laptop which comes with the advanced centrino intel > >> chipset see bellow. > >> > >> The iwn driver requested the iwn6005fw firmware module which is not > >> available in stock FreeBSD 8.2. I've grabbed the firmware out of OpenBSD > >> repository and converted it to a proper loadable module. > >> > >> The interface is working OK for about 2 minutes (with WPA2) and then it > >> bounces UP and DOWN - if I reload wpasupplicant it will associate again > >> and works for 2 minutes then it will drop again. > >> > >> Anyone got this chipset working somehow? - seems like it is supported in > >> OpenBSD. > >> > >> Details here: > >> iwn0: mem 0xd4000000-0xd4001fff irq 19 at > >> device 0.0 on pci37 > >> iwn0: MIMO 2T2R, MoW, address a0:88:b4:14:77:20 > >> iwn0: [ITHREAD] > >> iwn0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps > >> iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps > >> iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps > >> 24Mbps 36Mbps 48Mbps 54Mbps > > Can you pull the driver files from HEAD[1] rebuild the module and > > try again? I've committed a few changes lately which fixes the > > calibration on at least the 6230(6005b). > > > > [1] http://svn.freebsd.org/viewvc/base/head/sys/dev/iwn/ > > > I can confirm now after a few days of active usage - all is working as > expected. No errors and no link drops. Good news! I try to get the relevant MFCs done this weekend. Thanks -- Bernhard From owner-freebsd-wireless@FreeBSD.ORG Thu Apr 28 12:50:44 2011 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E57B1106566C; Thu, 28 Apr 2011 12:50:44 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 5457B8FC21; Thu, 28 Apr 2011 12:50:43 +0000 (UTC) Received: by wwc33 with SMTP id 33so2784271wwc.31 for ; Thu, 28 Apr 2011 05:50:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:date:x-google-sender-auth :message-id:subject:from:to:cc:content-type; bh=Gnqcu9EdSuEpCH859p1wVYylQavqsaMNvRnhc2ZLacw=; b=XUKgI64QL5SiFsMzCUSCKR3p8vVNB94OUNhXkGp8Wi0L86S73u1Ub+WN0juEff8EY/ E3yAziPsBGBXkrk6tblbT1LBMr2Udur6gD8mwLptIaGD88pfLvjK2O9PIPfCjg3A6nzr K7fjbtFJIPmb7QjJR0Cyfbifiq21475Y41rVY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; b=ctcsF4M5DSqfET+z79XghvNop1U7AyLiIDFRzsKwLx1pLYhsPdzbpmOwAlcRrmdpOT 8JHtakL2iBioi9F1rjf4F9F4Zi4cYmtugxD67by8LcEji1VGd9ivLZNf4JDPk+hd0+Tx AYQTjoNw9PqOpIsAoE0LPSQIZGTHdOzUikj6w= MIME-Version: 1.0 Received: by 10.227.174.14 with SMTP id r14mr204699wbz.30.1303995043232; Thu, 28 Apr 2011 05:50:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.227.149.16 with HTTP; Thu, 28 Apr 2011 05:50:43 -0700 (PDT) Date: Thu, 28 Apr 2011 20:50:43 +0800 X-Google-Sender-Auth: J9mokhKDe2wIsYscN80uirhlqtQ Message-ID: From: Adrian Chadd To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: AR9130 WMAC support in -HEAD X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.5 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, 28 Apr 2011 12:50:45 -0000 I've just added the initial AR9130 WMAC support to -HEAD. This means that interested parties can now build wifi APs using the AR913x SoC+WMAC such as the TP-LINK WR-1043nd and whatever else uses it. Please read the commit message for some pointers as to how to use it and what the limitations are. Thanks, Adrian