Return-path: Received: from wr-out-0506.google.com ([64.233.184.225]:34106 "EHLO wr-out-0506.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161068AbXBOTqp (ORCPT ); Thu, 15 Feb 2007 14:46:45 -0500 Received: by wr-out-0506.google.com with SMTP id i31so833003wra for ; Thu, 15 Feb 2007 11:46:41 -0800 (PST) Message-ID: <43e72e890702151146i7fb5915di4aa37f20e6cc3823@mail.gmail.com> Date: Thu, 15 Feb 2007 14:46:40 -0500 From: "Luis R. Rodriguez" To: "Johannes Berg" Subject: Re: nl80211 userspace Cc: "John W. Linville" , "Nick Kossifidis" , linux-wireless In-Reply-To: <1171551930.5220.2.camel@johannes.berg> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed References: <1171479846.3709.3.camel@johannes.berg> <40f31dec0702150017x3ecfca57ucded8f1d88bbb121@mail.gmail.com> <20070215141944.GA3310@tuxdriver.com> <1171551930.5220.2.camel@johannes.berg> Sender: linux-wireless-owner@vger.kernel.org List-ID: On 2/15/07, Johannes Berg wrote: > On Thu, 2007-02-15 at 09:19 -0500, John W. Linville wrote: > > > P.S. Michael is, of course, right that the tool for users probably > > should not rely on python (or perl, et al). FWIW, I got the > > impression that Johannes's tool was meant to use in the short-run > > for developers...? > > Yes. The advantage is that you don't even need to recompile it for new > commands. And hey, maybe we can hack it up to generate the C code for > the real tool :P I think the tool we should rely on next should be based on wpa_supplicant/wpa_cli codebase. wpa_supplicant already handles wext, directly through ioclt(), but nevertheless it does call the right ioctls. As such, it doesn't depend on iwlib so distributions who decide to ditch iwconfig won't need a the old library and still get backward compatibility . Extending it to support nl80211 would benefit the wpa_supplicant codebase and we can take advantage and fork our own new utility out of it. How about calling it "iw" as ifconfig's replacement is called "ip" ? Luis