mirror of https://github.com/proski/madwifi
Add support for the latest kernels that don't define AUTOCONF_INCLUDED
Use CONFIG_LOCALVERSION as an alternative to check that the configuration settings have been included. git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@4134 0192ed92-7a03-0410-a25b-9323aeb14dbd
This commit is contained in:
parent
7da3379866
commit
e408c071a2
|
@ -45,7 +45,7 @@
|
||||||
#include "if_ath_debug.h"
|
#include "if_ath_debug.h"
|
||||||
#include "opt_ah.h"
|
#include "opt_ah.h"
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#define EXPORT_SYMTAB
|
#define EXPORT_SYMTAB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#define EXPORT_SYMTAB
|
#define EXPORT_SYMTAB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
#include "if_ath_debug.h"
|
#include "if_ath_debug.h"
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -44,9 +44,9 @@
|
||||||
/* Don't use virtualized timer in Linux 2.6.20+ */
|
/* Don't use virtualized timer in Linux 2.6.20+ */
|
||||||
#define USE_REAL_TIME_DELAY
|
#define USE_REAL_TIME_DELAY
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif /* AUTOCONF_INCLUDED */
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
#include <linux/module.h>
|
#include <linux/module.h>
|
||||||
#include <linux/init.h>
|
#include <linux/init.h>
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
* "IEEE 802.11 Rate Adaptation: A Practical Approach" by
|
* "IEEE 802.11 Rate Adaptation: A Practical Approach" by
|
||||||
* Mathieu Lacage, Hossein Manshaei, Thierry Turletti
|
* Mathieu Lacage, Hossein Manshaei, Thierry Turletti
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
* Also, this implementation tracks the average transmission time for
|
* Also, this implementation tracks the average transmission time for
|
||||||
* a few different packet sizes independently for each link. */
|
* a few different packet sizes independently for each link. */
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
/*
|
/*
|
||||||
* Atsushi Onoe's rate control algorithm.
|
* Atsushi Onoe's rate control algorithm.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
* John Bicket's SampleRate control algorithm.
|
* John Bicket's SampleRate control algorithm.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 generic handler
|
* IEEE 802.11 generic handler
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -45,7 +45,7 @@
|
||||||
* and if found the frame is either accepted (ACL_POLICY_ALLOW)
|
* and if found the frame is either accepted (ACL_POLICY_ALLOW)
|
||||||
* or rejected (ACL_POLICY_DENT).
|
* or rejected (ACL_POLICY_DENT).
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 beacon handling routines
|
* IEEE 802.11 beacon handling routines
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 generic crypto support.
|
* IEEE 802.11 generic crypto support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
* AP driver. The code is used with the consent of the author and
|
* AP driver. The code is used with the consent of the author and
|
||||||
* its license is included below.
|
* its license is included below.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 NULL crypto support.
|
* IEEE 802.11 NULL crypto support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
* AP driver. The code is used with the consent of the author and
|
* AP driver. The code is used with the consent of the author and
|
||||||
* its license is included below.
|
* its license is included below.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 WEP crypto support.
|
* IEEE 802.11 WEP crypto support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 input handling.
|
* IEEE 802.11 input handling.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 support (Linux-specific code)
|
* IEEE 802.11 support (Linux-specific code)
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 monitor mode
|
* IEEE 802.11 monitor mode
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 node handling support.
|
* IEEE 802.11 node handling support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 output handling.
|
* IEEE 802.11 output handling.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 power save support.
|
* IEEE 802.11 power save support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 protocol support.
|
* IEEE 802.11 protocol support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* Atheros module glue for rate control algorithms.
|
* Atheros module glue for rate control algorithms.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 scanning support.
|
* IEEE 802.11 scanning support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 ap scanning support.
|
* IEEE 802.11 ap scanning support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 station scanning support.
|
* IEEE 802.11 station scanning support.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* IEEE 802.11 support (Linux-specific code)
|
* IEEE 802.11 support (Linux-specific code)
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
/*
|
/*
|
||||||
* Wireless extensions support for 802.11 common code.
|
* Wireless extensions support for 802.11 common code.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
* of the available callbacks--the user mode authenticator process works
|
* of the available callbacks--the user mode authenticator process works
|
||||||
* entirely from messages about stations joining and leaving.
|
* entirely from messages about stations joining and leaving.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
#define EXPORT_SYMTAB
|
#define EXPORT_SYMTAB
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
* you want; e.g. insmod ccmp_test tests=7 will run only test MPDUs
|
* you want; e.g. insmod ccmp_test tests=7 will run only test MPDUs
|
||||||
* 1, 2, and 3.
|
* 1, 2, and 3.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -34,7 +34,7 @@
|
||||||
/*
|
/*
|
||||||
* TKIP test module.
|
* TKIP test module.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
|
@ -44,7 +44,7 @@
|
||||||
* you want; e.g. insmod wep_test tests=7 will run only test MPDUs
|
* you want; e.g. insmod wep_test tests=7 will run only test MPDUs
|
||||||
* 1, 2, and 3.
|
* 1, 2, and 3.
|
||||||
*/
|
*/
|
||||||
#ifndef AUTOCONF_INCLUDED
|
#if !defined(AUTOCONF_INCLUDED) && !defined(CONFIG_LOCALVERSION)
|
||||||
#include <linux/config.h>
|
#include <linux/config.h>
|
||||||
#endif
|
#endif
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
Loading…
Reference in New Issue