Re: [Madwifi-devel] Interrupt Driven Microsecond Timer - Stuck in IEEE80211_S_INIT
Status: Beta
Brought to you by:
otaku
From: Dan D. <dde...@gm...> - 2008-03-19 20:23:08
|
Eric/Amy I have been able to set the beacon timers in monitor mode to get a reasonably accurate timer. There is still jitter but rather low. But I cannot set the state to RUN. When calling ath_newstate without commenting the callback (avp->av_newstate()) at the bottom results in a lock up. Any ideas? Dan On Wed, Mar 19, 2008 at 10:02 AM, Amy Lu <mei...@an...> wrote: > Hi Eric, > > Do you mean "hardware-triggered" timer? If so, I'd be very interested to > know how you do that. I need a 10-microsecond resolution timer. However, > linux does not provide timers with that high resolution. (mdelay and > udelay > are just busy polling...) > > Thanks, > M-H. > > > -----Original Message----- > From: Eric W Anderson [mailto:Eric.Anderson@Colorado.EDU] > Sent: Wednesday, March 12, 2008 2:42 PM > To: prasad hegde > Cc: Dan Dechene; mad...@li... > Subject: Re: [Madwifi-devel] Interrupt Driven Microsecond Timer > > I think I've mentioned this before on this list, but our group has done > timing > work using the card's on-chip clock. It's pretty easy to do; what are you > trying to do, and what do you mean by "interrupt-driven"? > > Thus spake prasad hegde (pra...@gm...): > > > Hi, > > > > AFAIK do_gettimeofday( struct timeval *tv) provides time in > > microsecond resolution in kernel. > > > > Thanks > > Prasad > > > > > > On 3/12/08, Dan Dechene <dde...@gm...> wrote: > > > > Hi All, > > > > I wanted to know if anyone has implemented a microsecond resolution > > timer in the driver. I am assuming that this would be hardware > driven, > > but am unsure. > > > > Any assistance would be appreciated, > > > > Thanks > > > > Dan > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Madwifi-devel mailing list > > Mad...@li... > > https://lists.sourceforge.net/lists/listinfo/madwifi-devel > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2008. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Madwifi-devel mailing list > > Mad...@li... > > https://lists.sourceforge.net/lists/listinfo/madwifi-devel > > > -- > Eric W. Anderson University of Colorado > eri...@co... Dept. of Computer Science > phone: +1-720-984-8864 Systems Research Lab - ECCR 1B54 > > PGP key fingerprints: > personal: 1BD4 CFCE 8B59 8D6E EA3E EBD5 4DC9 3E61 656C 462B > academic: D3C5 D6FF EDED 9F1F C36D 53A3 74B7 53A6 3C74 5F12 > > |