ath6kl: Set optimal listen intvl,bmiss,scan params while going to wow suspend
authorRaja Mani <rmani@qca.qualcomm.com>
Mon, 20 Feb 2012 13:38:08 +0000 (19:08 +0530)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 7 Mar 2012 07:49:47 +0000 (09:49 +0200)
commitce0dc0cfeac9fde9964fa4b07aecd7cc604060e0
tree5ee4c1ee9e079ec9524c10bdb5d4fe2e8316afe1
parent8f46fccd6cd0d7ba70ba1636e59e98ca17dd2239
ath6kl: Set optimal listen intvl,bmiss,scan params while going to wow suspend

* In order to save the target power in WOW suspend state,
  configure the best optimal values for the below parameters,
     - listen interval.
     - beacon miss interval.
     - scan parameters.

  Default values for above attributes are reverted in
  wow resume operation.

* The default listen interval is set before the host issue
  connect request.

* New function is added to configure beacon miss count.

kvalo: minor changes to fix open parenthesis alignment

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.h
drivers/net/wireless/ath/ath6kl/wmi.c
drivers/net/wireless/ath/ath6kl/wmi.h