ath5k: Reorder calibration calls during reset and update hw_set_power
commitdf75dcddf99647d68f3b6b874effe5365c5024d9
authorNick Kossifidis <mick@madwifi.org>
Sun, 20 Jul 2008 03:41:26 +0000 (20 06:41 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Aug 2008 19:31:32 +0000 (1 15:31 -0400)
treea1624d7e79ea0bb19ca4906507e3b10cef4d07c5
parente2a0ccebc4ffabc1c7234cfd324299b5a936e0f2
ath5k: Reorder calibration calls during reset and update hw_set_power

 * Update ath5k_hw_reset and add some more documentation about PHY calibration
 * Fix ath5k_hw_set_power to use AR5K_SLEEP_CTL_SLE_ALLOW for Network sleep
 * Preserve sleep duration field while setting AR5K_SLEEP_CTL
   and reduce delays & checks for register's status (got this from
   decompiling & dumps, it works for me but it needs testing)

Changes-licensed-under: ISC
Signed-off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/hw.c