]> Pileus Git - ~andy/linux/commitdiff
wl1271: Change wl12xx Files Names
authorShahar Levi <shahar_levi@ti.com>
Mon, 8 Nov 2010 11:20:10 +0000 (11:20 +0000)
committerLuciano Coelho <luciano.coelho@nokia.com>
Mon, 22 Nov 2010 14:45:09 +0000 (16:45 +0200)
All files name prefix removed due to the fact that wl12xx driver supports
wl1271 and wl1273.
Also the definition in Kconfig and header files changed respectively.

Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
33 files changed:
drivers/net/wireless/wl12xx/Kconfig
drivers/net/wireless/wl12xx/Makefile
drivers/net/wireless/wl12xx/acx.c [moved from drivers/net/wireless/wl12xx/wl1271_acx.c with 99% similarity]
drivers/net/wireless/wl12xx/acx.h [moved from drivers/net/wireless/wl12xx/wl1271_acx.h with 99% similarity]
drivers/net/wireless/wl12xx/boot.c [moved from drivers/net/wireless/wl12xx/wl1271_boot.c with 99% similarity]
drivers/net/wireless/wl12xx/boot.h [moved from drivers/net/wireless/wl12xx/wl1271_boot.h with 98% similarity]
drivers/net/wireless/wl12xx/cmd.c [moved from drivers/net/wireless/wl12xx/wl1271_cmd.c with 99% similarity]
drivers/net/wireless/wl12xx/cmd.h [moved from drivers/net/wireless/wl12xx/wl1271_cmd.h with 99% similarity]
drivers/net/wireless/wl12xx/conf.h [moved from drivers/net/wireless/wl12xx/wl1271_conf.h with 99% similarity]
drivers/net/wireless/wl12xx/debugfs.c [moved from drivers/net/wireless/wl12xx/wl1271_debugfs.c with 99% similarity]
drivers/net/wireless/wl12xx/debugfs.h [moved from drivers/net/wireless/wl12xx/wl1271_debugfs.h with 93% similarity]
drivers/net/wireless/wl12xx/event.c [moved from drivers/net/wireless/wl12xx/wl1271_event.c with 98% similarity]
drivers/net/wireless/wl12xx/event.h [moved from drivers/net/wireless/wl12xx/wl1271_event.h with 98% similarity]
drivers/net/wireless/wl12xx/ini.h [moved from drivers/net/wireless/wl12xx/wl1271_ini.h with 98% similarity]
drivers/net/wireless/wl12xx/init.c [moved from drivers/net/wireless/wl12xx/wl1271_init.c with 98% similarity]
drivers/net/wireless/wl12xx/init.h [moved from drivers/net/wireless/wl12xx/wl1271_init.h with 93% similarity]
drivers/net/wireless/wl12xx/io.c [moved from drivers/net/wireless/wl12xx/wl1271_io.c with 99% similarity]
drivers/net/wireless/wl12xx/io.h [moved from drivers/net/wireless/wl12xx/wl1271_io.h with 98% similarity]
drivers/net/wireless/wl12xx/main.c [moved from drivers/net/wireless/wl12xx/wl1271_main.c with 99% similarity]
drivers/net/wireless/wl12xx/ps.c [moved from drivers/net/wireless/wl12xx/wl1271_ps.c with 98% similarity]
drivers/net/wireless/wl12xx/ps.h [moved from drivers/net/wireless/wl12xx/wl1271_ps.h with 92% similarity]
drivers/net/wireless/wl12xx/reg.h [moved from drivers/net/wireless/wl12xx/wl1271_reg.h with 100% similarity]
drivers/net/wireless/wl12xx/rx.c [moved from drivers/net/wireless/wl12xx/wl1271_rx.c with 97% similarity]
drivers/net/wireless/wl12xx/rx.h [moved from drivers/net/wireless/wl12xx/wl1271_rx.h with 98% similarity]
drivers/net/wireless/wl12xx/scan.c [moved from drivers/net/wireless/wl12xx/wl1271_scan.c with 98% similarity]
drivers/net/wireless/wl12xx/scan.h [moved from drivers/net/wireless/wl12xx/wl1271_scan.h with 97% similarity]
drivers/net/wireless/wl12xx/sdio.c [moved from drivers/net/wireless/wl12xx/wl1271_sdio.c with 99% similarity]
drivers/net/wireless/wl12xx/spi.c [moved from drivers/net/wireless/wl12xx/wl1271_spi.c with 99% similarity]
drivers/net/wireless/wl12xx/testmode.c [moved from drivers/net/wireless/wl12xx/wl1271_testmode.c with 98% similarity]
drivers/net/wireless/wl12xx/testmode.h [moved from drivers/net/wireless/wl12xx/wl1271_testmode.h with 93% similarity]
drivers/net/wireless/wl12xx/tx.c [moved from drivers/net/wireless/wl12xx/wl1271_tx.c with 98% similarity]
drivers/net/wireless/wl12xx/tx.h [moved from drivers/net/wireless/wl12xx/wl1271_tx.h with 99% similarity]
drivers/net/wireless/wl12xx/wl12xx.h [moved from drivers/net/wireless/wl12xx/wl1271.h with 99% similarity]

