From owner-freebsd-wireless@FreeBSD.ORG Sat Nov 30 22:11:26 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 907FB893 for ; Sat, 30 Nov 2013 22:11:26 +0000 (UTC) Received: from mail-qa0-x22a.google.com (mail-qa0-x22a.google.com [IPv6:2607:f8b0:400d:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 50F831D59 for ; Sat, 30 Nov 2013 22:11:26 +0000 (UTC) Received: by mail-qa0-f42.google.com with SMTP id k4so3028400qaq.1 for ; Sat, 30 Nov 2013 14:11:25 -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:content-type; bh=vEkmxVoixU+w1E5ur8SW0UFG+FantSlabOOg27MVtvM=; b=0pLntiNqCUiijSGIhiAMo4pxNJR9NwjGdlM/998joxMRukWxe3mis9z/3pa/1cM6Mx 4Uu0hv/Jf6x/rIP/rs/Bxax0H6lza+K6iRD/UNcky4MNFwpGC/eSXGTjqZJv8iP8s3C9 NKfgYDEI+HZBhjpZTfoBB1oXLdbK5d3Sgo5UBWRyVEzXG4G04Ni/vwOnGEz/pJMn0rkW I1CCDWZLCzkZfTTgurxHWdwaczZbTfuB9DWJhueEgwZvMrHz+8oFuISyJAWZam3th8Zq KTFpmtc//KKJaAQ8KHsxKBRjplcCvAhW/tgihE3muGRFS1ljwN4hc2LWnnEVUydt6zm5 9xPA== MIME-Version: 1.0 X-Received: by 10.224.64.196 with SMTP id f4mr64485067qai.55.1385849485565; Sat, 30 Nov 2013 14:11:25 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.53.200 with HTTP; Sat, 30 Nov 2013 14:11:25 -0800 (PST) In-Reply-To: References: Date: Sat, 30 Nov 2013 14:11:25 -0800 X-Google-Sender-Auth: 1GKIknQdo5QooU8NVwY1NvxWwsE Message-ID: Subject: Re: [iwn] scan fixes! From: Adrian Chadd To: "freebsd-wireless@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 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: Sat, 30 Nov 2013 22:11:26 -0000 I've tested this now on the Intel 5100 and the Centrino-N 2200 (specifically to keep eadler@ happy!) It turns out that yes, the 2200 works fine, and it also exposes the firmware TLV "flags" field, which includes a bunch of things: iwn1: iwn_read_firmware_tlv: feature: 0x0000000b So that is 1011 - P2P (bit 3), NEWSCAN (bit 1), and PAN (bit 0.) The NEWSCAN bit changes the behaviour of the scan command a little. Seems to behave fine on both the 5100 (no flags TLV, so no NEWSCAN) and 2200 (NEWSCAN.) -adrian