kfirlavi / Amalia

Testbed for network testing
1 stars 0 forks source link

driver timestamp function reseting #46

Closed kfirlavi closed 15 years ago

kfirlavi commented 15 years ago

Driver timestamp function caught reseting irregularly.

EXP 1:[[BR]]

<7>1840 258198023 8152 258188200 [[BR]] <7>1841 258293404 8153 258292108 [[BR]] <7>1843 5820 8155 4526 91 0 [[BR]] <7>1846 245301 8156 243364 91 0 [[BR]] <7>1847 277169 8157 274729 91 0 [[BR]] ... EXP2:[[BR]] <7>2895 258201551 105737 258200667 120 0 [[BR]] <7>2897 258254756 105738 258252809 120 0 [[BR]] <7>2898 258303077 105739 258302249 120 0 [[BR]] <7>2899 258353626 105740 258352779 120 0 [[BR]] ... Need to check code for a reset function for ath_hal_gettsf32(ah) or similar, make sure it's not called in strange places (or that we deal with it).
kfirlavi commented 15 years ago

Author: kfir This is solved by using do_gettimeofday() which use the cpu timer instead the wifi card timer. [[BR]] Changeset [97] and [98] solve this problem.

kfirlavi commented 15 years ago

Author: kfir just Changeset [97] solved this problem.