wpa_supplicant/mlme.c Doubt

Ben Greear greearb at candelatech.com
Wed May 15 11:46:59 EDT 2013


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.

Thanks,
Ben

>
> Could you tell me what is the variable HZ defined and where it does come from?
>
> Thanks,
>
> regards!
>
> 2013/5/13 Jouni Malinen <j at w1.fi>:
>> On Mon, May 13, 2013 at 04:57:44PM +0200, Francisco Cuesta wrote:
>>> I was looking through the documentation available on the website, the
>>> wpa_supplicant/hostapd.pdf, and I cannot find a file called mlme.c
>>> which appears in the documentation under section 15.38 as
>>> wpa_supplicant/mlme.c, but it doesn't in the code... Has it been
>>> renamed or split among other files?? I'm keen on it because I would
>>> like to seek definitions like below ones, which seems to be in that
>>> file.
>>
>> The MLME functionality in wpa_supplicant has been removed:
>> http://w1.fi/gitweb/gitweb.cgi?p=hostap.git;a=commitdiff;h=17fbb751e174854f01986690eb1bb989923aa7fd
>>
>>> define IEEE80211_AUTH_TIMEOUT (200)
>>
>> What would you be using these for? These were not really used for
>> anything apart from some testing purposes with simulated WLAN (i.e., no
>> real hardware). You'll find this behavior in the driver or 802.11 stack
>> in the kernel.
>>
>> --
>> Jouni Malinen                                            PGP id EFC895FA
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the HostAP mailing list