wpa_supplicant/mlme.c Doubt
Ben Greear
greearb
Wed May 15 12:09:09 PDT 2013
On 05/15/2013 11:30 AM, Francisco Cuesta wrote:
> 2013/5/15 Ben Greear <greearb at candelatech.com>:
>> On 05/15/2013 08:32 AM, Francisco Cuesta wrote:
>>>
>>> Hi Jouni,
>>>
>>> I have been reading the file mac80211/mlme.c trying to find out where
>>> that definiton was made, and I found the following definition
>>>
>>> #define IEEE80211_AUTH_TIMEOUT (HZ / 5)
>>
>>
>> HZ is the number of ticks needed to make 1 second, so this is
>> a 200ms timeout.
>>
>
> Ticks? What kind of unit is that? I mean, does it refers to some cpu
> cycle or signal period?
> Then, I assume that HZ=1(s) but where is that variable defined?
A tick is a jiffie..I should probably have used that term instead.
I don't know exactly where it's defined..maybe only in some
auto-generated code created by the configure process.
grep should find it for you eventually.
Thanks,
Ben
--
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc http://www.candelatech.com
More information about the Hostap
mailing list