CTRL-EVENT-EAP-TIMEOUT-FAILURE with OpenWRT

Guys, I am having CTRL-EVENT-EAP-TIMEOUT-FAILURE in the log sometimes. My setup is an MT6000 working as AP, and FreeRadius run at another host in the local network.

The corresponding logs out of logread as:

Mon Nov 25 17:16:35 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-STARTED x8:xx:xx:xx:xx:xx
Mon Nov 25 17:16:35 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Mon Nov 25 17:16:38 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:16:44 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:16:56 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:16 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:36 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:56 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-RETRANSMIT x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:56 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-TIMEOUT-FAILURE x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:56 2024 daemon.notice hostapd: phy0-ap1: AP-STA-DISCONNECTED x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:57 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Mon Nov 25 17:17:57 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx RADIUS: stopped accounting session 497206EF72C11E13
Mon Nov 25 17:17:57 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Mon Nov 25 17:17:58 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Mon Nov 25 17:17:58 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Mon Nov 25 17:17:58 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-STARTED x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:58 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-PROPOSED-METHOD vendor=0 method=1
Mon Nov 25 17:17:58 2024 daemon.notice hostapd: phy0-ap1: CTRL-EVENT-EAP-SUCCESS2 x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:58 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Mon Nov 25 17:17:58 2024 daemon.notice hostapd: phy0-ap1: EAPOL-4WAY-HS-COMPLETED x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:58 2024 daemon.notice hostapd: phy0-ap1: AP-STA-CONNECTED x8:xx:xx:xx:xx:xx auth_alg=open
Mon Nov 25 17:17:58 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx RADIUS: starting accounting session 497206EF72C11E13
Mon Nov 25 17:17:58 2024 daemon.info hostapd: phy0-ap1: STA x8:xx:xx:xx:xx:xx IEEE 802.1X: authenticated - EAP type: 13 (TLS)
Mon Nov 25 17:17:58 2024 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-wifi24g) 172.16.2.157 x8:xx:xx:xx:xx:xx
Mon Nov 25 17:17:58 2024 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-wifi24g) 172.16.2.157 x8:xx:xx:xx:xx:xx Enig123s-iPhone

This failure caused the WiFi connection disconnected for some time and my WiFi calling connection failed as the consequence.

Edit:

My client device is an iPhone, I am not so sure if it's related somehow with the iPhone's idleness.

Found the solution in this very forum: