]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Implement support for listen interval from userspace
authorRishi Panjwani <rpanjwan@qca.qualcomm.com>
Wed, 26 Oct 2011 00:26:29 +0000 (17:26 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:58:55 +0000 (12:58 +0200)
commit45d42648291174b0e813fc36425f414d833248ad
tree78781040bd31320660b677c5d75d506e12efc8c0
parentf08ef192e75f1d0b43ab0fa1ebaa2b8d74e98e95
ath6kl: Implement support for listen interval from userspace

In order to allow user space based control of listen interval, we use
available debugfs infrastructure. Listen interval implies how frequently
we want the WLAN chip to wake up and synchronize the beacons in case it
is in sleep mode. The command requires two parameters in the following order:

1) listen_interval_time
2) listen_interval_beacons

The user has to write the listen interval_time (in msecs) and
listen_interval_beacons (in no. of beacons) to the listen_interval file in
ath6kl debug directory.

Example:

echo "30 1" > listen_interval

Signed-off-by: Rishi Panjwani <rpanjwan@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/debug.c