ath6kl: Maintain the listen interval per VIF specific
commit8f46fccd6cd0d7ba70ba1636e59e98ca17dd2239
authorRaja Mani <rmani@qca.qualcomm.com>
Mon, 20 Feb 2012 13:38:07 +0000 (20 19:08 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 7 Mar 2012 07:38:25 +0000 (7 09:38 +0200)
tree401252e6260bff1aa29a0530d660e7d9db9fa9ee
parent390a8c8fae2e7072579198414e631984a61c485e
ath6kl: Maintain the listen interval per VIF specific

Firmware has the option to support the listen interval
per vif specific. Fix this.

Listen interval can be set by the TUs or by the number
of beacons. Current code enables the user to configure
the listen interval in the unit of 'number of beacons'
using debugfs entry "listen_interval". Going forward,
we need to alter the listen interval in the unit of TUs
to get good power numbers while going to WOW suspend/resume.

Allowing the user to change the listen interval in
the unit of "number of beacons"  in debugfs and changing
listen interval in wow suspend/resume in the unit of
time (TUs) would lead us to confuse.

This patch make sures the listen interval is changed only
in the unit of time (TUs).

Signed-off-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c
drivers/net/wireless/ath/ath6kl/core.c
drivers/net/wireless/ath/ath6kl/core.h
drivers/net/wireless/ath/ath6kl/debug.c
drivers/net/wireless/ath/ath6kl/main.c