On Wed, May 21, 2008 at 9:22 PM, Luis R. Rodriguez <mcgrof@gmail.com> wrote:Hmm, actually I just thought of the biggest problem if we start relying on this for other subsystems or if distributions do pick this up and start relying completely on it. Although you do get new shiny drivers with compat-wireless like tarballs userspace applications for the distribution were compiled *with* the old kernel headers therefore not being able to able to make use of the new interfaces unless they are also recompiled. This is not an issue unless you need new userspace application interfaces of course. An example that comes to mind is making use of iw [1] for use with nl80211 for shiny new nl80211 commands like for Mesh. Of course a patch to userspace applications is possible to get your userspace applications to compile to compat-wireless like applications (like the one below for iw) but in general I think its best to just consider it a hack for now to get users up to speed with new drivers until their distributions pick up new kernel releases, and that's it. If users or distributions users of this don't mind recompiling the userspace applications themselves then at least they know what they are getting into but userspace application binaries must have been compiled with the same the compat-wireless release currently used. That is if compat-wireless is packaged by binary distributions then so should an iw for specific compat-wireless releases, which seems awfully painful. The alternative I guess is to just have a compat-wireless which is built daily and an iw-latest which is also built daily against the same compat-wireless. [1] http://wireless.kernel.org/en/users/Documentation/iw diff --git a/defconfig b/defconfig index 346f699..64dcda8 100644 --- a/defconfig +++ b/defconfig @@ -11,8 +11,9 @@ # Kernel location for GIT NL80211 kernel code (assumed to be running, # by default); only required if your installed nl80211.h is out of date. +COMPAT_WIRELESS = /home/mcgrof/devel/compat-wireless-2.6/ CONFIG_KERNEL_LOC = /lib/modules/`uname -r`/build/ -CFLAGS += -I$(CONFIG_KERNEL_LOC)/include +CFLAGS += -I$(COMPAT_WIRELESS)/include -I$(CONFIG_KERNEL_LOC)/include # LibNL location # (if not installed in a way that makes the compiler/linker find it) _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel
| Sunil Naidu | Re: Linux 2.6.20-rc6 |
| Alan Cox | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Chris Snook | Re: init's children list is long and slows reaping children. |
| Greg Kroah-Hartman | [PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Eric W. Biederman | Re: [PATCH 10/11] avoid kobject name conflict with different namespaces |