index 02ad4bc15976904590cb70ff96c7c686345e0d59..d2adeb1f72b76cd9fec451cc3c60af4a6e1ae0a9 100644 (file)
@@ -1,56 +1,58 @@
-menuconfig WL12XX
+menuconfig WL12XX_MENU
        tristate "TI wl12xx driver support"
        depends on MAC80211 && EXPERIMENTAL
        ---help---
-         This will enable TI wl12xx driver support. The drivers make
-         use of the mac80211 stack.
+         This will enable TI wl12xx driver support for the following chips:
+         wl1271 and wl1273.
+         The drivers make use of the mac80211 stack.
 
-config WL1271
-       tristate "TI wl1271 support"
-       depends on WL12XX && GENERIC_HARDIRQS
+config WL12XX
+       tristate "TI wl12xx support"
+       depends on WL12XX_MENU && GENERIC_HARDIRQS
        depends on INET
        select FW_LOADER
        select CRC7
        ---help---
-         This module adds support for wireless adapters based on the
-         TI wl1271 chipset.
+         This module adds support for wireless adapters based on TI wl1271 and
+         TI wl1273 chipsets. This module does *not* include support for wl1251.
+         For wl1251 support, use the separate homonymous driver instead.
 
-         If you choose to build a module, it'll be called wl1271. Say N if
+         If you choose to build a module, it will be called wl12xx. Say N if
          unsure.
 
-config WL1271_HT
-        bool "TI wl1271 802.11 HT support (EXPERIMENTAL)"
-        depends on WL1271 && EXPERIMENTAL
+config WL12XX_HT
+        bool "TI wl12xx 802.11 HT support (EXPERIMENTAL)"
+        depends on WL12XX && EXPERIMENTAL
         default n
         ---help---
-          This will enable 802.11 HT support for TI wl1271 chipset.
+          This will enable 802.11 HT support in the wl12xx module.
 
          That configuration is temporary due to the code incomplete and
          still in testing process.
 
-config WL1271_SPI
-       tristate "TI wl1271 SPI support"
-       depends on WL1271 && SPI_MASTER
+config WL12XX_SPI
+       tristate "TI wl12xx SPI support"
+       depends on WL12XX && SPI_MASTER
        ---help---
          This module adds support for the SPI interface of adapters using
-         TI wl1271 chipset.  Select this if your platform is using
+         TI wl12xx chipsets.  Select this if your platform is using
          the SPI bus.
 
-         If you choose to build a module, it'll be called wl1251_spi.
+         If you choose to build a module, it'll be called wl12xx_spi.
          Say N if unsure.
 
-config WL1271_SDIO
-       tristate "TI wl1271 SDIO support"
-       depends on WL1271 && MMC
+config WL12XX_SDIO
+       tristate "TI wl12xx SDIO support"
+       depends on WL12XX && MMC
        ---help---
          This module adds support for the SDIO interface of adapters using
-         TI wl1271 chipset.  Select this if your platform is using
+         TI wl12xx chipsets.  Select this if your platform is using
          the SDIO bus.
 
