History log of /drivers/net/wireless/wl12xx/debugfs.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c99f895a231b2dfeedd27e4d218a1b2d22cf4d02 15-Dec-2011 Luciano Coelho <coelho@ti.com> wl12xx: alloc buffer in driver_state_read to prevent compilation warning

When compiling wl12xx for x86, there was a warning complaining about
the size of the buffer we were allocating in the stack:

drivers/net/wireless/wl12xx/debugfs.c: In function 'driver_state_read':
drivers/net/wireless/wl12xx/debugfs.c:380:1: warning: the frame size of 1040 bytes is larger than 1024 bytes

To prevent this, allocate the buffer in the heap instead.

Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
fa5e13756ad5112842bd5e765d66b6c6074b74b7 30-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: add vifs_state debugfs key

Add debugfs key to dump information regarding the
active vifs (similar to the driver_state debugfs key)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
0f4e31222a2c0b93f25a87effd2033cb78c7a79c 07-Oct-2011 Luciano Coelho <coelho@ti.com> wl12xx: move debugging definitions to a separate file

Separate the debugging macros and other definitions to a new debug.h
file. This is be needed because the sdio and spi modules don't need
to depend on the wl12xx module anymore, but still need to include
wl12xx.h. Currently they do depend on it, because of the debugging
global that wl12xx exports. A future patch will remove this
dependency.

Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
6e8cd3310491b10db20d0f7eaf5713b05fa7b753 10-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: replace all remaining wl->vif references

wl->vif is appropriate only when a single vif is being used.
Instead, pass wlvif as parameter or iterate through all
the vifs (e.g. when a global configuration was changed)

Leave wl->vif only to determine whether a vif was already
added (this check will be removed as well after both the
driver and fw will support multiple vifs)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
9eb599e9c62dcfd4efece1936c385381b366b684 10-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: rearm rx streaming per vif

Currently, the rx streaming doesn't support multi-vif
(the actual wlvif is taken from wl->vif, and the management
is global).

Make the rx streaming timers/works per-vif, and pass the
the actual vif as param.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
48e93e402ad19f570bae323b07911bdf6562af8e 10-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move tx_security_seq into wlvif

The last security seq num has to be saved across reconfigs.
Add a new "persistent" struct into wlvif, which won't get
deleted on wl12xx_init_vif_data()

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
4438aca9e16901d8d32a025ca27ad8284a117e09 10-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move last_tx_hlid into wlvif

move last_tx_hlid into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
c7ffb902cca655e4d6bdda4156407008573bb214 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move ap_hlid_map into wlvif.ap

Add wlvif->links_map bitmap to represent all the links
allocated for this vif.

AP vif also has a sta_hlid_map bitmap, which represents
the links stations connected to it (sta_hlid_bitmap is
a subset of wlvif->links_map, which itself is a subset
of the global wl->links_map)

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
d0802abdf9c60b1dadb097e806022f3449b0cc6b 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move ba fields into wlvif

move ba_fields into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
04324d99818d16da4f64e266b45cad2e5803b961 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move rssi_thold and last_rssi_event into wlvif

move rssi_thold and last_rssi_event into the per-interface
data, rather than being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
74ec839557878007c3f97d1bc89e09fde5d0f3fa 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move ps_poll_failures and psm_entry_retry into wlvif

move ps_poll_failures and psm_entry_retries into the per-interface
data, rather than being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
6a8997964366f51c39d8efcfdc0e6319b2bd01fa 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move beacon_int into wlvif

move beacon_int into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
98b8625301e55bd3e4340f704edc378e4707e577 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move session_counter into wlvif

move session_counter into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
0603d891c5b5153f667a79357d4652824c22b54e 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move role_id into wlvif

move role_id into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
536129c8ad35de87ff2f864f205a54ac32bfebcc 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move bss_type into wlvif

move bss_type into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
d2d66c56cf6c8727662aa321991f791604c22094 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move basic_rate into wlvif

move basic_rate into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
30d0c8fd5b87d1c5486705d6420545a21533e115 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: move rate_set into wlvif

move rate_set into the per-interface data, rather than
being global.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
87fbcb0f8c5c8fd57a4e3e7e638977c04ce1e0ca 05-Oct-2011 Eliad Peller <eliad@wizery.com> wl12xx: define wl12xx_vif

Define a per-vif data struct.
This struct holds all the vif-specifc data, which is
currently being hold by the global wl struct.

Start by moving the basic_rate_set field into it.

NOTE: in order to make the patches a bit smaller, start by
using wl->vif in some functions, instead of changing all
the function prototypes at once. finally, wl->vif will be
removed altogether.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
b6883582a8ea6a7a70d4cc9f4c121ed3d8a75681 31-Aug-2011 Eliad Peller <eliad@wizery.com> wl12xx: use kstrtoul_from_user

