Thread: [Madwifi-devel] beacon interval at msec
Status: Beta
Brought to you by:
otaku
From: Frank S. <tw...@ho...> - 2006-09-21 21:09:24
|
hi, I am working Madwifi in AP mode to send beacon frame with adjusted TSF time (whenever it needs) by resetting tsf timer. I already able to do this at some level to do.but I got a problem. I had to use ath_hal_beaconinit(ah, nexttbtt, intval) a HAL routine using modified beacon_config method in if_ath.c file. Here "intval" value is at TU (1 TU = 1.024 ms) And before invoking into the routine call intval is being OR-ed with HAL_BEACON_RESET_TSF, HAL_BEACON_ENA So if intval value is 100 TU beacon frame will be sent at 102.4 ms interval. My question is: How can I set intval value that beacon frame will send at exactly 100 ms since intval is u_int32_t type (100 ms = 97.65625 TU) is there any possible way to do this? regards, /frank _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.com/ |