From owner-freebsd-wireless@FreeBSD.ORG Thu Oct 13 05:56:50 2011 Return-Path: Delivered-To: wireless@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F348106568B for ; Thu, 13 Oct 2011 05:56:50 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id C1CC98FC08 for ; Thu, 13 Oct 2011 05:56:49 +0000 (UTC) Received: by vcbf13 with SMTP id f13so1768929vcb.13 for ; Wed, 12 Oct 2011 22:56:49 -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; bh=pvkSZPUNKArVHT6dlifu10o2io3EYMQs6tIMoNMQuNY=; b=czYWMmlwv1/G4zZ59lxBNaXw9YyV88GpY+y7Qi8itZw7UA1JO3calnBH1lYbhnBqov 2qTY2Ua3fePUHtr8o3i3N1Oboc7MpJXV4qghNGYwtmK7e+KM8I2h8GyZFF4mshIJGXhA GVYCSSu9iGBVloQciYPDljOzDows9SkjyEAKc= MIME-Version: 1.0 Received: by 10.52.240.131 with SMTP id wa3mr12430vdc.95.1318485409026; Wed, 12 Oct 2011 22:56:49 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.52.161.138 with HTTP; Wed, 12 Oct 2011 22:56:48 -0700 (PDT) In-Reply-To: References: Date: Thu, 13 Oct 2011 13:56:48 +0800 X-Google-Sender-Auth: EHmkGlMzS4XDwC-zfPbSBMJl_9Q Message-ID: From: Adrian Chadd To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: wireless@freebsd.org Subject: Re: Detecting a wireless interface 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: Thu, 13 Oct 2011 05:56:50 -0000 I can't think of anything, sorry. You may have to write a command line app that does a net80211 ioctl to see, or maybe there's a way to query the media type to tell you whether it's wifi or not. Adrian