From owner-freebsd-wireless@FreeBSD.ORG Tue Oct 15 16:39:01 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 ESMTP id 71A705F2 for ; Tue, 15 Oct 2013 16:39:01 +0000 (UTC) (envelope-from sfourman@gmail.com) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2E8B92547 for ; Tue, 15 Oct 2013 16:39:01 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id g17so5467785vbg.28 for ; Tue, 15 Oct 2013 09:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=vD0lspS9IJDyK0N9yeykCRZ0o4mfCzi4HMo5LBt1Mb0=; b=UoPPqyxuMs1ErmNetODjMOEmMNzub4Z6R2d4FK/3AJmbVD6GG1NNFcUMTpGB5YOfPW vTOijoZsPH1SLYKkm6QG1AV4XpjpTGlcFHcRBcgg622a4sr9FG7DuCeUBNC5VVsXmnJ9 XSaxh7D1EhXIHM02Bp/yhVWuDMl6xPqUhtT42cL+9E3dPnfw1cqbtdUnj7Zd5RylJdmQ /QNJHQd1mSsh9i+kwu2p10WAroRPZlrBjpjc/PmeY2EP/FNCbiVjIdpVqZmTYWMQO+EY vXZImXfdKVLASqkORg789T1d5Ly2MpEEuWY1PpiDaoWtC9PMVurtQm+2VEsdOpZPuzuz fHMQ== MIME-Version: 1.0 X-Received: by 10.220.184.70 with SMTP id cj6mr1593312vcb.23.1381855140233; Tue, 15 Oct 2013 09:39:00 -0700 (PDT) Received: by 10.220.111.200 with HTTP; Tue, 15 Oct 2013 09:39:00 -0700 (PDT) Received: by 10.220.111.200 with HTTP; Tue, 15 Oct 2013 09:39:00 -0700 (PDT) In-Reply-To: <525D6CBA.4010101@pcbsd.org> References: <525B2802.5050904@gmail.com> <525D6CBA.4010101@pcbsd.org> Date: Tue, 15 Oct 2013 16:39:00 +0000 Message-ID: Subject: Re: Wireless API From: "Sam Fourman Jr." To: Kris Moore Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.14 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, 15 Oct 2013 16:39:01 -0000 On Oct 15, 2013 12:26 PM, "Kris Moore" wrote: > > On 10/15/2013 11:15, Adrian Chadd wrote: > > Well, up until now the interactions have all been via the ioctl API or the > > ifconfig command. Both are cumbersome. > > > > There's a decent amount of library code in ifconfig for wifi and regulatory > > related stuff. It could be broken out into a public library.. > > > > -adrian > > > > Yea, our PC-BSD network utils are using a mixture of C ioctl and > "ifconfig" parsing, +1 for a public library API at some point ;) This really is somthing that should be brought to the FreeBSD foundations attetion. As an example the network manager in Gnome hasn't been ported for years, and I belive the largest part of the reason is lack of an API. The importance of this really can't be underestimated. Is there a formal way, to propose a project to the FreeBSD foundation? Sam Fourman Jr.