STA-DISCONNECTED event

Preyas Kamath preyaskamath at gmail.com
Thu Oct 15 20:33:33 EDT 2015


I have hostapd running on an ARM processor. I have created a custom driver
under drivers dir. hostapd authorizes station using callback API in
wpa_driver_ops.sta_set_flags() with flag enabled and sends out event
AP-STA-CONNECTED.

cti_hostap_sta_set_flags total_flags 0x1 flags_or 0x1 flag_and 0xffffffff
tap1: STA 5c:b9:01:b2:4a:15 IEEE 802.1X: authorizing port
.....
<3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
<3>AP-STA-CONNECTED 5c:b9:01:b2:4a:15


After idle time, the station is deauthenticated and event
AP-STA-DISCONNECTED is sent.
tap1: STA 5c:b9:01:b2:4a:15 IEEE 802.11: deauthenticated due to inactivity
(timer DEAUTH/REMOVE)
tap1: STA 5c:b9:01:b2:4a:15 MLME:
MLME-DEAUTHENTICATE.indication(5c:b9:01:b2:4a:15, 2)
tap1: STA 5c:b9:01:b2:4a:15 MLME: MLME-DELETEKEYS.request(5c:b9:01:b2:4a:15)
...
<3>AP-STA-DISCONNECTED 5c:b9:01:b2:4a:15

I was expecting wpa_driver_ops.sta_set_flags() to be invoked with flag
disabled, however this isn't occurring.

Is this the correct behavior? Would EAP state machine maintain the station
as authorized even though AP-STA-DISCONNECTED event has been sent?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.shmoo.com/pipermail/hostap/attachments/20151015/a5ef7ba5/attachment-0001.htm>


More information about the HostAP mailing list