Return-path: Received: from charlotte.tuxdriver.com ([70.61.120.58]:32853 "EHLO smtp.tuxdriver.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753610AbZEUNpU (ORCPT ); Thu, 21 May 2009 09:45:20 -0400 Date: Thu, 21 May 2009 09:38:40 -0400 From: "John W. Linville" To: Johannes Berg Cc: Zhu Yi , drago01 , "linux-wireless@vger.kernel.org" , "Ortiz, Samuel" Subject: Re: [PATCH 1/2] wireless: move some utility functions from mac80211 to cfg80211 Message-ID: <20090521133839.GA2744@tuxdriver.com> References: <1242872340-27417-1-git-send-email-yi.zhu@intel.com> <1242872340-27417-2-git-send-email-yi.zhu@intel.com> <1242889781.24825.611.camel@debian> <1242897719.5471.1.camel@johannes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1242897719.5471.1.camel@johannes.local> Sender: linux-wireless-owner@vger.kernel.org List-ID: On Thu, May 21, 2009 at 11:21:59AM +0200, Johannes Berg wrote: > On Thu, 2009-05-21 at 15:09 +0800, Zhu Yi wrote: > > > > Isn't lib80211 a better place for those ? > > > Its purpose is sharing code between fullmac and softmac drivers. > > > > These functions are moved from mac80211 which currently doesn't link > > with lib80211. Johannes might have more to comment. > > Yeah, lib80211's stated purpose is to share code, but on the other hand > code that mac80211 and fullmac drivers may need seems better suited in > cfg80211 since lib80211 also ships a large code bit of crypto routines > etc. that are just useless for this and mac80211. The crypto stuff is mostly in separate modules. I would rather see these in lib80211, but I'll work that out myself. John -- John W. Linville Someday the world will need a hero, and you linville@tuxdriver.com might be all we have. Be ready.