-         If you choose to build a module, it'll be called
-         wl1271_sdio. Say N if unsure.
+         If you choose to build a module, it'll be called wl12xx_sdio.
+         Say N if unsure.
 
 config WL12XX_PLATFORM_DATA
        bool
-       depends on WL1271_SDIO != n || WL1251_SDIO != n
+       depends on WL12XX_SDIO != n || WL1251_SDIO != n
        default y
index 3a807444b2af425f251f41ae026bfa1d350100e7..005a758174d98b1d22eb5ff8c0a855c7572da6a5 100644 (file)
@@ -1,12 +1,13 @@
-wl1271-objs            = wl1271_main.o  wl1271_cmd.o wl1271_io.o \
-                         wl1271_event.o wl1271_tx.o  wl1271_rx.o   \
-                         wl1271_ps.o    wl1271_acx.o wl1271_boot.o \
-                         wl1271_init.o  wl1271_debugfs.o wl1271_scan.o
+wl12xx-objs            = main.o cmd.o io.o event.o tx.o rx.o ps.o acx.o \
+                         boot.o init.o debugfs.o scan.o
 
-wl1271-$(CONFIG_NL80211_TESTMODE)      += wl1271_testmode.o
-obj-$(CONFIG_WL1271)   += wl1271.o
-obj-$(CONFIG_WL1271_SPI)       += wl1271_spi.o
-obj-$(CONFIG_WL1271_SDIO)      += wl1271_sdio.o
+wl12xx_spi-objs        = spi.o
+wl12xx_sdio-objs       = sdio.o
+
+wl12xx-$(CONFIG_NL80211_TESTMODE)      += testmode.o
+obj-$(CONFIG_WL12XX)                   += wl12xx.o
+obj-$(CONFIG_WL12XX_SPI)               += wl12xx_spi.o
+obj-$(CONFIG_WL12XX_SDIO)              += wl12xx_sdio.o
 
 # small builtin driver bit
 obj-$(CONFIG_WL12XX_PLATFORM_DATA)     += wl12xx_platform_data.o
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_acx.c
rename to drivers/net/wireless/wl12xx/acx.c
index bd7f95f4eef3c1a6c8a85902845a761862098685..bc1085bb6cfb81d92724bfb4ca082ac91017f443 100644 (file)
@@ -21,7 +21,7 @@
  *
  */
 
-#include "wl1271_acx.h"
+#include "acx.h"
 
 #include <linux/module.h>
 #include <linux/platform_device.h>
 #include <linux/spi/spi.h>
 #include <linux/slab.h>
 