simplify code by calling kstrtoul_from_user() (instead of
copy_from_user() + kstrtoul())

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
a0a521560a686ccb06c92919f1047f94acbb8835 25-Aug-2011 Eliad Peller <eliad@wizery.com> wl12xx: add beacon_filtering debugfs file

Allow enabling/disabling beacon_filtering by debugfs,
in order to reduce the log size while debugging (beacon
filtering is disabled by default in AP mode, as beacons
are needed for ERP configuration).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
742246f8bc16c3a1a556c68ca2fabca162d14c24 14-Aug-2011 Arik Nemtsov <arik@wizery.com> wl12xx: schedule TX packets according to FW packet occupancy

When selecting packets for transmission, prefer the ACs that are least
occupied in the FW. When packets for multiple ACs are present in the FW,
it decides which to transmit according to WMM QoS parameters.

With these changes, lower priority ACs should not be starved when higher
priority traffic is present.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
4d56ad9cae9e8553176427adc2335f8a7f4556b2 14-Aug-2011 Eliad Peller <eliad@wizery.com> wl12xx: update fw status struct

Update the fw status struct according to the new fw api
(fw >= 6/7.0.0.35).
All the roles use the same struct now.

The memory accounting was changed a bit according to
the struct changes.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
08c1d1c7042330e2280a7718be4ad88c2e8f8268 14-Aug-2011 Eliad Peller <eliad@wizery.com> wl12xx: remove rx filtering stuff

The new fw doesn't support rx_filtering configuration (as a
stand-alone command. the rx filtering is done automatically
according to the active role).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
7bb5d6ce9e6ebb3bb71915cb0224523d3c284b4f 14-Aug-2011 Arik Nemtsov <arik@wizery.com> wl12xx: Revert "wl12xx: schedule TX packets according to FW occupancy"

This does not make sense in fw >= 6/7.3.0.0.75 (wl127x/wl128x) -
we don't use Tx blocks to measure FW occupancy anymore.

This reverts commit 9e374a37b6fa2310b71d3c5657cd0c1e693120c6.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
f1a46384ad568f72c11edbe2a3ec284bf32f2dbd 07-Jul-2011 Arik Nemtsov <arik@wizery.com> wl12xx: start/stop queues according to global per-AC counters

Split tx_queue_count to count per-AC skb's queued, instead of relying on
the skb-queue len. The skb queues used were only valid in STA-mode, as
AP-mode uses per-link queues.

This fixes a major regression in AP-mode, caused by the patch
"wl12xx: implement Tx watermarks per AC". With that patch applied, we
effectively had no regulation of Tx queues in AP-mode. Therefore a
sustained high rate of Tx could cause exhaustion of the skb memory pool.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
9e374a37b6fa2310b71d3c5657cd0c1e693120c6 24-Jun-2011 Arik Nemtsov <arik@wizery.com> wl12xx: schedule TX packets according to FW occupancy

When selecting packets for transmission, prefer the ACs that are least
occupied in the FW. When packets for multiple ACs are present in the FW,
it decides which to transmit according to WMM QoS parameters.

With these changes, lower priority ACs should not be starved when higher
priority traffic is present.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
b992c68228a3ccdf73ea4f57519e1663839a9cbe 26-Jun-2011 Oz Krakowski <ozk@ti.com> wl12xx: fix Tx security sequence number handling

Do not reset the security sequence number when issuing a join command or
interface is removed. Instead, reset the counter only during the unjoin
command.

Added the notion of counter wrap-around to the LSB number in
wl1271_tx_complete_packet.

Added post recovery padding to adjust for potential security number
progress during the recovery process by the firmware and avoid
potential interop issues in encrypted networks.

Signed-off-by: Oz Krakowski <ozk@ti.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
baacb9aed020b890ddf6a57837a169092a25fc9b 06-Jun-2011 Ido Yariv <ido@wizery.com> wl12xx: Avoid recovery while one is already in progress

During recovery work commands sent to the FW could fail and schedule
additional recovery work. Since the chip is going to be powered off,
avoid recursive recoveries.

Signed-off-by: Ido Yariv <ido@wizery.com>
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
c84368e01a00f449d97e8a59e1b0c24dcf70a8b3 15-May-2011 Eliad Peller <eliad@wizery.com> wl12xx: add rx_streaming debugfs entry

Allow control over rx_streaming interval and operation mode
(always/only on coex) via debugfs.

