<div dir="ltr"><div>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. </div><div><div><br></div><div><div>cti_hostap_sta_set_flags total_flags 0x1 flags_or 0x1 flag_and 0xffffffff</div><div>tap1: STA 5c:b9:01:b2:4a:15 IEEE 802.1X: authorizing port</div><div>.....</div><div><3>CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1</div><div><3>AP-STA-CONNECTED 5c:b9:01:b2:4a:15</div></div></div><div><br></div><div><br></div><div>After idle time, the station is deauthenticated and event AP-STA-DISCONNECTED is sent. </div><div><div>tap1: STA 5c:b9:01:b2:4a:15 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)</div><div>tap1: STA 5c:b9:01:b2:4a:15 MLME: MLME-DEAUTHENTICATE.indication(5c:b9:01:b2:4a:15, 2)</div><div>tap1: STA 5c:b9:01:b2:4a:15 MLME: MLME-DELETEKEYS.request(5c:b9:01:b2:4a:15)</div><div>...</div><div><3>AP-STA-DISCONNECTED 5c:b9:01:b2:4a:15</div></div><div><br></div><div>I was expecting wpa_driver_ops.sta_set_flags() to be invoked with flag disabled, however this isn't occurring. </div><div><br></div><div>Is this the correct behavior? Would EAP state machine maintain the station as authorized even though AP-STA-DISCONNECTED event has been sent?</div></div>