-#include "wl1271.h"
+#include "wl12xx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_reg.h"
-#include "wl1271_ps.h"
+#include "reg.h"
+#include "ps.h"
 
 int wl1271_acx_wake_up_conditions(struct wl1271 *wl)
 {
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_acx.h
rename to drivers/net/wireless/wl12xx/acx.h
index b7c490845f3e15c19a4e5562c2261308e0150268..f41a9c1df12fb43f4bbba853f0983c7c81d17c18 100644 (file)
  *
  */
 
-#ifndef __WL1271_ACX_H__
-#define __WL1271_ACX_H__
+#ifndef __ACX_H__
+#define __ACX_H__
 
-#include "wl1271.h"
-#include "wl1271_cmd.h"
+#include "wl12xx.h"
+#include "cmd.h"
 
 /*************************************************************************
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_boot.c
rename to drivers/net/wireless/wl12xx/boot.c
index 5b190728ca554bffd5178f51561f0002ce7c88d0..1eafb81758321beec711c57ab1a9f35d42bd28f5 100644 (file)
 #include <linux/gpio.h>
 #include <linux/slab.h>
 
-#include "wl1271_acx.h"
-#include "wl1271_reg.h"
-#include "wl1271_boot.h"
-#include "wl1271_io.h"
-#include "wl1271_event.h"
+#include "acx.h"
+#include "reg.h"
+#include "boot.h"
+#include "io.h"
+#include "event.h"
 
 static struct wl1271_partition_set part_table[PART_TABLE_LEN] = {
        [PART_DOWN] = {
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_boot.h
rename to drivers/net/wireless/wl12xx/boot.h
index f73b0b15a280c3c1e0c20cc2019ff88fd8f1dbd9..c7d771959f3ad7c5dff5cd21ad518b92cb7f5583 100644 (file)
@@ -24,7 +24,7 @@
 #ifndef __BOOT_H__
 #define __BOOT_H__
 
-#include "wl1271.h"
+#include "wl12xx.h"
 
 int wl1271_boot(struct wl1271 *wl);
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_cmd.c
rename to drivers/net/wireless/wl12xx/cmd.c
index 5d3e8485ea4e51dfca8757ec116cfb8f63736fdf..f3d0541aaad6297307551ffbd585225d5911f018 100644 (file)
 #include <linux/ieee80211.h>
 #include <linux/slab.h>
 
-#include "wl1271.h"
-#include "wl1271_reg.h"
-#include "wl1271_io.h"
-#include "wl1271_acx.h"
+#include "wl12xx.h"
+#include "reg.h"
+#include "io.h"
+#include "acx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_cmd.h"
-#include "wl1271_event.h"
+#include "cmd.h"
+#include "event.h"
 
 #define WL1271_CMD_FAST_POLL_COUNT       50
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_cmd.h
rename to drivers/net/wireless/wl12xx/cmd.h
index a0caf4fc37b1a4936917b3287442e72d1fa5fdd8..893dbf72c2d9acb00f9a509085a76a580d544e86 100644 (file)
  *
  */
 
-#ifndef __WL1271_CMD_H__
-#define __WL1271_CMD_H__
+#ifndef __CMD_H__
+#define __CMD_H__
 
-#include "wl1271.h"
+#include "wl12xx.h"
 
 struct acx_header;
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_conf.h
rename to drivers/net/wireless/wl12xx/conf.h
index 5f78a6cb14334b55f5e195d3df838d80ec3c7649..a16b3616e4308fa95a1ebe37419e46a97db12a63 100644 (file)
@@ -21,8 +21,8 @@
  *
  */
 
-#ifndef __WL1271_CONF_H__
-#define __WL1271_CONF_H__
+#ifndef __CONF_H__
+#define __CONF_H__
 
 enum {
        CONF_HW_BIT_RATE_1MBPS   = BIT(0),
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_debugfs.c
rename to drivers/net/wireless/wl12xx/debugfs.c
index 3468b849852e05493979fc0c29fe62c04310924d..dd71b7d2105c248beacc8f4d01ee8ceaf92780fc 100644 (file)
  *
  */
 
-#include "wl1271_debugfs.h"
+#include "debugfs.h"
 
 #include <linux/skbuff.h>
 #include <linux/slab.h>
 
-#include "wl1271.h"
-#include "wl1271_acx.h"
-#include "wl1271_ps.h"
-#include "wl1271_io.h"
+#include "wl12xx.h"
+#include "acx.h"
+#include "ps.h"
+#include "io.h"
 
 /* ms */
 #define WL1271_DEBUGFS_STATS_LIFETIME 1000
similarity index 93%
rename from drivers/net/wireless/wl12xx/wl1271_debugfs.h
rename to drivers/net/wireless/wl12xx/debugfs.h
index 00a45b2669add6a8841d057fb8d950353d0f38e9..254c5b292cf69382cefcea5db30de9b2080cd72e 100644 (file)
  *
  */
 
-#ifndef WL1271_DEBUGFS_H
-#define WL1271_DEBUGFS_H
+#ifndef __DEBUGFS_H__
+#define __DEBUGFS_H__
 
-#include "wl1271.h"
+#include "wl12xx.h"
 
 int wl1271_debugfs_init(struct wl1271 *wl);
 void wl1271_debugfs_exit(struct wl1271 *wl);
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_event.c
rename to drivers/net/wireless/wl12xx/event.c
index 38ccef7d73a5213e855b6e4def49b3cacf50a203..f9146f5242fb93dce4e4e0b8398f834043fa1744 100644 (file)
  *
  */
 
-#include "wl1271.h"
-#include "wl1271_reg.h"
-#include "wl1271_io.h"
-#include "wl1271_event.h"
-#include "wl1271_ps.h"
-#include "wl1271_scan.h"
+#include "wl12xx.h"
+#include "reg.h"
+#include "io.h"
+#include "event.h"
+#include "ps.h"
+#include "scan.h"
 #include "wl12xx_80211.h"
 
 void wl1271_pspoll_work(struct work_struct *work)
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_event.h
rename to drivers/net/wireless/wl12xx/event.h
index e4751667cf5ef905b8c842883beb3a037b392c90..6cce0143adb581ca2d0f6b2577d70fd494e64f48 100644 (file)
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef __WL1271_EVENT_H__
-#define __WL1271_EVENT_H__
+#ifndef __EVENT_H__
+#define __EVENT_H__
 
 /*
  * Mbox events
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_ini.h
rename to drivers/net/wireless/wl12xx/ini.h
index 2313047d401524ad62b4b396f3462cafe94e1060..c330a2583dfd0c8f62f516020e79073d154278ca 100644 (file)
@@ -21,8 +21,8 @@
  *
  */
 
-#ifndef __WL1271_INI_H__
-#define __WL1271_INI_H__
+#ifndef __INI_H__
+#define __INI_H__
 
 #define WL1271_INI_MAX_SMART_REFLEX_PARAM 16
 
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_init.c
rename to drivers/net/wireless/wl12xx/init.c
index 8044bba70ee789b377e1183cef516cd34d36d02b..492edc0f7aca3bd42fcad2c13ad859f49e3be158 100644 (file)
 #include <linux/module.h>
 #include <linux/slab.h>
 
-#include "wl1271_init.h"
+#include "init.h"
 #include "wl12xx_80211.h"
-#include "wl1271_acx.h"
-#include "wl1271_cmd.h"
-#include "wl1271_reg.h"
+#include "acx.h"
+#include "cmd.h"
+#include "reg.h"
 
 static int wl1271_init_hwenc_config(struct wl1271 *wl)
 {
similarity index 93%
rename from drivers/net/wireless/wl12xx/wl1271_init.h
rename to drivers/net/wireless/wl12xx/init.h
index bc26f8c53b91bedb7a38091e2d38389d0d16606c..7762421f86021ac7c283df660c0640eb70141c28 100644 (file)
  *
  */
 
-#ifndef __WL1271_INIT_H__
-#define __WL1271_INIT_H__
+#ifndef __INIT_H__
+#define __INIT_H__
 
-#include "wl1271.h"
+#include "wl12xx.h"
 
 int wl1271_hw_init_power_auth(struct wl1271 *wl);
 int wl1271_init_templates_config(struct wl1271 *wl);
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_io.c
rename to drivers/net/wireless/wl12xx/io.c
index c8759acef131976d12671bdc3d03d8213824c621..35c2f1aca6ba4bfb3a3bb3134bff52f9fdcaef6c 100644 (file)
@@ -26,9 +26,9 @@
 #include <linux/crc7.h>
 #include <linux/spi/spi.h>
 
-#include "wl1271.h"
+#include "wl12xx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_io.h"
+#include "io.h"
 
 #define OCP_CMD_LOOP  32
 
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_io.h
rename to drivers/net/wireless/wl12xx/io.h
index c1f92e65ded0b8c2895cce3b634562bb2b329b97..844b32b170bb615cfd5102c36996ee47be0b8570 100644 (file)
  *
  */
 
-#ifndef __WL1271_IO_H__
-#define __WL1271_IO_H__
+#ifndef __IO_H__
+#define __IO_H__
 
-#include "wl1271_reg.h"
+#include "reg.h"
 
 #define HW_ACCESS_MEMORY_MAX_RANGE     0x1FFC0
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_main.c
rename to drivers/net/wireless/wl12xx/main.c
index f5b1d19bc88d7f1a13ff66563693fb792c533a6d..c00523008be40c37158d712a29e87f40d771456b 100644 (file)
 #include <linux/platform_device.h>
 #include <linux/slab.h>
 
-#include "wl1271.h"
+#include "wl12xx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_reg.h"
-#include "wl1271_io.h"
-#include "wl1271_event.h"
-#include "wl1271_tx.h"
-#include "wl1271_rx.h"
-#include "wl1271_ps.h"
-#include "wl1271_init.h"
-#include "wl1271_debugfs.h"
-#include "wl1271_cmd.h"
-#include "wl1271_boot.h"
-#include "wl1271_testmode.h"
-#include "wl1271_scan.h"
+#include "reg.h"
+#include "io.h"
+#include "event.h"
+#include "tx.h"
+#include "rx.h"
+#include "ps.h"
+#include "init.h"
+#include "debugfs.h"
+#include "cmd.h"
+#include "boot.h"
+#include "testmode.h"
+#include "scan.h"
 
 #define WL1271_BOOT_RETRIES 3
 
@@ -884,7 +884,7 @@ static int wl1271_op_tx(struct ieee80211_hw *hw, struct sk_buff *skb)
                set_bit(WL1271_FLAG_STA_RATES_CHANGED, &wl->flags);
        }
 
-#ifdef CONFIG_WL1271_HT
+#ifdef CONFIG_WL12XX_HT
        if (sta &&
            sta->ht_cap.ht_supported &&
            ((wl->sta_rate_set >> HW_HT_RATES_OFFSET) !=
@@ -2247,8 +2247,8 @@ static const u8 wl1271_rate_to_idx_2ghz[] = {
 /* 11n STA capabilities */
 #define HW_RX_HIGHEST_RATE     72
 
-#ifdef CONFIG_WL1271_HT
-#define WL1271_HT_CAP { \
+#ifdef CONFIG_WL12XX_HT
+#define WL12XX_HT_CAP { \
        .cap = IEEE80211_HT_CAP_GRN_FLD | IEEE80211_HT_CAP_SGI_20, \
        .ht_supported = true, \
        .ampdu_factor = IEEE80211_HT_MAX_AMPDU_8K, \
@@ -2260,7 +2260,7 @@ static const u8 wl1271_rate_to_idx_2ghz[] = {
                }, \
 }
 #else
-#define WL1271_HT_CAP { \
+#define WL12XX_HT_CAP { \
        .ht_supported = false, \
 }
 #endif
@@ -2271,7 +2271,7 @@ static struct ieee80211_supported_band wl1271_band_2ghz = {
        .n_channels = ARRAY_SIZE(wl1271_channels),
        .bitrates = wl1271_rates,
        .n_bitrates = ARRAY_SIZE(wl1271_rates),
-       .ht_cap = WL1271_HT_CAP,
+       .ht_cap = WL12XX_HT_CAP,
 };
 
 /* 5 GHz data rates for WL1273 */
@@ -2386,7 +2386,7 @@ static struct ieee80211_supported_band wl1271_band_5ghz = {
        .n_channels = ARRAY_SIZE(wl1271_channels_5ghz),
        .bitrates = wl1271_rates_5ghz,
        .n_bitrates = ARRAY_SIZE(wl1271_rates_5ghz),
-       .ht_cap = WL1271_HT_CAP,
+       .ht_cap = WL12XX_HT_CAP,
 };
 
 static const u8 *wl1271_band_rate_to_idx[] = {
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_ps.c
rename to drivers/net/wireless/wl12xx/ps.c
index e3c332e2f97c06646174e6661241f723e546b561..60a3738eadb0c2e6cf99bbce22be10722cec5633 100644 (file)
@@ -21,9 +21,9 @@
  *
  */
 
-#include "wl1271_reg.h"
-#include "wl1271_ps.h"
-#include "wl1271_io.h"
+#include "reg.h"
+#include "ps.h"
+#include "io.h"
 
 #define WL1271_WAKEUP_TIMEOUT 500
 
similarity index 92%
rename from drivers/net/wireless/wl12xx/wl1271_ps.h
rename to drivers/net/wireless/wl12xx/ps.h
index 6ba7b032736f260aa5c418b1c32710b025c70496..8415060f08e5023e1233a131ba46e65df962c7aa 100644 (file)
  *
  */
 
-#ifndef __WL1271_PS_H__
-#define __WL1271_PS_H__
+#ifndef __PS_H__
+#define __PS_H__
 
-#include "wl1271.h"
-#include "wl1271_acx.h"
+#include "wl12xx.h"
+#include "acx.h"
 
 int wl1271_ps_set_mode(struct wl1271 *wl, enum wl1271_cmd_ps_mode mode,
                       u32 rates, bool send);
similarity index 97%
rename from drivers/net/wireless/wl12xx/wl1271_rx.c
rename to drivers/net/wireless/wl12xx/rx.c
index cacfee56a0d069c24c2f3527b95ab249666e8436..682304c30b81e208b15cc3dda2b6b8f43cf4a4c8 100644 (file)
 
 #include <linux/gfp.h>
 
-#include "wl1271.h"
-#include "wl1271_acx.h"
-#include "wl1271_reg.h"
-#include "wl1271_rx.h"
-#include "wl1271_io.h"
+#include "wl12xx.h"
+#include "acx.h"
+#include "reg.h"
+#include "rx.h"
+#include "io.h"
 
 static u8 wl1271_rx_get_mem_block(struct wl1271_fw_status *status,
                                  u32 drv_rx_counter)
@@ -61,7 +61,7 @@ static void wl1271_rx_status(struct wl1271 *wl,
 
        status->rate_idx = wl1271_rate_to_idx(desc->rate, desc_band);
 
-#ifdef CONFIG_WL1271_HT
+#ifdef CONFIG_WL12XX_HT
        /* 11n support */
        if (desc->rate <= CONF_HW_RXTX_RATE_MCS0)
                status->flag |= RX_FLAG_HT;
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_rx.h
rename to drivers/net/wireless/wl12xx/rx.h
index 6d41981ce53fcb7f16d16e9543d847bb3a76920f..3abb26fe0364f3d5e66c76d2ec7000a8b056f4ea 100644 (file)
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef __WL1271_RX_H__
-#define __WL1271_RX_H__
+#ifndef __RX_H__
+#define __RX_H__
 
 #include <linux/bitops.h>
 
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_scan.c
rename to drivers/net/wireless/wl12xx/scan.c
index e0661a543a3591f32ace38d1ab89a7b642d218c8..f3f2c5b011ee1349dc8ecafc1f19afc9580d2574 100644 (file)
 
 #include <linux/ieee80211.h>
 
-#include "wl1271.h"
-#include "wl1271_cmd.h"
-#include "wl1271_scan.h"
-#include "wl1271_acx.h"
+#include "wl12xx.h"
+#include "cmd.h"
+#include "scan.h"
+#include "acx.h"
 
 void wl1271_scan_complete_work(struct work_struct *work)
 {
similarity index 97%
rename from drivers/net/wireless/wl12xx/wl1271_scan.h
rename to drivers/net/wireless/wl12xx/scan.h
index 6d57127b5e6be10b438d73f51faacf49e86c75b0..421a750add5a3857fa8e0975c0f02d8ce3641be0 100644 (file)
  *
  */
 
-#ifndef __WL1271_SCAN_H__
-#define __WL1271_SCAN_H__
+#ifndef __SCAN_H__
+#define __SCAN_H__
 
-#include "wl1271.h"
+#include "wl12xx.h"
 
 int wl1271_scan(struct wl1271 *wl, const u8 *ssid, size_t ssid_len,
                struct cfg80211_scan_request *req);
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_sdio.c
rename to drivers/net/wireless/wl12xx/sdio.c
index 784ef343264139082d12286a816e7c8fa1dc65f1..93cbb8d5aba9f7bcbc6630dd1784f7363b99f7c9 100644 (file)
@@ -32,9 +32,9 @@
 #include <linux/wl12xx.h>
 #include <linux/pm_runtime.h>
 
-#include "wl1271.h"
+#include "wl12xx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_io.h"
+#include "io.h"
 
 #ifndef SDIO_VENDOR_ID_TI
 #define SDIO_VENDOR_ID_TI              0x0097
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_spi.c
rename to drivers/net/wireless/wl12xx/spi.c
index ef801680773f623017d7e4e514d5a827daa85d98..46714910f98ccb90f378ac33adce648bfabdf27c 100644 (file)
 #include <linux/wl12xx.h>
 #include <linux/slab.h>
 
-#include "wl1271.h"
+#include "wl12xx.h"
 #include "wl12xx_80211.h"
-#include "wl1271_io.h"
+#include "io.h"
 
-#include "wl1271_reg.h"
+#include "reg.h"
 
 #define WSPI_CMD_READ                 0x40000000
 #define WSPI_CMD_WRITE                0x00000000
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_testmode.c
rename to drivers/net/wireless/wl12xx/testmode.c
index 55ec4428922b2f154afc458ce503259d96161dd0..e64403b6896d7f135af9f2743345dcfeb8de28f2 100644 (file)
  * 02110-1301 USA
  *
  */
-#include "wl1271_testmode.h"
+#include "testmode.h"
 
 #include <linux/slab.h>
 #include <net/genetlink.h>
 
-#include "wl1271.h"
-#include "wl1271_acx.h"
+#include "wl12xx.h"
+#include "acx.h"
 
 #define WL1271_TM_MAX_DATA_LENGTH 1024
 
similarity index 93%
rename from drivers/net/wireless/wl12xx/wl1271_testmode.h
rename to drivers/net/wireless/wl12xx/testmode.h
index c196d28f9d9de51e4ee961fdb848f8e34a86ee8a..8071654259eacd59eaa9aba46da40329f5c6aec2 100644 (file)
@@ -21,8 +21,8 @@
  *
  */
 
-#ifndef __WL1271_TESTMODE_H__
-#define __WL1271_TESTMODE_H__
+#ifndef __TESTMODE_H__
+#define __TESTMODE_H__
 
 #include <net/mac80211.h>
 
similarity index 98%
rename from drivers/net/wireless/wl12xx/wl1271_tx.c
rename to drivers/net/wireless/wl12xx/tx.c
index 279be5b98d9fe2f00e6439f4961b80b7e9823516..d332b3f6d0fa443c954058dcd376197321d9eea8 100644 (file)
 #include <linux/kernel.h>
 #include <linux/module.h>
 
-#include "wl1271.h"
-#include "wl1271_io.h"
-#include "wl1271_reg.h"
-#include "wl1271_ps.h"
-#include "wl1271_tx.h"
+#include "wl12xx.h"
+#include "io.h"
+#include "reg.h"
+#include "ps.h"
+#include "tx.h"
 
 static int wl1271_alloc_tx_id(struct wl1271 *wl, struct sk_buff *skb)
 {
@@ -209,7 +209,7 @@ u32 wl1271_tx_enabled_rates_get(struct wl1271 *wl, u32 rate_set)
                rate_set >>= 1;
        }
 
-#ifdef CONFIG_WL1271_HT
+#ifdef CONFIG_WL12XX_HT
        /* MCS rates indication are on bits 16 - 23 */
        rate_set >>= HW_HT_RATES_OFFSET - band->n_bitrates;
 
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271_tx.h
rename to drivers/net/wireless/wl12xx/tx.h
index 9dc6f228c0de9b7696a1eb6883a0f593cec972be..903e5dc69b7a2d0dd62b2c5f488b31f3071114a8 100644 (file)
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef __WL1271_TX_H__
-#define __WL1271_TX_H__
+#ifndef __TX_H__
+#define __TX_H__
 
 #define TX_HW_BLOCK_SPARE                2
 #define TX_HW_BLOCK_SIZE                 252
similarity index 99%
rename from drivers/net/wireless/wl12xx/wl1271.h
rename to drivers/net/wireless/wl12xx/wl12xx.h
index ab53162b434339fc93e75de833b3f0c651bd74dd..3c836e6063e6bac5474eb1db1290159eaeaccdfb 100644 (file)
@@ -22,8 +22,8 @@
  *
  */
 
-#ifndef __WL1271_H__
-#define __WL1271_H__
+#ifndef __WL12XX_H__
+#define __WL12XX_H__
 
 #include <linux/mutex.h>
 #include <linux/completion.h>
@@ -32,8 +32,8 @@
 #include <linux/bitops.h>
 #include <net/mac80211.h>
 
-#include "wl1271_conf.h"
-#include "wl1271_ini.h"
+#include "conf.h"
+#include "ini.h"
 
 #define DRIVER_NAME "wl1271"
 #define DRIVER_PREFIX DRIVER_NAME ": "