From f7abb800cfa0668928c500d365050682fbdbce44 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sat, 15 Aug 2009 16:42:48 +0000 Subject: Do not build the mac80211 module in the kernel. The attributes skb->do_not_encrypt and skb->requeue in include/linux/skbuff.h are not used my mac80211 any more. SVN-Revision: 17276 --- target/linux/generic-2.6/config-2.6.27 | 25 +++++--------- target/linux/generic-2.6/config-2.6.28 | 40 +++++++--------------- target/linux/generic-2.6/config-2.6.30 | 33 +++++------------- target/linux/generic-2.6/config-2.6.31 | 33 +++++------------- .../patches-2.6.27/940-wireless_mesh_header.patch | 11 ++++++ .../patches-2.6.28/940-wireless_mesh_header.patch | 11 ++++++ .../patches-2.6.30/940-wireless_mesh_header.patch | 11 ++++++ 7 files changed, 69 insertions(+), 95 deletions(-) create mode 100644 target/linux/generic-2.6/patches-2.6.27/940-wireless_mesh_header.patch create mode 100644 target/linux/generic-2.6/patches-2.6.28/940-wireless_mesh_header.patch create mode 100644 target/linux/generic-2.6/patches-2.6.30/940-wireless_mesh_header.patch (limited to 'target/linux/generic-2.6') diff --git a/target/linux/generic-2.6/config-2.6.27 b/target/linux/generic-2.6/config-2.6.27 index fad7023cea..d41653f8f9 100644 --- a/target/linux/generic-2.6/config-2.6.27 +++ b/target/linux/generic-2.6/config-2.6.27 @@ -262,7 +262,7 @@ CONFIG_CARDBUS=y # CONFIG_CASSINI is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set # CONFIG_CDROM_PKTCDVD is not set -CONFIG_CFG80211=m +# CONFIG_CFG80211 is not set # CONFIG_CGROUPS is not set # CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T3 is not set @@ -297,12 +297,12 @@ CONFIG_CRC32=y # CONFIG_CRC_T10DIF is not set CONFIG_CROSSCOMPILE=y # CONFIG_CRYPTO_AEAD is not set -CONFIG_CRYPTO_AES=m -CONFIG_CRYPTO_ALGAPI=m +# CONFIG_CRYPTO_AES is not set +# CONFIG_CRYPTO_ALGAPI is not set # CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_AUTHENC is not set -CONFIG_CRYPTO_BLKCIPHER=m +# CONFIG_CRYPTO_BLKCIPHER is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set @@ -316,7 +316,7 @@ CONFIG_CRYPTO_BLKCIPHER=m # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set -CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_ECB is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_GF128MUL is not set @@ -326,7 +326,7 @@ CONFIG_CRYPTO_ECB=m # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_LZO is not set -CONFIG_CRYPTO_MANAGER=m +# CONFIG_CRYPTO_MANAGER is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set @@ -852,16 +852,7 @@ CONFIG_LOCKD_V4=y CONFIG_LOG_BUF_SHIFT=14 # CONFIG_LSF is not set # CONFIG_LXT_PHY is not set -# CONFIG_MAC80211_DEBUGFS is not set -# CONFIG_MAC80211_DEBUG is not set -# CONFIG_MAC80211_DEBUG_MENU is not set -# CONFIG_MAC80211_HWSIM is not set -# CONFIG_MAC80211_LEDS is not set -CONFIG_MAC80211=m -# CONFIG_MAC80211_MESH is not set -CONFIG_MAC80211_RC_DEFAULT="pid" -CONFIG_MAC80211_RC_DEFAULT_PID=y -CONFIG_MAC80211_RC_PID=y +# CONFIG_MAC80211 is not set # CONFIG_MAC_EMUMOUSEBTN is not set # CONFIG_MAC_PARTITION is not set # CONFIG_MACVLAN is not set diff --git a/target/linux/generic-2.6/config-2.6.28 b/target/linux/generic-2.6/config-2.6.28 index 0f530e92fb..731191648a 100644 --- a/target/linux/generic-2.6/config-2.6.28 +++ b/target/linux/generic-2.6/config-2.6.28 @@ -268,7 +268,7 @@ CONFIG_CARDBUS=y # CONFIG_CASSINI is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set # CONFIG_CDROM_PKTCDVD is not set -CONFIG_CFG80211=m +# CONFIG_CFG80211 is not set # CONFIG_CGROUPS is not set # CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T3 is not set @@ -304,18 +304,15 @@ CONFIG_CRC32=y # CONFIG_CRC_ITU_T is not set # CONFIG_CRC_T10DIF is not set CONFIG_CROSSCOMPILE=y -CONFIG_CRYPTO_AEAD2=m -CONFIG_CRYPTO_AEAD=m +# CONFIG_CRYPTO_AEAD is not set # CONFIG_CRYPTO_AES_586 is not set -CONFIG_CRYPTO_AES=m -CONFIG_CRYPTO_ALGAPI2=m -CONFIG_CRYPTO_ALGAPI=m +# CONFIG_CRYPTO_AES is not set +# CONFIG_CRYPTO_ALGAPI is not set # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_AUTHENC is not set -CONFIG_CRYPTO_BLKCIPHER2=m -CONFIG_CRYPTO_BLKCIPHER=m +# CONFIG_CRYPTO_BLKCIPHER is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set @@ -330,20 +327,19 @@ CONFIG_CRYPTO_BLKCIPHER=m # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set -CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_ECB is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_FIPS is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_GF128MUL is not set -CONFIG_CRYPTO_HASH2=m -CONFIG_CRYPTO_HASH=m +# CONFIG_CRYPTO_HASH is not set # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_HW is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_LZO is not set -CONFIG_CRYPTO_MANAGER2=m -CONFIG_CRYPTO_MANAGER=m +# CONFIG_CRYPTO_MANAGER2 is not set +# CONFIG_CRYPTO_MANAGER is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set @@ -354,8 +350,7 @@ CONFIG_CRYPTO_MANAGER=m # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set -CONFIG_CRYPTO_RNG2=m -CONFIG_CRYPTO_RNG=m +# CONFIG_CRYPTO_RNG is not set # CONFIG_CRYPTO_SALSA20_586 is not set # CONFIG_CRYPTO_SALSA20 is not set # CONFIG_CRYPTO_SEED is not set @@ -911,18 +906,7 @@ CONFIG_LOG_BUF_SHIFT=14 # CONFIG_LOGITECH_FF is not set # CONFIG_LSF is not set # CONFIG_LXT_PHY is not set -# CONFIG_MAC80211_DEBUGFS is not set -# CONFIG_MAC80211_DEBUG is not set -# CONFIG_MAC80211_DEBUG_MENU is not set -# CONFIG_MAC80211_HWSIM is not set -# CONFIG_MAC80211_LEDS is not set -CONFIG_MAC80211=m -# CONFIG_MAC80211_MESH is not set -# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set -CONFIG_MAC80211_RC_DEFAULT="pid" -CONFIG_MAC80211_RC_DEFAULT_PID=y -# CONFIG_MAC80211_RC_MINSTREL is not set -CONFIG_MAC80211_RC_PID=y +# CONFIG_MAC80211 is not set # CONFIG_MAC_EMUMOUSEBTN is not set # CONFIG_MAC_PARTITION is not set # CONFIG_MACVLAN is not set diff --git a/target/linux/generic-2.6/config-2.6.30 b/target/linux/generic-2.6/config-2.6.30 index 6df8f526ed..eb47439b34 100644 --- a/target/linux/generic-2.6/config-2.6.30 +++ b/target/linux/generic-2.6/config-2.6.30 @@ -290,8 +290,7 @@ CONFIG_CARDBUS=y # CONFIG_CASSINI is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set # CONFIG_CDROM_PKTCDVD is not set -CONFIG_CFG80211=m -# CONFIG_CFG80211_REG_DEBUG is not set +# CONFIG_CFG80211 is not set # CONFIG_CGROUPS is not set # CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T3 is not set @@ -329,18 +328,16 @@ CONFIG_CRC32=y # CONFIG_CRC_ITU_T is not set # CONFIG_CRC_T10DIF is not set CONFIG_CROSSCOMPILE=y -CONFIG_CRYPTO_AEAD2=m # CONFIG_CRYPTO_AEAD is not set # CONFIG_CRYPTO_AES_586 is not set -CONFIG_CRYPTO_AES=m +# CONFIG_CRYPTO_AES is not set CONFIG_CRYPTO_ALGAPI2=y CONFIG_CRYPTO_ALGAPI=y # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_AUTHENC is not set -CONFIG_CRYPTO_BLKCIPHER2=m -CONFIG_CRYPTO_BLKCIPHER=m +# CONFIG_CRYPTO_BLKCIPHER is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set @@ -355,20 +352,19 @@ CONFIG_CRYPTO_BLKCIPHER=m # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set -CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_ECB is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_FIPS is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_GF128MUL is not set -CONFIG_CRYPTO_HASH2=m # CONFIG_CRYPTO_HASH is not set # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_HW is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_LZO is not set -CONFIG_CRYPTO_MANAGER2=m -CONFIG_CRYPTO_MANAGER=m +# CONFIG_CRYPTO_MANAGER2 is not set +# CONFIG_CRYPTO_MANAGER is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set @@ -380,7 +376,6 @@ CONFIG_CRYPTO_PCOMP=y # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set -CONFIG_CRYPTO_RNG2=m # CONFIG_CRYPTO_RNG is not set # CONFIG_CRYPTO_SALSA20_586 is not set # CONFIG_CRYPTO_SALSA20 is not set @@ -397,7 +392,6 @@ CONFIG_CRYPTO_RNG2=m # CONFIG_CRYPTO_TWOFISH_COMMON is not set # CONFIG_CRYPTO_TWOFISH is not set CONFIG_CRYPTO_UNLZMA=y -CONFIG_CRYPTO_WORKQUEUE=m # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_XTS is not set @@ -987,18 +981,7 @@ CONFIG_LOG_BUF_SHIFT=14 # CONFIG_LSF is not set # CONFIG_LSI_ET1011C_PHY is not set # CONFIG_LXT_PHY is not set -# CONFIG_MAC80211_DEBUGFS is not set -# CONFIG_MAC80211_DEBUG is not set -# CONFIG_MAC80211_DEBUG_MENU is not set -# CONFIG_MAC80211_HWSIM is not set -# CONFIG_MAC80211_LEDS is not set -CONFIG_MAC80211=m -# CONFIG_MAC80211_MESH is not set -# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set -CONFIG_MAC80211_RC_DEFAULT="pid" -CONFIG_MAC80211_RC_DEFAULT_PID=y -# CONFIG_MAC80211_RC_MINSTREL is not set -CONFIG_MAC80211_RC_PID=y +# CONFIG_MAC80211 is not set # CONFIG_MAC_EMUMOUSEBTN is not set # CONFIG_MAC_PARTITION is not set # CONFIG_MACVLAN is not set diff --git a/target/linux/generic-2.6/config-2.6.31 b/target/linux/generic-2.6/config-2.6.31 index 7d6c800862..2465a63fbc 100644 --- a/target/linux/generic-2.6/config-2.6.31 +++ b/target/linux/generic-2.6/config-2.6.31 @@ -279,8 +279,7 @@ CONFIG_CARDBUS=y # CONFIG_CASSINI is not set # CONFIG_CC_OPTIMIZE_FOR_SIZE is not set # CONFIG_CDROM_PKTCDVD is not set -CONFIG_CFG80211=m -# CONFIG_CFG80211_REG_DEBUG is not set +# CONFIG_CFG80211 is not set # CONFIG_CGROUPS is not set # CONFIG_CHELSIO_T1 is not set # CONFIG_CHELSIO_T3 is not set @@ -318,18 +317,16 @@ CONFIG_CRC32=y # CONFIG_CRC_ITU_T is not set # CONFIG_CRC_T10DIF is not set CONFIG_CROSSCOMPILE=y -CONFIG_CRYPTO_AEAD2=m # CONFIG_CRYPTO_AEAD is not set # CONFIG_CRYPTO_AES_586 is not set -CONFIG_CRYPTO_AES=m +# CONFIG_CRYPTO_AES is not set CONFIG_CRYPTO_ALGAPI2=y CONFIG_CRYPTO_ALGAPI=y # CONFIG_CRYPTO_ANSI_CPRNG is not set # CONFIG_CRYPTO_ANUBIS is not set -CONFIG_CRYPTO_ARC4=m +# CONFIG_CRYPTO_ARC4 is not set # CONFIG_CRYPTO_AUTHENC is not set -CONFIG_CRYPTO_BLKCIPHER2=m -CONFIG_CRYPTO_BLKCIPHER=m +# CONFIG_CRYPTO_BLKCIPHER is not set # CONFIG_CRYPTO_BLOWFISH is not set # CONFIG_CRYPTO_CAMELLIA is not set # CONFIG_CRYPTO_CAST5 is not set @@ -344,20 +341,19 @@ CONFIG_CRYPTO_BLKCIPHER=m # CONFIG_CRYPTO_DEFLATE is not set # CONFIG_CRYPTO_DES is not set # CONFIG_CRYPTO_DEV_HIFN_795X is not set -CONFIG_CRYPTO_ECB=m +# CONFIG_CRYPTO_ECB is not set # CONFIG_CRYPTO_FCRYPT is not set # CONFIG_CRYPTO_FIPS is not set # CONFIG_CRYPTO_GCM is not set # CONFIG_CRYPTO_GF128MUL is not set -CONFIG_CRYPTO_HASH2=m # CONFIG_CRYPTO_HASH is not set # CONFIG_CRYPTO_HMAC is not set # CONFIG_CRYPTO_HW is not set # CONFIG_CRYPTO_KHAZAD is not set # CONFIG_CRYPTO_LRW is not set # CONFIG_CRYPTO_LZO is not set -CONFIG_CRYPTO_MANAGER2=m -CONFIG_CRYPTO_MANAGER=m +# CONFIG_CRYPTO_MANAGER2 is not set +# CONFIG_CRYPTO_MANAGER is not set # CONFIG_CRYPTO_MD4 is not set # CONFIG_CRYPTO_MD5 is not set # CONFIG_CRYPTO_MICHAEL_MIC is not set @@ -369,7 +365,6 @@ CONFIG_CRYPTO_PCOMP=y # CONFIG_CRYPTO_RMD160 is not set # CONFIG_CRYPTO_RMD256 is not set # CONFIG_CRYPTO_RMD320 is not set -CONFIG_CRYPTO_RNG2=m # CONFIG_CRYPTO_RNG is not set # CONFIG_CRYPTO_SALSA20_586 is not set # CONFIG_CRYPTO_SALSA20 is not set @@ -386,7 +381,6 @@ CONFIG_CRYPTO_RNG2=m # CONFIG_CRYPTO_TWOFISH_COMMON is not set # CONFIG_CRYPTO_TWOFISH is not set CONFIG_CRYPTO_UNLZMA=y -CONFIG_CRYPTO_WORKQUEUE=m # CONFIG_CRYPTO_WP512 is not set # CONFIG_CRYPTO_XCBC is not set # CONFIG_CRYPTO_XTS is not set @@ -971,18 +965,7 @@ CONFIG_LOG_BUF_SHIFT=14 # CONFIG_LSF is not set # CONFIG_LSI_ET1011C_PHY is not set # CONFIG_LXT_PHY is not set -# CONFIG_MAC80211_DEBUGFS is not set -# CONFIG_MAC80211_DEBUG is not set -# CONFIG_MAC80211_DEBUG_MENU is not set -# CONFIG_MAC80211_HWSIM is not set -# CONFIG_MAC80211_LEDS is not set -CONFIG_MAC80211=m -# CONFIG_MAC80211_MESH is not set -# CONFIG_MAC80211_RC_DEFAULT_MINSTREL is not set -CONFIG_MAC80211_RC_DEFAULT="pid" -CONFIG_MAC80211_RC_DEFAULT_PID=y -# CONFIG_MAC80211_RC_MINSTREL is not set -CONFIG_MAC80211_RC_PID=y +# CONFIG_MAC80211 is not set # CONFIG_MAC_EMUMOUSEBTN is not set # CONFIG_MAC_PARTITION is not set # CONFIG_MACVLAN is not set diff --git a/target/linux/generic-2.6/patches-2.6.27/940-wireless_mesh_header.patch b/target/linux/generic-2.6/patches-2.6.27/940-wireless_mesh_header.patch new file mode 100644 index 0000000000..be43f1b81c --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.27/940-wireless_mesh_header.patch @@ -0,0 +1,11 @@ +--- a/include/linux/netdevice.h ++++ b/include/linux/netdevice.h +@@ -94,7 +94,7 @@ struct wireless_dev; + */ + + #if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) +-# if defined(CONFIG_MAC80211_MESH) ++# if 1 || defined(CONFIG_MAC80211_MESH) + # define LL_MAX_HEADER 128 + # else + # define LL_MAX_HEADER 96 diff --git a/target/linux/generic-2.6/patches-2.6.28/940-wireless_mesh_header.patch b/target/linux/generic-2.6/patches-2.6.28/940-wireless_mesh_header.patch new file mode 100644 index 0000000000..adf416eff4 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.28/940-wireless_mesh_header.patch @@ -0,0 +1,11 @@ +--- a/include/linux/netdevice.h ++++ b/include/linux/netdevice.h +@@ -95,7 +95,7 @@ struct wireless_dev; + */ + + #if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) +-# if defined(CONFIG_MAC80211_MESH) ++# if 1 || defined(CONFIG_MAC80211_MESH) + # define LL_MAX_HEADER 128 + # else + # define LL_MAX_HEADER 96 diff --git a/target/linux/generic-2.6/patches-2.6.30/940-wireless_mesh_header.patch b/target/linux/generic-2.6/patches-2.6.30/940-wireless_mesh_header.patch new file mode 100644 index 0000000000..3f5c2dd477 --- /dev/null +++ b/target/linux/generic-2.6/patches-2.6.30/940-wireless_mesh_header.patch @@ -0,0 +1,11 @@ +--- a/include/linux/netdevice.h ++++ b/include/linux/netdevice.h +@@ -99,7 +99,7 @@ struct wireless_dev; + */ + + #if defined(CONFIG_WLAN_80211) || defined(CONFIG_AX25) || defined(CONFIG_AX25_MODULE) +-# if defined(CONFIG_MAC80211_MESH) ++# if 1 || defined(CONFIG_MAC80211_MESH) + # define LL_MAX_HEADER 128 + # else + # define LL_MAX_HEADER 96 -- cgit v1.2.3