@@ -9,13 +9,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/crypto.h>
-#include <linux/err.h>
#include <crypto/aes.h>
-#include <net/mac80211.h>
#include "key.h"
#include "aes_ccm.h"
@@ -7,14 +7,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/kernel.h>
-#include <linux/types.h>
-#include <linux/crypto.h>
-#include <linux/export.h>
-#include <linux/err.h>
#include <crypto/aes.h>
-#include <net/mac80211.h>
#include "key.h"
#include "aes_cmac.h"
@@ -22,7 +16,6 @@
#define CMAC_TLEN 8 /* CMAC TLen = 64 bits (8 octets) */
#define AAD_LEN 20
-
static void gf_mulx(u8 *pad)
{
int i, carry;
@@ -35,7 +28,6 @@ static void gf_mulx(u8 *pad)
pad[AES_BLOCK_SIZE - 1] ^= 0x87;
}
-
static void aes_128_cmac_vector(struct crypto_cipher *tfm, size_t num_elem,
const u8 *addr[], const size_t *len, u8 *mac)
{
@@ -91,7 +83,6 @@ static void aes_128_cmac_vector(struct crypto_cipher *tfm, size_t num_elem,
memcpy(mac, pad, CMAC_TLEN);
}
-
void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad,
const u8 *data, size_t data_len, u8 *mic)
{
@@ -110,7 +101,6 @@ void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad,
aes_128_cmac_vector(tfm, 3, addr, len, mic);
}
-
struct crypto_cipher *ieee80211_aes_cmac_key_setup(const u8 key[])
{
struct crypto_cipher *tfm;
@@ -122,7 +112,6 @@ struct crypto_cipher *ieee80211_aes_cmac_key_setup(const u8 key[])
return tfm;
}
-
void ieee80211_aes_cmac_key_free(struct crypto_cipher *tfm)
{
crypto_free_cipher(tfm);
@@ -36,11 +36,6 @@
* call must not fail.
*/
-#include <linux/ieee80211.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "driver-ops.h"
static void ieee80211_free_tid_rx(struct rcu_head *h)
@@ -13,11 +13,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/ieee80211.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "driver-ops.h"
#include "wme.h"
@@ -6,16 +6,6 @@
* This file is GPLv2 as found in COPYING.
*/
-#include <linux/ieee80211.h>
-#include <linux/nl80211.h>
-#include <linux/rtnetlink.h>
-#include <linux/slab.h>
-#include <net/net_namespace.h>
-#include <linux/rcupdate.h>
-#include <linux/if_ether.h>
-#include <net/cfg80211.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "cfg.h"
#include "rate.h"
#include "mesh.h"
@@ -2,11 +2,8 @@
* mac80211 - channel management
*/
-#include <linux/nl80211.h>
-#include <linux/export.h>
#include <linux/rtnetlink.h>
-#include <net/cfg80211.h>
-#include "ieee80211_i.h"
+
#include "driver-ops.h"
static enum nl80211_chan_width ieee80211_get_sta_bw(struct ieee80211_sta *sta)
@@ -8,10 +8,8 @@
*
*/
-#include <linux/debugfs.h>
#include <linux/rtnetlink.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
+
#include "rate.h"
#include "debugfs.h"
@@ -8,10 +8,7 @@
* published by the Free Software Foundation.
*/
-#include <linux/kobject.h>
-#include <linux/slab.h>
#include "ieee80211_i.h"
-#include "key.h"
#include "debugfs.h"
#include "debugfs_key.h"
@@ -7,22 +7,11 @@
* published by the Free Software Foundation.
*/
-#include <linux/kernel.h>
-#include <linux/device.h>
-#include <linux/if.h>
-#include <linux/if_ether.h>
-#include <linux/interrupt.h>
-#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
-#include <linux/slab.h>
-#include <linux/notifier.h>
-#include <net/mac80211.h>
-#include <net/cfg80211.h>
-#include "ieee80211_i.h"
+
#include "rate.h"
#include "debugfs.h"
#include "debugfs_netdev.h"
-#include "driver-ops.h"
static ssize_t ieee80211_if_read(
struct ieee80211_sub_if_data *sdata,
@@ -8,12 +8,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/debugfs.h>
-#include <linux/ieee80211.h>
-#include "ieee80211_i.h"
#include "debugfs.h"
#include "debugfs_sta.h"
-#include "sta_info.h"
#include "driver-ops.h"
/* sta attributtes */
@@ -1,8 +1,6 @@
#ifndef __MAC80211_DRIVER_OPS
#define __MAC80211_DRIVER_OPS
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "trace.h"
static inline void check_sdata_in_driver(struct ieee80211_sub_if_data *sdata)
@@ -7,7 +7,7 @@
*
* mac80211 - events
*/
-#include <net/cfg80211.h>
+
#include "ieee80211_i.h"
/*
@@ -13,10 +13,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/ieee80211.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "rate.h"
static void __check_htcap_disable(struct ieee80211_ht_cap *ht_capa,
@@ -12,17 +12,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/delay.h>
-#include <linux/slab.h>
-#include <linux/if_ether.h>
-#include <linux/skbuff.h>
-#include <linux/if_arp.h>
-#include <linux/etherdevice.h>
-#include <linux/rtnetlink.h>
-#include <net/mac80211.h>
-
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "rate.h"
#define IEEE80211_SCAN_INTERVAL (2 * HZ)
@@ -12,23 +12,11 @@
#ifndef IEEE80211_I_H
#define IEEE80211_I_H
-#include <linux/kernel.h>
-#include <linux/device.h>
-#include <linux/if_ether.h>
#include <linux/interrupt.h>
-#include <linux/list.h>
-#include <linux/netdevice.h>
-#include <linux/skbuff.h>
-#include <linux/workqueue.h>
-#include <linux/types.h>
-#include <linux/spinlock.h>
-#include <linux/etherdevice.h>
#include <linux/leds.h>
#include <linux/idr.h>
#include <net/ieee80211_radiotap.h>
-#include <net/cfg80211.h>
-#include <net/mac80211.h>
-#include "key.h"
+
#include "sta_info.h"
#include "debug.h"
@@ -10,19 +10,13 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/slab.h>
-#include <linux/kernel.h>
+
#include <linux/if_arp.h>
-#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
-#include <net/mac80211.h>
-#include <net/ieee80211_radiotap.h>
-#include "ieee80211_i.h"
-#include "sta_info.h"
+
#include "debugfs_netdev.h"
#include "mesh.h"
#include "led.h"
-#include "driver-ops.h"
#include "wme.h"
#include "rate.h"
@@ -9,16 +9,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/if_ether.h>
-#include <linux/etherdevice.h>
-#include <linux/list.h>
-#include <linux/rcupdate.h>
#include <linux/rtnetlink.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include <asm/unaligned.h>
-#include "ieee80211_i.h"
+
#include "driver-ops.h"
#include "debugfs_key.h"
#include "aes_ccm.h"
@@ -10,8 +10,6 @@
#ifndef IEEE80211_KEY_H
#define IEEE80211_KEY_H
-#include <linux/types.h>
-#include <linux/list.h>
#include <linux/crypto.h>
#include <linux/rcupdate.h>
#include <net/mac80211.h>
@@ -6,10 +6,6 @@
* published by the Free Software Foundation.
*/
-/* just for IFNAMSIZ */
-#include <linux/if.h>
-#include <linux/slab.h>
-#include <linux/export.h>
#include "led.h"
#define MAC80211_BLINK_DELAY 50 /* ms */
@@ -6,9 +6,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/list.h>
-#include <linux/spinlock.h>
#include <linux/leds.h>
+
#include "ieee80211_i.h"
#ifdef CONFIG_MAC80211_LEDS
@@ -8,25 +8,11 @@
* published by the Free Software Foundation.
*/
-#include <net/mac80211.h>
#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/slab.h>
-#include <linux/skbuff.h>
-#include <linux/etherdevice.h>
-#include <linux/if_arp.h>
#include <linux/rtnetlink.h>
-#include <linux/bitmap.h>
-#include <linux/pm_qos.h>
#include <linux/inetdevice.h>
-#include <net/net_namespace.h>
-#include <net/cfg80211.h>
#include <net/addrconf.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "rate.h"
#include "mesh.h"
#include "wep.h"
@@ -8,9 +8,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/slab.h>
-#include <asm/unaligned.h>
-#include "ieee80211_i.h"
#include "mesh.h"
#include "driver-ops.h"
@@ -11,10 +11,9 @@
#ifndef IEEE80211S_H
#define IEEE80211S_H
-#include <linux/types.h>
#include <linux/jhash.h>
-#include "ieee80211_i.h"
+#include "ieee80211_i.h"
/* Data structures */
@@ -7,9 +7,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/slab.h>
-#include <linux/etherdevice.h>
-#include <asm/unaligned.h>
#include "wme.h"
#include "mesh.h"
@@ -7,15 +7,7 @@
* published by the Free Software Foundation.
*/
-#include <linux/etherdevice.h>
-#include <linux/list.h>
-#include <linux/random.h>
-#include <linux/slab.h>
-#include <linux/spinlock.h>
-#include <linux/string.h>
-#include <net/mac80211.h>
#include "wme.h"
-#include "ieee80211_i.h"
#include "mesh.h"
/* There will be initially 2^INIT_PATHS_SIZE_ORDER buckets */
@@ -6,10 +6,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/gfp.h>
-#include <linux/kernel.h>
-#include <linux/random.h>
-#include "ieee80211_i.h"
+
#include "rate.h"
#include "mesh.h"
@@ -10,7 +10,6 @@
#include "mesh.h"
#include "wme.h"
-
/* mesh PS management */
/**
@@ -8,7 +8,6 @@
* published by the Free Software Foundation.
*/
-#include "ieee80211_i.h"
#include "mesh.h"
#include "driver-ops.h"
@@ -6,9 +6,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/types.h>
-#include <linux/bitops.h>
-#include <linux/ieee80211.h>
+
#include <asm/unaligned.h>
#include "michael.h"
@@ -11,22 +11,9 @@
* published by the Free Software Foundation.
*/
-#include <linux/delay.h>
-#include <linux/if_ether.h>
-#include <linux/skbuff.h>
-#include <linux/if_arp.h>
-#include <linux/etherdevice.h>
#include <linux/moduleparam.h>
-#include <linux/rtnetlink.h>
-#include <linux/pm_qos.h>
#include <linux/crc32.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include <asm/unaligned.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "rate.h"
#include "led.h"
@@ -12,9 +12,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
+
#include "driver-ops.h"
/*
@@ -1,7 +1,3 @@
-#include <net/mac80211.h>
-#include <net/rtnetlink.h>
-
-#include "ieee80211_i.h"
#include "mesh.h"
#include "driver-ops.h"
#include "led.h"
@@ -8,13 +8,10 @@
* published by the Free Software Foundation.
*/
-#include <linux/kernel.h>
#include <linux/rtnetlink.h>
#include <linux/module.h>
-#include <linux/slab.h>
+
#include "rate.h"
-#include "ieee80211_i.h"
-#include "debugfs.h"
struct rate_control_alg {
struct list_head list;
@@ -11,12 +11,6 @@
#ifndef IEEE80211_RATE_H
#define IEEE80211_RATE_H
-#include <linux/netdevice.h>
-#include <linux/skbuff.h>
-#include <linux/types.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
-#include "sta_info.h"
#include "driver-ops.h"
struct rate_control_ref {
@@ -44,14 +44,7 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/debugfs.h>
-#include <linux/random.h>
-#include <linux/ieee80211.h>
-#include <linux/slab.h>
-#include <net/mac80211.h>
+
#include "rate.h"
#include "rc80211_minstrel.h"
@@ -44,14 +44,9 @@
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGES.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/debugfs.h>
-#include <linux/ieee80211.h>
-#include <linux/slab.h>
-#include <linux/export.h>
+
#include <net/mac80211.h>
+
#include "rc80211_minstrel.h"
int
@@ -5,13 +5,7 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/debugfs.h>
-#include <linux/random.h>
-#include <linux/ieee80211.h>
-#include <net/mac80211.h>
+
#include "rate.h"
#include "rc80211_minstrel.h"
#include "rc80211_minstrel_ht.h"
@@ -5,13 +5,9 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/debugfs.h>
-#include <linux/ieee80211.h>
-#include <linux/export.h>
+
#include <net/mac80211.h>
+
#include "rc80211_minstrel.h"
#include "rc80211_minstrel_ht.h"
@@ -9,17 +9,10 @@
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/debugfs.h>
-#include <linux/slab.h>
-#include <net/mac80211.h>
#include "rate.h"
#include "mesh.h"
#include "rc80211_pid.h"
-
/* This is an implementation of a TX rate control algorithm that uses a PID
* controller. Given a target failed frames rate, the controller decides about
* TX rate changes to meet the target failed frames rate.
@@ -6,18 +6,9 @@
* published by the Free Software Foundation.
*/
-#include <linux/sched.h>
-#include <linux/spinlock.h>
#include <linux/poll.h>
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
#include "rate.h"
-
#include "rc80211_pid.h"
static void rate_control_pid_event(struct rc_pid_event_buffer *buf,
@@ -9,20 +9,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/jiffies.h>
-#include <linux/slab.h>
-#include <linux/kernel.h>
-#include <linux/skbuff.h>
-#include <linux/netdevice.h>
-#include <linux/etherdevice.h>
-#include <linux/rcupdate.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include <net/ieee80211_radiotap.h>
-#include <asm/unaligned.h>
-
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "led.h"
#include "mesh.h"
#include "wep.h"
@@ -12,16 +12,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/if_arp.h>
-#include <linux/etherdevice.h>
-#include <linux/rtnetlink.h>
-#include <linux/pm_qos.h>
#include <net/sch_generic.h>
-#include <linux/slab.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "driver-ops.h"
#include "mesh.h"
@@ -14,11 +14,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/ieee80211.h>
-#include <net/cfg80211.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
-#include "sta_info.h"
#include "wme.h"
int ieee80211_parse_ch_switch_ie(struct ieee80211_sub_if_data *sdata,
@@ -7,22 +7,7 @@
* published by the Free Software Foundation.
*/
-#include <linux/module.h>
-#include <linux/init.h>
-#include <linux/etherdevice.h>
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/slab.h>
-#include <linux/skbuff.h>
-#include <linux/if_arp.h>
-#include <linux/timer.h>
-#include <linux/rtnetlink.h>
-
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "rate.h"
-#include "sta_info.h"
#include "debugfs_sta.h"
#include "mesh.h"
#include "wme.h"
@@ -9,12 +9,9 @@
#ifndef STA_INFO_H
#define STA_INFO_H
-#include <linux/list.h>
-#include <linux/types.h>
-#include <linux/if_ether.h>
-#include <linux/workqueue.h>
#include <linux/average.h>
#include <linux/etherdevice.h>
+
#include "key.h"
/**
@@ -9,18 +9,11 @@
* published by the Free Software Foundation.
*/
-#include <linux/export.h>
-#include <linux/etherdevice.h>
-#include <linux/time.h>
-#include <net/mac80211.h>
-#include <asm/unaligned.h>
-#include "ieee80211_i.h"
#include "rate.h"
#include "mesh.h"
#include "led.h"
#include "wme.h"
-
void ieee80211_tx_status_irqsafe(struct ieee80211_hw *hw,
struct sk_buff *skb)
{
@@ -6,16 +6,8 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-#include <linux/kernel.h>
-#include <linux/bitops.h>
-#include <linux/types.h>
-#include <linux/netdevice.h>
-#include <linux/export.h>
-#include <asm/unaligned.h>
-
-#include <net/mac80211.h>
+
#include "driver-ops.h"
-#include "key.h"
#include "tkip.h"
#include "wep.h"
@@ -9,8 +9,6 @@
#ifndef TKIP_H
#define TKIP_H
-#include <linux/types.h>
-#include <linux/crypto.h>
#include "key.h"
u8 *ieee80211_tkip_add_iv(u8 *pos, struct ieee80211_key *key);
@@ -1,9 +1,5 @@
-/* bug in tracepoint.h, it should include this */
-#include <linux/module.h>
-
/* sparse isn't too happy with all macros... */
#ifndef __CHECKER__
-#include <net/cfg80211.h>
#include "driver-ops.h"
#include "debug.h"
#define CREATE_TRACE_POINTS
@@ -2,7 +2,7 @@
#define __MAC80211_DRIVER_TRACE
#include <linux/tracepoint.h>
-#include <net/mac80211.h>
+
#include "ieee80211_i.h"
#undef TRACE_SYSTEM
@@ -12,22 +12,6 @@
* Transmit and frame generation functions.
*/
-#include <linux/kernel.h>
-#include <linux/slab.h>
-#include <linux/skbuff.h>
-#include <linux/etherdevice.h>
-#include <linux/bitmap.h>
-#include <linux/rcupdate.h>
-#include <linux/export.h>
-#include <linux/time.h>
-#include <net/net_namespace.h>
-#include <net/ieee80211_radiotap.h>
-#include <net/cfg80211.h>
-#include <net/mac80211.h>
-#include <asm/unaligned.h>
-
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "led.h"
#include "mesh.h"
#include "wep.h"
@@ -11,22 +11,9 @@
* utilities for mac80211
*/
-#include <net/mac80211.h>
-#include <linux/netdevice.h>
-#include <linux/export.h>
-#include <linux/types.h>
-#include <linux/slab.h>
-#include <linux/skbuff.h>
-#include <linux/etherdevice.h>
-#include <linux/if_arp.h>
-#include <linux/bitmap.h>
#include <linux/crc32.h>
-#include <net/net_namespace.h>
-#include <net/cfg80211.h>
#include <net/rtnetlink.h>
-#include "ieee80211_i.h"
-#include "driver-ops.h"
#include "rate.h"
#include "mesh.h"
#include "wme.h"
@@ -6,13 +6,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/ieee80211.h>
-#include <linux/export.h>
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "rate.h"
-
static void __check_vhtcap_disable(struct ieee80211_sub_if_data *sdata,
struct ieee80211_sta_vht_cap *vht_cap,
u32 flag)
@@ -8,22 +8,9 @@
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/random.h>
-#include <linux/compiler.h>
#include <linux/crc32.h>
-#include <linux/crypto.h>
-#include <linux/err.h>
-#include <linux/mm.h>
-#include <linux/scatterlist.h>
-#include <linux/slab.h>
-#include <asm/unaligned.h>
-
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
-#include "wep.h"
+#include "wep.h"
int ieee80211_wep_init(struct ieee80211_local *local)
{
@@ -11,10 +11,7 @@
#ifndef WEP_H
#define WEP_H
-#include <linux/skbuff.h>
-#include <linux/types.h>
#include "ieee80211_i.h"
-#include "key.h"
int ieee80211_wep_init(struct ieee80211_local *local);
void ieee80211_wep_free(struct ieee80211_local *local);
@@ -6,16 +6,6 @@
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/skbuff.h>
-#include <linux/module.h>
-#include <linux/if_arp.h>
-#include <linux/types.h>
-#include <net/ip.h>
-#include <net/pkt_sched.h>
-
-#include <net/mac80211.h>
-#include "ieee80211_i.h"
#include "wme.h"
/* Default mapping in classifier to work with default
@@ -10,7 +10,6 @@
#ifndef _WME_H
#define _WME_H
-#include <linux/netdevice.h>
#include "ieee80211_i.h"
extern const int ieee802_1d_to_ac[8];
@@ -7,17 +7,8 @@
* published by the Free Software Foundation.
*/
-#include <linux/netdevice.h>
-#include <linux/types.h>
-#include <linux/skbuff.h>
-#include <linux/compiler.h>
-#include <linux/ieee80211.h>
-#include <linux/gfp.h>
-#include <asm/unaligned.h>
-#include <net/mac80211.h>
#include <crypto/aes.h>
-#include "ieee80211_i.h"
#include "michael.h"
#include "tkip.h"
#include "aes_ccm.h"
@@ -9,8 +9,6 @@
#ifndef WPA_H
#define WPA_H
-#include <linux/skbuff.h>
-#include <linux/types.h>
#include "ieee80211_i.h"
ieee80211_tx_result
Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> --- net/mac80211/aes_ccm.c | 5 ----- net/mac80211/aes_cmac.c | 11 ----------- net/mac80211/agg-rx.c | 5 ----- net/mac80211/agg-tx.c | 5 ----- net/mac80211/cfg.c | 10 ---------- net/mac80211/chan.c | 5 +---- net/mac80211/debugfs.c | 4 +--- net/mac80211/debugfs_key.c | 3 --- net/mac80211/debugfs_netdev.c | 13 +------------ net/mac80211/debugfs_sta.c | 4 ---- net/mac80211/driver-ops.h | 2 -- net/mac80211/event.c | 2 +- net/mac80211/ht.c | 4 ---- net/mac80211/ibss.c | 11 ----------- net/mac80211/ieee80211_i.h | 14 +------------- net/mac80211/iface.c | 10 ++-------- net/mac80211/key.c | 10 +--------- net/mac80211/key.h | 2 -- net/mac80211/led.c | 4 ---- net/mac80211/led.h | 3 +-- net/mac80211/main.c | 14 -------------- net/mac80211/mesh.c | 3 --- net/mac80211/mesh.h | 3 +-- net/mac80211/mesh_hwmp.c | 3 --- net/mac80211/mesh_pathtbl.c | 8 -------- net/mac80211/mesh_plink.c | 5 +---- net/mac80211/mesh_ps.c | 1 - net/mac80211/mesh_sync.c | 1 - net/mac80211/michael.c | 4 +--- net/mac80211/mlme.c | 13 ------------- net/mac80211/offchannel.c | 4 +--- net/mac80211/pm.c | 4 ---- net/mac80211/rate.c | 5 +---- net/mac80211/rate.h | 6 ------ net/mac80211/rc80211_minstrel.c | 9 +-------- net/mac80211/rc80211_minstrel_debugfs.c | 9 ++------- net/mac80211/rc80211_minstrel_ht.c | 8 +------- net/mac80211/rc80211_minstrel_ht_debugfs.c | 8 ++------ net/mac80211/rc80211_pid_algo.c | 7 ------- net/mac80211/rc80211_pid_debugfs.c | 9 --------- net/mac80211/rx.c | 14 -------------- net/mac80211/scan.c | 8 -------- net/mac80211/spectmgmt.c | 5 ----- net/mac80211/sta_info.c | 15 --------------- net/mac80211/sta_info.h | 5 +---- net/mac80211/status.c | 7 ------- net/mac80211/tkip.c | 10 +--------- net/mac80211/tkip.h | 2 -- net/mac80211/trace.c | 4 ---- net/mac80211/trace.h | 2 +- net/mac80211/tx.c | 16 ---------------- net/mac80211/util.c | 13 ------------- net/mac80211/vht.c | 5 ----- net/mac80211/wep.c | 15 +-------------- net/mac80211/wep.h | 3 --- net/mac80211/wme.c | 10 ---------- net/mac80211/wme.h | 1 - net/mac80211/wpa.c | 9 --------- net/mac80211/wpa.h | 2 -- 59 files changed, 24 insertions(+), 373 deletions(-)