From owner-freebsd-wireless@FreeBSD.ORG Sat Oct 8 00:20:03 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 1D41E106564A; Sat, 8 Oct 2011 00:20:03 +0000 (UTC) (envelope-from emartinez@kbcnetworks.com) Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) by mx1.freebsd.org (Postfix) with ESMTP id BE0008FC0C; Sat, 8 Oct 2011 00:20:02 +0000 (UTC) Received: from mail123-ch1-R.bigfish.com (10.43.68.253) by CH1EHSOBE016.bigfish.com (10.43.70.66) with Microsoft SMTP Server id 14.1.225.22; Sat, 8 Oct 2011 00:20:01 +0000 Received: from mail123-ch1 (localhost.localdomain [127.0.0.1]) by mail123-ch1-R.bigfish.com (Postfix) with ESMTP id B7F1E51835E; Sat, 8 Oct 2011 00:20:01 +0000 (UTC) X-SpamScore: -11 X-BigFish: VPS-11(zz9371K542M98dKzz1202hzz8275bh8275dhz2fh2a8h668h839h) X-Forefront-Antispam-Report: CIP:65.55.171.153; KIP:(null); UIP:(null); IPVD:NLI; H:VA3DIAHUB033.RED001.local; RD:smtp801.microsoftonline.com; EFVD:NLI Received-SPF: pass (mail123-ch1: domain of kbcnetworks.com designates 65.55.171.153 as permitted sender) client-ip=65.55.171.153; envelope-from=emartinez@kbcnetworks.com; helo=VA3DIAHUB033.RED001.local ; RED001.local ; Received: from mail123-ch1 (localhost.localdomain [127.0.0.1]) by mail123-ch1 (MessageSwitch) id 1318033199563335_29824; Sat, 8 Oct 2011 00:19:59 +0000 (UTC) Received: from CH1EHSMHS009.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.241]) by mail123-ch1.bigfish.com (Postfix) with ESMTP id 85F6A135804F; Sat, 8 Oct 2011 00:19:59 +0000 (UTC) Received: from VA3DIAHUB033.RED001.local (65.55.171.153) by CH1EHSMHS009.bigfish.com (10.43.70.9) with Microsoft SMTP Server (TLS) id 14.1.225.22; Sat, 8 Oct 2011 00:19:59 +0000 Received: from VA3DIAXVS881.RED001.local ([10.8.235.7]) by VA3DIAHUB033.RED001.local ([10.8.230.13]) with mapi; Fri, 7 Oct 2011 17:19:59 -0700 From: Edgar Martinez To: Adrian Chadd Date: Fri, 7 Oct 2011 17:19:56 -0700 Thread-Topic: LOR - COM LOCK Thread-Index: AcyFT61pD8YtrKdGR7y4PVlUwqO39AAAEpHw Message-ID: <957EB052144AA64AB39F7AB268783201022FA3E2CE@VA3DIAXVS881.RED001.local> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: kbcnetworks.com Cc: "freebsd-wireless@freebsd.org" Subject: RE: LOR - COM LOCK 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, 08 Oct 2011 00:20:03 -0000 Negative, standard DMCA-82's.. -----Original Message----- From: adrian.chadd@gmail.com [mailto:adrian.chadd@gmail.com] On Behalf Of A= drian Chadd Sent: Friday, October 07, 2011 5:18 PM To: Edgar Martinez Cc: freebsd-wireless@freebsd.org Subject: Re: LOR - COM LOCK This is the 900mhz NICs, right? On 8 October 2011 05:02, Edgar Martinez wrote: > Jan =A01 00:00:36 wlanmon: (RTM_IEEE80211_ASSOC) [wlan3] [00:80:81:8d:9d:= 83] > ath1: stuck beacon; resetting (bmiss count 4) .. I wonder why that is happening on those NICs. This is in normal hostap+sta WDS setup, right? Rather than adhoc or mesh? (That changes how the MAC handles beacon TX.) > Jan =A01 00:01:32 wlanmon: (RTM_IEEE80211_JOIN) [wlan1] [00:c0:c1:cb:6c:c= 2] > Expensive timeout(9) function: 0xc05aa150(0xc58c3b80) 0.013488188 s What was this caused by again? Which part of ath_calibrate() was causing the issue? Is it the noise floor save/load? IQ calibration? ANI? Anything else? > Jan =A01 00:16:45 wlanmon: (RTM_IEEE80211_ASSOC) [wlan2] [00:c0:c1:cb:6c:= c3] > lock order reversal: > =A01st 0xc59126c0 ath1_node_lock (ath1_node_lock) @ /usr/src/sys/net80211= /ieee80211_ioctl.c:1326 > =A02nd 0xc5911014 ath1_com_lock (ath1_com_lock) @ /usr/src/sys/net80211/i= eee80211_node.c:2510 Blah. So the above is in setmlme_dropsta() -> domime() -> ieee80211_node_leave() (MLME_DISASSOC or MLME_DEAUTH in hostap mode, on a broadcast address). What's the second path? How the heck does ieee80211_parse_beacon() call ieee80211_node_leave() ? Adrian