diff options
author | Roger Quadros <roger.quadros@nokia.com> | 2010-12-01 04:58:54 -0500 |
---|---|---|
committer | Luciano Coelho <luciano.coelho@nokia.com> | 2010-12-15 08:03:17 -0500 |
commit | b69eb80bf7a6922fef8056d42b06124a7de31501 (patch) | |
tree | 6c792d2bd69997057abb915a3056d0d52f1fa2e9 /drivers/net/wireless/wl12xx/Kconfig | |
parent | fb6a6819fad0d71b47577a51709440a9f8441f0a (diff) |
wl1271_sdio_test: Add module for sdio RX/TX testing
This module enables individually generating RX and TX traffic
over the SDIO bus on which the WL1271 chipset is connected.
This is required to perform RF interference testing.
The module takes 2 module parameters 'rx' and 'tx'.
To generate RX traffic:
modprobe wl1271_sdio_test rx=1
To generate TX traffic:
modprobe wl1271_sdio_test tx=1
To generate both RX & TX traffic, set both rx and tx to 1.
You can change the testing configuration at runtime by changing
the rx & tx values at /sys/modules/wl1271_sdio_test/
To stop testing simply unload the module.
Signed-off-by: Roger Quadros <roger.quadros@nokia.com>
Reviewed-by: Carlos Chinea <carlos.chinea@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/Kconfig')
-rw-r--r-- | drivers/net/wireless/wl12xx/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/Kconfig b/drivers/net/wireless/wl12xx/Kconfig index d2adeb1f72b7..085bc44d814b 100644 --- a/drivers/net/wireless/wl12xx/Kconfig +++ b/drivers/net/wireless/wl12xx/Kconfig | |||
@@ -52,6 +52,14 @@ config WL12XX_SDIO | |||
52 | If you choose to build a module, it'll be called wl12xx_sdio. | 52 | If you choose to build a module, it'll be called wl12xx_sdio. |
53 | Say N if unsure. | 53 | Say N if unsure. |
54 | 54 | ||
55 | config WL1271_SDIO_TEST | ||
56 | tristate "TI wl1271 SDIO testing support" | ||
57 | depends on WL1271 && MMC | ||
58 | ---help--- | ||
59 | This module adds support for the SDIO bus testing with the | ||
60 | TI wl1271 chipset. Select this if your platform is using | ||
61 | the SDIO bus. | ||
62 | |||
55 | config WL12XX_PLATFORM_DATA | 63 | config WL12XX_PLATFORM_DATA |
56 | bool | 64 | bool |
57 | depends on WL12XX_SDIO != n || WL1251_SDIO != n | 65 | depends on WL12XX_SDIO != n || WL1251_SDIO != n |