From owner-freebsd-wireless@FreeBSD.ORG Sun Nov 23 16:45:29 2014 Return-Path: Delivered-To: freebsd-wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3CEE67ED; Sun, 23 Nov 2014 16:45:29 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EACEDA45; Sun, 23 Nov 2014 16:45:28 +0000 (UTC) Received: from [93.104.2.49] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XsaHl-0002Pa-On; Sun, 23 Nov 2014 17:45:18 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id sANGjFRV007435; Sun, 23 Nov 2014 17:45:15 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id sANGcBX9006351; Sun, 23 Nov 2014 17:38:11 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Sun, 23 Nov 2014 17:38:11 +0100 From: Matthias Apitz To: Adrian Chadd Subject: Re: Issues with urtwn Message-ID: <20141123163811.GA5739@unixarea.DDR.dd> Reply-To: Matthias Apitz References: <20141026073605.GA1819@unixarea.DDR.dd> <20141101081736.GA2857@unixarea.DDR.dd> <20141102084605.GA60031@unixarea.DDR.dd> <54564C92.8040104@freebsd.org> <20141102152953.GA20263@unixarea.DDR.dd> <54564E4D.4020703@freebsd.org> <20141103054633.GA3258@unixarea.DDR.dd> <20141103095530.GA42402@unixarea.DDR.dd> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 93.104.2.49 Cc: Nathan Whitehorn , "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.18-1 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, 23 Nov 2014 16:45:29 -0000 El día Monday, November 03, 2014 a las 09:43:14AM -0800, Adrian Chadd escribió: > Ah, chances are it's being loaded automatically at startup when devd > loads your USB wifi module. > > Just make sure you've commented out the wlan devices (but not > options!) and rebuilt your kernel to not have wlan included. The problem is reproducible fine: I'm running in a loop SCP traffic up and down to my ISP host; when the background scan every five minutes takes place the traffic gets STALLED and IP comes not to work again: Nov 23 17:13:33 unixarea dhclient: New Broadcast Address (wlan0): 192.168.2.255 Nov 23 17:13:33 unixarea dhclient: New Routers (wlan0): 192.168.2.1 Nov 23 17:18:33 unixarea kernel: wlan0: ieee80211_bg_scan: active scan, ticks 36537257 duration 150 Nov 23 17:18:33 unixarea kernel: wlan0: [00:13:f7:0d:08:48] sta power save mode on Nov 23 17:18:33 unixarea kernel: wlan0: scan_task: chan 7g -> 1g [active, dwell min 20ms max 150ms] Nov 23 17:18:33 unixarea kernel: wlan0: scan_task: stopped, [ticks 36537415, dwell min 20 scanend 36537408] from now the interface does not let pass frames anymore Nov 23 17:18:33 unixarea kernel: wlan0: ieee80211_sta_tim_notify: TIM=1 Nov 23 17:18:34 unixarea last message repeated 3 times Nov 23 17:18:34 unixarea kernel: wlan0: [00:13:f7:0d:08:48] save frame with age 40, 1 now queued Nov 23 17:18:34 unixarea kernel: wlan0: [00:13:f7:0d:08:48] save frame with age 0, 2 now queued Nov 23 17:18:34 unixarea kernel: wlan0: ieee80211_sta_tim_notify: TIM=1 Nov 23 17:18:35 unixarea last message repeated 14 times Nov 23 17:18:35 unixarea kernel: wlan0: [00:13:f7:0d:08:48] save frame with age 0, 3 now queued Nov 23 17:18:35 unixarea kernel: wlan0: ieee80211_sta_tim_notify: TIM=1 ... I tested the same in an older 10-ALPHA4 laptop (running r255948 from October 2013) with the same physical WLAN card; there is no problem with the bg scans every 5 minutes, it just goes ahead after any scan; this is an issue in head. matthias -- Matthias Apitz, guru@unixarea.de, http://www.unixarea.de/ +49-170-4527211 1989-2014: The Wall was torn down so that we go to war together again. El Muro ha sido derribado para que nos unimos en ir a la guerra otra vez. Diese Grenze wurde aufgehoben damit wir gemeinsam wieder in den Krieg ziehen.