diff options
author | Johannes Berg <johannes.berg@intel.com> | 2012-05-15 06:16:34 -0400 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2012-06-06 07:21:14 -0400 |
commit | 1023fdc4858b6b8cb88ff28cafd425b77555be9f (patch) | |
tree | 16571db8e1a8c8be475b50513a3af33c3583bfc4 | |
parent | 20041ea622fcb1992df536d253de5120808e64a5 (diff) |
iwlwifi: move DVM code into subdirectory
Since we're working on another mode/driver
inside iwlwifi, move the current one into a
subdirectory to more cleanly separate the
code. While at it, rename all the files.
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 15 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/Makefile | 13 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/agn.h (renamed from drivers/net/wireless/iwlwifi/iwl-agn.h) | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/calib.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-calib.c) | 7 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/calib.h (renamed from drivers/net/wireless/iwlwifi/iwl-agn-calib.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/commands.h (renamed from drivers/net/wireless/iwlwifi/iwl-commands.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/debugfs.c (renamed from drivers/net/wireless/iwlwifi/iwl-debugfs.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/dev.h (renamed from drivers/net/wireless/iwlwifi/iwl-dev.h) | 19 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/devices.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-devices.c) | 7 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/eeprom.c (renamed from drivers/net/wireless/iwlwifi/iwl-eeprom.c) | 10 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/eeprom.h (renamed from drivers/net/wireless/iwlwifi/iwl-eeprom.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/led.c (renamed from drivers/net/wireless/iwlwifi/iwl-led.c) | 5 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/led.h (renamed from drivers/net/wireless/iwlwifi/iwl-led.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/lib.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-lib.c) | 5 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/mac80211.c (renamed from drivers/net/wireless/iwlwifi/iwl-mac80211.c) | 9 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/main.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn.c) | 9 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/power.c (renamed from drivers/net/wireless/iwlwifi/iwl-power.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/power.h (renamed from drivers/net/wireless/iwlwifi/iwl-power.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rs.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-rs.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rs.h (renamed from drivers/net/wireless/iwlwifi/iwl-agn-rs.h) | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rx.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-rx.c) | 9 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/rxon.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-rxon.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/scan.c (renamed from drivers/net/wireless/iwlwifi/iwl-scan.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/sta.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-sta.c) | 5 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/testmode.c (renamed from drivers/net/wireless/iwlwifi/iwl-testmode.c) | 11 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/testmode.h (renamed from drivers/net/wireless/iwlwifi/iwl-testmode.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/tt.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-tt.c) | 14 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/tt.h (renamed from drivers/net/wireless/iwlwifi/iwl-agn-tt.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/tx.c (renamed from drivers/net/wireless/iwlwifi/iwl-agn-tx.c) | 7 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/dvm/ucode.c (renamed from drivers/net/wireless/iwlwifi/iwl-ucode.c) | 7 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-devtrace.h | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/2000.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/6000.c | 2 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/trans.c | 3 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/pcie/tx.c | 3 |
35 files changed, 106 insertions, 115 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile index f155126e9a21..7ba6b8dc1cbd 100644 --- a/drivers/net/wireless/iwlwifi/Makefile +++ b/drivers/net/wireless/iwlwifi/Makefile | |||
@@ -1,19 +1,8 @@ | |||
1 | # DVM | 1 | obj-$(CONFIG_IWLDVM) += dvm/ |
2 | obj-$(CONFIG_IWLDVM) += iwldvm.o | ||
3 | iwldvm-objs := iwl-agn.o iwl-agn-rs.o iwl-mac80211.o | ||
4 | iwldvm-objs += iwl-ucode.o iwl-agn-tx.o | ||
5 | iwldvm-objs += iwl-agn-lib.o iwl-agn-calib.o | ||
6 | iwldvm-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-rx.o | ||
7 | iwldvm-objs += iwl-eeprom.o iwl-power.o | ||
8 | iwldvm-objs += iwl-scan.o iwl-led.o | ||
9 | iwldvm-objs += iwl-agn-rxon.o iwl-agn-devices.o | ||
10 | |||
11 | iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | ||
12 | iwldvm-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += iwl-testmode.o | ||
13 | 2 | ||
14 | CFLAGS_iwl-devtrace.o := -I$(src) | 3 | CFLAGS_iwl-devtrace.o := -I$(src) |
15 | 4 | ||
16 | # WIFI | 5 | # common |
17 | obj-$(CONFIG_IWLWIFI) += iwlwifi.o | 6 | obj-$(CONFIG_IWLWIFI) += iwlwifi.o |
18 | iwlwifi-objs += iwl-io.o | 7 | iwlwifi-objs += iwl-io.o |
19 | iwlwifi-objs += iwl-drv.o | 8 | iwlwifi-objs += iwl-drv.o |
diff --git a/drivers/net/wireless/iwlwifi/dvm/Makefile b/drivers/net/wireless/iwlwifi/dvm/Makefile new file mode 100644 index 000000000000..13f8282f4d0e --- /dev/null +++ b/drivers/net/wireless/iwlwifi/dvm/Makefile | |||
@@ -0,0 +1,13 @@ | |||
1 | # DVM | ||
2 | obj-$(CONFIG_IWLDVM) += iwldvm.o | ||
3 | iwldvm-objs += main.o rs.o mac80211.o ucode.o tx.o | ||
4 | iwldvm-objs += lib.o calib.o tt.o sta.o rx.o | ||
5 | |||
6 | iwldvm-objs += eeprom.o power.o | ||
7 | iwldvm-objs += scan.o led.o | ||
8 | iwldvm-objs += rxon.o devices.o | ||
9 | |||
10 | iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o | ||
11 | iwldvm-$(CONFIG_IWLWIFI_DEVICE_TESTMODE) += testmode.o | ||
12 | |||
13 | ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../ | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.h b/drivers/net/wireless/iwlwifi/dvm/agn.h index 3f3607fd7dad..9a8dd1a579d0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.h +++ b/drivers/net/wireless/iwlwifi/dvm/agn.h | |||
@@ -63,9 +63,10 @@ | |||
63 | #ifndef __iwl_agn_h__ | 63 | #ifndef __iwl_agn_h__ |
64 | #define __iwl_agn_h__ | 64 | #define __iwl_agn_h__ |
65 | 65 | ||
66 | #include "iwl-dev.h" | ||
67 | #include "iwl-config.h" | 66 | #include "iwl-config.h" |
68 | 67 | ||
68 | #include "dev.h" | ||
69 | |||
69 | /* The first 11 queues (0-10) are used otherwise */ | 70 | /* The first 11 queues (0-10) are used otherwise */ |
70 | #define IWLAGN_FIRST_AMPDU_QUEUE 11 | 71 | #define IWLAGN_FIRST_AMPDU_QUEUE 11 |
71 | 72 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c b/drivers/net/wireless/iwlwifi/dvm/calib.c index 95f27f1a423b..7eb3fa3df7c4 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-calib.c +++ b/drivers/net/wireless/iwlwifi/dvm/calib.c | |||
@@ -63,10 +63,11 @@ | |||
63 | #include <linux/slab.h> | 63 | #include <linux/slab.h> |
64 | #include <net/mac80211.h> | 64 | #include <net/mac80211.h> |
65 | 65 | ||
66 | #include "iwl-dev.h" | ||
67 | #include "iwl-agn-calib.h" | ||
68 | #include "iwl-trans.h" | 66 | #include "iwl-trans.h" |
69 | #include "iwl-agn.h" | 67 | |
68 | #include "dev.h" | ||
69 | #include "calib.h" | ||
70 | #include "agn.h" | ||
70 | 71 | ||
71 | /***************************************************************************** | 72 | /***************************************************************************** |
72 | * INIT calibrations framework | 73 | * INIT calibrations framework |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-calib.h b/drivers/net/wireless/iwlwifi/dvm/calib.h index dbe13787f272..2349f393cc42 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-calib.h +++ b/drivers/net/wireless/iwlwifi/dvm/calib.h | |||
@@ -62,8 +62,8 @@ | |||
62 | #ifndef __iwl_calib_h__ | 62 | #ifndef __iwl_calib_h__ |
63 | #define __iwl_calib_h__ | 63 | #define __iwl_calib_h__ |
64 | 64 | ||
65 | #include "iwl-dev.h" | 65 | #include "dev.h" |
66 | #include "iwl-commands.h" | 66 | #include "commands.h" |
67 | 67 | ||
68 | void iwl_chain_noise_calibration(struct iwl_priv *priv); | 68 | void iwl_chain_noise_calibration(struct iwl_priv *priv); |
69 | void iwl_sensitivity_calibration(struct iwl_priv *priv); | 69 | void iwl_sensitivity_calibration(struct iwl_priv *priv); |
diff --git a/drivers/net/wireless/iwlwifi/iwl-commands.h b/drivers/net/wireless/iwlwifi/dvm/commands.h index b9f7361d2426..64811cd91635 100644 --- a/drivers/net/wireless/iwlwifi/iwl-commands.h +++ b/drivers/net/wireless/iwlwifi/dvm/commands.h | |||
@@ -61,9 +61,9 @@ | |||
61 | * | 61 | * |
62 | *****************************************************************************/ | 62 | *****************************************************************************/ |
63 | /* | 63 | /* |
64 | * Please use this file (iwl-commands.h) only for uCode API definitions. | 64 | * Please use this file (commands.h) only for uCode API definitions. |
65 | * Please use iwl-xxxx-hw.h for hardware-related definitions. | 65 | * Please use iwl-xxxx-hw.h for hardware-related definitions. |
66 | * Please use iwl-dev.h for driver implementation definitions. | 66 | * Please use dev.h for driver implementation definitions. |
67 | */ | 67 | */ |
68 | 68 | ||
69 | #ifndef __iwl_commands_h__ | 69 | #ifndef __iwl_commands_h__ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-debugfs.c b/drivers/net/wireless/iwlwifi/dvm/debugfs.c index e7c157e5ebeb..2268adddf4c0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-debugfs.c +++ b/drivers/net/wireless/iwlwifi/dvm/debugfs.c | |||
@@ -30,16 +30,12 @@ | |||
30 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/debugfs.h> | 32 | #include <linux/debugfs.h> |
33 | |||
34 | #include <linux/ieee80211.h> | 33 | #include <linux/ieee80211.h> |
35 | #include <net/mac80211.h> | 34 | #include <net/mac80211.h> |
36 | |||
37 | |||
38 | #include "iwl-dev.h" | ||
39 | #include "iwl-debug.h" | 35 | #include "iwl-debug.h" |
40 | #include "iwl-io.h" | 36 | #include "iwl-io.h" |
41 | #include "iwl-agn.h" | 37 | #include "dev.h" |
42 | #include "iwl-modparams.h" | 38 | #include "agn.h" |
43 | 39 | ||
44 | /* create and remove of files */ | 40 | /* create and remove of files */ |
45 | #define DEBUGFS_ADD_FILE(name, parent, mode) do { \ | 41 | #define DEBUGFS_ADD_FILE(name, parent, mode) do { \ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/dvm/dev.h index a4936a134162..2880a0a3da68 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/dvm/dev.h | |||
@@ -24,8 +24,8 @@ | |||
24 | * | 24 | * |
25 | *****************************************************************************/ | 25 | *****************************************************************************/ |
26 | /* | 26 | /* |
27 | * Please use this file (iwl-dev.h) for driver implementation definitions. | 27 | * Please use this file (dev.h) for driver implementation definitions. |
28 | * Please use iwl-commands.h for uCode API definitions. | 28 | * Please use commands.h for uCode API definitions. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #ifndef __iwl_dev_h__ | 31 | #ifndef __iwl_dev_h__ |
@@ -39,17 +39,18 @@ | |||
39 | #include <linux/mutex.h> | 39 | #include <linux/mutex.h> |
40 | 40 | ||
41 | #include "iwl-fw.h" | 41 | #include "iwl-fw.h" |
42 | #include "iwl-eeprom.h" | ||
43 | #include "iwl-csr.h" | 42 | #include "iwl-csr.h" |
44 | #include "iwl-debug.h" | 43 | #include "iwl-debug.h" |
45 | #include "iwl-agn-hw.h" | 44 | #include "iwl-agn-hw.h" |
46 | #include "iwl-led.h" | ||
47 | #include "iwl-power.h" | ||
48 | #include "iwl-agn-rs.h" | ||
49 | #include "iwl-agn-tt.h" | ||
50 | #include "iwl-trans.h" | ||
51 | #include "iwl-op-mode.h" | 45 | #include "iwl-op-mode.h" |
52 | #include "iwl-notif-wait.h" | 46 | #include "iwl-notif-wait.h" |
47 | #include "iwl-trans.h" | ||
48 | |||
49 | #include "eeprom.h" | ||
50 | #include "led.h" | ||
51 | #include "power.h" | ||
52 | #include "rs.h" | ||
53 | #include "tt.h" | ||
53 | 54 | ||
54 | /* CT-KILL constants */ | 55 | /* CT-KILL constants */ |
55 | #define CT_KILL_THRESHOLD_LEGACY 110 /* in Celsius */ | 56 | #define CT_KILL_THRESHOLD_LEGACY 110 /* in Celsius */ |
@@ -664,7 +665,7 @@ struct iwl_lib_ops { | |||
664 | /* device specific configuration */ | 665 | /* device specific configuration */ |
665 | void (*nic_config)(struct iwl_priv *priv); | 666 | void (*nic_config)(struct iwl_priv *priv); |
666 | 667 | ||
667 | /* eeprom operations (as defined in iwl-eeprom.h) */ | 668 | /* eeprom operations (as defined in eeprom.h) */ |
668 | struct iwl_eeprom_ops eeprom_ops; | 669 | struct iwl_eeprom_ops eeprom_ops; |
669 | 670 | ||
670 | /* temperature */ | 671 | /* temperature */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-devices.c b/drivers/net/wireless/iwlwifi/dvm/devices.c index 529cdac6f739..ac5675d86ec3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-devices.c +++ b/drivers/net/wireless/iwlwifi/dvm/devices.c | |||
@@ -27,12 +27,13 @@ | |||
27 | /* | 27 | /* |
28 | * DVM device-specific data & functions | 28 | * DVM device-specific data & functions |
29 | */ | 29 | */ |
30 | #include "iwl-agn.h" | ||
31 | #include "iwl-dev.h" | ||
32 | #include "iwl-commands.h" | ||
33 | #include "iwl-io.h" | 30 | #include "iwl-io.h" |
34 | #include "iwl-prph.h" | 31 | #include "iwl-prph.h" |
35 | 32 | ||
33 | #include "agn.h" | ||
34 | #include "dev.h" | ||
35 | #include "commands.h" | ||
36 | |||
36 | /* | 37 | /* |
37 | * 1000 series | 38 | * 1000 series |
38 | * =========== | 39 | * =========== |
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.c b/drivers/net/wireless/iwlwifi/dvm/eeprom.c index 50c58911e718..69d280f8db33 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.c +++ b/drivers/net/wireless/iwlwifi/dvm/eeprom.c | |||
@@ -65,15 +65,13 @@ | |||
65 | #include <linux/module.h> | 65 | #include <linux/module.h> |
66 | #include <linux/slab.h> | 66 | #include <linux/slab.h> |
67 | #include <linux/init.h> | 67 | #include <linux/init.h> |
68 | |||
69 | #include <net/mac80211.h> | 68 | #include <net/mac80211.h> |
70 | |||
71 | #include "iwl-dev.h" | ||
72 | #include "iwl-debug.h" | ||
73 | #include "iwl-agn.h" | ||
74 | #include "iwl-eeprom.h" | ||
75 | #include "iwl-io.h" | 69 | #include "iwl-io.h" |
76 | #include "iwl-prph.h" | 70 | #include "iwl-prph.h" |
71 | #include "iwl-debug.h" | ||
72 | #include "dev.h" | ||
73 | #include "agn.h" | ||
74 | #include "eeprom.h" | ||
77 | 75 | ||
78 | /************************** EEPROM BANDS **************************** | 76 | /************************** EEPROM BANDS **************************** |
79 | * | 77 | * |
diff --git a/drivers/net/wireless/iwlwifi/iwl-eeprom.h b/drivers/net/wireless/iwlwifi/dvm/eeprom.h index 64bfd947caeb..64bfd947caeb 100644 --- a/drivers/net/wireless/iwlwifi/iwl-eeprom.h +++ b/drivers/net/wireless/iwlwifi/dvm/eeprom.h | |||
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.c b/drivers/net/wireless/iwlwifi/dvm/led.c index 47000419f916..bf479f709091 100644 --- a/drivers/net/wireless/iwlwifi/iwl-led.c +++ b/drivers/net/wireless/iwlwifi/dvm/led.c | |||
@@ -34,12 +34,11 @@ | |||
34 | #include <net/mac80211.h> | 34 | #include <net/mac80211.h> |
35 | #include <linux/etherdevice.h> | 35 | #include <linux/etherdevice.h> |
36 | #include <asm/unaligned.h> | 36 | #include <asm/unaligned.h> |
37 | |||
38 | #include "iwl-dev.h" | ||
39 | #include "iwl-agn.h" | ||
40 | #include "iwl-io.h" | 37 | #include "iwl-io.h" |
41 | #include "iwl-trans.h" | 38 | #include "iwl-trans.h" |
42 | #include "iwl-modparams.h" | 39 | #include "iwl-modparams.h" |
40 | #include "dev.h" | ||
41 | #include "agn.h" | ||
43 | 42 | ||
44 | /* Throughput OFF time(ms) ON time (ms) | 43 | /* Throughput OFF time(ms) ON time (ms) |
45 | * >300 25 25 | 44 | * >300 25 25 |
diff --git a/drivers/net/wireless/iwlwifi/iwl-led.h b/drivers/net/wireless/iwlwifi/dvm/led.h index b02a853103d3..b02a853103d3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-led.h +++ b/drivers/net/wireless/iwlwifi/dvm/led.h | |||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c b/drivers/net/wireless/iwlwifi/dvm/lib.c index c31072d42791..4ac9af7eb853 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-lib.c +++ b/drivers/net/wireless/iwlwifi/dvm/lib.c | |||
@@ -33,13 +33,14 @@ | |||
33 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
34 | #include <net/mac80211.h> | 34 | #include <net/mac80211.h> |
35 | 35 | ||
36 | #include "iwl-dev.h" | ||
37 | #include "iwl-io.h" | 36 | #include "iwl-io.h" |
38 | #include "iwl-agn-hw.h" | 37 | #include "iwl-agn-hw.h" |
39 | #include "iwl-agn.h" | ||
40 | #include "iwl-trans.h" | 38 | #include "iwl-trans.h" |
41 | #include "iwl-modparams.h" | 39 | #include "iwl-modparams.h" |
42 | 40 | ||
41 | #include "dev.h" | ||
42 | #include "agn.h" | ||
43 | |||
43 | int iwlagn_hw_valid_rtc_data_addr(u32 addr) | 44 | int iwlagn_hw_valid_rtc_data_addr(u32 addr) |
44 | { | 45 | { |
45 | return (addr >= IWLAGN_RTC_DATA_LOWER_BOUND) && | 46 | return (addr >= IWLAGN_RTC_DATA_LOWER_BOUND) && |
diff --git a/drivers/net/wireless/iwlwifi/iwl-mac80211.c b/drivers/net/wireless/iwlwifi/dvm/mac80211.c index 26a87c2b1653..33603c5a24a8 100644 --- a/drivers/net/wireless/iwlwifi/iwl-mac80211.c +++ b/drivers/net/wireless/iwlwifi/dvm/mac80211.c | |||
@@ -43,15 +43,16 @@ | |||
43 | 43 | ||
44 | #include <asm/div64.h> | 44 | #include <asm/div64.h> |
45 | 45 | ||
46 | #include "iwl-eeprom.h" | ||
47 | #include "iwl-dev.h" | ||
48 | #include "iwl-io.h" | 46 | #include "iwl-io.h" |
49 | #include "iwl-agn-calib.h" | ||
50 | #include "iwl-agn.h" | ||
51 | #include "iwl-trans.h" | 47 | #include "iwl-trans.h" |
52 | #include "iwl-op-mode.h" | 48 | #include "iwl-op-mode.h" |
53 | #include "iwl-modparams.h" | 49 | #include "iwl-modparams.h" |
54 | 50 | ||
51 | #include "eeprom.h" | ||
52 | #include "dev.h" | ||
53 | #include "calib.h" | ||
54 | #include "agn.h" | ||
55 | |||
55 | /***************************************************************************** | 56 | /***************************************************************************** |
56 | * | 57 | * |
57 | * mac80211 entry point functions | 58 | * mac80211 entry point functions |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn.c b/drivers/net/wireless/iwlwifi/dvm/main.c index fa007176bad2..d67ae99c00b9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn.c +++ b/drivers/net/wireless/iwlwifi/dvm/main.c | |||
@@ -44,16 +44,17 @@ | |||
44 | 44 | ||
45 | #include <asm/div64.h> | 45 | #include <asm/div64.h> |
46 | 46 | ||
47 | #include "iwl-eeprom.h" | ||
48 | #include "iwl-dev.h" | ||
49 | #include "iwl-io.h" | 47 | #include "iwl-io.h" |
50 | #include "iwl-agn-calib.h" | ||
51 | #include "iwl-agn.h" | ||
52 | #include "iwl-trans.h" | 48 | #include "iwl-trans.h" |
53 | #include "iwl-op-mode.h" | 49 | #include "iwl-op-mode.h" |
54 | #include "iwl-drv.h" | 50 | #include "iwl-drv.h" |
55 | #include "iwl-modparams.h" | 51 | #include "iwl-modparams.h" |
56 | 52 | ||
53 | #include "eeprom.h" | ||
54 | #include "dev.h" | ||
55 | #include "calib.h" | ||
56 | #include "agn.h" | ||
57 | |||
57 | /****************************************************************************** | 58 | /****************************************************************************** |
58 | * | 59 | * |
59 | * module boiler plate | 60 | * module boiler plate |
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.c b/drivers/net/wireless/iwlwifi/dvm/power.c index 544ddf17f5bd..72c940759ac7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.c +++ b/drivers/net/wireless/iwlwifi/dvm/power.c | |||
@@ -31,18 +31,16 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | |||
35 | #include <net/mac80211.h> | 34 | #include <net/mac80211.h> |
36 | |||
37 | #include "iwl-eeprom.h" | ||
38 | #include "iwl-dev.h" | ||
39 | #include "iwl-agn.h" | ||
40 | #include "iwl-io.h" | 35 | #include "iwl-io.h" |
41 | #include "iwl-commands.h" | ||
42 | #include "iwl-debug.h" | 36 | #include "iwl-debug.h" |
43 | #include "iwl-power.h" | ||
44 | #include "iwl-trans.h" | 37 | #include "iwl-trans.h" |
45 | #include "iwl-modparams.h" | 38 | #include "iwl-modparams.h" |
39 | #include "eeprom.h" | ||
40 | #include "dev.h" | ||
41 | #include "agn.h" | ||
42 | #include "commands.h" | ||
43 | #include "power.h" | ||
46 | 44 | ||
47 | /* | 45 | /* |
48 | * Setting power level allows the card to go to sleep when not busy. | 46 | * Setting power level allows the card to go to sleep when not busy. |
diff --git a/drivers/net/wireless/iwlwifi/iwl-power.h b/drivers/net/wireless/iwlwifi/dvm/power.h index 21afc92efacb..a2cee7f04848 100644 --- a/drivers/net/wireless/iwlwifi/iwl-power.h +++ b/drivers/net/wireless/iwlwifi/dvm/power.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #ifndef __iwl_power_setting_h__ | 28 | #ifndef __iwl_power_setting_h__ |
29 | #define __iwl_power_setting_h__ | 29 | #define __iwl_power_setting_h__ |
30 | 30 | ||
31 | #include "iwl-commands.h" | 31 | #include "commands.h" |
32 | 32 | ||
33 | struct iwl_power_mgr { | 33 | struct iwl_power_mgr { |
34 | struct iwl_powertable_cmd sleep_cmd; | 34 | struct iwl_powertable_cmd sleep_cmd; |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c b/drivers/net/wireless/iwlwifi/dvm/rs.c index 8cebd7c363fc..af102910e689 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.c +++ b/drivers/net/wireless/iwlwifi/dvm/rs.c | |||
@@ -35,10 +35,8 @@ | |||
35 | 35 | ||
36 | #include <linux/workqueue.h> | 36 | #include <linux/workqueue.h> |
37 | 37 | ||
38 | #include "iwl-dev.h" | 38 | #include "dev.h" |
39 | #include "iwl-agn.h" | 39 | #include "agn.h" |
40 | #include "iwl-op-mode.h" | ||
41 | #include "iwl-modparams.h" | ||
42 | 40 | ||
43 | #define RS_NAME "iwl-agn-rs" | 41 | #define RS_NAME "iwl-agn-rs" |
44 | 42 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rs.h b/drivers/net/wireless/iwlwifi/dvm/rs.h index 82d02e1ae89f..ad3aea8f626a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rs.h +++ b/drivers/net/wireless/iwlwifi/dvm/rs.h | |||
@@ -29,9 +29,10 @@ | |||
29 | 29 | ||
30 | #include <net/mac80211.h> | 30 | #include <net/mac80211.h> |
31 | 31 | ||
32 | #include "iwl-commands.h" | ||
33 | #include "iwl-config.h" | 32 | #include "iwl-config.h" |
34 | 33 | ||
34 | #include "commands.h" | ||
35 | |||
35 | struct iwl_rate_info { | 36 | struct iwl_rate_info { |
36 | u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ | 37 | u8 plcp; /* uCode API: IWL_RATE_6M_PLCP, etc. */ |
37 | u8 plcp_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ | 38 | u8 plcp_siso; /* uCode API: IWL_RATE_SISO_6M_PLCP, etc. */ |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c b/drivers/net/wireless/iwlwifi/dvm/rx.c index 5035d2db14b1..d61980248408 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rx.c +++ b/drivers/net/wireless/iwlwifi/dvm/rx.c | |||
@@ -32,12 +32,11 @@ | |||
32 | #include <linux/sched.h> | 32 | #include <linux/sched.h> |
33 | #include <net/mac80211.h> | 33 | #include <net/mac80211.h> |
34 | #include <asm/unaligned.h> | 34 | #include <asm/unaligned.h> |
35 | #include "iwl-eeprom.h" | ||
36 | #include "iwl-dev.h" | ||
37 | #include "iwl-io.h" | 35 | #include "iwl-io.h" |
38 | #include "iwl-agn-calib.h" | 36 | #include "eeprom.h" |
39 | #include "iwl-agn.h" | 37 | #include "dev.h" |
40 | #include "iwl-modparams.h" | 38 | #include "calib.h" |
39 | #include "agn.h" | ||
41 | 40 | ||
42 | #define IWL_CMD_ENTRY(x) [x] = #x | 41 | #define IWL_CMD_ENTRY(x) [x] = #x |
43 | 42 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c b/drivers/net/wireless/iwlwifi/dvm/rxon.c index 36b4965527c2..4f55689ac6a7 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-rxon.c +++ b/drivers/net/wireless/iwlwifi/dvm/rxon.c | |||
@@ -25,11 +25,11 @@ | |||
25 | *****************************************************************************/ | 25 | *****************************************************************************/ |
26 | 26 | ||
27 | #include <linux/etherdevice.h> | 27 | #include <linux/etherdevice.h> |
28 | #include "iwl-dev.h" | ||
29 | #include "iwl-agn.h" | ||
30 | #include "iwl-agn-calib.h" | ||
31 | #include "iwl-trans.h" | 28 | #include "iwl-trans.h" |
32 | #include "iwl-modparams.h" | 29 | #include "iwl-modparams.h" |
30 | #include "dev.h" | ||
31 | #include "agn.h" | ||
32 | #include "calib.h" | ||
33 | 33 | ||
34 | /* | 34 | /* |
35 | * initialize rxon structure with default values from eeprom | 35 | * initialize rxon structure with default values from eeprom |
diff --git a/drivers/net/wireless/iwlwifi/iwl-scan.c b/drivers/net/wireless/iwlwifi/dvm/scan.c index a32b35ea9e60..7ee7f32b0fab 100644 --- a/drivers/net/wireless/iwlwifi/iwl-scan.c +++ b/drivers/net/wireless/iwlwifi/dvm/scan.c | |||
@@ -30,11 +30,9 @@ | |||
30 | #include <linux/etherdevice.h> | 30 | #include <linux/etherdevice.h> |
31 | #include <net/mac80211.h> | 31 | #include <net/mac80211.h> |
32 | 32 | ||
33 | #include "iwl-eeprom.h" | 33 | #include "eeprom.h" |
34 | #include "iwl-dev.h" | 34 | #include "dev.h" |
35 | #include "iwl-io.h" | 35 | #include "agn.h" |
36 | #include "iwl-agn.h" | ||
37 | #include "iwl-trans.h" | ||
38 | 36 | ||
39 | /* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after | 37 | /* For active scan, listen ACTIVE_DWELL_TIME (msec) on each channel after |
40 | * sending probe req. This should be set long enough to hear probe responses | 38 | * sending probe req. This should be set long enough to hear probe responses |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c b/drivers/net/wireless/iwlwifi/dvm/sta.c index 01fbf06980c8..c6b343fdf5f9 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-sta.c +++ b/drivers/net/wireless/iwlwifi/dvm/sta.c | |||
@@ -28,10 +28,9 @@ | |||
28 | *****************************************************************************/ | 28 | *****************************************************************************/ |
29 | #include <linux/etherdevice.h> | 29 | #include <linux/etherdevice.h> |
30 | #include <net/mac80211.h> | 30 | #include <net/mac80211.h> |
31 | |||
32 | #include "iwl-dev.h" | ||
33 | #include "iwl-agn.h" | ||
34 | #include "iwl-trans.h" | 31 | #include "iwl-trans.h" |
32 | #include "dev.h" | ||
33 | #include "agn.h" | ||
35 | 34 | ||
36 | const u8 iwl_bcast_addr[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; | 35 | const u8 iwl_bcast_addr[ETH_ALEN] = { 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }; |
37 | 36 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-testmode.c b/drivers/net/wireless/iwlwifi/dvm/testmode.c index 060aac3e22f1..59cfe9a8eea5 100644 --- a/drivers/net/wireless/iwlwifi/iwl-testmode.c +++ b/drivers/net/wireless/iwlwifi/dvm/testmode.c | |||
@@ -69,15 +69,14 @@ | |||
69 | #include <net/cfg80211.h> | 69 | #include <net/cfg80211.h> |
70 | #include <net/mac80211.h> | 70 | #include <net/mac80211.h> |
71 | #include <net/netlink.h> | 71 | #include <net/netlink.h> |
72 | |||
73 | #include "iwl-dev.h" | ||
74 | #include "iwl-debug.h" | 72 | #include "iwl-debug.h" |
75 | #include "iwl-io.h" | 73 | #include "iwl-io.h" |
76 | #include "iwl-agn.h" | ||
77 | #include "iwl-testmode.h" | ||
78 | #include "iwl-trans.h" | 74 | #include "iwl-trans.h" |
79 | #include "iwl-fh.h" | 75 | #include "iwl-fh.h" |
80 | #include "iwl-prph.h" | 76 | #include "iwl-prph.h" |
77 | #include "dev.h" | ||
78 | #include "agn.h" | ||
79 | #include "testmode.h" | ||
81 | 80 | ||
82 | 81 | ||
83 | /* Periphery registers absolute lower bound. This is used in order to | 82 | /* Periphery registers absolute lower bound. This is used in order to |
@@ -89,7 +88,7 @@ | |||
89 | /* The TLVs used in the gnl message policy between the kernel module and | 88 | /* The TLVs used in the gnl message policy between the kernel module and |
90 | * user space application. iwl_testmode_gnl_msg_policy is to be carried | 89 | * user space application. iwl_testmode_gnl_msg_policy is to be carried |
91 | * through the NL80211_CMD_TESTMODE channel regulated by nl80211. | 90 | * through the NL80211_CMD_TESTMODE channel regulated by nl80211. |
92 | * See iwl-testmode.h | 91 | * See testmode.h |
93 | */ | 92 | */ |
94 | static | 93 | static |
95 | struct nla_policy iwl_testmode_gnl_msg_policy[IWL_TM_ATTR_MAX] = { | 94 | struct nla_policy iwl_testmode_gnl_msg_policy[IWL_TM_ATTR_MAX] = { |
@@ -129,7 +128,7 @@ struct nla_policy iwl_testmode_gnl_msg_policy[IWL_TM_ATTR_MAX] = { | |||
129 | }; | 128 | }; |
130 | 129 | ||
131 | /* | 130 | /* |
132 | * See the struct iwl_rx_packet in iwl-commands.h for the format of the | 131 | * See the struct iwl_rx_packet in commands.h for the format of the |
133 | * received events from the device | 132 | * received events from the device |
134 | */ | 133 | */ |
135 | static inline int get_event_length(struct iwl_rx_cmd_buffer *rxb) | 134 | static inline int get_event_length(struct iwl_rx_cmd_buffer *rxb) |
diff --git a/drivers/net/wireless/iwlwifi/iwl-testmode.h b/drivers/net/wireless/iwlwifi/dvm/testmode.h index 6ba211b09426..6ba211b09426 100644 --- a/drivers/net/wireless/iwlwifi/iwl-testmode.h +++ b/drivers/net/wireless/iwlwifi/dvm/testmode.h | |||
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tt.c b/drivers/net/wireless/iwlwifi/dvm/tt.c index a5cfe0aceedb..55418899bc4e 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tt.c +++ b/drivers/net/wireless/iwlwifi/dvm/tt.c | |||
@@ -31,17 +31,15 @@ | |||
31 | #include <linux/module.h> | 31 | #include <linux/module.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | #include <linux/init.h> | 33 | #include <linux/init.h> |
34 | |||
35 | #include <net/mac80211.h> | 34 | #include <net/mac80211.h> |
36 | |||
37 | #include "iwl-agn.h" | ||
38 | #include "iwl-eeprom.h" | ||
39 | #include "iwl-dev.h" | ||
40 | #include "iwl-io.h" | 35 | #include "iwl-io.h" |
41 | #include "iwl-commands.h" | ||
42 | #include "iwl-debug.h" | ||
43 | #include "iwl-agn-tt.h" | ||
44 | #include "iwl-modparams.h" | 36 | #include "iwl-modparams.h" |
37 | #include "iwl-debug.h" | ||
38 | #include "agn.h" | ||
39 | #include "eeprom.h" | ||
40 | #include "dev.h" | ||
41 | #include "commands.h" | ||
42 | #include "tt.h" | ||
45 | 43 | ||
46 | /* default Thermal Throttling transaction table | 44 | /* default Thermal Throttling transaction table |
47 | * Current state | Throttling Down | Throttling Up | 45 | * Current state | Throttling Down | Throttling Up |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tt.h b/drivers/net/wireless/iwlwifi/dvm/tt.h index 86bbf47501c1..44c7c8f30a2d 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tt.h +++ b/drivers/net/wireless/iwlwifi/dvm/tt.h | |||
@@ -28,7 +28,7 @@ | |||
28 | #ifndef __iwl_tt_setting_h__ | 28 | #ifndef __iwl_tt_setting_h__ |
29 | #define __iwl_tt_setting_h__ | 29 | #define __iwl_tt_setting_h__ |
30 | 30 | ||
31 | #include "iwl-commands.h" | 31 | #include "commands.h" |
32 | 32 | ||
33 | #define IWL_ABSOLUTE_ZERO 0 | 33 | #define IWL_ABSOLUTE_ZERO 0 |
34 | #define IWL_ABSOLUTE_MAX 0xFFFFFFFF | 34 | #define IWL_ABSOLUTE_MAX 0xFFFFFFFF |
diff --git a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c b/drivers/net/wireless/iwlwifi/dvm/tx.c index ad1d36fa7642..52f2cae080c3 100644 --- a/drivers/net/wireless/iwlwifi/iwl-agn-tx.c +++ b/drivers/net/wireless/iwlwifi/dvm/tx.c | |||
@@ -32,12 +32,11 @@ | |||
32 | #include <linux/init.h> | 32 | #include <linux/init.h> |
33 | #include <linux/sched.h> | 33 | #include <linux/sched.h> |
34 | #include <linux/ieee80211.h> | 34 | #include <linux/ieee80211.h> |
35 | |||
36 | #include "iwl-dev.h" | ||
37 | #include "iwl-io.h" | 35 | #include "iwl-io.h" |
38 | #include "iwl-agn-hw.h" | ||
39 | #include "iwl-agn.h" | ||
40 | #include "iwl-trans.h" | 36 | #include "iwl-trans.h" |
37 | #include "iwl-agn-hw.h" | ||
38 | #include "dev.h" | ||
39 | #include "agn.h" | ||
41 | 40 | ||
42 | static const u8 tid_to_ac[] = { | 41 | static const u8 tid_to_ac[] = { |
43 | IEEE80211_AC_BE, | 42 | IEEE80211_AC_BE, |
diff --git a/drivers/net/wireless/iwlwifi/iwl-ucode.c b/drivers/net/wireless/iwlwifi/dvm/ucode.c index d14e633bebc9..5a2e186c7ded 100644 --- a/drivers/net/wireless/iwlwifi/iwl-ucode.c +++ b/drivers/net/wireless/iwlwifi/dvm/ucode.c | |||
@@ -30,15 +30,16 @@ | |||
30 | #include <linux/kernel.h> | 30 | #include <linux/kernel.h> |
31 | #include <linux/init.h> | 31 | #include <linux/init.h> |
32 | 32 | ||
33 | #include "iwl-dev.h" | ||
34 | #include "iwl-io.h" | 33 | #include "iwl-io.h" |
35 | #include "iwl-agn-hw.h" | 34 | #include "iwl-agn-hw.h" |
36 | #include "iwl-agn.h" | ||
37 | #include "iwl-agn-calib.h" | ||
38 | #include "iwl-trans.h" | 35 | #include "iwl-trans.h" |
39 | #include "iwl-fh.h" | 36 | #include "iwl-fh.h" |
40 | #include "iwl-op-mode.h" | 37 | #include "iwl-op-mode.h" |
41 | 38 | ||
39 | #include "dev.h" | ||
40 | #include "agn.h" | ||
41 | #include "calib.h" | ||
42 | |||
42 | /****************************************************************************** | 43 | /****************************************************************************** |
43 | * | 44 | * |
44 | * uCode download functions | 45 | * uCode download functions |
diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace.h b/drivers/net/wireless/iwlwifi/iwl-devtrace.h index 06203d6a1d86..65364793021f 100644 --- a/drivers/net/wireless/iwlwifi/iwl-devtrace.h +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace.h | |||
@@ -28,6 +28,7 @@ | |||
28 | #define __IWLWIFI_DEVICE_TRACE | 28 | #define __IWLWIFI_DEVICE_TRACE |
29 | 29 | ||
30 | #include <linux/tracepoint.h> | 30 | #include <linux/tracepoint.h> |
31 | #include <linux/device.h> | ||
31 | 32 | ||
32 | 33 | ||
33 | #if !defined(CONFIG_IWLWIFI_DEVICE_TRACING) || defined(__CHECKER__) | 34 | #if !defined(CONFIG_IWLWIFI_DEVICE_TRACING) || defined(__CHECKER__) |
diff --git a/drivers/net/wireless/iwlwifi/pcie/2000.c b/drivers/net/wireless/iwlwifi/pcie/2000.c index f6efa122336b..062c07b17056 100644 --- a/drivers/net/wireless/iwlwifi/pcie/2000.c +++ b/drivers/net/wireless/iwlwifi/pcie/2000.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "iwl-config.h" | 29 | #include "iwl-config.h" |
30 | #include "iwl-agn-hw.h" | 30 | #include "iwl-agn-hw.h" |
31 | #include "cfg.h" | 31 | #include "cfg.h" |
32 | #include "iwl-commands.h" /* needed for BT for now */ | 32 | #include "dvm/commands.h" /* needed for BT for now */ |
33 | 33 | ||
34 | /* Highest firmware API version supported */ | 34 | /* Highest firmware API version supported */ |
35 | #define IWL2030_UCODE_API_MAX 6 | 35 | #define IWL2030_UCODE_API_MAX 6 |
diff --git a/drivers/net/wireless/iwlwifi/pcie/6000.c b/drivers/net/wireless/iwlwifi/pcie/6000.c index 7360cd9e0148..f9e396182ef3 100644 --- a/drivers/net/wireless/iwlwifi/pcie/6000.c +++ b/drivers/net/wireless/iwlwifi/pcie/6000.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "iwl-config.h" | 29 | #include "iwl-config.h" |
30 | #include "iwl-agn-hw.h" | 30 | #include "iwl-agn-hw.h" |
31 | #include "cfg.h" | 31 | #include "cfg.h" |
32 | #include "iwl-commands.h" /* needed for BT for now */ | 32 | #include "dvm/commands.h" /* needed for BT for now */ |
33 | 33 | ||
34 | /* Highest firmware API version supported */ | 34 | /* Highest firmware API version supported */ |
35 | #define IWL6000_UCODE_API_MAX 6 | 35 | #define IWL6000_UCODE_API_MAX 6 |
diff --git a/drivers/net/wireless/iwlwifi/pcie/trans.c b/drivers/net/wireless/iwlwifi/pcie/trans.c index e8a04a18a7d0..a19ce40c0092 100644 --- a/drivers/net/wireless/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/iwlwifi/pcie/trans.c | |||
@@ -72,11 +72,10 @@ | |||
72 | #include "iwl-trans.h" | 72 | #include "iwl-trans.h" |
73 | #include "iwl-csr.h" | 73 | #include "iwl-csr.h" |
74 | #include "iwl-prph.h" | 74 | #include "iwl-prph.h" |
75 | #include "iwl-eeprom.h" | ||
76 | #include "iwl-agn-hw.h" | 75 | #include "iwl-agn-hw.h" |
77 | #include "internal.h" | 76 | #include "internal.h" |
78 | /* FIXME: need to abstract out TX command (once we know what it looks like) */ | 77 | /* FIXME: need to abstract out TX command (once we know what it looks like) */ |
79 | #include "iwl-commands.h" | 78 | #include "dvm/commands.h" |
80 | 79 | ||
81 | #define SCD_QUEUECHAIN_SEL_ALL(trans, trans_pcie) \ | 80 | #define SCD_QUEUECHAIN_SEL_ALL(trans, trans_pcie) \ |
82 | (((1<<trans->cfg->base_params->num_of_queues) - 1) &\ | 81 | (((1<<trans->cfg->base_params->num_of_queues) - 1) &\ |
diff --git a/drivers/net/wireless/iwlwifi/pcie/tx.c b/drivers/net/wireless/iwlwifi/pcie/tx.c index 0b8bbb0afcab..583451c710e3 100644 --- a/drivers/net/wireless/iwlwifi/pcie/tx.c +++ b/drivers/net/wireless/iwlwifi/pcie/tx.c | |||
@@ -34,11 +34,10 @@ | |||
34 | #include "iwl-csr.h" | 34 | #include "iwl-csr.h" |
35 | #include "iwl-prph.h" | 35 | #include "iwl-prph.h" |
36 | #include "iwl-io.h" | 36 | #include "iwl-io.h" |
37 | #include "iwl-agn-hw.h" | ||
38 | #include "iwl-op-mode.h" | 37 | #include "iwl-op-mode.h" |
39 | #include "internal.h" | 38 | #include "internal.h" |
40 | /* FIXME: need to abstract out TX command (once we know what it looks like) */ | 39 | /* FIXME: need to abstract out TX command (once we know what it looks like) */ |
41 | #include "iwl-commands.h" | 40 | #include "dvm/commands.h" |
42 | 41 | ||
43 | #define IWL_TX_CRC_SIZE 4 | 42 | #define IWL_TX_CRC_SIZE 4 |
44 | #define IWL_TX_DELIMITER_SIZE 4 | 43 | #define IWL_TX_DELIMITER_SIZE 4 |