summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJuuso Oikarinen2010-02-22 07:38:38 +0100
committerJohn W. Linville2010-03-09 21:03:04 +0100
commitac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23 (patch)
tree596566fc2f06b58683270687a1a2601755dfe0c5 /drivers/net/wireless/wl12xx/wl1271.h
parentwl1271: Implement looped IRQ handling (diff)
downloadkernel-qcow2-linux-ac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23.tar.gz
kernel-qcow2-linux-ac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23.tar.xz
kernel-qcow2-linux-ac5e1e39c1eeaaff7e6f03bf7cf7a444b42fbc23.zip
wl1271: Update TX packet life time handling with higher resolution time
This patch uses a higher precision timer to synchronize with the firmware clock. Improved precision is needed as on some platforms a jiffy may be up to tens of milliseconds, and the required precision is closer to TU's. Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com> Reviewed-by: Teemu Paasikivi <ext-teemu.3.paasikivi@nokia.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 457ce725027a..41de47caa201 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -404,7 +404,7 @@ struct wl1271 {
u32 tx_packets_count;
/* Time-offset between host and chipset clocks */
- int time_offset;
+ s64 time_offset;
/* Session counter for the chipset */
int session_counter;