diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-05-20 18:56:39 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-05-22 18:06:01 (GMT) |
commit | 267a90127472be70b02ab13cbd355b5013e2aa51 (patch) | |
tree | 916825c0db1c68751ad280a54ee65e03395821c6 /drivers/clocksource | |
parent | d26285f873c3066fefe648b47b9ecf3ec18bcfbc (diff) | |
download | linux-fsl-qoriq-267a90127472be70b02ab13cbd355b5013e2aa51.tar.xz |
ath9k: Optimize TBTT/DTIM calculation for timers
The previous version used a simple loop to go through all Beacon
frames when determining the next TBTT and DTIM count. This is not too
bad for the case where the setup happens before timesync (i.e., very
small TSF), but this can become very heavy operation if a short Beacon
interval is used and the current TSF is large.
In preparation for a patch to update timer setup based on Beacon
timestamp, optimize this routine to take fixed time regardless of the
actual TSF value.
Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/clocksource')
0 files changed, 0 insertions, 0 deletions