diff options
-rw-r--r-- | drivers/net/wireless/wl12xx/Kconfig | 52 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/Makefile | 17 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/acx.c (renamed from drivers/net/wireless/wl12xx/wl1271_acx.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/acx.h (renamed from drivers/net/wireless/wl12xx/wl1271_acx.h) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/boot.c (renamed from drivers/net/wireless/wl12xx/wl1271_boot.c) | 10 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/boot.h (renamed from drivers/net/wireless/wl12xx/wl1271_boot.h) | 2 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.c (renamed from drivers/net/wireless/wl12xx/wl1271_cmd.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/cmd.h (renamed from drivers/net/wireless/wl12xx/wl1271_cmd.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/conf.h (renamed from drivers/net/wireless/wl12xx/wl1271_conf.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/debugfs.c (renamed from drivers/net/wireless/wl12xx/wl1271_debugfs.c) | 10 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/debugfs.h (renamed from drivers/net/wireless/wl12xx/wl1271_debugfs.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/event.c (renamed from drivers/net/wireless/wl12xx/wl1271_event.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/event.h (renamed from drivers/net/wireless/wl12xx/wl1271_event.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/ini.h (renamed from drivers/net/wireless/wl12xx/wl1271_ini.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/init.c (renamed from drivers/net/wireless/wl12xx/wl1271_init.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/init.h (renamed from drivers/net/wireless/wl12xx/wl1271_init.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/io.c (renamed from drivers/net/wireless/wl12xx/wl1271_io.c) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/io.h (renamed from drivers/net/wireless/wl12xx/wl1271_io.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c (renamed from drivers/net/wireless/wl12xx/wl1271_main.c) | 38 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/ps.c (renamed from drivers/net/wireless/wl12xx/wl1271_ps.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/ps.h (renamed from drivers/net/wireless/wl12xx/wl1271_ps.h) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/reg.h (renamed from drivers/net/wireless/wl12xx/wl1271_reg.h) | 0 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/rx.c (renamed from drivers/net/wireless/wl12xx/wl1271_rx.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/rx.h (renamed from drivers/net/wireless/wl12xx/wl1271_rx.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/scan.c (renamed from drivers/net/wireless/wl12xx/wl1271_scan.c) | 8 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/scan.h (renamed from drivers/net/wireless/wl12xx/wl1271_scan.h) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/sdio.c (renamed from drivers/net/wireless/wl12xx/wl1271_sdio.c) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/spi.c (renamed from drivers/net/wireless/wl12xx/wl1271_spi.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/testmode.c (renamed from drivers/net/wireless/wl12xx/wl1271_testmode.c) | 6 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/testmode.h (renamed from drivers/net/wireless/wl12xx/wl1271_testmode.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/tx.c (renamed from drivers/net/wireless/wl12xx/wl1271_tx.c) | 12 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/tx.h (renamed from drivers/net/wireless/wl12xx/wl1271_tx.h) | 4 | ||||
-rw-r--r-- | drivers/net/wireless/wl12xx/wl12xx.h (renamed from drivers/net/wireless/wl12xx/wl1271.h) | 8 |
33 files changed, 154 insertions, 151 deletions
diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig index 02ad4bc15976..d2adeb1f72b7 100644 --- a/drivers/net/wireless/wl12xx/Kconfig +++ b/drivers/net/wireless/wl12xx/Kconfig | |||
@@ -1,56 +1,58 @@ | |||
1 | menuconfig WL12XX | 1 | menuconfig WL12XX_MENU |
2 | tristate "TI wl12xx driver support" | 2 | tristate "TI wl12xx driver support" |
3 | depends on MAC80211 && EXPERIMENTAL | 3 | depends on MAC80211 && EXPERIMENTAL |
4 | ---help--- | 4 | ---help--- |
5 | This will enable TI wl12xx driver support. The drivers make | 5 | This will enable TI wl12xx driver support for the following chips: |
6 | use of the mac80211 stack. | 6 | wl1271 and wl1273. |
7 | The drivers make use of the mac80211 stack. | ||
7 | 8 | ||
8 | config WL1271 | 9 | config WL12XX |
9 | tristate "TI wl1271 support" | 10 | tristate "TI wl12xx support" |
10 | depends on WL12XX && GENERIC_HARDIRQS | 11 | depends on WL12XX_MENU && GENERIC_HARDIRQS |
11 | depends on INET | 12 | depends on INET |
12 | select FW_LOADER | 13 | select FW_LOADER |
13 | select CRC7 | 14 | select CRC7 |
14 | ---help--- | 15 | ---help--- |
15 | This module adds support for wireless adapters based on the | 16 | This module adds support for wireless adapters based on TI wl1271 and |
16 | TI wl1271 chipset. | 17 | TI wl1273 chipsets. This module does *not* include support for wl1251. |
18 | For wl1251 support, use the separate homonymous driver instead. | ||
17 | 19 | ||
18 | If you choose to build a module, it'll be called wl1271. Say N if | 20 | If you choose to build a module, it will be called wl12xx. Say N if |
19 | unsure. | 21 | unsure. |
20 | 22 | ||
21 | config WL1271_HT | 23 | config WL12XX_HT |
22 | bool "TI wl1271 802.11 HT support (EXPERIMENTAL)" | 24 | bool "TI wl12xx 802.11 HT support (EXPERIMENTAL)" |
23 | depends on WL1271 && EXPERIMENTAL | 25 | depends on WL12XX && EXPERIMENTAL |
24 | default n | 26 | default n |
25 | ---help--- | 27 | ---help--- |
26 | This will enable 802.11 HT support for TI wl1271 chipset. | 28 | This will enable 802.11 HT support in the wl12xx module. |
27 | 29 | ||
28 | That configuration is temporary due to the code incomplete and | 30 | That configuration is temporary due to the code incomplete and |
29 | still in testing process. | 31 | still in testing process. |
30 | 32 | ||
31 | config WL1271_SPI | 33 | config WL12XX_SPI |
32 | tristate "TI wl1271 SPI support" | 34 | tristate "TI wl12xx SPI support" |
33 | depends on WL1271 && SPI_MASTER | 35 | depends on WL12XX && SPI_MASTER |
34 | ---help--- | 36 | ---help--- |
35 | This module adds support for the SPI interface of adapters using | 37 | This module adds support for the SPI interface of adapters using |
36 | TI wl1271 chipset. Select this if your platform is using | 38 | TI wl12xx chipsets. Select this if your platform is using |
37 | the SPI bus. | 39 | the SPI bus. |
38 | 40 | ||
39 | If you choose to build a module, it'll be called wl1251_spi. | 41 | If you choose to build a module, it'll be called wl12xx_spi. |
40 | Say N if unsure. | 42 | Say N if unsure. |
41 | 43 | ||
42 | config WL1271_SDIO | 44 | config WL12XX_SDIO |
43 | tristate "TI wl1271 SDIO support" | 45 | tristate "TI wl12xx SDIO support" |
44 | depends on WL1271 && MMC | 46 | depends on WL12XX && MMC |
45 | ---help--- | 47 | ---help--- |
46 | This module adds support for the SDIO interface of adapters using | 48 | This module adds support for the SDIO interface of adapters using |
47 | TI wl1271 chipset. Select this if your platform is using | 49 | TI wl12xx chipsets. Select this if your platform is using |
48 | the SDIO bus. | 50 | the SDIO bus. |
49 | 51 | ||
50 | If you choose to build a module, it'll be called | 52 | If you choose to build a module, it'll be called wl12xx_sdio. |
51 | wl1271_sdio. Say N if unsure. | 53 | Say N if unsure. |
52 | 54 | ||
53 | config WL12XX_PLATFORM_DATA | 55 | config WL12XX_PLATFORM_DATA |
54 | bool | 56 | bool |
55 | depends on WL1271_SDIO != n || WL1251_SDIO != n | 57 | depends on WL12XX_SDIO != n || WL1251_SDIO != n |
56 | default y | 58 | default y |
diff --git a/drivers/net/wireless/wl12xx/Makefile b/drivers/net/wireless/wl12xx/Makefile index 3a807444b2af..005a758174d9 100644 --- a/drivers/net/wireless/wl12xx/Makefile +++ b/drivers/net/wireless/wl12xx/Makefile | |||
@@ -1,12 +1,13 @@ | |||
1 | wl1271-objs = wl1271_main.o wl1271_cmd.o wl1271_io.o \ | 1 | wl12xx-objs = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \ |
2 | wl1271_event.o wl1271_tx.o wl1271_rx.o \ | 2 | boot.o init.o debugfs.o scan.o |
3 | wl1271_ps.o wl1271_acx.o wl1271_boot.o \ | ||
4 | wl1271_init.o wl1271_debugfs.o wl1271_scan.o | ||
5 | 3 | ||
6 | wl1271-$(CONFIG_NL80211_TESTMODE) += wl1271_testmode.o | 4 | wl12xx_spi-objs = spi.o |
7 | obj-$(CONFIG_WL1271) += wl1271.o | 5 | wl12xx_sdio-objs = sdio.o |
8 | obj-$(CONFIG_WL1271_SPI) += wl1271_spi.o | 6 | |
9 | obj-$(CONFIG_WL1271_SDIO) += wl1271_sdio.o | 7 | wl12xx-$(CONFIG_NL80211_TESTMODE) += testmode.o |
8 | obj-$(CONFIG_WL12XX) += wl12xx.o | ||
9 | obj-$(CONFIG_WL12XX_SPI) += wl12xx_spi.o | ||
10 | obj-$(CONFIG_WL12XX_SDIO) += wl12xx_sdio.o | ||
10 | 11 | ||
11 | # small builtin driver bit | 12 | # small builtin driver bit |
12 | obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx_platform_data.o | 13 | obj-$(CONFIG_WL12XX_PLATFORM_DATA) += wl12xx_platform_data.o |
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.c b/drivers/net/wireless/wl12xx/acx.c index bd7f95f4eef3..bc1085bb6cfb 100644 --- a/drivers/net/wireless/wl12xx/wl1271_acx.c +++ b/drivers/net/wireless/wl12xx/acx.c | |||
@@ -21,7 +21,7 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "wl1271_acx.h" | 24 | #include "acx.h" |
25 | 25 | ||
26 | #include <linux/module.h> | 26 | #include <linux/module.h> |
27 | #include <linux/platform_device.h> | 27 | #include <linux/platform_device.h> |
@@ -29,10 +29,10 @@ | |||
29 | #include <linux/spi/spi.h> | 29 | #include <linux/spi/spi.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | 31 | ||
32 | #include "wl1271.h" | 32 | #include "wl12xx.h" |
33 | #include "wl12xx_80211.h" | 33 | #include "wl12xx_80211.h" |
34 | #include "wl1271_reg.h" | 34 | #include "reg.h" |
35 | #include "wl1271_ps.h" | 35 | #include "ps.h" |
36 | 36 | ||
37 | int wl1271_acx_wake_up_conditions(struct wl1271 *wl) | 37 | int wl1271_acx_wake_up_conditions(struct wl1271 *wl) |
38 | { | 38 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1271_acx.h b/drivers/net/wireless/wl12xx/acx.h index b7c490845f3e..f41a9c1df12f 100644 --- a/drivers/net/wireless/wl12xx/wl1271_acx.h +++ b/drivers/net/wireless/wl12xx/acx.h | |||
@@ -22,11 +22,11 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_ACX_H__ | 25 | #ifndef __ACX_H__ |
26 | #define __WL1271_ACX_H__ | 26 | #define __ACX_H__ |
27 | 27 | ||
28 | #include "wl1271.h" | 28 | #include "wl12xx.h" |
29 | #include "wl1271_cmd.h" | 29 | #include "cmd.h" |
30 | 30 | ||
31 | /************************************************************************* | 31 | /************************************************************************* |
32 | 32 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_boot.c b/drivers/net/wireless/wl12xx/boot.c index 5b190728ca55..1eafb8175832 100644 --- a/drivers/net/wireless/wl12xx/wl1271_boot.c +++ b/drivers/net/wireless/wl12xx/boot.c | |||
@@ -24,11 +24,11 @@ | |||
24 | #include <linux/gpio.h> | 24 | #include <linux/gpio.h> |
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | 26 | ||
27 | #include "wl1271_acx.h" | 27 | #include "acx.h" |
28 | #include "wl1271_reg.h" | 28 | #include "reg.h" |
29 | #include "wl1271_boot.h" | 29 | #include "boot.h" |
30 | #include "wl1271_io.h" | 30 | #include "io.h" |
31 | #include "wl1271_event.h" | 31 | #include "event.h" |
32 | 32 | ||
33 | static struct wl1271_partition_set part_table[PART_TABLE_LEN] = { | 33 | static struct wl1271_partition_set part_table[PART_TABLE_LEN] = { |
34 | [PART_DOWN] = { | 34 | [PART_DOWN] = { |
diff --git a/drivers/net/wireless/wl12xx/wl1271_boot.h b/drivers/net/wireless/wl12xx/boot.h index f73b0b15a280..c7d771959f3a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_boot.h +++ b/drivers/net/wireless/wl12xx/boot.h | |||
@@ -24,7 +24,7 @@ | |||
24 | #ifndef __BOOT_H__ | 24 | #ifndef __BOOT_H__ |
25 | #define __BOOT_H__ | 25 | #define __BOOT_H__ |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | 28 | ||
29 | int wl1271_boot(struct wl1271 *wl); | 29 | int wl1271_boot(struct wl1271 *wl); |
30 | 30 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.c b/drivers/net/wireless/wl12xx/cmd.c index 5d3e8485ea4e..f3d0541aaad6 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.c +++ b/drivers/net/wireless/wl12xx/cmd.c | |||
@@ -29,13 +29,13 @@ | |||
29 | #include <linux/ieee80211.h> | 29 | #include <linux/ieee80211.h> |
30 | #include <linux/slab.h> | 30 | #include <linux/slab.h> |
31 | 31 | ||
32 | #include "wl1271.h" | 32 | #include "wl12xx.h" |
33 | #include "wl1271_reg.h" | 33 | #include "reg.h" |
34 | #include "wl1271_io.h" | 34 | #include "io.h" |
35 | #include "wl1271_acx.h" | 35 | #include "acx.h" |
36 | #include "wl12xx_80211.h" | 36 | #include "wl12xx_80211.h" |
37 | #include "wl1271_cmd.h" | 37 | #include "cmd.h" |
38 | #include "wl1271_event.h" | 38 | #include "event.h" |
39 | 39 | ||
40 | #define WL1271_CMD_FAST_POLL_COUNT 50 | 40 | #define WL1271_CMD_FAST_POLL_COUNT 50 |
41 | 41 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_cmd.h b/drivers/net/wireless/wl12xx/cmd.h index a0caf4fc37b1..893dbf72c2d9 100644 --- a/drivers/net/wireless/wl12xx/wl1271_cmd.h +++ b/drivers/net/wireless/wl12xx/cmd.h | |||
@@ -22,10 +22,10 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_CMD_H__ | 25 | #ifndef __CMD_H__ |
26 | #define __WL1271_CMD_H__ | 26 | #define __CMD_H__ |
27 | 27 | ||
28 | #include "wl1271.h" | 28 | #include "wl12xx.h" |
29 | 29 | ||
30 | struct acx_header; | 30 | struct acx_header; |
31 | 31 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_conf.h b/drivers/net/wireless/wl12xx/conf.h index 5f78a6cb1433..a16b3616e430 100644 --- a/drivers/net/wireless/wl12xx/wl1271_conf.h +++ b/drivers/net/wireless/wl12xx/conf.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_CONF_H__ | 24 | #ifndef __CONF_H__ |
25 | #define __WL1271_CONF_H__ | 25 | #define __CONF_H__ |
26 | 26 | ||
27 | enum { | 27 | enum { |
28 | CONF_HW_BIT_RATE_1MBPS = BIT(0), | 28 | CONF_HW_BIT_RATE_1MBPS = BIT(0), |
diff --git a/drivers/net/wireless/wl12xx/wl1271_debugfs.c b/drivers/net/wireless/wl12xx/debugfs.c index 3468b849852e..dd71b7d2105c 100644 --- a/drivers/net/wireless/wl12xx/wl1271_debugfs.c +++ b/drivers/net/wireless/wl12xx/debugfs.c | |||
@@ -21,15 +21,15 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "wl1271_debugfs.h" | 24 | #include "debugfs.h" |
25 | 25 | ||
26 | #include <linux/skbuff.h> | 26 | #include <linux/skbuff.h> |
27 | #include <linux/slab.h> | 27 | #include <linux/slab.h> |
28 | 28 | ||
29 | #include "wl1271.h" | 29 | #include "wl12xx.h" |
30 | #include "wl1271_acx.h" | 30 | #include "acx.h" |
31 | #include "wl1271_ps.h" | 31 | #include "ps.h" |
32 | #include "wl1271_io.h" | 32 | #include "io.h" |
33 | 33 | ||
34 | /* ms */ | 34 | /* ms */ |
35 | #define WL1271_DEBUGFS_STATS_LIFETIME 1000 | 35 | #define WL1271_DEBUGFS_STATS_LIFETIME 1000 |
diff --git a/drivers/net/wireless/wl12xx/wl1271_debugfs.h b/drivers/net/wireless/wl12xx/debugfs.h index 00a45b2669ad..254c5b292cf6 100644 --- a/drivers/net/wireless/wl12xx/wl1271_debugfs.h +++ b/drivers/net/wireless/wl12xx/debugfs.h | |||
@@ -21,10 +21,10 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef WL1271_DEBUGFS_H | 24 | #ifndef __DEBUGFS_H__ |
25 | #define WL1271_DEBUGFS_H | 25 | #define __DEBUGFS_H__ |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | 28 | ||
29 | int wl1271_debugfs_init(struct wl1271 *wl); | 29 | int wl1271_debugfs_init(struct wl1271 *wl); |
30 | void wl1271_debugfs_exit(struct wl1271 *wl); | 30 | void wl1271_debugfs_exit(struct wl1271 *wl); |
diff --git a/drivers/net/wireless/wl12xx/wl1271_event.c b/drivers/net/wireless/wl12xx/event.c index 38ccef7d73a5..f9146f5242fb 100644 --- a/drivers/net/wireless/wl12xx/wl1271_event.c +++ b/drivers/net/wireless/wl12xx/event.c | |||
@@ -21,12 +21,12 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "wl1271.h" | 24 | #include "wl12xx.h" |
25 | #include "wl1271_reg.h" | 25 | #include "reg.h" |
26 | #include "wl1271_io.h" | 26 | #include "io.h" |
27 | #include "wl1271_event.h" | 27 | #include "event.h" |
28 | #include "wl1271_ps.h" | 28 | #include "ps.h" |
29 | #include "wl1271_scan.h" | 29 | #include "scan.h" |
30 | #include "wl12xx_80211.h" | 30 | #include "wl12xx_80211.h" |
31 | 31 | ||
32 | void wl1271_pspoll_work(struct work_struct *work) | 32 | void wl1271_pspoll_work(struct work_struct *work) |
diff --git a/drivers/net/wireless/wl12xx/wl1271_event.h b/drivers/net/wireless/wl12xx/event.h index e4751667cf5e..6cce0143adb5 100644 --- a/drivers/net/wireless/wl12xx/wl1271_event.h +++ b/drivers/net/wireless/wl12xx/event.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_EVENT_H__ | 25 | #ifndef __EVENT_H__ |
26 | #define __WL1271_EVENT_H__ | 26 | #define __EVENT_H__ |
27 | 27 | ||
28 | /* | 28 | /* |
29 | * Mbox events | 29 | * Mbox events |
diff --git a/drivers/net/wireless/wl12xx/wl1271_ini.h b/drivers/net/wireless/wl12xx/ini.h index 2313047d4015..c330a2583dfd 100644 --- a/drivers/net/wireless/wl12xx/wl1271_ini.h +++ b/drivers/net/wireless/wl12xx/ini.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_INI_H__ | 24 | #ifndef __INI_H__ |
25 | #define __WL1271_INI_H__ | 25 | #define __INI_H__ |
26 | 26 | ||
27 | #define WL1271_INI_MAX_SMART_REFLEX_PARAM 16 | 27 | #define WL1271_INI_MAX_SMART_REFLEX_PARAM 16 |
28 | 28 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.c b/drivers/net/wireless/wl12xx/init.c index 8044bba70ee7..492edc0f7aca 100644 --- a/drivers/net/wireless/wl12xx/wl1271_init.c +++ b/drivers/net/wireless/wl12xx/init.c | |||
@@ -25,11 +25,11 @@ | |||
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | #include <linux/slab.h> | 26 | #include <linux/slab.h> |
27 | 27 | ||
28 | #include "wl1271_init.h" | 28 | #include "init.h" |
29 | #include "wl12xx_80211.h" | 29 | #include "wl12xx_80211.h" |
30 | #include "wl1271_acx.h" | 30 | #include "acx.h" |
31 | #include "wl1271_cmd.h" | 31 | #include "cmd.h" |
32 | #include "wl1271_reg.h" | 32 | #include "reg.h" |
33 | 33 | ||
34 | static int wl1271_init_hwenc_config(struct wl1271 *wl) | 34 | static int wl1271_init_hwenc_config(struct wl1271 *wl) |
35 | { | 35 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1271_init.h b/drivers/net/wireless/wl12xx/init.h index bc26f8c53b91..7762421f8602 100644 --- a/drivers/net/wireless/wl12xx/wl1271_init.h +++ b/drivers/net/wireless/wl12xx/init.h | |||
@@ -21,10 +21,10 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_INIT_H__ | 24 | #ifndef __INIT_H__ |
25 | #define __WL1271_INIT_H__ | 25 | #define __INIT_H__ |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | 28 | ||
29 | int wl1271_hw_init_power_auth(struct wl1271 *wl); | 29 | int wl1271_hw_init_power_auth(struct wl1271 *wl); |
30 | int wl1271_init_templates_config(struct wl1271 *wl); | 30 | int wl1271_init_templates_config(struct wl1271 *wl); |
diff --git a/drivers/net/wireless/wl12xx/wl1271_io.c b/drivers/net/wireless/wl12xx/io.c index c8759acef131..35c2f1aca6ba 100644 --- a/drivers/net/wireless/wl12xx/wl1271_io.c +++ b/drivers/net/wireless/wl12xx/io.c | |||
@@ -26,9 +26,9 @@ | |||
26 | #include <linux/crc7.h> | 26 | #include <linux/crc7.h> |
27 | #include <linux/spi/spi.h> | 27 | #include <linux/spi/spi.h> |
28 | 28 | ||
29 | #include "wl1271.h" | 29 | #include "wl12xx.h" |
30 | #include "wl12xx_80211.h" | 30 | #include "wl12xx_80211.h" |
31 | #include "wl1271_io.h" | 31 | #include "io.h" |
32 | 32 | ||
33 | #define OCP_CMD_LOOP 32 | 33 | #define OCP_CMD_LOOP 32 |
34 | 34 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_io.h b/drivers/net/wireless/wl12xx/io.h index c1f92e65ded0..844b32b170bb 100644 --- a/drivers/net/wireless/wl12xx/wl1271_io.h +++ b/drivers/net/wireless/wl12xx/io.h | |||
@@ -22,10 +22,10 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_IO_H__ | 25 | #ifndef __IO_H__ |
26 | #define __WL1271_IO_H__ | 26 | #define __IO_H__ |
27 | 27 | ||
28 | #include "wl1271_reg.h" | 28 | #include "reg.h" |
29 | 29 | ||
30 | #define HW_ACCESS_MEMORY_MAX_RANGE 0x1FFC0 | 30 | #define HW_ACCESS_MEMORY_MAX_RANGE 0x1FFC0 |
31 | 31 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_main.c b/drivers/net/wireless/wl12xx/main.c index f5b1d19bc88d..c00523008be4 100644 --- a/drivers/net/wireless/wl12xx/wl1271_main.c +++ b/drivers/net/wireless/wl12xx/main.c | |||
@@ -31,20 +31,20 @@ | |||
31 | #include <linux/platform_device.h> | 31 | #include <linux/platform_device.h> |
32 | #include <linux/slab.h> | 32 | #include <linux/slab.h> |
33 | 33 | ||
34 | #include "wl1271.h" | 34 | #include "wl12xx.h" |
35 | #include "wl12xx_80211.h" | 35 | #include "wl12xx_80211.h" |
36 | #include "wl1271_reg.h" | 36 | #include "reg.h" |
37 | #include "wl1271_io.h" | 37 | #include "io.h" |
38 | #include "wl1271_event.h" | 38 | #include "event.h" |
39 | #include "wl1271_tx.h" | 39 | #include "tx.h" |
40 | #include "wl1271_rx.h" | 40 | #include "rx.h" |
41 | #include "wl1271_ps.h" | 41 | #include "ps.h" |
42 | #include "wl1271_init.h" | 42 | #include "init.h" |
43 | #include "wl1271_debugfs.h" | 43 | #include "debugfs.h" |
44 | #include "wl1271_cmd.h" | 44 | #include "cmd.h" |
45 | #include "wl1271_boot.h" | 45 | #include "boot.h" |
46 | #include "wl1271_testmode.h" | 46 | #include "testmode.h" |
47 | #include "wl1271_scan.h" | 47 | #include "scan.h" |
48 | 48 | ||
49 | #define WL1271_BOOT_RETRIES 3 | 49 | #define WL1271_BOOT_RETRIES 3 |
50 | 50 | ||
@@ -884,7 +884,7 @@ static int wl1271_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb) | |||
884 | set_bit(WL1271_FLAG_STA_RATES_CHANGED, &wl->flags); | 884 | set_bit(WL1271_FLAG_STA_RATES_CHANGED, &wl->flags); |
885 | } | 885 | } |
886 | 886 | ||
887 | #ifdef CONFIG_WL1271_HT | 887 | #ifdef CONFIG_WL12XX_HT |
888 | if (sta && | 888 | if (sta && |
889 | sta->ht_cap.ht_supported && | 889 | sta->ht_cap.ht_supported && |
890 | ((wl->sta_rate_set >> HW_HT_RATES_OFFSET) != | 890 | ((wl->sta_rate_set >> HW_HT_RATES_OFFSET) != |
@@ -2247,8 +2247,8 @@ static const u8 wl1271_rate_to_idx_2ghz[] = { | |||
2247 | /* 11n STA capabilities */ | 2247 | /* 11n STA capabilities */ |
2248 | #define HW_RX_HIGHEST_RATE 72 | 2248 | #define HW_RX_HIGHEST_RATE 72 |
2249 | 2249 | ||
2250 | #ifdef CONFIG_WL1271_HT | 2250 | #ifdef CONFIG_WL12XX_HT |
2251 | #define WL1271_HT_CAP { \ | 2251 | #define WL12XX_HT_CAP { \ |
2252 | .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20, \ | 2252 | .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20, \ |
2253 | .ht_supported = true, \ | 2253 | .ht_supported = true, \ |
2254 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K, \ | 2254 | .ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K, \ |
@@ -2260,7 +2260,7 @@ static const u8 wl1271_rate_to_idx_2ghz[] = { | |||
2260 | }, \ | 2260 | }, \ |
2261 | } | 2261 | } |
2262 | #else | 2262 | #else |
2263 | #define WL1271_HT_CAP { \ | 2263 | #define WL12XX_HT_CAP { \ |
2264 | .ht_supported = false, \ | 2264 | .ht_supported = false, \ |
2265 | } | 2265 | } |
2266 | #endif | 2266 | #endif |
@@ -2271,7 +2271,7 @@ static struct ieee80211_supported_band wl1271_band_2ghz = { | |||
2271 | .n_channels = ARRAY_SIZE(wl1271_channels), | 2271 | .n_channels = ARRAY_SIZE(wl1271_channels), |
2272 | .bitrates = wl1271_rates, | 2272 | .bitrates = wl1271_rates, |
2273 | .n_bitrates = ARRAY_SIZE(wl1271_rates), | 2273 | .n_bitrates = ARRAY_SIZE(wl1271_rates), |
2274 | .ht_cap = WL1271_HT_CAP, | 2274 | .ht_cap = WL12XX_HT_CAP, |
2275 | }; | 2275 | }; |
2276 | 2276 | ||
2277 | /* 5 GHz data rates for WL1273 */ | 2277 | /* 5 GHz data rates for WL1273 */ |
@@ -2386,7 +2386,7 @@ static struct ieee80211_supported_band wl1271_band_5ghz = { | |||
2386 | .n_channels = ARRAY_SIZE(wl1271_channels_5ghz), | 2386 | .n_channels = ARRAY_SIZE(wl1271_channels_5ghz), |
2387 | .bitrates = wl1271_rates_5ghz, | 2387 | .bitrates = wl1271_rates_5ghz, |
2388 | .n_bitrates = ARRAY_SIZE(wl1271_rates_5ghz), | 2388 | .n_bitrates = ARRAY_SIZE(wl1271_rates_5ghz), |
2389 | .ht_cap = WL1271_HT_CAP, | 2389 | .ht_cap = WL12XX_HT_CAP, |
2390 | }; | 2390 | }; |
2391 | 2391 | ||
2392 | static const u8 *wl1271_band_rate_to_idx[] = { | 2392 | static const u8 *wl1271_band_rate_to_idx[] = { |
diff --git a/drivers/net/wireless/wl12xx/wl1271_ps.c b/drivers/net/wireless/wl12xx/ps.c index e3c332e2f97c..60a3738eadb0 100644 --- a/drivers/net/wireless/wl12xx/wl1271_ps.c +++ b/drivers/net/wireless/wl12xx/ps.c | |||
@@ -21,9 +21,9 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #include "wl1271_reg.h" | 24 | #include "reg.h" |
25 | #include "wl1271_ps.h" | 25 | #include "ps.h" |
26 | #include "wl1271_io.h" | 26 | #include "io.h" |
27 | 27 | ||
28 | #define WL1271_WAKEUP_TIMEOUT 500 | 28 | #define WL1271_WAKEUP_TIMEOUT 500 |
29 | 29 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_ps.h b/drivers/net/wireless/wl12xx/ps.h index 6ba7b032736f..8415060f08e5 100644 --- a/drivers/net/wireless/wl12xx/wl1271_ps.h +++ b/drivers/net/wireless/wl12xx/ps.h | |||
@@ -21,11 +21,11 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_PS_H__ | 24 | #ifndef __PS_H__ |
25 | #define __WL1271_PS_H__ | 25 | #define __PS_H__ |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | #include "wl1271_acx.h" | 28 | #include "acx.h" |
29 | 29 | ||
30 | int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode, | 30 | int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode, |
31 | u32 rates, bool send); | 31 | u32 rates, bool send); |
diff --git a/drivers/net/wireless/wl12xx/wl1271_reg.h b/drivers/net/wireless/wl12xx/reg.h index 990960771528..990960771528 100644 --- a/drivers/net/wireless/wl12xx/wl1271_reg.h +++ b/drivers/net/wireless/wl12xx/reg.h | |||
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.c b/drivers/net/wireless/wl12xx/rx.c index cacfee56a0d0..682304c30b81 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.c +++ b/drivers/net/wireless/wl12xx/rx.c | |||
@@ -23,11 +23,11 @@ | |||
23 | 23 | ||
24 | #include <linux/gfp.h> | 24 | #include <linux/gfp.h> |
25 | 25 | ||
26 | #include "wl1271.h" | 26 | #include "wl12xx.h" |
27 | #include "wl1271_acx.h" | 27 | #include "acx.h" |
28 | #include "wl1271_reg.h" | 28 | #include "reg.h" |
29 | #include "wl1271_rx.h" | 29 | #include "rx.h" |
30 | #include "wl1271_io.h" | 30 | #include "io.h" |
31 | 31 | ||
32 | static u8 wl1271_rx_get_mem_block(struct wl1271_fw_status *status, | 32 | static u8 wl1271_rx_get_mem_block(struct wl1271_fw_status *status, |
33 | u32 drv_rx_counter) | 33 | u32 drv_rx_counter) |
@@ -61,7 +61,7 @@ static void wl1271_rx_status(struct wl1271 *wl, | |||
61 | 61 | ||
62 | status->rate_idx = wl1271_rate_to_idx(desc->rate, desc_band); | 62 | status->rate_idx = wl1271_rate_to_idx(desc->rate, desc_band); |
63 | 63 | ||
64 | #ifdef CONFIG_WL1271_HT | 64 | #ifdef CONFIG_WL12XX_HT |
65 | /* 11n support */ | 65 | /* 11n support */ |
66 | if (desc->rate <= CONF_HW_RXTX_RATE_MCS0) | 66 | if (desc->rate <= CONF_HW_RXTX_RATE_MCS0) |
67 | status->flag |= RX_FLAG_HT; | 67 | status->flag |= RX_FLAG_HT; |
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.h b/drivers/net/wireless/wl12xx/rx.h index 6d41981ce53f..3abb26fe0364 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.h +++ b/drivers/net/wireless/wl12xx/rx.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_RX_H__ | 25 | #ifndef __RX_H__ |
26 | #define __WL1271_RX_H__ | 26 | #define __RX_H__ |
27 | 27 | ||
28 | #include <linux/bitops.h> | 28 | #include <linux/bitops.h> |
29 | 29 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_scan.c b/drivers/net/wireless/wl12xx/scan.c index e0661a543a35..f3f2c5b011ee 100644 --- a/drivers/net/wireless/wl12xx/wl1271_scan.c +++ b/drivers/net/wireless/wl12xx/scan.c | |||
@@ -23,10 +23,10 @@ | |||
23 | 23 | ||
24 | #include <linux/ieee80211.h> | 24 | #include <linux/ieee80211.h> |
25 | 25 | ||
26 | #include "wl1271.h" | 26 | #include "wl12xx.h" |
27 | #include "wl1271_cmd.h" | 27 | #include "cmd.h" |
28 | #include "wl1271_scan.h" | 28 | #include "scan.h" |
29 | #include "wl1271_acx.h" | 29 | #include "acx.h" |
30 | 30 | ||
31 | void wl1271_scan_complete_work(struct work_struct *work) | 31 | void wl1271_scan_complete_work(struct work_struct *work) |
32 | { | 32 | { |
diff --git a/drivers/net/wireless/wl12xx/wl1271_scan.h b/drivers/net/wireless/wl12xx/scan.h index 6d57127b5e6b..421a750add5a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_scan.h +++ b/drivers/net/wireless/wl12xx/scan.h | |||
@@ -21,10 +21,10 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_SCAN_H__ | 24 | #ifndef __SCAN_H__ |
25 | #define __WL1271_SCAN_H__ | 25 | #define __SCAN_H__ |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | 28 | ||
29 | int wl1271_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len, | 29 | int wl1271_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len, |
30 | struct cfg80211_scan_request *req); | 30 | struct cfg80211_scan_request *req); |
diff --git a/drivers/net/wireless/wl12xx/wl1271_sdio.c b/drivers/net/wireless/wl12xx/sdio.c index 784ef3432641..93cbb8d5aba9 100644 --- a/drivers/net/wireless/wl12xx/wl1271_sdio.c +++ b/drivers/net/wireless/wl12xx/sdio.c | |||
@@ -32,9 +32,9 @@ | |||
32 | #include <linux/wl12xx.h> | 32 | #include <linux/wl12xx.h> |
33 | #include <linux/pm_runtime.h> | 33 | #include <linux/pm_runtime.h> |
34 | 34 | ||
35 | #include "wl1271.h" | 35 | #include "wl12xx.h" |
36 | #include "wl12xx_80211.h" | 36 | #include "wl12xx_80211.h" |
37 | #include "wl1271_io.h" | 37 | #include "io.h" |
38 | 38 | ||
39 | #ifndef SDIO_VENDOR_ID_TI | 39 | #ifndef SDIO_VENDOR_ID_TI |
40 | #define SDIO_VENDOR_ID_TI 0x0097 | 40 | #define SDIO_VENDOR_ID_TI 0x0097 |
diff --git a/drivers/net/wireless/wl12xx/wl1271_spi.c b/drivers/net/wireless/wl12xx/spi.c index ef801680773f..46714910f98c 100644 --- a/drivers/net/wireless/wl12xx/wl1271_spi.c +++ b/drivers/net/wireless/wl12xx/spi.c | |||
@@ -28,11 +28,11 @@ | |||
28 | #include <linux/wl12xx.h> | 28 | #include <linux/wl12xx.h> |
29 | #include <linux/slab.h> | 29 | #include <linux/slab.h> |
30 | 30 | ||
31 | #include "wl1271.h" | 31 | #include "wl12xx.h" |
32 | #include "wl12xx_80211.h" | 32 | #include "wl12xx_80211.h" |
33 | #include "wl1271_io.h" | 33 | #include "io.h" |
34 | 34 | ||
35 | #include "wl1271_reg.h" | 35 | #include "reg.h" |
36 | 36 | ||
37 | #define WSPI_CMD_READ 0x40000000 | 37 | #define WSPI_CMD_READ 0x40000000 |
38 | #define WSPI_CMD_WRITE 0x00000000 | 38 | #define WSPI_CMD_WRITE 0x00000000 |
diff --git a/drivers/net/wireless/wl12xx/wl1271_testmode.c b/drivers/net/wireless/wl12xx/testmode.c index 55ec4428922b..e64403b6896d 100644 --- a/drivers/net/wireless/wl12xx/wl1271_testmode.c +++ b/drivers/net/wireless/wl12xx/testmode.c | |||
@@ -20,13 +20,13 @@ | |||
20 | * 02110-1301 USA | 20 | * 02110-1301 USA |
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | #include "wl1271_testmode.h" | 23 | #include "testmode.h" |
24 | 24 | ||
25 | #include <linux/slab.h> | 25 | #include <linux/slab.h> |
26 | #include <net/genetlink.h> | 26 | #include <net/genetlink.h> |
27 | 27 | ||
28 | #include "wl1271.h" | 28 | #include "wl12xx.h" |
29 | #include "wl1271_acx.h" | 29 | #include "acx.h" |
30 | 30 | ||
31 | #define WL1271_TM_MAX_DATA_LENGTH 1024 | 31 | #define WL1271_TM_MAX_DATA_LENGTH 1024 |
32 | 32 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_testmode.h b/drivers/net/wireless/wl12xx/testmode.h index c196d28f9d9d..8071654259ea 100644 --- a/drivers/net/wireless/wl12xx/wl1271_testmode.h +++ b/drivers/net/wireless/wl12xx/testmode.h | |||
@@ -21,8 +21,8 @@ | |||
21 | * | 21 | * |
22 | */ | 22 | */ |
23 | 23 | ||
24 | #ifndef __WL1271_TESTMODE_H__ | 24 | #ifndef __TESTMODE_H__ |
25 | #define __WL1271_TESTMODE_H__ | 25 | #define __TESTMODE_H__ |
26 | 26 | ||
27 | #include <net/mac80211.h> | 27 | #include <net/mac80211.h> |
28 | 28 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_tx.c b/drivers/net/wireless/wl12xx/tx.c index 279be5b98d9f..d332b3f6d0fa 100644 --- a/drivers/net/wireless/wl12xx/wl1271_tx.c +++ b/drivers/net/wireless/wl12xx/tx.c | |||
@@ -24,11 +24,11 @@ | |||
24 | #include <linux/kernel.h> | 24 | #include <linux/kernel.h> |
25 | #include <linux/module.h> | 25 | #include <linux/module.h> |
26 | 26 | ||
27 | #include "wl1271.h" | 27 | #include "wl12xx.h" |
28 | #include "wl1271_io.h" | 28 | #include "io.h" |
29 | #include "wl1271_reg.h" | 29 | #include "reg.h" |
30 | #include "wl1271_ps.h" | 30 | #include "ps.h" |
31 | #include "wl1271_tx.h" | 31 | #include "tx.h" |
32 | 32 | ||
33 | static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) | 33 | static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb) |
34 | { | 34 | { |
@@ -209,7 +209,7 @@ u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set) | |||
209 | rate_set >>= 1; | 209 | rate_set >>= 1; |
210 | } | 210 | } |
211 | 211 | ||
212 | #ifdef CONFIG_WL1271_HT | 212 | #ifdef CONFIG_WL12XX_HT |
213 | /* MCS rates indication are on bits 16 - 23 */ | 213 | /* MCS rates indication are on bits 16 - 23 */ |
214 | rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; | 214 | rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates; |
215 | 215 | ||
diff --git a/drivers/net/wireless/wl12xx/wl1271_tx.h b/drivers/net/wireless/wl12xx/tx.h index 9dc6f228c0de..903e5dc69b7a 100644 --- a/drivers/net/wireless/wl12xx/wl1271_tx.h +++ b/drivers/net/wireless/wl12xx/tx.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_TX_H__ | 25 | #ifndef __TX_H__ |
26 | #define __WL1271_TX_H__ | 26 | #define __TX_H__ |
27 | 27 | ||
28 | #define TX_HW_BLOCK_SPARE 2 | 28 | #define TX_HW_BLOCK_SPARE 2 |
29 | #define TX_HW_BLOCK_SIZE 252 | 29 | #define TX_HW_BLOCK_SIZE 252 |
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl12xx.h index ab53162b4343..3c836e6063e6 100644 --- a/drivers/net/wireless/wl12xx/wl1271.h +++ b/drivers/net/wireless/wl12xx/wl12xx.h | |||
@@ -22,8 +22,8 @@ | |||
22 | * | 22 | * |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #ifndef __WL1271_H__ | 25 | #ifndef __WL12XX_H__ |
26 | #define __WL1271_H__ | 26 | #define __WL12XX_H__ |
27 | 27 | ||
28 | #include <linux/mutex.h> | 28 | #include <linux/mutex.h> |
29 | #include <linux/completion.h> | 29 | #include <linux/completion.h> |
@@ -32,8 +32,8 @@ | |||
32 | #include <linux/bitops.h> | 32 | #include <linux/bitops.h> |
33 | #include <net/mac80211.h> | 33 | #include <net/mac80211.h> |
34 | 34 | ||
35 | #include "wl1271_conf.h" | 35 | #include "conf.h" |
36 | #include "wl1271_ini.h" | 36 | #include "ini.h" |
37 | 37 | ||
38 | #define DRIVER_NAME "wl1271" | 38 | #define DRIVER_NAME "wl1271" |
39 | #define DRIVER_PREFIX DRIVER_NAME ": " | 39 | #define DRIVER_PREFIX DRIVER_NAME ": " |