e.g.
echo 100 > /debug/ieee80211/phy0/wl12xx/rx_streaming/interval
echo 1 > /debug/ieee80211/phy0/wl12xx/rx_streaming/always

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
d3eff81de6048d8af8f95f52f0f06625980f2efb 10-May-2011 Luciano Coelho <coelho@ti.com> wl12xx: export scheduled scan state in debugfs

Add the sched_scanning value to the driver_status debugfs entry.

Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
2d66bee7fbd38d28e9ed12f45b8e9db8e6aa0c49 18-Apr-2011 Arik Nemtsov <arik@wizery.com> wl12xx: export driver state to debugfs

By reading the "driver_state" debugfs value we get all the important
state information from the wl12xx driver. This helps testing and
debugging, particularly in situations where the driver seems "stuck".

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
2dc5a5c2c656b9029a0e635bb3a1cbcfbcb4ca5c 18-Apr-2011 Arik Nemtsov <arik@wizery.com> wl12xx: add debugfs entry for starting recovery

This entry is useful for debugging the driver state machine during
recovery.

Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
f7c7c7e69cbc3c5b660a32cc2cb31720b2b420c8 29-Apr-2011 Luciano Coelho <coelho@ti.com> wl12xx: strict_stroul introduced converted to kstrtoul

One new patch applied added a couple of new strict_strtoul calls.
Converted those to kstroul().

Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
1fe9e2464c667903d7eec0314db26c462ca9d276 17-Apr-2011 Eliad Peller <eliad@wizery.com> wl12xx: add debugfs entries for dtim_interval and beacon_interval

When configuring ACX_WAKE_UP_CONDITIONS (before entering psm), we
tell the firmware to wake up once in N DTIMs/beacons.

Allow control of this value via debugfs (for debugging purposes).

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
6277ed65704d19377b0874618e5f23d64c9e71a6 01-Apr-2011 Luciano Coelho <coelho@ti.com> wl12xx: use kstrtoul functions

Use the new kstrtoul functions instead of the deprecated strict_strtoul().

Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
a620865edf62ea2d024bbfe62162244473badfcb 01-Mar-2011 Ido Yariv <ido@wizery.com> wl12xx: Switch to a threaded interrupt handler

To achieve maximal throughput, it is very important to react to
interrupts as soon as possible. Currently the interrupt handler wakes up
a worker for handling interrupts in process context. A cleaner and more
efficient design would be to request a threaded interrupt handler. This
handler's priority is very high, and can do blocking operations such as
SDIO/SPI transactions.

Some work can be deferred, mostly calls to mac80211 APIs
(ieee80211_rx_ni and ieee80211_tx_status). By deferring such work to a
different worker, we can keep the irq handler thread more I/O
responsive. In addition, on multi-core systems the two threads can be
scheduled on different cores, which will improve overall performance.

The use of WL1271_FLAG_IRQ_PENDING & WL1271_FLAG_IRQ_RUNNING was
changed. For simplicity, always query the FW for more pending
interrupts. Since there are relatively long bursts of interrupts, the
extra FW status read overhead is negligible. In addition, this enables
registering the IRQ handler with the ONESHOT option.

Signed-off-by: Ido Yariv <ido@wizery.com>
Reviewed-by: Luciano Coelho <coelho@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
8e2de74e781e696636e8b4cd08084d2b310d44d9 23-Jan-2011 Eliad Peller <eliad@wizery.com> wl12xx: wrong values are returned in gpio_power_write()

Return values were assigned to incorrect var / weren't assigned.
fix it, and defer mutex_lock after the sanity checks.

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
491bbd6bdddafb49d0d6a9258d53441aee4bb622 12-Jan-2011 Guy Eilam <guy@wizery.com> wl12xx: change debug_level module param sysfs permissions

changed the visibility of the debug_level module parameter
in the filesystem to be readable and writable to the root user.
It is now accessible under /sys/module/wl12xx/parameters

removed the debug_level debugfs file that was created under
/sys/kernel/debug/...

Signed-off-by: Guy Eilam <guy@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
/drivers/net/wireless/wl12xx/debugfs.c
3c2c04a15f5fe5d169fe343c9eb7c1856d3033d3 15-Dec-2010 Eliad Peller <eliad@wizery.com> wl12xx: remove redundant debugfs_remove_recursive() call

Upon rmmod, the <debugfs>/ieee80211/phyX dir is being removed.
later, we try to remove <debugfs>/ieee80211/phyX/wl12xx, which
might result in NULL dereference.

Remove the excessive debugfs_remove_recursive() call.
(consequently, there is no more need to save wl->rootdir)

Reported-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
6742f554db14da94172da9eb1875a1aa944a827f 13-Dec-2010 Juuso Oikarinen <juuso.oikarinen@nokia.com> wl12xx: Change TX queue to be per AC

