Re: [Madwifi-devel] Channel changing time
Status: Beta
Brought to you by:
otaku
From: Jean L. <lo...@cl...> - 2004-10-01 07:05:24
|
Hi everyone ! Last time I checked, channel reset took from <10 to 40 ms. This includes the time for ath_hal_reset among others. It's the time measured between the last frame on the previous channel and the first frame on the next channel. It is however very changing, and depends on the machine load. In addition, I did the measurements with a 10ms resolution so zero delays mean < 10ms... Hope this helps Jean Jong Hian Zin wrote: > What other operations that ath_hal_reset actually perform beside > setting channel? Any reason that you don't implement a specific > function in HAL just for changing channel? > > On Thu, 30 Sep 2004 09:18:34 -0700, Sam Leffler <sa...@er...> wrote: > >>Jong Hian Zin wrote: >> >>>I know that switching between channels in madwifi involve full reset >>>operation, and in one of the previous posts, >>> >>>http://sourceforge.net/mailarchive/message.php?msg_id=6324179 >>> >>>Sam mentioned that "What goes on at reset is very chip specific and >>>explaining it basically requires you to know how the hardware works. >>>The main tasks are to setup the DMA engine(s) and program the radio." >> >>I said this for a completely unrelated question. >> >> >>>So, it seems to me like ath_hal_reset is a time consuming operation. >> >>Not sure how you arrived at this. >> >> >>>I'm looking for a way to change channel quickly, so I'm wondering >>>whether this can be done without full reset? >>> >> >>A channel change requires a call to ath_hal_reset. The original poster >>was measuring channel change time using an ioctl; this potentially >>includes many other tasks unrelated to changing the channel. If you >>want to measure how long it takes to change the channel, instrument the >>time required to carry out an ath_hal_reset call. >> >> Sam >> > > |