Re: [ath5k-devel] kernel ath5k built-in driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pavel Roskin <proski@...>
Cc: Johannes Berg <johannes@...>, <ath5k-devel@...>
Date: Thursday, May 22, 2008 - 2:46 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ath5k-devel] kernel ath5k built-in driver, Fabrizio Regalli, (Sat May 17, 12:22 pm)
Re: [ath5k-devel] kernel ath5k built-in driver, Nick Kossifidis, (Mon May 19, 1:59 am)
Re: [ath5k-devel] kernel ath5k built-in driver, Fabrizio Regalli, (Wed May 21, 6:13 pm)
Re: [ath5k-devel] kernel ath5k built-in driver, Pavel Roskin, (Wed May 21, 6:33 pm)
Re: [ath5k-devel] kernel ath5k built-in driver, Luis R. Rodriguez, (Thu May 22, 12:22 am)
Re: [ath5k-devel] kernel ath5k built-in driver, Luis R. Rodriguez, (Thu May 22, 2:46 am)