From owner-freebsd-wireless@FreeBSD.ORG Sat Oct 8 00:17: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 3726A1065672 for ; Sat, 8 Oct 2011 00:17:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id EBD498FC14 for ; Sat, 8 Oct 2011 00:17:30 +0000 (UTC) Received: by ggeq3 with SMTP id q3so4065310gge.13 for ; Fri, 07 Oct 2011 17:17:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; 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=pkDg7eTeSXxJEALnTVgWHxhRq9cPIvgRAZZzJURxhy4=; b=ubXA6wxa+7hNHy9a3z0mc2MAqQj+sAc7g704qmqAt8VHNfPVTEADaTljHV3yr1MX15 htCVjv9hLStf4D1hAF+W+sfVFAlnm27aBB14NqbtjOXQJCQZk8MwNal0NloYybDpAHZ9 aZE8ise0658Hx3NZ3Mh/XualIZAGHCbO5sMFU= MIME-Version: 1.0 Received: by 10.236.191.161 with SMTP id g21mr13872597yhn.3.1318033050167; Fri, 07 Oct 2011 17:17:30 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.236.111.42 with HTTP; Fri, 7 Oct 2011 17:17:30 -0700 (PDT) In-Reply-To: <957EB052144AA64AB39F7AB268783201022FA3E272@VA3DIAXVS881.RED001.local> References: <957EB052144AA64AB39F7AB268783201022FA3E272@VA3DIAXVS881.RED001.local> Date: Sat, 8 Oct 2011 08:17:30 +0800 X-Google-Sender-Auth: XwiJx8waeJ4uUpPQcngq7aFgCrQ Message-ID: From: Adrian Chadd To: Edgar Martinez Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:17:31 -0000 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