With the current single-queue implementation traffic priorization is not
working correctly - when using multiple BE streams and one, say VI stream,
the VI stream will share bandwidth almost equally with the BE streams.

To fix the issue, implement per AC queues, which are emptied in priority
order to the firmware. To keep it relatively simple, maintain a global
buffer count and global queue stop/wake instead of per-AC.

With these changes, priorization appears to work just fine.

Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
17c1755c24d83f9fd0509b64c76cc43fc60cc642 11-Dec-2010 Eliad Peller <eliad@wizery.com> wl12xx: allow runtime changing of debug_level

Currently, the debug level is set in compilation time (by the DEBUG_LEVEL
const). This method has the advantage of compiling only the relevant
messages, while optimizing out the unused ones.

In order to allow runtime control over the debug_level, while optimizing
out messages when debug messages are not needed, we combine some methods:
1. use dynamic_debug (pr_debug) rather then printk.
2. add debug_level module param in order to set debug level during insmod.
3. add debug_level sysfs file in order to allow dynamic control over the
debug level.

Since patches for pr_debug_hex_dump() implementation haven't been applied yet,
we are still temporarly using print_hex_dump().

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
43a598d5e40485fcfbebe0700077e83afd803ed5 30-Nov-2010 Luciano Coelho <luciano.coelho@nokia.com> wl12xx: fix illegal memset if debugfs is not enabled

If we try to reset the debugfs statistics when debugfs is not configured in
the kernel, we're memset an illegal pointer, because it has never been
allocated. So check whether we have debugfs enabled by looking into the
wl->rootdir before trying to reset the fw_stats struct.

Reported-by: Joerie de Gram <j.de.gram@gmail.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
d60080ae06b98790036104f07fa897cfc151ce12 23-Nov-2010 Eliad Peller <eliad@wizery.com> wl1271: move wl12xx debugfs directory to under wiphy's debugfs

Use per-device debugfs path, so multiple devices won't collide.

in order to use wl->hw->wiphy->debugfsdir, we have to move the debugfs
creation from wl1271_debugfs_init() to wl1271_register_hw().

Reported-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
7cb2cea9f0f207f819db9823413fa263175b6230 23-Nov-2010 Eliad Peller <eliad@wizery.com> wl1271: use debugfs_remove_recursive

Documentation/filesystems/debugfs.txt:
"""
Once upon a time, debugfs users were required to remember the dentry pointer
for every debugfs file they created so that all files could be cleaned up.
We live in more civilized times now, though, and debugfs users can call:

void debugfs_remove_recursive(struct dentry *dentry);
"""

Signed-off-by: Eliad Peller <eliad@wizery.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
/drivers/net/wireless/wl12xx/debugfs.c
00d201001bd4e8a46e3d03c970abcb72256c368b 08-Nov-2010 Shahar Levi <shahar_levi@ti.com> wl1271: Change wl12xx Files Names

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>
/drivers/net/wireless/wl12xx/debugfs.c
ef2f8d45771490de5b8373c25e983ee1e3aee9ea 12-Jun-2009 Kalle Valo <kalle.valo@nokia.com> wl1251: add wl1251 prefix to all 1251 files

Now that all 1271 files are split, we can add wl1251_ prefix to the files.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/wl12xx/debugfs.c
c5483b71936333ba9474f57d0f3a7a7abf9b87a0 12-Jun-2009 Kalle Valo <kalle.valo@nokia.com> wl12xx: check if elp wakeup failed

Check the return call from wl12xx_ps_elp_wakeup() and bail out if it
fails. This shouldn't happen, but if does there's a fundamental low
level issue.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Reviewed-by: Vidhya Govindan <vidhya.govindan@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/wl12xx/debugfs.c
01d9cfbdaadc64a46b57437c989bbad241074135 12-Jun-2009 Kalle Valo <kalle.valo@nokia.com> wl12xx: optimise elp wakeup and sleep calls

The wakeup call was done too deep in code path, it's better to wakeup
chip from higher levels. This will also reduce wakeup calls significantly.

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Reviewed-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/wl12xx/debugfs.c
2f01a1f58889fbfeb68b1bc1b52e4197f3333490 29-Apr-2009 Kalle Valo <kalle.valo@nokia.com> wl12xx: add driver

wl12xx is a driver for TI wl1251 802.11 chipset designed for embedded
devices, supporting both SDIO and SPI busses. Currently the driver
supports only SPI. Adding support 1253 (the 5 GHz version) should be
relatively easy. More information here:

http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?contentId=4711&navigationId=12494&templateId=6123

(Collapsed original sequence of pre-merge patches into single commit for
initial merge. -- JWL)

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
/drivers/net/wireless/wl12xx/debugfs.c