From owner-freebsd-wireless@FreeBSD.ORG Sun May 13 06:23:26 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF939106564A; Sun, 13 May 2012 06:23:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C3E5D8FC14; Sun, 13 May 2012 06:23:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4D6NQGs003049; Sun, 13 May 2012 06:23:26 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4D6NQSb003045; Sun, 13 May 2012 06:23:26 GMT (envelope-from linimon) Date: Sun, 13 May 2012 06:23:26 GMT Message-Id: <201205130623.q4D6NQSb003045@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/167834: [ath] kickpcu; 'handled 0 packets' 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, 13 May 2012 06:23:27 -0000 Synopsis: [ath] kickpcu; 'handled 0 packets' Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Sun May 13 06:23:07 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=167834 From owner-freebsd-wireless@FreeBSD.ORG Mon May 14 11:07:26 2012 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 23D3A106564A for ; Mon, 14 May 2012 11:07:26 +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 0D5938FC1D for ; Mon, 14 May 2012 11:07:26 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4EB7PZR053444 for ; Mon, 14 May 2012 11:07:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4EB7Pap053442 for freebsd-wireless@FreeBSD.org; Mon, 14 May 2012 11:07:25 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 14 May 2012 11:07:25 GMT Message-Id: <201205141107.q4EB7Pap053442@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, 14 May 2012 11:07:26 -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/167834 wireless [ath] kickpcu; 'handled 0 packets' o kern/167828 wireless [iwn] iwn(4) doesn't recover automatically after firmw o kern/167798 wireless ifconfig(8): problem with "ifconfig list scan" command o kern/167491 wireless [ath] TID != hardware queue TID in ath_tx_aggr_comp_ag o kern/167113 wireless [ath] AR5210: "stuck" TX seems to be occuring, without o kern/167080 wireless [ath] channel switch on another VAP break channel setu o kern/166684 wireless [ath] [net80211] mgmtrate/mcastrate isn't updated base p kern/166642 wireless [ieee80211] [patch] in 802.11n mode for FreeBSD AP, ha o kern/166641 wireless [ieee80211] [patch] mbuf/cluster leak in AP mode in 80 p kern/166357 wireless [ath] 802.11n TX stall when the first frame in the BAW o kern/166286 wireless [net80211] [ath] initial switch to HT40 isn't causing p kern/166190 wireless [ath] TX hangs and frames stuck in TX queue o kern/166086 wireless [Patch][ath] Reflect state of rfkill switch in a sysct o kern/165969 wireless [ath] Slower performance in adhoc mode vs Client/AP mo o kern/165966 wireless [ath] ath0: device timeout on SMP machines due to race o kern/165895 wireless [ath] overly busy cabq can tie up all tx buffers o kern/165870 wireless [bwn] bwn driver does not attach on HP Pavilion dv9420 o kern/165866 wireless [ath] TX hangs, requiring a "scan" to properly reset t o kern/165849 wireless [ath] [hang] network ath driver freeze o kern/165595 wireless [ipw] ipw(4): Can't load firmare for ipw2200bg o kern/165543 wireless [ath] ath0 endless scanning of channels without connec o kern/165517 wireless [net80211] bgscan isn't triggered when invalid beacons o kern/165475 wireless [ath] operational mode change doesn't poke the underly o kern/165382 wireless [kernel] taskqueue_unblock doesn't unblock currently q o kern/165306 wireless [ath] race conditions between scanning and beacon time o kern/165220 wireless [ath] "ath_rx_tasklet: sc_inreset_cnt > 0; skipping" m o kern/165214 wireless [ieee80211] Kernel panic in ieee80211_output.c:2505 o kern/165212 wireless [ath] No WiFi on Acer Aspire One 751h (Atheros AR5BHB6 o kern/165149 wireless [ath] [net80211] Ping with data length more than iv_fr o kern/165146 wireless [net80211] Net802.11 Fragment number is assigned 1 (sh o kern/165060 wireless [ath] vap->iv_bss race conditions causing crashes insi o kern/165021 wireless [ath] ath device timeout during scan/attach, if wlan_c o kern/164951 wireless [ath] [patch] Problem build of if_ath driver with cert o kern/164721 wireless [ath] ath device timeouts o kern/164499 wireless [wi] [patch] if_wi needs fix for big endian architectu o kern/164382 wireless [ath] crash when down/deleting a vap - inside ieee8021 o kern/164365 wireless [iwi] iwi0: UP/DOWN in o bin/164102 wireless hostapd not configured for 802.11n o kern/163759 wireless [ath] ath(4) "stops working" in hostap mode o kern/163724 wireless [mwl] [patch] NULL check before dereference o kern/163719 wireless [ath] ath interface do not receive multicast o kern/163689 wireless [ath] TX timeouts when sending probe/mgmt frames durin o kern/163574 wireless [net80211] overly-frequent HT occupancy changes o kern/163573 wireless [ath] hostap mode TX buffer hang o kern/163559 wireless [ath] kernel panic AH_DEBUG o kern/163318 wireless [ath] ath(4) stops working p kern/163312 wireless [panic] [ath driver] kernel panic: page fault with ath o kern/163237 wireless [ath] AR5416 as HostAP. Delays among clients when a cl o kern/163082 wireless [ath] ar9285 diversity fixes o kern/162648 wireless [ath] AR9227 ADC DC calibration failure o kern/162647 wireless [ath] 11n TX aggregation session / TX hang o kern/161293 wireless [iwn] hang at startup when starting network o kern/161035 wireless [ieee80211] Incorrect number describing 11ng MCS rate o kern/160391 wireless [ieee80211] [patch] Panic in mesh mode o kern/160296 wireless [zyd] [panic] 802.11 usb device reboots system on 'ifc o misc/160176 wireless [mips] [panic] Kernel panic on AR7161 platform with AR o kern/157449 wireless [ath] MAC address conflict causes system to freeze o kern/157243 wireless [ath] investigate beacon TX (AP) / RX (STA) when under o kern/156904 wireless [ath] AR9285 antenna diversity algorithm is buggy and o kern/156884 wireless [ath] ath instablity 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/155498 wireless [ral] ral(4) needs to be resynced with OpenBSD's to ga 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/154567 wireless [ath] ath(4) lot of bad series(0) o kern/154327 wireless [ath] AR5416 in station mode hangs when transmitting f o kern/154284 wireless [ath] Modern ath wifi cards (such as AR9285) have miss o kern/154153 wireless [ath] AR5213 + MIPS + WPA group key packet corruption 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/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/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/148078 wireless [ath] wireless networking stops functioning o kern/146426 wireless [mwl] 802.11n rates not possible on mwl o kern/146425 wireless [mwl] mwl dropping all packets during and after high u o kern/145826 wireless [panic] [ath] Unable to configure adhoc mode on ath0/w 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 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 p bin/137484 wireless [patch] Integer overflow in wpa_supplicant(8) base64 e 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/125617 wireless [ath] [panic] ath(4) related panic o kern/125501 wireless [ath] atheros cardbus driver hangs 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 104 problems total. From owner-freebsd-wireless@FreeBSD.ORG Mon May 14 16:42:45 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 10D12106564A for ; Mon, 14 May 2012 16:42:45 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id C385B8FC0A for ; Mon, 14 May 2012 16:42:44 +0000 (UTC) Received: by ggnm2 with SMTP id m2so4239059ggn.13 for ; Mon, 14 May 2012 09:42:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9AoAH8qbZ7KrHCSq8s1xN6ktwV0tUMdXO83qnJocR9g=; b=A65GUnWdtVAihef7R2ctKPd53pq9NnhlG/c7wCjKcYbq7b1GY4yQzB62CmgEwNwtiK GTXJYEN/QMa0Xbs3X5P41SHu9v3pdJK3JUUzWZuvjK8qnG5BbJDpREKmMHmMXAXQXowh Yh6S27dk7c9VIf5roVvndMx1Y058oo80GMziJAsStzPfIrwTicr4x0acEdIsIZuYvmE+ RVa5Gwg3PORP3LG6Q0yIDxxbTr9xQ7vzdiXdSVuzV4fnuZQ6+8ZhGyZ/wfF8Z/JtF4GD qXjcRHQTfmRH5fEPvBTqRmF8+MARSf7OIjJ1n/5PxsOA0Az0LT2lucNPCZMRHKDmjooQ eLrA== MIME-Version: 1.0 Received: by 10.101.132.4 with SMTP id j4mr2619355ann.83.1337013764051; Mon, 14 May 2012 09:42:44 -0700 (PDT) Received: by 10.100.228.19 with HTTP; Mon, 14 May 2012 09:42:43 -0700 (PDT) Date: Mon, 14 May 2012 18:42:43 +0200 Message-ID: From: Monthadar Al Jaberi To: freebsd-wireless@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: wlan0 media setting resets after ifconfig wlan0 up 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, 14 May 2012 16:42:45 -0000 I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to fix the media to one specific setting, but the moment I bring wlan up it changes back to autoselect any idea why? This is how I do it: ifconfig wlan0 create wlandev ath0 wlanmode hostap ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssid tnap100 ifconfig wlan0 up before I bring wlan0 up, ifconfig shows: wlan0: flags=8802 metric 0 mtu 1500 ether 00:15:6d:xx:xx:xx media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11g (autoselect ) status: no carrier ssid tnap100 channel 7 (2442 MHz 11g) country US ecm authmode OPEN privacy OFF txpower 21 scanvalid 60 protmode CTS wme burst dtimperiod 1 bintval 0 after wlan0 up: wlan0: flags=8843 metric 0 mtu 1500 ether 00:15:6d:xx:xx:xx media: IEEE 802.11 Wireless Ethernet autoselect mode 11g status: running ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:21:73 country US ecm authmode OPEN privacy OFF txpower 21 scanvalid 60 protmode CTS wme burst dtimperiod 1 thnx! -- Monthadar Al Jaberi From owner-freebsd-wireless@FreeBSD.ORG Mon May 14 16:51:03 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 896B0106564A for ; Mon, 14 May 2012 16:51:03 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5AECD8FC1D for ; Mon, 14 May 2012 16:51:03 +0000 (UTC) Received: by pbbro2 with SMTP id ro2so7177028pbb.13 for ; Mon, 14 May 2012 09:51:02 -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 :content-transfer-encoding; bh=GKaMOWPeu5MgICVQkq7wh7HNRg6mrnt9cQDeNtRfNdo=; b=T1Zo4h90v/8QvH2yCj7bqKN9P+SCYj/qu2L2tOSYBlxBG/2yJ7cGpfYaywiktJGceZ j9m4H/TCnZ82bzjWDNbDieTEilow7t4uq4QNeVXgF4HowfdfGG5aVULuZ7LmvNBdA7wQ vhUcKKo2KJ1QHbdpz1EoQpcKeFxy4qe/veRVK18V89VOfvwCBGVVZ2vfhZZfC9bfl/BK wRVcHYIx76OdTckneUSiVgIet21Gu6yzboTathMZCN8m9dWLMTLikG66a6eh2hr/cCfy N2Tl7AccBsKo8NUB1UcEFID5qVcJRWsZ9OPjh8IHQTnNDtjoxSIht6K8f5UYIGXt+hzw VNww== MIME-Version: 1.0 Received: by 10.68.234.35 with SMTP id ub3mr1827564pbc.8.1337014262022; Mon, 14 May 2012 09:51:02 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.142.203.2 with HTTP; Mon, 14 May 2012 09:51:01 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 May 2012 09:51:01 -0700 X-Google-Sender-Auth: BWO6TL-4EnsieBPPyM-68x_XUPE Message-ID: From: Adrian Chadd To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: wlan0 media setting resets after ifconfig wlan0 up 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, 14 May 2012 16:51:03 -0000 Hi, I've noticed this before. It seems the rate settings are reset whenever the PHY mode is changed. This occurs at startup and during things like bg/a -> n promotion. It's worth (further) investigation but i personally don't have the time atm= . :( Adrian On 14 May 2012 09:42, Monthadar Al Jaberi wrote: > I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to > fix the media to one specific setting, but the moment I bring wlan up > it changes back to autoselect any idea why? > > This is how I do it: > > ifconfig wlan0 create wlandev ath0 wlanmode hostap > ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssid = tnap100 > ifconfig wlan0 up > > > before I bring wlan0 up, ifconfig shows: > wlan0: flags=3D8802 metric 0 mtu 1500 > =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11g > (autoselect ) > =A0 =A0 =A0 =A0status: no carrier > =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) > =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scanva= lid 60 > =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 bintval 0 > > after wlan0 up: > wlan0: flags=3D8843 metric 0 mtu = 1500 > =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx > =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g <= hostap> > =A0 =A0 =A0 =A0status: running > =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:21= :73 > =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scanva= lid 60 > =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 > > > thnx! > > -- > Monthadar Al Jaberi > _______________________________________________ > 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 May 14 16:52:21 2012 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 B59F5106564A; Mon, 14 May 2012 16:52:21 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5AD3B8FC19; Mon, 14 May 2012 16:52:21 +0000 (UTC) Received: by ggnm2 with SMTP id m2so4251505ggn.13 for ; Mon, 14 May 2012 09:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=p6DFVFDy5mF0SpTlf3fTUH0N1gXO6whSECEhq11XDFI=; b=biKfe1njJs8OORmnGMoE6UDHWSWXWZFtZH3X/blG6Lv5Tzk+K9w+jx82QzGx/sfsLB 13FmLHkqUHoK/nZx3+GJx5cUFzZPYcG7Cqrm4LYcrWI2+GoSDLZ2bBLBKSnuAlH9WdnD dFra0L/XiR8aX+Q7ronxBB2U9viJYSaAo9bFvP8YW3jJbpGEAOt7sMIe5LsR2q1a7eG8 jiczFFVS6fPT7YHjuxNFSO9oaOWx+lcg5kL8ITUvlW9b68Ngc5Dn0F7HW85tos/Jbrk3 Bs0DXlhs8rEXt6oxiWzt1L4/rYUP/RpOdxzaIginTisxGQ1MXcfuhB3MNrB5hO0yljow KCpg== MIME-Version: 1.0 Received: by 10.236.161.42 with SMTP id v30mr8504414yhk.127.1337014340836; Mon, 14 May 2012 09:52:20 -0700 (PDT) Received: by 10.100.228.19 with HTTP; Mon, 14 May 2012 09:52:20 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 May 2012 18:52:20 +0200 Message-ID: From: Monthadar Al Jaberi To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: wlan0 media setting resets after ifconfig wlan0 up 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, 14 May 2012 16:52:21 -0000 On Mon, May 14, 2012 at 6:51 PM, Adrian Chadd wrote: > Hi, > > I've noticed this before. It seems the rate settings are reset > whenever the PHY mode is changed. This occurs at startup and during > things like bg/a -> n promotion. > > It's worth (further) investigation but i personally don't have the time a= tm. :( Is there a preffered work around? > > > > Adrian > > > On 14 May 2012 09:42, Monthadar Al Jaberi wrote: >> I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to >> fix the media to one specific setting, but the moment I bring wlan up >> it changes back to autoselect any idea why? >> >> This is how I do it: >> >> ifconfig wlan0 create wlandev ath0 wlanmode hostap >> ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssid= tnap100 >> ifconfig wlan0 up >> >> >> before I bring wlan0 up, ifconfig shows: >> wlan0: flags=3D8802 metric 0 mtu 1500 >> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx >> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11g >> (autoselect ) >> =A0 =A0 =A0 =A0status: no carrier >> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) >> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scanv= alid 60 >> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 bintval 0 >> >> after wlan0 up: >> wlan0: flags=3D8843 metric 0 mtu= 1500 >> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx >> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g = >> =A0 =A0 =A0 =A0status: running >> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:2= 1:73 >> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scanv= alid 60 >> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 >> >> >> thnx! >> >> -- >> Monthadar Al Jaberi >> _______________________________________________ >> freebsd-wireless@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-wireless >> To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.o= rg" --=20 Monthadar Al Jaberi From owner-freebsd-wireless@FreeBSD.ORG Mon May 14 16:54:33 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 630971065670; Mon, 14 May 2012 16:54:33 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 07E758FC12; Mon, 14 May 2012 16:54:32 +0000 (UTC) Received: by yhgm50 with SMTP id m50so5682537yhg.13 for ; Mon, 14 May 2012 09:54:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=c1LvLI8cMIVQgUB1MWtphc2Dy3FhXWGIrceEB4iuEaQ=; b=Qpa0c77QFtpRt1DjBI2WWHTvAnW+pq3qKvISE9Zp1LDny2kxvkE/j2xYOnGkcvluqs V3+x7NbuwV4BfXY9+3t0uueTxF5lao6kigVyzfpF/lOhJ6p8L9Zl2Id5+IR608SiiMLo vqDfBeeKod+JkOBag0+d389eCuhIGJuwWpXVNYw7lonHx1n/TXE/z8seJCbjyWe3KD6T UdJ02QkFdddT+yk2cem4bnLytZMDy124o8K2pBgj2hOh5yyhnxs+Dw26wY9sWKv7skvB EyJywzk0zehbdL0lk8P4AIwq9WdJcjjUyXKnfOQAyIu92YytgRCJAHWabJr84eOJIp6F 4pYw== MIME-Version: 1.0 Received: by 10.101.166.2 with SMTP id t2mr2695492ano.70.1337014472553; Mon, 14 May 2012 09:54:32 -0700 (PDT) Received: by 10.100.228.19 with HTTP; Mon, 14 May 2012 09:54:32 -0700 (PDT) In-Reply-To: References: Date: Mon, 14 May 2012 18:54:32 +0200 Message-ID: From: Monthadar Al Jaberi To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: wlan0 media setting resets after ifconfig wlan0 up 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, 14 May 2012 16:54:33 -0000 On Mon, May 14, 2012 at 6:52 PM, Monthadar Al Jaberi wrote: > On Mon, May 14, 2012 at 6:51 PM, Adrian Chadd wrote: >> Hi, >> >> I've noticed this before. It seems the rate settings are reset >> whenever the PHY mode is changed. This occurs at startup and during >> things like bg/a -> n promotion. >> >> It's worth (further) investigation but i personally don't have the time = atm. :( > > Is there a preffered work around? I have noticed that if I fix ucastrate/mgmtrate/mcastrate then media will be fixed too... but what made me worried was that athstats said: "1M current transmit rate" but I fixed rate to 6M > >> >> >> >> Adrian >> >> >> On 14 May 2012 09:42, Monthadar Al Jaberi wrote: >>> I am running current @ RSPRO with an XR2 wifi (AR5414). I am trying to >>> fix the media to one specific setting, but the moment I bring wlan up >>> it changes back to autoselect any idea why? >>> >>> This is how I do it: >>> >>> ifconfig wlan0 create wlandev ath0 wlanmode hostap >>> ifconfig wlan0 media OFDM/12Mbps mode 11g mediaopt hostap channel 7 ssi= d tnap100 >>> ifconfig wlan0 up >>> >>> >>> before I bring wlan0 up, ifconfig shows: >>> wlan0: flags=3D8802 metric 0 mtu 1500 >>> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx >>> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet OFDM/12Mbps mode 11= g >>> (autoselect ) >>> =A0 =A0 =A0 =A0status: no carrier >>> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) >>> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scan= valid 60 >>> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 bintval 0 >>> >>> after wlan0 up: >>> wlan0: flags=3D8843 metric 0 mt= u 1500 >>> =A0 =A0 =A0 =A0ether 00:15:6d:xx:xx:xx >>> =A0 =A0 =A0 =A0media: IEEE 802.11 Wireless Ethernet autoselect mode 11g= >>> =A0 =A0 =A0 =A0status: running >>> =A0 =A0 =A0 =A0ssid tnap100 channel 7 (2442 MHz 11g) bssid 00:15:6d:67:= 21:73 >>> =A0 =A0 =A0 =A0country US ecm authmode OPEN privacy OFF txpower 21 scan= valid 60 >>> =A0 =A0 =A0 =A0protmode CTS wme burst dtimperiod 1 >>> >>> >>> thnx! >>> >>> -- >>> Monthadar Al Jaberi >>> _______________________________________________ >>> 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" > > > > -- > Monthadar Al Jaberi --=20 Monthadar Al Jaberi From owner-freebsd-wireless@FreeBSD.ORG Mon May 14 20:28:03 2012 Return-Path: Delivered-To: freebsd-wireless@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DF82106566C; Mon, 14 May 2012 20:28:03 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 62C248FC1E; Mon, 14 May 2012 20:28:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4EKS3eP084645; Mon, 14 May 2012 20:28:03 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4EKS3WP084641; Mon, 14 May 2012 20:28:03 GMT (envelope-from linimon) Date: Mon, 14 May 2012 20:28:03 GMT Message-Id: <201205142028.q4EKS3WP084641@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-wireless@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: kern/167870: [ath] adhoc wifi client does not join an existing IBSS if channel set manually 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, 14 May 2012 20:28:03 -0000 Synopsis: [ath] adhoc wifi client does not join an existing IBSS if channel set manually Responsible-Changed-From-To: freebsd-bugs->freebsd-wireless Responsible-Changed-By: linimon Responsible-Changed-When: Mon May 14 20:27:46 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=167870 From owner-freebsd-wireless@FreeBSD.ORG Tue May 15 12:10:16 2012 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56B2E106567E for ; Tue, 15 May 2012 12:10:16 +0000 (UTC) (envelope-from bryanv@daemoninthecloset.org) Received: from torment.daemoninthecloset.org (torment.daemoninthecloset.org [94.242.209.234]) by mx1.freebsd.org (Postfix) with ESMTP id DB1238FC0A for ; Tue, 15 May 2012 12:10:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemoninthecloset.org Received: from sage.daemoninthecloset.org (sage.daemoninthecloset.org [127.0.1.1]) by sage.daemoninthecloset.org (Postfix) with ESMTP id BEE62B3231; Tue, 15 May 2012 07:10:02 -0500 (CDT) Date: Tue, 15 May 2012 07:10:02 -0500 (CDT) From: Bryan Venteicher To: Bernhard Schmidt Message-ID: <334761908.1356.1337083802480.JavaMail.root@sage.daemoninthecloset.org> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [10.51.1.6] X-Mailer: Zimbra 7.1.4_GA_2555 (ZimbraWebClient - GC12 (Linux)/7.1.4_GA_2555) Cc: wireless@freebsd.org Subject: Re: iwn 4965 crash 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: Tue, 15 May 2012 12:10:16 -0000 Hi, ----- Original Message ----- > On Sat, May 12, 2012 at 8:23 AM, Bryan Venteicher > wrote: > > I've experienced the crash below pretty frequently from a one day > > old > > 9-STABLE during BSDCan, partiality in the 15th floor hacker lounge. > > > > #1 =C2=A00xffffffff80893085 in kern_reboot (howto=3D260) at > > /usr/src/sys/kern/kern_shutdown.c:442 > > #2 =C2=A00xffffffff80893531 in panic (fmt=3DVariable "fmt" is not > > available. > > ) at /usr/src/sys/kern/kern_shutdown.c:607 > > #3 =C2=A00xffffffff80b7edc0 in trap_fatal (frame=3D0xc, eva=3DVariable = "eva" > > is not available. > > ) at /usr/src/sys/amd64/amd64/trap.c:843 > > #4 =C2=A00xffffffff80b7f13f in trap_pfault (frame=3D0xffffff8114a3e8d0, > > usermode=3D0) at /usr/src/sys/amd64/amd64/trap.c:759 > > #5 =C2=A00xffffffff80b7f61e in trap (frame=3D0xffffff8114a3e8d0) at > > /usr/src/sys/amd64/amd64/trap.c:454 > > #6 =C2=A00xffffffff80b6a0af in calltrap () at > > /usr/src/sys/amd64/amd64/exception.S:228 > > #7 =C2=A00xffffffff8055f1bc in iwn_notif_intr (sc=3D0xffffff800077b000)= at > > /usr/src/sys/dev/iwn/if_iwn.c:2447 > > #8 =C2=A00xffffffff80561438 in iwn_intr (arg=3DVariable "arg" is not > > available. > > ) at /usr/src/sys/dev/iwn/if_iwn.c:3197 > > #9 =C2=A00xffffffff80868604 in intr_event_execute_handlers (p=3DVariabl= e > > "p" is not available. > > ) at /usr/src/sys/kern/kern_intr.c:1260 > > #10 0xffffffff80869d84 in ithread_loop (arg=3D0xfffffe00043d0ac0) at > > /usr/src/sys/kern/kern_intr.c:1273 > > #11 0xffffffff808657ef in fork_exit (callout=3D0xffffffff80869ce0 > > , arg=3D0xfffffe00043d0ac0, > > =C2=A0 =C2=A0frame=3D0xffffff8114a3ec40) at /usr/src/sys/kern/kern_fork= .c:992 > > #12 0xffffffff80b6a5de in fork_trampoline () at > > /usr/src/sys/amd64/amd64/exception.S:602 > > > > if_iwn.c: > > =C2=A0 2444 =C2=A0 =C2=A0 =C2=A0 =C2=A0 bus_dmamap_sync(sc->rxq.data_dm= at, data->map, > > =C2=A0 BUS_DMASYNC_POSTREAD); > > =C2=A0 2445 > > =C2=A0 2446 =C2=A0 =C2=A0 =C2=A0 =C2=A0 txq =3D &sc->txq[le16toh(ba->qi= d)]; > > =C2=A0 2447 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tap =3D sc->qid2tap[le16toh(ba-= >qid)]; > > =C2=A0 2448 =C2=A0 =C2=A0 =C2=A0 =C2=A0 tid =3D WME_AC_TO_TID(tap->txa_= ac); > > =C2=A0 2449 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ni =3D tap->txa_ni; > > =C2=A0 2450 =C2=A0 =C2=A0 =C2=A0 =C2=A0 wn =3D (void *)ni; > > =C2=A0 2451 > > =C2=A0 2452 =C2=A0 =C2=A0 =C2=A0 =C2=A0 if (wn->agg[tid].bitmap =3D=3D = 0) > > =C2=A0 2453 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ret= urn; > > > > FreeBSD curses.daemoninthecloset.org 9.0-STABLE FreeBSD 9.0-STABLE > > #0: Thu May 10 21:55:32 EDT 2012 > > =C2=A0 =C2=A0 bryanv@curses.daemoninthecloset.org:/usr/obj/usr/src/sys/= GENERIC > > =C2=A0amd64 > > > > vmcore available. >=20 > Please try attached patch Patch has been working fine for the last few days. Thanks. >=20 > -- > Bernhard >=20 From owner-freebsd-wireless@FreeBSD.ORG Fri May 18 09:34:02 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 2D5DA10656D1 for ; Fri, 18 May 2012 09:34:02 +0000 (UTC) (envelope-from jhugo@meraka.csir.co.za) Received: from marge.meraka.csir.co.za (marge.meraka.csir.co.za [IPv6:2001:4200:7000:3::1]) by mx1.freebsd.org (Postfix) with ESMTP id 22E3D8FC17 for ; Fri, 18 May 2012 09:34:01 +0000 (UTC) Received: from jeep.localnet (unknown [IPv6:2001:4200:7000:3:223:aeff:fea7:a3c2]) by marge.meraka.csir.co.za (Postfix) with ESMTP id 650E6D0CC0A for ; Fri, 18 May 2012 11:33:58 +0200 (SAST) From: Johann Hugo To: freebsd-wireless@freebsd.org Date: Fri, 18 May 2012 11:33:57 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-RELEASE; KDE/4.7.3; amd64; ; ) X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201205181133.57403.jhugo@meraka.csir.co.za> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: [ath] Degraded throughput - adhoc mode 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: Fri, 18 May 2012 09:34:02 -0000 Hi We have an outdoor wifi mesh network with various atheros adapters configured in adhoc mode. (FreeBSD-9) We sometimes (randomly) get a wifi adapter that goes into a "slow-mo" mode, with degraded throughput, less than half. A simple ifconfig wlanX down/up fixes the problem. Before: (slow-mo) [jhugo@jeep] ~> scp /boot/kernel/kernel zeus.cids.org.za:/dev/null kernel 100% 15MB 445.7KB/s 00:34 After: [jhugo@jeep] ~> scp /boot/kernel/kernel coin@elardus:/dev/null kernel 100% 15MB 1.0MB/s 00:15 Here is a list of all the registers (athregs) that changed during the down/up. Register Before After RXDP 01200ea0 01200840 MIBC 00000001 00000000 SPC_0 00942a83 000c246a DMADBG0 88888898 88888888 DMADBG4 000000a0 00000000 DMADBG5 04000000 00000000 DMADBG6 00032000 00022000 DMADBG7 000140a0 00000000 D_SEQ 0000038a 000008c1 TIMER0 000071d8 00000064 TIMER1 00038eb0 00000310 TIMER2 01bb8c30 000002d0 TIMER3 000071b5 00000065 TSF_L32 ddc5e966 de252332 DEF_ANT 00000000 00000001 OBSERV1 00002898 00002888 LAST_TST ddc52219 de2473af ACK_FAIL 00000002 00000000 FCS_FAIL 00000000 00000001 TFCNT 0d8e4e2f 01e95fea RFCNT 157c4d09 015d5432 RCCNT 281c998e 03b5a65c CCCNT d4782107 0d5b4b5b QUIET1 0000717c 00000088 FILTOFDM 00ffffff 000001b8 FILTCCK 00ffffff 0000015e PHYCNT1 00bffe72 00bffe9f PHYCNT2 00bfff3f 00bfff4a Is there a wiki/docs on the web that explains what these registers mean ? The only thing I could find was this link. http://madwifi-project.org/wiki/DevDocs/AtherosRegisters Any other usefull info that I should capture the next time this happens ? Regards Johann From owner-freebsd-wireless@FreeBSD.ORG Fri May 18 17:23:52 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 27FDA1065670 for ; Fri, 18 May 2012 17:23:52 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id EED848FC1B for ; Fri, 18 May 2012 17:23:51 +0000 (UTC) Received: by dadv36 with SMTP id v36so4517201dad.13 for ; Fri, 18 May 2012 10:23:51 -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 :content-transfer-encoding; bh=TdYE6vbSykpgWDpwyTiqOjunshEVqooamM/A0R9wHVU=; b=d2N8yvJlFX/NZOy8ZlUPBAhtYuFaD2nexgZfLDGIq4B156p54ZpojVH+VQm0kXO0Ug WQY3903gGcUQivMx70HHeQz7sacLFSAuAVvKm1zYjaHUjS0wq1Z1CA49kaJwnOMGRN6C NKqvy3qTcTpRpksrJWEx3TzPFWXpewvA5FGFqCn81PerksrmdKqT9Pn9egbMuoNXTEPY EEi2avac57rkevbpKOLe9nhHpXPS3GJS2iZ/VlNFmPJrvbBiwSCOYJBMd1D0Doii1KS3 ftWGfYrKVgrvbmJTsQ37+5Umap0eEohmq66tBx+jkbOqZu38a87meyYL5noYo6HaphZd C5LA== MIME-Version: 1.0 Received: by 10.68.234.35 with SMTP id ub3mr41081255pbc.8.1337361831179; Fri, 18 May 2012 10:23:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.142.203.2 with HTTP; Fri, 18 May 2012 10:23:51 -0700 (PDT) In-Reply-To: <201205181133.57403.jhugo@meraka.csir.co.za> References: <201205181133.57403.jhugo@meraka.csir.co.za> Date: Fri, 18 May 2012 10:23:51 -0700 X-Google-Sender-Auth: e2Qs0Q30V7WRJX7zkwW-3TetWhU Message-ID: From: Adrian Chadd To: Johann Hugo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-wireless@freebsd.org Subject: Re: [ath] Degraded throughput - adhoc mode 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: Fri, 18 May 2012 17:23:52 -0000 Hi, Please check the output of the sample rate module - sysctl dev.ath.X.sample_stats=3D1, then check dmesg. Which NICs are you using? Adrian On 18 May 2012 02:33, Johann Hugo wrote: > Hi > > We have an outdoor wifi mesh network with various atheros adapters config= ured > in adhoc mode. (FreeBSD-9) > > We sometimes (randomly) get a wifi adapter that goes into a "slow-mo" mod= e, > with degraded throughput, less than half. > > A simple ifconfig wlanX down/up fixes the problem. > > Before: (slow-mo) > [jhugo@jeep] ~> scp /boot/kernel/kernel =A0zeus.cids.org.za:/dev/null > kernel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0100% =A0 15= MB 445.7KB/s =A0 00:34 > > After: > [jhugo@jeep] ~> scp /boot/kernel/kernel coin@elardus:/dev/null > kernel =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0100% =A0 15= MB =A0 1.0MB/s =A0 00:15 > > Here is a list of all the registers (athregs) that changed during the dow= n/up. > > Register =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Before =A0 =A0 = =A0 =A0 =A0After > RXDP =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A001200ea0 =A0 =A0 =A0 =A001200= 840 > MIBC =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000001 =A0 =A0 =A0 =A000000= 000 > SPC_0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00942a83 =A0 =A0 =A0 =A0000c246= a > DMADBG0 =A0 =A0 =A0 =A0 88888898 =A0 =A0 =A0 =A088888888 > DMADBG4 =A0 =A0 =A0 =A0 000000a0 =A0 =A0 =A0 =A000000000 > DMADBG5 =A0 =A0 =A0 =A0 04000000 =A0 =A0 =A0 =A000000000 > DMADBG6 =A0 =A0 =A0 =A0 00032000 =A0 =A0 =A0 =A000022000 > DMADBG7 =A0 =A0 =A0 =A0 000140a0 =A0 =A0 =A0 =A000000000 > D_SEQ =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0000038a =A0 =A0 =A0 =A0000008c= 1 > TIMER0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0000071d8 =A0 =A0 =A0 =A00000006= 4 > TIMER1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000038eb0 =A0 =A0 =A0 =A00000031= 0 > TIMER2 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A001bb8c30 =A0 =A0 =A0 =A0000002d= 0 > TIMER3 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0000071b5 =A0 =A0 =A0 =A00000006= 5 > TSF_L32 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ddc5e966 =A0 =A0 =A0 =A0de252332 > DEF_ANT =A0 =A0 =A0 =A0 00000000 =A0 =A0 =A0 =A000000001 > OBSERV1 =A0 =A0 =A0 =A0 00002898 =A0 =A0 =A0 =A000002888 > LAST_TST =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ddc52219 =A0 =A0 =A0 =A0de2473af > ACK_FAIL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000002 =A0 =A0 =A0 =A000000000 > FCS_FAIL =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000000000 =A0 =A0 =A0 =A000000001 > TFCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 0d8e4e2f =A0 =A0 =A0 =A001e95fe= a > RFCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 157c4d09 =A0 =A0 =A0 =A0015d543= 2 > RCCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 281c998e =A0 =A0 =A0 =A003b5a65= c > CCCNT =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 d4782107 =A0 =A0 =A0 =A00d5b4b5= b > QUIET1 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A00000717c =A0 =A0 =A0 =A00000008= 8 > FILTOFDM =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000ffffff =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0000001b8 > FILTCCK =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 00ffffff =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A00000015e > PHYCNT1 =A0 =A0 =A0 =A0 00bffe72 =A0 =A0 =A0 =A000bffe9f > PHYCNT2 =A0 =A0 =A0 =A0 00bfff3f =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A000bfff4a > > Is there a wiki/docs on the web that explains what these registers mean ? > The only thing I could find was this link. > http://madwifi-project.org/wiki/DevDocs/AtherosRegisters > > Any other usefull info that I should capture the next time this happens ? > > Regards > 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.or= g" From owner-freebsd-wireless@FreeBSD.ORG Sat May 19 08:09:00 2012 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 A357F106566B for ; Sat, 19 May 2012 08:09:00 +0000 (UTC) (envelope-from sungcuva@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 7BD2E8FC15 for ; Sat, 19 May 2012 08:09:00 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SVeib-0003ek-TE for freebsd-wireless@freebsd.org; Sat, 19 May 2012 01:08:53 -0700 Date: Sat, 19 May 2012 01:08:53 -0700 (PDT) From: mieebucy To: freebsd-wireless@freebsd.org Message-ID: <1337414933899-5709899.post@n5.nabble.com> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: ath updates - AR5416 (and later) LED fixes 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: Sat, 19 May 2012 08:09:00 -0000 If you want plants eventually, save your effort & just go with the fluoros. The lights are in fact replacing the sun in your aquarium, they just don't have the same sort of intensitry. There is still a minimum intensity for each plant species though & if you don't achieve that you won't get plants to grow. The lights provide energy for the plants to convert nutrients into plant matter. Without enough energy the plant can't use the food you provide & they will eventually die. If you try to do live plants with LED's be prepared to spend big, . have a suitable spectral output for plants & can provide the kind of intensity needed is still in it's infancy so they are very expensive. Commercially made LED fixtures that are suitable for planted tanks cost thousands. ---------------------------------------------------------------------------------------- http://www.volunled.com/catalog/led-panel-light LED Panel Light manufacturer http://www.volunled.com/catalog/led-spotlight LED Spotlight manufacturer http://www.volunled.com/catalog/led-flood-lamp LED Flood Lamp -- View this message in context: http://freebsd.1045724.n5.nabble.com/ath-updates-AR5416-and-later-LED-fixes-tp5096773p5709899.html Sent from the freebsd-wireless mailing list archive at Nabble.com.