]> git.baikalelectronics.ru Git - kernel.git/commit
ath6kl: Implement support for background scan control from userspace
authorRishi Panjwani <rpanjwan@qca.qualcomm.com>
Wed, 19 Oct 2011 00:20:06 +0000 (17:20 -0700)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:50:57 +0000 (12:50 +0200)
commitfa38443b010a0da809cf3e421593615733516cdf
tree528ed063159f0e197c54865f3f55d73133726fbb
parent86158571b89ff694cd44446ce100e546c95ee210
ath6kl: Implement support for background scan control from userspace

In order to allow user space based control of background scan interval,
we use available debugfs infrastructure. The feature has been added for
testing purposes. The user has to write the bgscan interval (in secs) to
the bgscan_interval file in ath6kl debug directory. To disable bgscan,
a '0' is to be written to the bgscan_interval file.

Example:

echo "2" > bgscan_interval

This will make the background scan interval as 2 seconds

kvalo: changed implementation so that there's only one call to
ath6kl_wmi_scanparams_cmd()

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