From owner-freebsd-wireless@FreeBSD.ORG Tue Nov 12 20:19:41 2013 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 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DA0D468 for ; Tue, 12 Nov 2013 20:19:41 +0000 (UTC) Received: from mail-qe0-x233.google.com (mail-qe0-x233.google.com [IPv6:2607:f8b0:400d:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 40C4A2328 for ; Tue, 12 Nov 2013 20:19:41 +0000 (UTC) Received: by mail-qe0-f51.google.com with SMTP id t7so2784707qeb.38 for ; Tue, 12 Nov 2013 12:19:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=NvxRfkAdjzD7ABQdUMM7Ip9n8s8HJZP0KoTOfNX9GoA=; b=TqknTN8eZ0hYUJ8OFYuN5anFn/iH7gHdJe71r3d+aOEZD5mqGQGnkh+h+RyvANcf7m o2k5Pk2um+bfFoBo+BXhgyJG2GC+5qqhhKj3LJFt3jLt/80Mw6VQvBr0QFtHITm/6U8n axFhbqURNwNtH97HSOptMupLk2YSDvHBOHWyzTTGp4LsnfXS9ufv3rb+R+dv2RP4ceex n7LtJE4gdPnuYmUHTn+6eWMAMFH6V1MQgePGF/oyYH2ulatXPxeM4W5IuJ0Zv6xC9/Pv Pnhs/YDXqCmMTjM6n52zedkFII2y3cBb3OPYJGc2lDPkoNqtuqr1LpMUIeo0W8Ij11Lw WvaA== MIME-Version: 1.0 X-Received: by 10.229.72.194 with SMTP id n2mr15753526qcj.7.1384287580344; Tue, 12 Nov 2013 12:19:40 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Tue, 12 Nov 2013 12:19:40 -0800 (PST) In-Reply-To: References: Date: Tue, 12 Nov 2013 12:19:40 -0800 X-Google-Sender-Auth: lJYCU5NBUMUcXEjewtSqDDd0J44 Message-ID: Subject: Re: [iwn] Cedric's stuff is in -HEAD From: Adrian Chadd To: hiren panchasara Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-wireless@freebsd.org" X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.16 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, 12 Nov 2013 20:19:41 -0000 On 12 November 2013 11:13, hiren panchasara wrote: > On Tue, Nov 12, 2013 at 10:45 AM, Adrian Chadd wrote: >> Run with wlandebug +assoc +state +debug +output +scan +crypto > > http://people.freebsd.org/~hiren/20131112_iwnfail_atwork.txt What's this showing? What was going on at this time? > Thanks a bunch Adrian! so, I have a feeling that for "best" iwn(4) behaviour, we should likely extend net80211 to not do its own scan stuff (by putting the VAP into power save mode whilst doing scanning) but just to fire off a scan request. I _think_ iwn(4) will do it itself. We should however still fix the scan code to not be a racy, unpredictable thing. -adrian