wl1271_sdio_test: Add module for sdio RX/TX testing
authorRoger Quadros <roger.quadros@nokia.com>
Wed, 1 Dec 2010 09:58:54 +0000 (11:58 +0200)
committerLuciano Coelho <luciano.coelho@nokia.com>
Wed, 15 Dec 2010 13:03:17 +0000 (15:03 +0200)
commitb69eb80bf7a6922fef8056d42b06124a7de31501
tree6c792d2bd69997057abb915a3056d0d52f1fa2e9
parentfb6a6819fad0d71b47577a51709440a9f8441f0a
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>
drivers/net/wireless/wl12xx/Kconfig
drivers/net/wireless/wl12xx/Makefile
drivers/net/wireless/wl12xx/wl1271_sdio_test.c [new file with mode: 0644]